Steps:
1. Deploy environment of released MOS 7.0 (MirantisOpenStack-7.0.iso) and install MU1 updates repos.
Settings:
Kilo on Ubuntu 14.04
1 controller, 1 compute, 1 cinder node.
Cinder LVM over iSCSI for volumes, Neutron VLAN, QEMU
2. SSH to compute node.
3. Configure "iscsi_use_multipath=True" in [libvirt] section of /etc/nova/nova.conf on compute node.
4. Then restart nova-compute service.
5. Launch an instance.
6. Create 3 volumes and attach them to instance.
7. Check iscsiadm and multipath:
root@node-5:/var/log/nova# iscsiadm --mode session ; multipath -ll
tcp: [1] 192.168.1.1:3260,1 iqn.2010-10.org.openstack:volume-022fbe38-6605-4033-9214-f5fe0ae99821
tcp: [2] 192.168.1.1:3260,1 iqn.2010-10.org.openstack:volume-0b632367-4a2d-4252-9fa7-9a3fcd73efda
tcp: [3] 192.168.1.1:3260,1 iqn.2010-10.org.openstack:volume-241b85e5-f87a-4902-bc2e-7efb67d7e93e
33000000300000001 dm-5 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 4:0:0:1 sdc 8:32 active ready running
33000000100000001 dm-3 IET,VIRTUAL-DISK
size=3.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 2:0:0:1 sda 8:0 active ready running
33000000200000001 dm-4 IET,VIRTUAL-DISK
size=2.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 3:0:0:1 sdb 8:16 active ready running
Steps: ack-7.0. iso) and install MU1 updates repos.
1. Deploy environment of released MOS 7.0 (MirantisOpenSt
Settings:
Kilo on Ubuntu 14.04
1 controller, 1 compute, 1 cinder node.
Cinder LVM over iSCSI for volumes, Neutron VLAN, QEMU
2. SSH to compute node. use_multipath= True" in [libvirt] section of /etc/nova/nova.conf on compute node. 5:/var/ log/nova# iscsiadm --mode session ; multipath -ll 10.org. openstack: volume- 022fbe38- 6605-4033- 9214-f5fe0ae998 21 10.org. openstack: volume- 0b632367- 4a2d-4252- 9fa7-9a3fcd73ef da 10.org. openstack: volume- 241b85e5- f87a-4902- bc2e-7efb67d7e9 3e
3. Configure "iscsi_
4. Then restart nova-compute service.
5. Launch an instance.
6. Create 3 volumes and attach them to instance.
7. Check iscsiadm and multipath:
root@node-
tcp: [1] 192.168.1.1:3260,1 iqn.2010-
tcp: [2] 192.168.1.1:3260,1 iqn.2010-
tcp: [3] 192.168.1.1:3260,1 iqn.2010-
33000000300000001 dm-5 IET,VIRTUAL-DISK
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 4:0:0:1 sdc 8:32 active ready running
33000000100000001 dm-3 IET,VIRTUAL-DISK
size=3.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 2:0:0:1 sda 8:0 active ready running
33000000200000001 dm-4 IET,VIRTUAL-DISK
size=2.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 3:0:0:1 sdb 8:16 active ready running
8. Detach volumes from instance one by one. 5:/var/ log/nova# iscsiadm --mode session ; multipath -ll
9. Recheck iscsiadm and multipath:
root@node-
iscsiadm: No active sessions.
33000000300000001 dm-5 ,
size=1.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=enabled
`- #:#:#:# - #:# failed faulty running
33000000100000001 dm-3 ,
size=3.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=enabled
`- #:#:#:# - #:# failed faulty running
33000000200000001 dm-4 ,
size=2.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=enabled
`- #:#:#:# - #:# failed faulty running
As we can see IQNs was closed, but volumes stuck in multipath list with faulty condition.