Skip to content

Clean up some bugs in the nova driver - #31120

Merged
cachedout merged 4 commits into
saltstack:2015.8from
gtmanfred:2015.8
Feb 11, 2016
Merged

cachedout merged 4 commits into
saltstack:2015.8from
gtmanfred:2015.8

Conversation

@gtmanfred

Copy link
Copy Markdown
Contributor

I am pretty sure this will fix the following issues
#29758
#31115
#29666

Also, bring this one back inline with libcloud, which had all the ips in either private_ips or public_ips.

We were using special names for each network, which isn't necessary, cause we can just check all the ips.

This should make this slightly better, and have everything documented a bit
better.  If salt-cloud to use an extra network that isn't in public_ips or
private_ips, we will overwrite public_ips, and exit.

Then private_ips and public_ips are handled as normal.

Also remove some redundant code that isn't needed
This errors if a server gets deleted between when the server_list and
show_server commands are run.  When running map files to build servers, this
could cause the entire map to be evaluated as needing to be run.

If a server disappears, just continue and don't include it.
@cachedout

Copy link
Copy Markdown
Contributor

@cachedout cachedout added the pending-changes The pull request needs additional changes before it can be merged label Feb 11, 2016
@gtmanfred

Copy link
Copy Markdown
Contributor Author

Cool, I will get to it when I get into the office, had to get my eyes
checked this morning.

On Thu, Feb 11, 2016 at 11:35 AM Mike Place [email protected]
wrote:

Hi @gtmanfred https://github.com/gtmanfred

There's just a small lint error to fix up:
https://jenkins.saltstack.com/job/salt-pr-lint-n/13321/violations/

Thanks!

—
Reply to this email directly or view it on GitHub
#31120 (comment).

@cachedout

Copy link
Copy Markdown
Contributor

@gtmanfred Super! Thanks for the quick fix here.

cachedout pushed a commit that referenced this pull request Feb 11, 2016
Clean up some bugs in the nova driver
@cachedout
cachedout merged commit 8f2e3a2 into saltstack:2015.8 Feb 11, 2016
@cachedout

Copy link
Copy Markdown
Contributor

Thanks, @gtmanfred

@gtmanfred

Copy link
Copy Markdown
Contributor Author

@rallytime this will need to be merged forward to 2016.3 once 2016.3.0 is finalized

Thanks
Daniel

@rallytime

Copy link
Copy Markdown
Contributor

@gtmanfred Sure thing.

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

Labels

pending-changes The pull request needs additional changes before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants