[Rdo-list] Glance does not save properties of images

Flavio Percoco flavio at redhat.com
Tue Jan 28 08:37:27 UTC 2014


On 27/01/14 17:26 +0100, Daniel Speichert wrote:
>----- Original Message -----
>> From: "Lars Kellogg-Stedman" <lars at redhat.com>
>> To: "Daniel Speichert" <daniel at speichert.pl>
>> Cc: rdo-list at redhat.com
>> Sent: Monday, January 27, 2014 11:15:56 AM
>> Subject: Re: [Rdo-list] Glance does not save properties of images
>>
>> Is glance logging any errors (to /var/log/glance.log) when you create
>> images?
>>
>> Also, on what distribution are you running OpenStack --
>> RHEL/CentOS/Fedora?  And can you confirm the version of glance you
>> are
>> using?  In theory:
>>
>>     rpm -q openstack-glance
>>
>> Thanks,
>>
>> --
>> Lars Kellogg-Stedman <lars at redhat.com> | larsks @ irc
>> Cloud Engineering / OpenStack          | "   "  @ twitter
>>
>
>It's CentOS 6.5.
>Glance version: openstack-glance-2013.2-1.el6.noarch
>
>Absolutely no errors in the log. Debug log doesn't show anything meaningful to me, I also tried sqlalchemy_debug but no errors there either.
>It does however pass empty attributes in the SQL query:
>
>/var/log/glance/registry.log:
>2014-01-27 15:31:29.137 28699 INFO sqlalchemy.engine.base.Engine [-] INSERT INTO images (created_at, updated_at, deleted_at, deleted, id, name, disk_format, container_format, size, status, is_public, checksum, min_disk, min_ram, owner, protected) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)
>2014-01-27 15:31:29.137 28699 INFO sqlalchemy.engine.base.Engine [-] (datetime.datetime(2014, 1, 27, 15, 31, 29, 136383), datetime.datetime(2014, 1, 27, 15, 31, 29, 136401), None, 0, 'e4856dce-67ba-4185-8871-3433400ba3c6', 'Ubuntu Server 13.10 1', None, None, 0, 'queued', 0, None, 0, 0, 'a8643be6b41f4e35950b1cc78f39e93a', 0)
>


Could you please share the commands your using?

    - How are you adding the properties?
    - How are you reading the propoerties?

You're sharing your registry.log configurations which means you've
configured the registry. Could you share how you did that?

Thanks,
flaper

>Best Regards,
>Daniel Speichert
>
>_______________________________________________
>Rdo-list mailing list
>Rdo-list at redhat.com
>https://www.redhat.com/mailman/listinfo/rdo-list

-- 
@flaper87
Flavio Percoco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/rdo-list/attachments/20140128/c55b19b9/attachment.sig>


More information about the rdo-list mailing list