Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cf disable-diego" for Docker app results in confusing error message [migrated from diego-release] #28

Closed
emalm opened this issue Sep 23, 2016 · 2 comments

Comments

@emalm
Copy link
Member

emalm commented Sep 23, 2016

Original issue: cloudfoundry/diego-release#199
Original poster: @jochenehret


Hi Diego developers,

when we push a Docker app to Diego and then call cf disable-diego <appname>, we get a confusing error message and the app status is inconsistent:

$ cf disable-diego lattice-app
Setting lattice-app Diego support to false
FAILED
Error: CF-AppPackageNotFound - The app package could not be found: 92e75ab6-d631-4069-9fb5-c6cd1dfedd6a
{
   "code": 150002,
   "description": "The app package could not be found: 92e75ab6-d631-4069-9fb5-c6cd1dfedd6a",
   "error_code": "CF-AppPackageNotFound"
}

The app is not listed in cf diego-apps any more, but still running. The status is inconsistent:

$ cf apps
Getting apps in org test / space diego-test as admin...
OK

name           requested state   instances   memory   disk   urls
lattice-app    started           ?/1         1G       1G     lattice-app.cfapps.hcp-dev04.aws.sapcloud.io

I know that it doesn't make sense to disable Diego for Docker apps, but can you still try to provide a better error message?

Thanks and Best Regards,

Jochen.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/130969997

The labels on this github issue will be updated when the story is started.

@SocalNick
Copy link
Contributor

capi-bot added a commit that referenced this issue Jun 22, 2023
Bump src/code.cloudfoundry.org/tps
  dependabot[bot]:
     Bump github.com/lib/pq from 1.10.7 to 1.10.9 (#28)
     Bump code.cloudfoundry.org/lager/v3 from 3.0.1 to 3.0.2 (#25)
     Bump github.com/cloudfoundry/dropsonde from 1.0.0 to 1.1.0 (#24)
capi-bot added a commit that referenced this issue Nov 30, 2023
…/tps

Bump src/code.cloudfoundry.org/cc-uploader
  dependabot[bot]:
     Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#28)
Bump src/code.cloudfoundry.org/tps
  dependabot[bot]:
     Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#46)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants