Comment 13 for bug 1308058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/93649
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ef3f158a5aa1988be8ab2f295252373f3ee85809
Submitter: Jenkins
Branch: master

commit ef3f158a5aa1988be8ab2f295252373f3ee85809
Author: Andrew Woodward <email address hidden>
Date: Wed May 14 19:22:48 2014 -0700

    Catch missing Glance image attrs with None

    Glance is known to drop values from its response if they don't resolve to true.
     Previously in I67b7dd16a94fe60d873c012f6bd246ab24500d5a the None catch was
     removed as this WILL cause a call to glance for missing value and
     optimizations where made to attempt to pre-cache values that can be missing
     in expected ways. However there are still situations that can't be optimized.

    Notably this can occur with disk_format, container_format, name, deleted,
     and checksum.

    Test adapted from I85c42f8351763da201021a22f5ff0ebd62c6b2db by Mike Perez

    Closes-bug #1308058
    Co-Author: Mike Perez <email address hidden>

    Change-Id: Icddead6f746d4d3ba652858eaae425acce8c177d