FibreChannel detach fails with missing devices key

Bug #1288360 reported by Walt Boring
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

When a FibreChannel volume is a boot volume, the devices key and data isn't saved in the block_device_mapping in the database. This causes a problem at detach time because the libvirt volume FC driver tries to access the key to determine which LUNs in the kernel to remove.

Tags: libvirt
Changed in nova:
assignee: nobody → Walt Boring (walter-boring)
Changed in nova:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Confirmed → In Progress
Changed in nova:
importance: Undecided → Medium
tags: added: libvirt
Joe Gordon (jogo)
Changed in nova:
status: In Progress → New
assignee: Walt Boring (walter-boring) → nobody
importance: Medium → Low
status: New → Confirmed
Revision history for this message
Xing Yang (xing-yang) wrote :

Walt, this is fix now, right?

Revision history for this message
Yang Ye (ccyangye) wrote :

I think this is because FCSAN is the only driver that will update connection_info in connect_volume(volume.py).
In live-migration, pre_live_migration will refresh connection_info in destination host, and saved to db before do connect_volume.
So live-migration will lost devices&device_path info, but I'm not sure why FCSAN need to update in connection_volume.

IMO, we should update connecion_info after connect_volume and refresh again in _rollback_live_migration at source host when failed.

Revision history for this message
Yang Ye (ccyangye) wrote :

Btw, could anyone tell me the meaning of connection_info?

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
  Valid example: CONFIRMED FOR: LIBERTY

Changed in nova:
importance: Low → Undecided
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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