Migrating 'in-use' volume failed with Error "Object is already attached to session"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Confirmed
|
High
|
Vincent Hou |
Bug Description
When migrate an in used volume with option '--force-host-copy True', sometimes, below Exception was thrown:
1496739 2015-03-18 11:30:44.267 602 ERROR oslo_messaging.
1496740 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496741 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496742 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496743 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496744 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496745 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496746 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496747 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496748 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496749 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496750 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496751 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496752 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496753 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496754 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496755 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496756 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496757 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496758 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496759 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496760 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496761 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496762 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496763 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496764 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496765 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496766 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496767 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496768 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496769 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496770 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496771 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496772 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496773 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496774 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496775 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496776 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496777 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496778 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496779 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496780 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496781 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496782 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496783 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
1496784 2015-03-18 11:30:44.267 602 TRACE oslo_messaging.
=======
This was seen in all-in one node which set up by devstack
cinder-manage version list: 2015.1
Adding Vincent.