← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1112670] Re: Can't create image: InvalidArgument error

 

Closing as "Won't Fix".

1. No action since 2014
2. Looks like a configuration problem.

** Changed in: glance
       Status: Confirmed => Won't Fix

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

Title:
  Can't create image: InvalidArgument error

Status in Glance:
  Won't Fix

Bug description:
  Getting this error when trying to create an image. In glance's api.log:
  2013-02-01 16:23:16 DEBUG glance.registry.client [73a0c211-f9df-4ff1-a958-8092ffea93a5 None None] Registry request PUT /images/19b67ee3-6a22-4fee-a12a-144c228700ed HTTP 200 request id req-e29d2511-5d13-42db-9f40-162532c0e35c do_request /usr/lib/python2.7/dist-packages/glance/registry/client.py:95
  2013-02-01 16:23:16 INFO glance.api.v1.images [73a0c211-f9df-4ff1-a958-8092ffea93a5 None None] Triggering asynchronous copy from external source
  2013-02-01 16:23:17 18293 DEBUG glance.api.v1.images [-] Setting image 19b67ee3-6a22-4fee-a12a-144c228700ed to status 'saving' _upload /usr/lib/python2.7/dist-packages/glance/api/v1/images.py:414
  2013-02-01 16:23:17 18293 DEBUG glance.registry [-] Updating image metadata for image 19b67ee3-6a22-4fee-a12a-144c228700ed... update_image_metadata /usr/lib/python2.7/dist-packages/glance/registry/__init__.py:148
  2013-02-01 16:23:17 18293 DEBUG glance.common.client [-] Constructed URL: http://0.0.0.0:9191/images/19b67ee3-6a22-4fee-a12a-144c228700ed _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:396
  2013-02-01 16:23:17 18293 DEBUG glance.registry.client [-] Registry request PUT /images/19b67ee3-6a22-4fee-a12a-144c228700ed HTTP 200 request id req-3ae75a8a-9f8a-428e-b566-5c170faabbee do_request /usr/lib/python2.7/dist-packages/glance/registry/client.py:95
  2013-02-01 16:23:17 18293 DEBUG glance.api.v1.images [-] Uploading image data for image 19b67ee3-6a22-4fee-a12a-144c228700ed to rbd store _upload /usr/lib/python2.7/dist-packages/glance/api/v1/images.py:419
  2013-02-01 16:23:17 18293 DEBUG glance.store.rbd [-] creating image 19b67ee3-6a22-4fee-a12a-144c228700ed with order 23 add /usr/lib/python2.7/dist-packages/glance/store/rbd.py:240
  2013-02-01 16:23:17 18293 ERROR glance.api.v1.images [-] Failed to upload image
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images Traceback (most recent call last):
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images   File "/usr/lib/python2.7/dist-packages/glance/api/v1/images.py", line 425, in _upload
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images     image_meta['size'])
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images   File "/usr/lib/python2.7/dist-packages/glance/store/rbd.py", line 243, in add
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images     image_size, order)
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images   File "/usr/lib/python2.7/dist-packages/glance/store/rbd.py", line 206, in _create_image
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images     features=rbd.RBD_FEATURE_LAYERING)
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images   File "/usr/lib/python2.7/dist-packages/rbd.py", line 194, in create
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images     raise make_ex(ret, 'error creating image')
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images InvalidArgument: error creating image
  2013-02-01 16:23:17 18293 TRACE glance.api.v1.images 

  It doesn't matter if I create an image from the GUI (dashboard) or the
  command-line (glance create-image), the backtrace is the same.

  Versions:
  - ubuntu: precise
  - glance: 2013.1~g2-0ubuntu1~cloud0 from http://ppa.launchpad.net/ubuntu-cloud-archive/grizzly-staging/ubuntu/
  - ceph: 0.48.2-0ubuntu2~cloud0, from http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/folsom/main

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