← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302351] [NEW] v2 API can't create image - Attribute 'file' is reserved.

 

Public bug reported:

Trying to create an image with V2 API and get the following error:

glance --os-image-api-version 2 --os-image-url http://glance-icehouse:9292/ image-create --container-format bare --disk-format raw --name trusty2 --file trusty-server-cloudimg-amd64-disk1.img 
Request returned failure status.
403 Forbidden
Attribute 'file' is reserved.
    (HTTP 403)

It works fine if I do  --os-image-api-version 1

** Affects: glance
     Importance: Undecided
         Status: New

** Summary changed:

- v2 API can't create image
+ v2 API can't create image - Attribute 'file' is reserved.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1302351

Title:
  v2 API can't create image - Attribute 'file' is reserved.

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Trying to create an image with V2 API and get the following error:

  glance --os-image-api-version 2 --os-image-url http://glance-icehouse:9292/ image-create --container-format bare --disk-format raw --name trusty2 --file trusty-server-cloudimg-amd64-disk1.img 
  Request returned failure status.
  403 Forbidden
  Attribute 'file' is reserved.
      (HTTP 403)

  It works fine if I do  --os-image-api-version 1

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


Follow ups

References