Fails to get metadata versions without X-Instance-Id when using quantum metadata proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Hyunsun Moon |
Bug Description
I'm not sure this is bug or not, but it looks like.
When I tries to get metadata service availability for health check with 'curl http://
Looking at the related codes, I can see that the service returns available versions without X-Instance-ID checking if no additional path passed.
nova/api/
-------
class MetadataRequest
@webob.
def __call__(self, req):
if os.path.
-------
But os.path.
If I remove "/" from ("/" + req.path_info) it works fine and the service returns version correctly.
description: | updated |
tags: | added: api |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/36775
Review: https:/