Repository navigation
Some fixes for nova driver for Rackspace - #28182
Merged
Merged
Conversation
get private_ips in rackconnectv2 environment and populate data object get public_ips and put in data object before returning "result" structure
this catches servers that are actively being deleted, or otherwise have missing data structures
techhat
added a commit
that referenced
this pull request
Oct 21, 2015
Some fixes for nova driver for Rackspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes a typo (which causes a logic issue later) in commit b7f8487, that commit also adds in some logic from the openstack driver I committed many moons ago. Also, preserve the public_ips for final output, instead of returning early if
ssh_interface(_vm) == 'private_ips'.The second commit adds some error handling for servers returned by the novaclient driver that are missing details, due to in-flight deletion or otherwise broken metadata.
I PR'd this against 2015.8 because the # of changes compared to 2015.5 was quite a bit higher, and I didn't think it'd merge very cleanly.