_periodic_instance_sync pvc to local: 'API' object has no attribute 'block_device_mapping_destroy'

Bug #1383541 reported by Zi Lian Ji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Committed
Medium
Terry Yao

Bug Description

When the customer tries to delete the volume from the SCE side, the nova sync program will maybe fail.

The root cause is : _periodic_instance_sync pvc to local: 'API' object has no attribute 'block_device_mapping_destroy'

The log info in the /var/log/powervc/nova-powervc.log:

3:43:38 PM: 2014-10-20 15:34:26.058 9164 INFO powervc.nova.driver.compute.manager [-] Removing Block Device Mapping for: [{u'instance_uuid': u'49163163-b316-40f5-ad53-01a873d42288', u'virtual_name': None, u'delete_on_termination': False, u'no_device': None, u'connection_info': u'{"": {}, "connection_info": {"driver_volume_type": "", "data": ""}}', u'created_at': u'2014-10-20T04:36:17.413982', u'volume_id': u'ea941ca5-443b-411a-87e3-d81c444b4557', u'updated_at': u'2014-10-20T04:45:00.716192', u'device_name': u'/dev/sdisk', u'deleted': 0, u'snapshot_id': None, u'id': 245, u'deleted_at': None, u'volume_size': None}]
2014-10-20 15:34:26.059 9164 ERROR powervc.nova.driver.compute.manager [-] _periodic_instance_sync pvc to local: 'API' object has no attribute 'block_device_mapping_destro

Zi Lian Ji (jizilian)
Changed in powervc-driver:
assignee: nobody → Terry Yao (yaohaif)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

Fix proposed to branch: master
Review: https://review.openstack.org/129785

Changed in powervc-driver:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/130121

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

Reviewed: https://review.openstack.org/130121
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=f65956b1ab5461a48328ec012becd5be81fb841a
Submitter: Jenkins
Branch: stable/juno

commit f65956b1ab5461a48328ec012becd5be81fb841a
Author: terryyao <email address hidden>
Date: Tue Oct 21 12:50:56 2014 +0800

    fix destroy bdm with db api call

    nova conductor api removed bdm destroy function, we need to move back
    to use db api to remove bdm.

    Closes-Bug: #1383541
    Change-Id: I0ee732685ee9fb5f2ea9b6138b42ec267819009e

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

Reviewed: https://review.openstack.org/129785
Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=70fc6cfada682063cbbd8ecc6ef2452d73b59aef
Submitter: Jenkins
Branch: master

commit 70fc6cfada682063cbbd8ecc6ef2452d73b59aef
Author: terryyao <email address hidden>
Date: Tue Oct 21 12:50:56 2014 +0800

    fix destroy bdm with db api call

    nova conductor api removed bdm destroy function, we need to move back
    to use db api to remove bdm.

    Closes-Bug: #1383541
    Change-Id: I0ee732685ee9fb5f2ea9b6138b42ec267819009e

Changed in powervc-driver:
status: In Progress → 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.