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:
- Enabled revisions with
cf enable-revisions <appname>
- Pushed the app
- Made a change to the app and rebuilt
- Pushed the app again
- Listed revisions with
cf revisions <appname> successfully
- 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?
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:
cf enable-revisions <appname>cf revisions <appname>successfullycf rollback <appname> <version-number>What do I need to do to ensure the droplet is in the
stagedstate?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 thecf v3-pushby chance?