nova shouldn't trust userdata is properly formated by client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Tushar Patil |
Bug Description
When experimenting with a recent extension (user_data) in the openstack 1.1 api, I sent non-base64 encoded data.
If you then try to use the metadata api (to retrieve anything - even the instance-id via /latest/
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
Related branches
- Vish Ishaya (community): Approve
- Christopher MacGown (community): Approve
- Jason Kölker (community): Approve
-
Diff: 109 lines (+55/-0)2 files modifiednova/api/openstack/create_instance_helper.py (+13/-0)
nova/tests/api/openstack/contrib/test_createserverext.py (+42/-0)
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Tushar Patil (tpatil) |
milestone: | none → diablo-rbp |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | diablo-rbp → 2011.3 |
status: | Fix Committed → Fix Released |
Please assign this bug to me, if anyone is not working on it.