Skip to Content
-1

Cannot deploy simple application on CF deployment in a trial account.

hi colleagues,

I have created in Web IDE, a new project as an MTA and added a CDS artifiact…The Build was fine. But when I tried to deploy, I got the error below :

Unexpected error: Service described by MTA resource "hdi_db" of type [hana/hdi-shared] does not match already existing service "hdi_db" of type [hanatrial/hdi-

It seems that the project created (MTA) is not suitable with the service I created below :

It seems that for trials, they do not allow the service blow :

I had chosen the only option that appeared to me which is the middle one above: SAP Hana Schemas and HDI Containers.

Did I misinterpret the error perhaps or is there a remedy to this ?

PS: this is my yaml file :

yaml.txt

thanks,

cheers,Zied.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 25, 2019 at 03:15 PM

    Zied,

    For trial subaccounts you need to modify the default service so that it is "hanatrial". See this link for more information: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/37eedfdf814d4845ad784334d7ad6f8e.html

    Here's the relevant entry from the resources section:

    Hope this solves your problem.

    Thanks,

    Brian


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 26, 2019 at 12:39 PM

    Thanks Brian,

    The error now has changed . When I try to deploy I get the following :

    ---------------------------------------------------------------------

    Starting deployment
    Deploying in org "I023385trial_trial" and space "dev"
    Detected MTA schema version: "3"
    Detected deployed MTA with ID "dyntab1" and version "0.0.1"
    Detected new MTA version: "0.0.1"
    Deployed MTA version: 0.0.1
    Processing service "hdi_db"...
    Processing service "dest_dyntab"...
    Updating service "hdi_db"...
    Processing service "uaa_dyntab1"...
    Updating service "uaa_dyntab1"...
    Updating application "db"...
    Application "db" is not modified and will not be updated
    Service "hdi_db" will not be rebound to application "db" because the binding parameters are not modified
    Uploading application "db"...
    Stopping application "db"...
    Staging application "db"...
    Application "db" staged
    Executing task "deploy" on application "db"...
    Execution of task "deploy" failed. Download the application logs "db", via the dmol command, and check them for more information.
    Unexpected error: A step of the process has failed. Retrying it may solve the issue.

    ------------------------------------------------------------------

    This is a snapshot of the binding if I got it right :

    do I need to specify some binding parameters when I do the above binding ?

    please let me know if you would need further info.

    Thank you,

    cheers,Zied


    reboundissue.jpg (22.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.