Skip to content

PowerFlex storage plugin - changed parameters for reverting an instance snapshot #12752

Closed

Description

@summer-abacus

problem

When reverting an instance snapshot on a Dell Powerflex 4.8.00 as primary storage a error message "Bad API Request" is shown.

There was a change in the PowerFlex API version 4.5:

PowerFlex 4 5 - overwriteVolumeContent

Actual implemented API:

PowerFlex 3 5 - overwriteVolumeContent

Originally posted by @sureshanaparti in #12748 (reply in thread)

versions

ACS version 4.22.0
PowerFlex 4.8.00

The steps to reproduce the bug

  1. create an instance snapshot on PowerFlex as primary storage
  2. click "Reverte to Instance Snapshot"
  3. Error message "Bad API Request" pops up

What to do about it?

No response

Activity

  1. added this to the 4.22.1 milestone on Mar 6, 2026
  2. added theissue type on Mar 6, 2026
  3. sureshanaparti commented on Mar 6, 2026

    @sureshanaparti
    Contributor

    here is the call from cloudstack:

    Boolean overwriteVolumeContentStatus = post(
    "/instances/Volume::" + destVolumeId + "/action/overwriteVolumeContent",
    String.format("{\"srcVolumeId\":\"%s\",\"allowOnExtManagedVol\":\"TRUE\"}", sourceSnapshotVolumeId), Boolean.class);

  4. DaanHoogland commented on Mar 6, 2026

    @DaanHoogland
    Contributor

    @summer-abacus ,

    Do you have more output for the actual call you made? or is "Bad API Request” all? Maybe some logging on the PowerFlex side?
    Please note that most people (that might want to implement a fix) do not have access to a PowerFlex installation.

  5. summer-abacus commented on Mar 6, 2026

    @summer-abacus
    Author

    @DaanHoogland

    Unfortunately, I don't have any log files at the moment. It occurred during a short PoC. I'll try to get the logs from Dell directly.

  6. summer-abacus commented on Mar 10, 2026

    @summer-abacus
    Author

    Just got the logs and attached them to this issue. In the Events-export.json are the logs form Powerflex.

    We've also got a short analysis form a Dell specialist:

    the revert‑operation („overwriteVolumeContent“) fails, because an old flag (allowOnExtManagedVol) is used in the cloudstack code. This flag in no longer valid since PowerFlex‑Version 4.5.x. According to the message volumeClass should be used instead.

    reverte_log.txt

    Events-export.json

  7. sureshanaparti commented on Mar 11, 2026

    @sureshanaparti
    Contributor

    correct, new parameter volumeClass to be passed with overwriteVolumeContent call to revert to snapshot volume from PowerFlex 4.5 onwards.

  8. changed the title [-]PowerFlex storage plugin - changed parameters[/-] [+]PowerFlex storage plugin - changed parameters for reverting an instance snapshot[/+] on Mar 27, 2026
  9. sureshanaparti commented on Mar 27, 2026

    @sureshanaparti
    Contributor

    Fixed in #12880

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions