Skip to content

Droplet must be in staged state #1

Description

@mdcarlson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions