SAP / cf-html5-apps-repo-cli-plugin

Cloud Foundry CLI plugin to work with SAP Cloud HTML5 Applications Repository
Apache License 2.0
43 stars 6 forks source link

Removed app-host instance containing certain app, can't deploy the same app to a new app-host #61

Closed piejanssens closed 1 year ago

piejanssens commented 1 year ago
$ cf html5-push -n app-host-pj dist
Redeploying HTML5 applications in org PJ_sbx / space main as pj@example.com...
FAILED
Could not upload applications to app-host-id '31d6bd01-add4-46de-b1e9-e43eb78b8696' :  Application pj.app-1.0.0 appears more than one time

Which is strange, as the previous app-host containing the app was deleted. This is also shown by the fact that there is 0 bytes being used:

$ html5-info

Getting information about all app-host service instances in org PJ_sbx / space main as pj@example.com...
OK

name                  app-host-id                            used      size limit   status    last changed   
app-host-xxx   164c9e35-b98a-4b2b-a2b5-c9e955e85aa9   0 bytes   100.00 MB    INITIAL   Fri, 20 Jan 2023 14:23:38 GMT   
app-host-abc   31d6bd01-add4-46de-b1e9-e43eb78b8696   0 bytes   100.00 MB    INITIAL   Fri, 20 Jan 2023 14:23:23 GMT  
piejanssens commented 1 year ago

It seems that the error is not correct. If I change sap.app.id to something completely random, it will also tell me it appears more than one time...

FAILED
Could not upload applications to app-host-id '31d6bd01-add4-46de-b1e9-e43eb78b8696' :  Application pj.appXXXXXXXX-1.0.0 appears more than one time
piejanssens commented 1 year ago

I didn't specify 'dist'...