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

Droplet must be in staged state #1

Open
mdcarlson opened this issue Apr 16, 2019 · 0 comments
Open

Droplet must be in staged state #1

mdcarlson opened this issue Apr 16, 2019 · 0 comments

Comments

@mdcarlson
Copy link

mdcarlson commented Apr 16, 2019

I am kicking the tires on cfrevisions-plugin in a lab environment and getting an error when I attempt to rollback to a prior version. Here's what I tried:

  1. Enabled revisions with cf enable-revisions <appname>
  2. Pushed the app
  3. Made a change to the app and rebuilt
  4. Pushed the app again
  5. Listed revisions with cf revisions <appname> successfully
  6. Attempted cf rollback <appname> <version-number>
cf rollback hello-java11 2
Rolling back app hello-java11 to version 2...

Failed to initiate rollback: droplet must be in staged state

What do I need to do to ensure the droplet is in the staged state?

When I run cf v3-droplets <appname> I see that the prior version (v1) has a state of expired even though it that version is a few minutes old. Should I be using the cf v3-push by chance?

@mdcarlson mdcarlson changed the title Droplet must be in staged Droplet must be in staged state Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant