Activity log for bug #1792077

Date Who What changed Old value New value Message
2018-09-12 05:17:14 Chris Friesen bug added bug
2018-09-12 05:19:24 Chris Friesen description I'm using devstack stable/rocky on ubuntu 16.04. When running the command "nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove,bus=scsi --block-device source=blank,dest=volume,size=2,bootindex=1,shutdown=remove,bus=scsi --poll twovol" the instance fails to boot with the error "libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0'" For some background information, this works: nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove,bus=scsi --poll onevol This also works, if I have two block devices but don't specify "bus=scsi": nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove --block-device source=blank,dest=volume,size=2,bootindex=1,shutdown=remove --poll twovolnoscsi This maps to the following XML: Sep 12 05:05:22 devstack nova-compute[3062]: <devices> Sep 12 05:05:22 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 05:05:22 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 05:05:22 devstack nova-compute[3062]: <source dev="/dev/sda"/> Sep 12 05:05:22 devstack nova-compute[3062]: <target bus="virtio" dev="vda"/> Sep 12 05:05:22 devstack nova-compute[3062]: <serial>f16cb93d-7bf0-4da7-a804-b9539d64576a</serial> Sep 12 05:05:22 devstack nova-compute[3062]: </disk> Sep 12 05:05:22 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 05:05:22 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 05:05:22 devstack nova-compute[3062]: <source dev="/dev/sdb"/> Sep 12 05:05:22 devstack nova-compute[3062]: <target bus="virtio" dev="vdb"/> Sep 12 05:05:22 devstack nova-compute[3062]: <serial>7d5de2b0-cb66-4607-a5f5-60fd40db51c3</serial> Sep 12 05:05:22 devstack nova-compute[3062]: </disk> In the failure case, the nova-compute logs include the following interesting bits. Note the additional '<address type="drive" controller="0"/>' lines in the XML. Sep 12 04:48:43 devstack nova-compute[3062]: ERROR nova.virt.libvirt.guest [None req-a7c5f15c-1e44-4cd1-bf57-45b819676b20 admin admin] Error defining a guest with XML: <domain type="qemu"> Sep 12 04:48:43 devstack nova-compute[3062]: <devices> Sep 12 04:48:43 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 04:48:43 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 04:48:43 devstack nova-compute[3062]: <source dev="/dev/sda"/> Sep 12 04:48:43 devstack nova-compute[3062]: <target bus="scsi" dev="sda"/> Sep 12 04:48:43 devstack nova-compute[3062]: <serial>08561cc0-5cf2-4eb7-a3f9-956f945e6c24</serial> Sep 12 04:48:43 devstack nova-compute[3062]: <address type="drive" controller="0"/> Sep 12 04:48:43 devstack nova-compute[3062]: </disk> Sep 12 04:48:43 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 04:48:43 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 04:48:43 devstack nova-compute[3062]: <source dev="/dev/sdb"/> Sep 12 04:48:43 devstack nova-compute[3062]: <target bus="scsi" dev="sdb"/> Sep 12 04:48:43 devstack nova-compute[3062]: <serial>007fac3d-8800-4f45-9531-e3bab5c86a1e</serial> Sep 12 04:48:43 devstack nova-compute[3062]: <address type="drive" controller="0"/> Sep 12 04:48:43 devstack nova-compute[3062]: </disk> Sep 12 04:48:43 devstack nova-compute[3062]: : libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' Sep 12 04:48:43 devstack nova-compute[3062]: ERROR nova.virt.libvirt.driver [None req-a7c5f15c-1e44-4cd1-bf57-45b819676b20 admin admin] [instance: cf4f2c6f-7391-4a49-8f40-5e5cda98f78b] Failed to start libvirt guest: libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' Here is the libvirtd log in the failure case: 2018-09-12 04:48:43.312+0000: 16889: error : virDomainDefCheckDuplicateDriveAddresses:5747 : unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' I'm using devstack stable/rocky on ubuntu 16.04. When running this command nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove,bus=scsi --block-device source=blank,dest=volume,size=2,bootindex=1,shutdown=remove,bus=scsi --poll twovol the instance fails to boot with the error: libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' For some background information, this works: nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove,bus=scsi --poll onevol It also works if I have two block devices but don't specify "bus=scsi": nova boot --flavor m1.small --nic net-name=public --block-device source=image,id=24e8e922-2687-48b5-a895-3134a650e00f,dest=volume,size=2,bootindex=0,shutdown=remove --block-device source=blank,dest=volume,size=2,bootindex=1,shutdown=remove --poll twovolnoscsi This maps to the following XML: Sep 12 05:05:22 devstack nova-compute[3062]: <devices> Sep 12 05:05:22 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 05:05:22 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 05:05:22 devstack nova-compute[3062]: <source dev="/dev/sda"/> Sep 12 05:05:22 devstack nova-compute[3062]: <target bus="virtio" dev="vda"/> Sep 12 05:05:22 devstack nova-compute[3062]: <serial>f16cb93d-7bf0-4da7-a804-b9539d64576a</serial> Sep 12 05:05:22 devstack nova-compute[3062]: </disk> Sep 12 05:05:22 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 05:05:22 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 05:05:22 devstack nova-compute[3062]: <source dev="/dev/sdb"/> Sep 12 05:05:22 devstack nova-compute[3062]: <target bus="virtio" dev="vdb"/> Sep 12 05:05:22 devstack nova-compute[3062]: <serial>7d5de2b0-cb66-4607-a5f5-60fd40db51c3</serial> Sep 12 05:05:22 devstack nova-compute[3062]: </disk> In the failure case, the nova-compute logs include the following interesting bits. Note the additional '<address type="drive" controller="0"/>' lines in the XML. Sep 12 04:48:43 devstack nova-compute[3062]: ERROR nova.virt.libvirt.guest [None req-a7c5f15c-1e44-4cd1-bf57-45b819676b20 admin admin] Error defining a guest with XML: <domain type="qemu"> Sep 12 04:48:43 devstack nova-compute[3062]: <devices> Sep 12 04:48:43 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 04:48:43 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 04:48:43 devstack nova-compute[3062]: <source dev="/dev/sda"/> Sep 12 04:48:43 devstack nova-compute[3062]: <target bus="scsi" dev="sda"/> Sep 12 04:48:43 devstack nova-compute[3062]: <serial>08561cc0-5cf2-4eb7-a3f9-956f945e6c24</serial> Sep 12 04:48:43 devstack nova-compute[3062]: <address type="drive" controller="0"/> Sep 12 04:48:43 devstack nova-compute[3062]: </disk> Sep 12 04:48:43 devstack nova-compute[3062]: <disk type="block" device="disk"> Sep 12 04:48:43 devstack nova-compute[3062]: <driver name="qemu" type="raw" cache="none" io="native"/> Sep 12 04:48:43 devstack nova-compute[3062]: <source dev="/dev/sdb"/> Sep 12 04:48:43 devstack nova-compute[3062]: <target bus="scsi" dev="sdb"/> Sep 12 04:48:43 devstack nova-compute[3062]: <serial>007fac3d-8800-4f45-9531-e3bab5c86a1e</serial> Sep 12 04:48:43 devstack nova-compute[3062]: <address type="drive" controller="0"/> Sep 12 04:48:43 devstack nova-compute[3062]: </disk> Sep 12 04:48:43 devstack nova-compute[3062]: : libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' Sep 12 04:48:43 devstack nova-compute[3062]: ERROR nova.virt.libvirt.driver [None req-a7c5f15c-1e44-4cd1-bf57-45b819676b20 admin admin] [instance: cf4f2c6f-7391-4a49-8f40-5e5cda98f78b] Failed to start libvirt guest: libvirtError: unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0' Here is the libvirtd log in the failure case: 2018-09-12 04:48:43.312+0000: 16889: error : virDomainDefCheckDuplicateDriveAddresses:5747 : unsupported configuration: Found duplicate drive address for disk with target name 'sda' controller='0' bus='0' target='0' unit='0'
2018-10-18 00:26:50 Garrett Mueller bug added subscriber Garrett Mueller
2018-10-18 15:45:22 Ben Swartzlander bug added subscriber Ben Swartzlander
2018-10-19 18:57:04 melanie witt nova: importance Undecided Medium
2018-10-19 18:57:04 melanie witt nova: status New Confirmed
2018-10-19 18:57:04 melanie witt nova: assignee melanie witt (melwitt)
2018-10-19 18:57:35 melanie witt tags compute compute libvirt
2018-10-19 22:18:39 OpenStack Infra nova: status Confirmed In Progress
2018-10-19 22:24:13 melanie witt nominated for series nova/ocata
2018-10-19 22:24:13 melanie witt bug task added nova/ocata
2018-10-19 22:24:13 melanie witt nominated for series nova/rocky
2018-10-19 22:24:13 melanie witt bug task added nova/rocky
2018-10-19 22:24:13 melanie witt nominated for series nova/queens
2018-10-19 22:24:13 melanie witt bug task added nova/queens
2018-10-19 22:24:13 melanie witt nominated for series nova/pike
2018-10-19 22:24:13 melanie witt bug task added nova/pike
2019-04-10 16:04:36 melanie witt nominated for series nova/stein
2019-04-10 16:04:36 melanie witt bug task added nova/stein
2019-04-10 16:06:34 melanie witt nova/ocata: importance Undecided Medium
2019-04-10 16:06:38 melanie witt nova/queens: importance Undecided Medium
2019-04-10 16:06:42 melanie witt nova/stein: importance Undecided Medium
2019-04-10 16:06:45 melanie witt nova/pike: importance Undecided Medium
2019-04-10 16:06:47 melanie witt nova/rocky: importance Undecided Medium
2019-04-17 18:21:17 OpenStack Infra nova: assignee melanie witt (melwitt) Matt Riedemann (mriedem)
2019-04-17 18:21:51 Matt Riedemann nova: assignee Matt Riedemann (mriedem) melanie witt (melwitt)
2019-04-17 18:53:08 OpenStack Infra nova/stein: status New In Progress
2019-04-17 18:53:08 OpenStack Infra nova/stein: assignee melanie witt (melwitt)
2019-04-17 18:59:57 OpenStack Infra nova/rocky: status New In Progress
2019-04-17 18:59:57 OpenStack Infra nova/rocky: assignee melanie witt (melwitt)
2019-04-17 19:00:45 OpenStack Infra nova/queens: status New In Progress
2019-04-17 19:00:45 OpenStack Infra nova/queens: assignee melanie witt (melwitt)
2019-04-17 19:05:50 OpenStack Infra nova/pike: status New In Progress
2019-04-17 19:05:50 OpenStack Infra nova/pike: assignee melanie witt (melwitt)
2019-04-18 17:32:44 OpenStack Infra nova: status In Progress Fix Released
2019-04-21 19:24:42 OpenStack Infra nova/stein: status In Progress Fix Committed
2019-04-23 04:16:30 OpenStack Infra nova/rocky: status In Progress Fix Committed
2019-04-24 07:05:20 OpenStack Infra nova/queens: status In Progress Fix Committed
2019-04-24 16:45:47 OpenStack Infra nova/pike: status In Progress Fix Committed
2019-04-24 16:49:35 melanie witt bug task deleted nova/ocata