FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cannot resize a volume with different tags, therefore cannot migrate it to different storage pools · Issue #3561 · apache/cloudstack · GitHub

Cannot resize a volume with different tags, therefore cannot migrate it to different storage pools #3561

Closed

Description

ISSUE TYPE
  • Bug Report
  • Improvement Request
COMPONENT NAME
API, Storage tags
CLOUDSTACK VERSION
master
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

If you'd like to upgrade a volume, let's say from a normal hard drive to SSD and all the storage pools and offerings are tagged with different tags, there's no other way to do that except from updating the offering ID in the DB and migrating it to the desired storage pool.
Cloudstack currently simply requires tags to match when executing the resize volume API, We need to be able to make more intelligent checks and offer the user a way to 'upgrade/downgrade' a volume based on the tags he's using.

STEPS TO REPRODUCE
EXPECTED RESULTS
User must be able to resize to a different type of offering according to tags
ACTUAL RESULTS
He's not 

Activity

  1. onitake commented on Aug 19, 2019

    Contributor

    According to feedback from @DaanHoogland , the changes required to implement this would be significant. There are quite a few cases to cover when storage tags change.

    But for the time being, it would be great if at least the UI behaviour could be fixed. Since it's already possible to change the storage offering via the API/CLI when storage tags are unchanged, the UI should also reflect this. Currently, it's not possible at all to change the offering, because the disk size field on a custom offering is mandatory, and when it contains a value, no migration is performed at all.

  2. DaanHoogland commented on Oct 28, 2020

    Contributor

    @borisstoyanov @onitake is this issue still needed?

  3. GabrielBrascher commented on Oct 28, 2020

    Member

    Maybe this issue has something to do with #4257?

  4. DaanHoogland commented on Nov 24, 2020

    Contributor

    I am sure this has to do with #4257, but that is a quite rude way to solve it, maybe more discussion is needed (here or on the maillist)
    I think doing it well, is a lot of work, while doing the #4257 way leave too many holes open. (not 👎-ing that PR here)

  5. added this to the 4.16.0.0 milestone on Jan 4, 2021
  6. yadvr commented on Aug 9, 2021

    Member

    cc @harikrishna-patnala @sureshanaparti - could it work now with the PR being referenced and your work?

  7. nvazquez commented on Aug 24, 2021

    Contributor

    As discussed offline, this will be handled by PR #5008, will need verification

  8. harikrishna-patnala commented on Aug 25, 2021

    Member

    Yes @nvazquez @rhtyd, there are options to either update the disk offering or migrate the volume to a different storage pool using APIs. so this can be verified as part PR#5008

  9. modified the milestones: 4.16.0.0, 4.17.0.0 on Sep 21, 2021
  10. yadvr commented on Sep 21, 2021

    Member

    @harikrishna-patnala cc @nvazquez can you check if I've correctly moved this to 4.17 milestone; or is somebody working on this?

  11. nvazquez commented on Sep 21, 2021

    Contributor

    Its fine @rhtyd as PR #5008 has been moved to the 4.17 milestone and will address this issue

  12. onitake commented on Jan 27, 2022

    Contributor

    Thanks for fixing! 👏

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

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL