Skip to Content
Aug 31, 2020 at 12:01 PM

CAP Multitenancy

435 Views Last edit Aug 31, 2020 at 12:10 PM 6 rev

Hi All

I have been fighting with CAP multitenancy on and off for a couple of weeks now so was glad to see Andrew Lunde's blog on the subject ( However, after working through this a number of times in productive and trial landscapes, I still do not have a working MT app. To add to the frustration, I am not getting any information in the logs at all for the subscription process so I have no clues as to what is missing.

The log only contains repeats of this every 10 seconds:

   2020-08-31T11:22:58.73+0000 [APP/PROC/WEB/0] OUT [DEBUG][UPDATE_EVENTS] Running tenant update check
   2020-08-31T11:22:58.73+0000 [APP/PROC/WEB/0] OUT [DEBUG][SIDECAR_DATA_HDI_ADAPTOR] Domain is: __default__
   2020-08-31T11:23:04.28+0000 [APP/PROC/WEB/0] OUT [DEBUG][TENANT_DATA_HDI_ADAPTOR] No __META__ tenant accessible yet (this might be ok): Error: 0 items found when querying service_offerings with {"fieldQuery":"catalog_name eq 'hana'"}

which according to this question is simply due to the #NODE_DEBUG: 'instance-manager' line in the mta.yaml.

The symptom I am having is that when pressing the subscribe button, the subscription process starts and runs for 5 to 10 secs and then just stops with the subscribe button becoming available again. This just repeats every time I press the subscribe button

I have been watching the logs with the cf logs capmt-srv command, but nothing appears during the subscription process.

The only indication that there is something wrong is if I execute the link of the application in the provider subaccount. When clicking on catalogs, I receive the following:

The 'SAP Guided Answers' for this message suggest the following:

Three are very obvious and easy to check which leaves the TENANT_HOST_PATTERN. It looks ok to me and has not been altered in any way. The whole project has simply been cloned, built and deployed as per the blog (in the US10 trial landscape).

I'm running out of ideas as to what is going wrong, but I am getting the same from Andrew's application and on my own CAP bookshop application I built prior to the blog.

Probably something really basic, but it is escaping me right now.





wekxj.png (23.2 kB)
guided-answers.png (132.9 kB)