← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475811] [NEW] gate-tempest-dsvm-full-ceph fails to upload image with "TypeError: an integer is required"

 

Public bug reported:

http://logs.openstack.org/81/173681/5/gate/gate-tempest-dsvm-full-
ceph/c9e0bee/logs/screen-g-api.txt.gz?level=TRACE#_2015-07-17_22_11_21_776

2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client [req-e89cafe3-53ad-4c20-aead-f649429e190c cecb48ef19614b36a4486bd1ff37878a 8f02d993930b440da69ebd54bb2ff023 - - -] Registry client request GET /images/cirros-0.3.4-x86_64-uec-kernel raised NotFound
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client Traceback (most recent call last):
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/registry/client/v1/client.py", line 121, in do_request
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     **kwargs)
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 71, in wrapped
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     return func(self, *args, **kwargs)
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 377, in do_request
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     headers=copy.deepcopy(headers))
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 88, in wrapped
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     return func(self, method, url, body, headers)
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 523, in _do_request
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     raise exception.NotFound(res.read())
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client NotFound: 404 Not Found
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client The resource could not be found.
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client    
2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils [req-2ec74006-5b3c-4ca7-a392-363887c2219c cecb48ef19614b36a4486bd1ff37878a 8f02d993930b440da69ebd54bb2ff023 - - -] Failed to upload image 9cdde494-924b-42e3-aaad-1e9f0144fad8
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils Traceback (most recent call last):
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/opt/stack/new/glance/glance/api/v1/upload_utils.py", line 112, in upload_data_to_store
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     context=req.context)
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 340, in store_add_to_backend
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     context=context)
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/capabilities.py", line 226, in op_checker
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     return store_op_fun(store, *args, **kwargs)
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py", line 352, in add
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     image_size, order)
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py", line 271, in _create_image
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     features=features)
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/lib/python2.7/dist-packages/rbd.py", line 209, in create
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     c_uint64(features),
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils TypeError: an integer is required
2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils 

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiVHlwZUVycm9yOiBhbiBpbnRlZ2VyIGlzIHJlcXVpcmVkXCIgQU5EIHRhZ3M6XCJzY3JlZW4tZy1hcGkudHh0XCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MzcxNzUyNjc1Mzd9

Started today, 156 hits, check and gate, all failures.

** Affects: glance
     Importance: Critical
     Assignee: Matt Riedemann (mriedem)
         Status: Confirmed

** Changed in: glance
       Status: New => Confirmed

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

Title:
  gate-tempest-dsvm-full-ceph fails to upload image with "TypeError: an
  integer is required"

Status in Glance:
  Confirmed

Bug description:
  http://logs.openstack.org/81/173681/5/gate/gate-tempest-dsvm-full-
  ceph/c9e0bee/logs/screen-g-api.txt.gz?level=TRACE#_2015-07-17_22_11_21_776

  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client [req-e89cafe3-53ad-4c20-aead-f649429e190c cecb48ef19614b36a4486bd1ff37878a 8f02d993930b440da69ebd54bb2ff023 - - -] Registry client request GET /images/cirros-0.3.4-x86_64-uec-kernel raised NotFound
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client Traceback (most recent call last):
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/registry/client/v1/client.py", line 121, in do_request
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     **kwargs)
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 71, in wrapped
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     return func(self, *args, **kwargs)
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 377, in do_request
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     headers=copy.deepcopy(headers))
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 88, in wrapped
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     return func(self, method, url, body, headers)
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client   File "/opt/stack/new/glance/glance/common/client.py", line 523, in _do_request
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client     raise exception.NotFound(res.read())
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client NotFound: 404 Not Found
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client The resource could not be found.
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client    
  2015-07-17 22:11:21.220 4347 ERROR glance.registry.client.v1.client 
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils [req-2ec74006-5b3c-4ca7-a392-363887c2219c cecb48ef19614b36a4486bd1ff37878a 8f02d993930b440da69ebd54bb2ff023 - - -] Failed to upload image 9cdde494-924b-42e3-aaad-1e9f0144fad8
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils Traceback (most recent call last):
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/opt/stack/new/glance/glance/api/v1/upload_utils.py", line 112, in upload_data_to_store
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     context=req.context)
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 340, in store_add_to_backend
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     context=context)
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/capabilities.py", line 226, in op_checker
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     return store_op_fun(store, *args, **kwargs)
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py", line 352, in add
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     image_size, order)
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/local/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py", line 271, in _create_image
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     features=features)
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils   File "/usr/lib/python2.7/dist-packages/rbd.py", line 209, in create
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils     c_uint64(features),
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils TypeError: an integer is required
  2015-07-17 22:11:21.776 4347 ERROR glance.api.v1.upload_utils 

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiVHlwZUVycm9yOiBhbiBpbnRlZ2VyIGlzIHJlcXVpcmVkXCIgQU5EIHRhZ3M6XCJzY3JlZW4tZy1hcGkudHh0XCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MzcxNzUyNjc1Mzd9

  Started today, 156 hits, check and gate, all failures.

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


Follow ups