<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Error while deploying multi tenant app in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589573#M4815224</link>
    <description>Updated &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
    <pubDate>Wed, 31 Jan 2024 14:17:18 GMT</pubDate>
    <dc:creator>Lueberrueck</dc:creator>
    <dc:date>2024-01-31T14:17:18Z</dc:date>
    <item>
      <title>Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaq-p/13589211</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;We are running into an error sometimes while deploying our CAP multi-tenant application.&lt;/P&gt;&lt;P&gt;Here is the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{"date":"Wed Jan 17 2024 08:06:01 GMT+0000 (Coordinated Universal Time)","error":{"status":500},"exception":true,"level":"error","logger":"sap-cloud-sdk-logger","message":"uncaughtException: Error getting tenant dabfc7d2-e7c5-4202-a927-31e1ed4f86ae: Could not find service offering with catalog_name eq 'hana'\nError: Error getting tenant dabfc7d2-e7c5-4202-a927-31e1ed4f86ae: Could not find service offering with catalog_name eq 'hana'\n&lt;BR /&gt;{"arrayBuffers":3117154,"external":5585874,"heapTotal":81076224,"heapUsed":57235352,"rss":151494656},"pid":253,"uid":2000,"version":"v18.18.2"},"stack":"Error: Error getting tenant dabfc7d2-e7c5-4202-a927-31e1ed4f86ae: Could not find service offering with catalog_name eq&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;This is our npm pipeline:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.npm:registry:&lt;BR /&gt;before_script:&lt;BR /&gt;- npm config set registry https://$CI_NPM_REGISTRY&lt;BR /&gt;- npm config set //$CI_NPM_REGISTRY:_auth $CI_NPM_AUTH&lt;BR /&gt;- npm config set //$CI_NPM_REGISTRY:email ${GITLAB_USER_EMAIL}&lt;BR /&gt;- npm config set //$CI_NPM_REGISTRY:always-auth true&lt;BR /&gt;- export CI_AUTH_REPOSITORY_URL="&lt;A href="https://gitlab-ci-token:${CI_JOB_TOKEN}@apsv280.apsolut-s.local/${CI_PROJECT_PATH}.git" target="_blank" rel="noopener"&gt;https://gitlab-ci-token:${CI_JOB_TOKEN}@apsv280.apsolut-s.local/${CI_PROJECT_PATH}.git&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;.npm:variables:&lt;BR /&gt;before_script:&lt;BR /&gt;- export VERSION=$(cat package.json | jq -r .version)&lt;BR /&gt;- export NAME=$(cat package.json | jq -r .name | sed 's/@//' | sed 's/\//-/')&lt;/P&gt;&lt;P&gt;This is our CAP pipeline:&lt;/P&gt;&lt;P&gt;deploy:btp:&lt;BR /&gt;extends: .npm:variables&lt;BR /&gt;stage: deploy&lt;BR /&gt;image:&lt;BR /&gt;name: companyname/sapcap:latest&lt;BR /&gt;cache:&lt;BR /&gt;key: "${CI_JOB_NAME}"&lt;BR /&gt;policy: pull&lt;BR /&gt;paths:&lt;BR /&gt;- ./binaries&lt;BR /&gt;script:&lt;BR /&gt;- cf login -a $CI_CF_BTP_ENDPOINT_DEV -u $CI_BTP_USER_DEV -p $CI_BTP_PASSWORD_DEV -o $CI_CF_BTP_ORG_DEV -s $CI_CF_BTP_SPACE_DEV&lt;BR /&gt;- cf deploy ./binaries/$NAME.$VERSION.mtar -f --all-resources --retries 0&lt;BR /&gt;- cf dmol --mta $NAME --last 1 -d ./logs&lt;BR /&gt;artifacts:&lt;BR /&gt;paths:&lt;BR /&gt;- ./binaries&lt;BR /&gt;- ./logs&lt;BR /&gt;only:&lt;BR /&gt;- develop&lt;/P&gt;&lt;P&gt;Does anyone know where the problem is coming from and how we can fix it?&lt;/P&gt;&lt;P&gt;Important to know is, when we re-run our pipeline sometimes it works.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 08:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaq-p/13589211</guid>
      <dc:creator>Lueberrueck</dc:creator>
      <dc:date>2024-02-01T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589500#M4815215</link>
      <description>&lt;P&gt;I suppose you are missing entitlement for "SAP HANA Schemas &amp;amp; HDI Containers". You can confirm this with the command `cf m -e hana`. If the command succeeds, this is not the case. If it fails, i.e. says no service offerings found, you can add entitlement to the subaccount from the cockpit for Global Account using the page Entitlements/Entity Assignments.&amp;nbsp; You need the plan named hdi-shared.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 13:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589500#M4815215</guid>
      <dc:creator>Dinu</dc:creator>
      <dc:date>2024-01-31T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589525#M4815219</link>
      <description>I forgot to say if we restart the pipeline it deploys fine, so it happens just sometimes</description>
      <pubDate>Wed, 31 Jan 2024 13:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589525#M4815219</guid>
      <dc:creator>Lueberrueck</dc:creator>
      <dc:date>2024-01-31T13:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589559#M4815222</link>
      <description>Perhaps you can update your question with the details of the pipeline. If you are redeploying the application, the issue is definitely not of missing entitlement. If you are setting up the environment in the pipeline, perhaps the environment setup is not completed before the deployment step.</description>
      <pubDate>Wed, 31 Jan 2024 14:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589559#M4815222</guid>
      <dc:creator>Dinu</dc:creator>
      <dc:date>2024-01-31T14:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589573#M4815224</link>
      <description>Updated &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Wed, 31 Jan 2024 14:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13589573#M4815224</guid>
      <dc:creator>Lueberrueck</dc:creator>
      <dc:date>2024-01-31T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13658032#M4824145</link>
      <description>Were you able to solve this?</description>
      <pubDate>Thu, 04 Apr 2024 01:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13658032#M4824145</guid>
      <dc:creator>Ajit_K_Panda</dc:creator>
      <dc:date>2024-04-04T01:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error while deploying multi tenant app</title>
      <link>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13755763#M4836192</link>
      <description>&lt;P&gt;Yes, we solved it with this addition in package.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;"db"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"[production]"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"kind"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"hana"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"vcap"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;            &lt;SPAN class=""&gt;"label"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"sm"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;            &lt;SPAN class=""&gt;"plan"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"container"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-while-deploying-multi-tenant-app/qaa-p/13755763#M4836192</guid>
      <dc:creator>Lueberrueck</dc:creator>
      <dc:date>2024-07-09T12:53:13Z</dc:date>
    </item>
  </channel>
</rss>

