← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1307900] Re: Limit formatting routes when adding resources like nova api

 

** Changed in: cinder
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1307900

Title:
  Limit formatting routes when adding resources like nova api

Status in Cinder:
  Invalid
Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  It is same bug such as nova in grizzly.
  So in grizzly nova, It is already modified.

  becuase of this, "cinder metadata function" not working in below
  situation.

  1. cinder metadata $(volume_id) set Hadoop_TAG_1.2.2=samsung_service
  2. cinder metadata $(volume_id) unset Hadoop_TAG_1.2.2
  => error!! ERROR: Metadata item was not found (HTTP 404) 

  So It must be modified.

  By default, routes.mapper.Mapper.resource adds a bunch of formatted
  routes that accept anything after a '.'. Our spec says only .xml
  and .json are accepted so limit the formatting to those valuse.

  This allows identifiers with a '.' in urls. A few tests were added
  to the extensions test to prove that .xml and .json are stripped
  but other values are not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1307900/+subscriptions


References