Commit Graph

7 Commits

Author SHA1 Message Date
Ian Delahorne 0da4aa6f24 Replace ListServers hack with update ServerById
[gophercloud#168](https://github.com/rackspace/gophercloud/issues/168) has been
patched to not panic on non-existing server id's. If an error is returned,
check if the error is a 404 first before bailing.
2014-06-30 19:51:48 -05:00
Ian Delahorne 3af14d3dc7 Fix typo 2014-06-29 23:50:01 -05:00
Ian Delahorne 946843982f Workaround for gophercloud.ServerById crashing, fixes #1257
gophercloud.ServerById is broken in v0.1.0 - it will crash if you feed it a
non-existing server ID (see [rackspace/gophercloud #168](https://github.com/rackspace/gophercloud/issues/168))

Instead, list all servers and iterate over them. If the server id isn't found,
return "DELETED" as a state. Not perfect but it works until next version of
gophercloud is released.
2014-06-29 23:45:50 -05:00
Pierre Riteau 77dedd9eab Properly return error when invalid instance state is found 2014-04-17 12:56:25 -05:00
Mitchell Hashimoto 77f7f24990 builder/openstack: new multistep API 2013-08-31 12:37:07 -07:00
Mark Peek 276c023d84 builder/openstack: simplify by passing csp instead of accessor and api 2013-08-27 22:37:06 -07:00
Mark Peek 4b7da04052 Add base support for openstack [GH-155]
This change adds base support for an openstack builder.
Thank you to Rackspace for providing cloud assets to complete this work
and @sam-falvo for working with us on the perigee/gophercloud changes.
2013-08-26 21:57:23 -07:00