GithubHelp home page GithubHelp logo

Comments (12)

nicoschoenteich avatar nicoschoenteich commented on August 11, 2024

Hi @0anton,
Have you subscribed to either the Launchpad or Cloud Portal service in your subaccount? You say you have "added the CPP entitlement to my project" - I am not exactly sure what that means. Entitlements happen on subaccount level. You need to have a service entitled before you can subscribe to it or create instances of it.
Best, Nico

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

image

Hi @nicoschoenteich,
Thank you for response!

Yes, my subaccount is subscribed to both Launchpad and Cloud Portal service.

Sorry to using the mis-leading terminology. CPP is the domain name the BTP uses for exposing Cloud Portal resources (https://*.cpp.cfapps.sap.hana.ondemand.com). I have mistakenly thought it is also a valid conversational shortcut for Portal Service.

Project is also a (wrong) term by me from another domain. On GCP it is a lowest level to structure resources. I meant a BTP sub-account.

See also https://sap.stackenterprise.co/questions/27084 to the same.

from multi-cloud-html5-apps-samples.

nicoschoenteich avatar nicoschoenteich commented on August 11, 2024

Hi @0anton,
From the screen shot I can see that the services are entitled, which means you are allowed to use them, but are you sure you actually subscribed? You can check under "Instances and Subscriptions".
Best, Nico

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

Launchpad is at least subscribed. I've created it manually, although was not sure if it is needed. I used to run hyperscaler examples with Terraform descriptors, which bring all necessary infrastructure with the self-contained projects.
So, I need complete instructions, if something else is assumed to be pre-configured.
image

from multi-cloud-html5-apps-samples.

nicoschoenteich avatar nicoschoenteich commented on August 11, 2024

Hi @0anton,
Thanks for the screen shot. I know it's kind of confusing, but you created an instance of the Launchpad (also referred to as Launchpad module, which is something else than subscribing to the Launchpad service. Basically speaking, you can create multiple instances of one service in a subaccount, but you can only subscribe to an application once - that's the user's perspective at least, there are other technical and architectural differences, too.
Anyway, when clicking Create under "Instances and Subscriptions", make sure to select the service plan that has subscription in the title or description. Then try to redeploy your application.
Hope this helps. Let me know if you have more questions.
Best, Nico

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

Morning, @nicoschoenteich!
Thanks for further tipps! I've deleted Launchpad service instance, as told, and trying to create a Service Plan subscription. However, in plans, where is only standard thing, which causes the creation of already tried Service Instance:
image

Same situation is with the Portal:
image

My current global account assigned services:
image

Interestingly, in Applications, where is a Launchpad Service with a tech name SAPLaunchpad. Maybe this is something I need?

image

Okey, now I've got the Launchpad Service subscription:
image

from multi-cloud-html5-apps-samples.

nicoschoenteich avatar nicoschoenteich commented on August 11, 2024

Hi @0anton,
Yes exactly, you want the application version of the Launchpad, which you can subscribe to. Can you try to redeploy and see if the initial error persists?

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

Funny enough, after subscribing to SAP Launchpad service, I've lost the possibility to create the most of resources in the organisation.

I'm not sure, why, because the plans are still available in the org:

  • "xsuaa" and plan "application": Service plan application not found.
    image

  • from offering "html5-apps-repo" and plan "app-host":
    image

cf deploy ./mta_archives/hello-world_1.0.0.mtar
Deploying multi-target app archive ./mta_archives/hello-world_1.0.0.mtar in org tdo-dev / space tdo-dev as [email protected]...


Previously uploaded file hello-world_1.0.0.mtar with same digest detected, new upload will be skipped.
Operation ID: 15f1cabe-7a16-11ed-88d3-eeee0a86dba8
Deploying in org "tdo-dev" and space "tdo-dev"
Detected MTA schema version: "3"
No deployed MTA detected - this is initial deployment of MTA with ID "hello-world"
Detected new MTA version: "1.0.0"
Processing service "hello-world_uaa"...
Setting service "hello-world_uaa" parameters from "xs-security.json"
Creating service "hello-world_uaa" from MTA resource "hello-world_uaa"...
Service operation failed: Controller operation failed: 404 Updating service "hello-world_uaa" failed: Not Found: Error creating service "hello-world_uaa" from offering "xsuaa" and plan "application": Service plan application not found.
Proceeding with automatic retry... (3 of 3 attempts left)
Processing service "hello-world-destination-service"...
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
Creating service "hello-world_uaa" from MTA resource "hello-world_uaa"...
Service operation failed: Controller operation failed: 404 Updating service "hello-world_uaa" failed: Not Found: Error creating service "hello-world_uaa" from offering "xsuaa" and plan "application": Service plan application not found.
Processing service "hello-world_html_repo_host"...
Creating service "hello-world_html_repo_host" from MTA resource "hello-world_html_repo_host"...
Service operation failed: Controller operation failed: 404 Updating service "hello-world_html_repo_host" failed: Not Found: Error creating service "hello-world_html_repo_host" from offering "html5-apps-repo" and plan "app-host": Service plan app-host not found.
Proceeding with automatic retry... (2 of 3 attempts left)
Creating service "hello-world_html_repo_host" from MTA resource "hello-world_html_repo_host"...
Creating service "hello-world_uaa" from MTA resource "hello-world_uaa"...
Service operation failed: Controller operation failed: 404 Updating service "hello-world_uaa" failed: Not Found: Error creating service "hello-world_uaa" from offering "xsuaa" and plan "application": Service plan application not found.
Service operation failed: Controller operation failed: 404 Updating service "hello-world_html_repo_host" failed: Not Found: Error creating service "hello-world_html_repo_host" from offering "html5-apps-repo" and plan "app-host": Service plan app-host not found.
Error monitoring creation or update of services: Error creating service "hello-world-destination-service" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Failed to create a destination service instance with the user provided configuration.
Proceeding with automatic retry... (1 of 3 attempts left)
Creating service "hello-world_uaa" from MTA resource "hello-world_uaa"...
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
Creating service "hello-world_html_repo_host" from MTA resource "hello-world_html_repo_host"...
Service operation failed: Controller operation failed: 404 Updating service "hello-world_uaa" failed: Not Found: Error creating service "hello-world_uaa" from offering "xsuaa" and plan "application": Service plan application not found.
Service operation failed: Controller operation failed: 404 Updating service "hello-world_html_repo_host" failed: Not Found: Error creating service "hello-world_html_repo_host" from offering "html5-apps-repo" and plan "app-host": Service plan app-host not found.
Process failed.
Use "cf deploy -i 15f1cabe-7a16-11ed-88d3-eeee0a86dba8 -a abort" to abort the process.
Use "cf deploy -i 15f1cabe-7a16-11ed-88d3-eeee0a86dba8 -a retry" to retry the process.
Use "cf dmol -i 15f1cabe-7a16-11ed-88d3-eeee0a86dba8" to download the logs of the process.

from multi-cloud-html5-apps-samples.

nicoschoenteich avatar nicoschoenteich commented on August 11, 2024

Hm, looks like it might be a good idea to delete all instances and service key from the previously deployed MTA. Maybe the initial error is blocking updates or new deployments.

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

After deleting all resources from the sub-account and moving to a completely new sub-account, it now breaks in destination service creation:

cf deploy ./mta_archives/hello-world_1.0.0.mtar
Deploying multi-target app archive ./mta_archives/hello-world_1.0.0.mtar in org tdo / space tdo as [email protected]...


There is an ongoing operation for multi-target app hello-world. Do you want to abort it? (y/n)> y
Executing action 'abort' on operation 3fa137bd-7a17-11ed-9d5a-eeee0a84b865...
OK
Previously uploaded file hello-world_1.0.0.mtar with same digest detected, new upload will be skipped.
Operation ID: e70cb769-7a17-11ed-9d5a-eeee0a84b865
Deploying in org "tdo" and space "tdo"
Detected MTA schema version: "3"
No deployed MTA detected - this is initial deployment of MTA with ID "hello-world"
Detected new MTA version: "1.0.0"
Processing service "hello-world_html_repo_host"...
Creating service "hello-world_html_repo_host" from MTA resource "hello-world_html_repo_host"...
Processing service "hello-world_uaa"...
Setting service "hello-world_uaa" parameters from "xs-security.json"
Processing service "hello-world-destination-service"...
Creating service "hello-world_uaa" from MTA resource "hello-world_uaa"...
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
1 of 1 done
Error monitoring creation or update of services: Error creating service "hello-world-destination-service" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Failed to create a destination service instance with the user provided configuration.
1 of 1 done
Proceeding with automatic retry... (3 of 3 attempts left)
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
Error monitoring creation or update of services: Error creating service "hello-world-destination-service" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Failed to create a destination service instance with the user provided configuration.
Creating service key "hello-world_html_repo_host-key" for service "hello-world_html_repo_host"...
Creating service key "hello-world_uaa-key" for service "hello-world_uaa"...
Proceeding with automatic retry... (2 of 3 attempts left)
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
Error monitoring creation or update of services: Error creating service "hello-world-destination-service" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Failed to create a destination service instance with the user provided configuration.
Proceeding with automatic retry... (1 of 3 attempts left)
Creating service "hello-world-destination-service" from MTA resource "hello-world-destination-service"...
Error monitoring creation or update of services: Error creating service "hello-world-destination-service" from offering "destination" and plan "lite": Service broker error: Service broker destination-service-broker failed with: Failed to create a destination service instance with the user provided configuration.
Process failed.
Use "cf deploy -i e70cb769-7a17-11ed-9d5a-eeee0a84b865 -a abort" to abort the process.
Use "cf deploy -i e70cb769-7a17-11ed-9d5a-eeee0a84b865 -a retry" to retry the process.
Use "cf dmol -i e70cb769-7a17-11ed-9d5a-eeee0a84b865" to download the logs of the process.

Destination service with the plan lite is added to the sub-account:
image

Launchpad is subscribed:

image

If you think it will be more efficient, we can have a short call.

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

Still not working.

from multi-cloud-html5-apps-samples.

0anton avatar 0anton commented on August 11, 2024

After a week the deployment of destination has self-recovered after re-deployment and the app is now accessible from the Internet:
image
Works!

from multi-cloud-html5-apps-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.