[XenAPI] add a maximum retry count for vbd unplug

Bug #1592362 reported by Jianghua Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-xenapi
Fix Released
Medium
Naichuan Sun

Bug Description

https://github.com/openstack/nova/blob/bc5035343d366a18cae587f92ecb4e871aba974a/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py#L139

If the vbd unplug always return DEVICE_DETACH_REJECTED, it will be in loop for ever. So need add a maximum retry count in _vbd_unplug_with_retry.

Tags: xenserver
Changed in nova:
assignee: nobody → Jianghua Wang (wjh-fresh)
Matt Riedemann (mriedem)
tags: added: xenserver
Changed in nova:
importance: Undecided → Wishlist
importance: Wishlist → Low
status: New → Confirmed
Bob Ball (bob-ball)
no longer affects: nova
Revision history for this message
huan (huan-xie) wrote :

This bug has been fixed by this patch https://review.openstack.org/#/c/454420/

Changed in os-xenapi:
assignee: nobody → Naichuan Sun (naichuans)
importance: Undecided → Medium
Changed in os-xenapi:
status: New → Fix Committed
Changed in os-xenapi:
status: Fix Committed → Fix Released
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.