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

provider/openstack: Allow resizing when Flavor Name changes #6020

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

jtopjian
Copy link
Contributor

@jtopjian jtopjian commented Apr 5, 2016

Previously, resizing would only work if the flavor_id changed and
would create an error if the flavor_name changes. This commit fixes
this behavior.

It also quickly refactors the getFlavorID function to use
Gophercloud's IDFromName function. getFlavorID was the basis of
IDFromName so the exact same code is used.

Fixes #5780

Side note: the standard devstack environment does not enable resizing out of the box, so an acceptance test is not possible at this time. I need to update the deploy script to account for vendoring deps and will try to roll-in resize support while I'm at it.

Previously, resizing would only work if the flavor_id changed and
would create an error if the flavor_name changes. This commit fixes
this behavior.

It also quickly refactors the getFlavorID function to use
Gophercloud's IDFromName function. getFlavorID was the basis of
IDFromName so the exact same code is used.

Fixes hashicorp#5780
@jtopjian jtopjian merged commit b002ce6 into hashicorp:master Apr 8, 2016
@jtopjian jtopjian deleted the openstack-resize-flavor-name branch March 23, 2017 16:08
@ghost
Copy link

ghost commented Apr 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

openstack: Instance resize doesn't work if flavor_name is changed
1 participant