Created attachment 884093 [details] engine.log Description of problem: When integrating a Glance repository (ice-house) with RHEV as an external provider, engine is unable to refresh the images list of the Glance storage domain. Version-Release number of selected component (if applicable): How reproducible: AV5 rhevm-3.4.0-0.12.beta2.el6ev.noarch Ice-house RHOS Glance repository Steps to Reproduce: 1. Integrate a Glance repository (RHOS OpenStack - Ice-house version) with RHEV as an external provider 2. Go to 'Images' sub-tab under the Glance storage domain, refresh the list Actual results: Images list doesn't get refreshed, engine doesn't recognize the "virtual_size" column which is a new field in the new RHOS Glance version (Ice-house) 2014-04-08 16:33:22,223 ERROR [org.ovirt.engine.core.bll.GetImagesListQuery] (ajp-/127.0.0.1:8702-2) Query GetImagesListQuery failed. Exception message is org.codehaus.jackson.map.exc.UnrecognizedPropertyException : Unrecognized field "virtual_size" (Class com.woorea.openstack.glance.model.Image), not marked as ignorable at [Source: org.jboss.resteasy.client.core.SelfExpandingBufferredInputStream@701db71; line: 1, column: 443] (through reference chain: com.woorea.openstack.glance.model.Images["images"]->com.woorea.openstack.glanc e.model.Image["virtual_size"]) : org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "virtual_size" (Class com.woorea.openstack.glance.model.Image ), not marked as ignorable at [Source: org.jboss.resteasy.client.core.SelfExpandingBufferredInputStream@701db71; line: 1, column: 443] (through reference chain: com.woorea.openstack.glance.model.Images["images"]->com.woorea.openstack.glanc e.model.Image["virtual_size"]): org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "virtual_size" (Class com.woorea.openstack.glance.model.Image) , not marked as ignorable at [Source: org.jboss.resteasy.client.core.SelfExpandingBufferredInputStream@701db71; line: 1, column: 443] (through reference chain: com.woorea.openstack.glance.model.Images["images"]->com.woorea.openstack.glanc e.model.Image["virtual_size"]) Expected results: Engine should recognize the new field Additional info: engine.log
we should make sure we read the fields we know, and ignore those we don't, to be as compatible with different versions.
Patches merged upstream: https://github.com/woorea/openstack-java-sdk/commit/6a05821 https://github.com/woorea/openstack-java-sdk/commit/58e2f37
Given that: $ rpm -qRp rhevm-3.4.0-0.17.el6ev.noarch.rpm | grep rhevm-dependencies rhevm-dependencies >= 3.4.0-1 And rhevm-dependencies ChangeLog: 2014-05-02 - Version 3.4.0 * -openstack-java-sdk-3.0.1 - rhbz#1048880, rhbz#1064749, rhbz#1085402 * +openstack-java-sdk-3.0.4 - rhbz#1048880, rhbz#1064749, rhbz#1085402 * +snmp4j-2.2.3 - rhbz#1032661 This was fixed in rhevm-3.4.0-0.17.el6ev.
Images list of a glance domain is refreshed successfully when the glance repository integrated is ICE-HOUSE RHOS. 2014-05-15 15:54:16,941 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Refresh image list succeeded for domain(s): glance (All file type) Verified using av9.1 with ICE-HOUSE RHOS glance repository
Closing as part of 3.4.0