Skip to content

Some fixes for nova driver for Rackspace - #28182

Merged
techhat merged 2 commits into
saltstack:2015.8from
erchn:fix_nova_rackspace
Oct 21, 2015
Merged

techhat merged 2 commits into
saltstack:2015.8from
erchn:fix_nova_rackspace

Conversation

@erchn

@erchn erchn commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

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.

erchn added 2 commits October 21, 2015 20:12
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
@techhat
techhat merged commit fbad88f into saltstack:2015.8 Oct 21, 2015
@erchn
erchn deleted the fix_nova_rackspace branch October 21, 2015 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants