image update failed during the periodic sync in the glance-powervc component

Bug #1379637 reported by Zhao Jian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Committed
Undecided
Unassigned

Bug Description

During the periodic sync of the component glance-powervc , image updated always failed , and could get the error like this :

2014-10-09 02:38:15.654 14565 INFO powervc.glance.manager.manager [-] Image '10G_rhel_image' for PowerVC UUID d0f91ef2-5207-40f6-bcac-c70bc583ac50 was updated on the local hostingOS, and on PowerVC. Attempting to merge the changes together and update both with the result.
2014-10-09 02:38:15.656 14565 INFO powervc.glance.manager.manager [-] Performing update sync of image '10G_rhel_image' from merged master image to the local hosting OS for PowerVC UUID d0f91ef2-5207-40f6-bcac-c70bc583ac50
2014-10-09 02:38:15.905 14565 ERROR powervc.glance.manager.manager [-] An error occurred updating image '10G_rhel_image' for PowerVC UUID d0f91ef2-5207-40f6-bcac-c70bc583ac50: descriptor 'get' requires a 'dict' object but received a 'str'
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager Traceback (most recent call last):
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager File "/opt/ibm/openstack/powervc-driver/powervc/glance/manager/manager.py", line 1984, in _v2update_image
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager **attr_dict)
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager File "/usr/lib/python2.6/site-packages/glanceclient/v2/images.py", line 170, in update
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager image = self.get(image_id)
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager File "/usr/lib/python2.6/site-packages/glanceclient/v2/images.py", line 106, in get
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager return self.model(**body)
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager File "/usr/lib/python2.6/site-packages/glanceclient/common/utils.py", line 387, in _memoized_property
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager setattr(self, attr_name, fn(self))
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager File "/usr/lib/python2.6/site-packages/glanceclient/v2/images.py", line 36, in model
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager schema = self.schema_client.get('image')
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager TypeError: descriptor 'get' requires a 'dict' object but received a 'str'
2014-10-09 02:38:15.905 14565 TRACE powervc.glance.manager.manager
2014-10-09 02:38:15.926 14565 ERROR powervc.glance.manager.manager [-] Local hosting OS image '10G_rhel_image' for PowerVC UUID d0f91ef2-5207-40f6-bcac-c70bc583ac50 was not updated. The PowerVC image was also not updated. An attempt to synchronize both will be tried again during the next periodic image synchronization operation.

This issue happens because of the code changes of the component "glanceclient" in the Openstack Community.

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

Reviewed: https://review.openstack.org/127425
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=4b7e6302fd425500fe99752e70a1422887ef701b
Submitter: Jenkins
Branch: master

commit 4b7e6302fd425500fe99752e70a1422887ef701b
Author: Eric_Zhao <email address hidden>
Date: Fri Oct 10 13:47:50 2014 +0800

    Image updated failed during periodic sync

    Image updated failed when the glance-powervc did the periodic
    sync , it is because of the code changes of the component
    glanceclient in the openstack community.

    Change-Id: I149faeb1631c0f996ff529325eb8a71d9d92efc0
    Closes-Bug: #1379637

Changed in powervc-driver:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.