Project

General

Profile

Bug #6128

glance image-create with rbd --location fails to create image in rdb

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

glance image-create --name cirros-5 --container-format bare --disk-format qcow2 --is-public yes --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img

returns very quickly with
------------------------------------------------------+ | Property | Value |
------------------------------------------------------+ | checksum | 50bdc35edb03a38d91b1b071afb20a3c | | container_format | bare | | created_at | 2013-08-23T00:23:32 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | 2abe4fd2-4d6a-42c0-b041-9fb073fc41af | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | cirros-5 | | owner | baa3187b7df94d9ea5a8a14008fa62f5 | | protected | False | | size | 9761280 | | status | active | | updated_at | 2013-08-23T00:23:37 |
------------------------------------------------------+

glance log http://pastebin.com/rn7LRtj9

dropping --location and using a local copy of the file creates the file

rbd images ls shows no new uuid

irc log http://pastebin.com/vzp3yGUf

added patch from https://bugs.launchpad.net/glance/+bug/1146830 and https://review.openstack.org/#/c/42640/ with out improvement

  1. rpm -qa | grep -e glance -e ceph
    ceph-release-1-0.el6.noarch
    ceph-deploy-1.0-0.noarch
    python-glanceclient-0.9.0.fuel3.1-mira.2.noarch
    libcephfs1-0.61.8-0.el6.x86_64
    ceph-0.61.8-0.el6.x86_64
    python-glance-2013.1.2.fuel3.1-mira.2.noarch
    python-ceph-0.61.8-0.el6.x86_64
    openstack-glance-2013.1.2.fuel3.1-mira.2.noarch

see also https://bugs.launchpad.net/glance/+bug/1215682

History

#1 Updated by Ian Colle over 10 years ago

  • Assignee set to Josh Durgin

#2 Updated by Anonymous over 10 years ago

http://pastebin.com/ZwfuGckH --glance-api.log from glance image-create from stdin
http://pastebin.com/YwEEz0xG --glance-api.log from glance image-create with --location

Adding assert to glance/store/rbd.py Store.add() is never touched when passing --location

#3 Updated by Josh Durgin over 10 years ago

  • Status changed from New to Rejected

Closing in the ceph tracker as it's not ceph-specific, but a general bug in glance.

Also available in: Atom PDF