Make keypairs optional in the Openstack API
Bug #732204 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
justinsb |
Bug Description
Creating a server within the Openstack API requires a keypair. As keypairs aren't part of the Cloud Servers API specs (v1.0/v1.1) we need to make this requirement optional.
NOTE: Additionally there is currently no Openstack API controller to create keypairs. (branches exist to add this functionality however)
See: https:/
Related branches
lp:~justin-fathomdb/nova/bug732204
- Rick Harris (community): Approve
- Jay Pipes (community): Approve
- Dan Prince (community): Approve
-
Diff: 84 lines (+27/-8)3 files modifiednova/api/openstack/servers.py (+9/-5)
nova/tests/api/openstack/fakes.py (+9/-2)
nova/tests/api/openstack/test_servers.py (+9/-1)
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The keys code actually got mixed into my volumes branch (sorry!), so the latest keys code is here: /code.launchpad .net/~justin- fathomdb/ nova/justinsb- openstack- api-volumes/ +merge/ 50868
https:/
I wish I'd known that key_pairs weren't a requirement - there's a bit of a storm raging on that merge request...
I had presumed that the plan was to generate a default keypair for each user, so v1.0 users wouldn't need to create a key but would still have a key_pair in the system. Ideally, they'd upload their own public key, but we know that not every user will do that.