Arm64: Instance with Configure Drive attach volume failed failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Kevin Zhao | ||
Queens |
Fix Released
|
Low
|
sean mooney | ||
Rocky |
Fix Released
|
Low
|
Elod Illes | ||
Stein |
Fix Released
|
Low
|
Lee Yarwood | ||
Train |
Fix Released
|
Low
|
sean mooney |
Bug Description
Arm64.
Image: cirros-0.5.1
hw_cdrom_
Boot a vm.
Create a volume: openstack volume create --size 1 test
Attach:
openstack server add volume cirros-test test
Error:
DEBUG nova.virt.
<disk type="block" device="disk">
<driver name="qemu" type="raw" cache="none" io="native"/>
<source dev="/dev/sdc"/>
<target dev="sdc" bus="scsi"/>
<serial>
<address type="drive" controller="0" unit="1"/> </disk>
ror: Requested operation is not valid: Domain already contains a disk with that address
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
ERROR nova.virt.
<domain type='qemu' id='327'>
<name>
<uuid>
<metadata>
<nova:instance xmlns:nova="http://
<nova:package version="20.1.0"/>
<
<
<nova:flavor name="m1.tiny">
<
<nova:owner>
<nova:user uuid="4bb28beb8
</nova:owner>
<nova:root type="image" uuid="3937ae70-
</nova:
</metadata>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<cputune>
<shares>
</cputune>
<resource>
<partition>
</resource>
<os>
<type arch='aarch64' machine=
<loader readonly='yes' type='pflash'
<nvram>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<gic version='2'/>
</features>
<cpu mode='custom' match='exact' check='none'>
<model fallback=
<topology sockets='1' cores='1' threads='1'/>
</cpu>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/
<backingStore type='file' index='1'>
<format type='raw'/>
<source file='/
<
<target dev='sda' bus='scsi'/>
<alias name='scsi0-
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/
<
<target dev='sdb' bus='scsi'/>
<readonly/>
<alias name='scsi0-
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='scsi' index='0' model='
<alias name='scsi0'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pcie-root'>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='
<model name='pcie-
<target chassis='1' port='0x8'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction=
</controller>
<controller type='pci' index='2' model='
<model name='pcie-
<target chassis='2' port='0x9'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='
<model name='pcie-
<target chassis='3' port='0xa'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='
<model name='pcie-
<target chassis='4' port='0xb'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='
<model name='pcie-
<target chassis='5' port='0xc'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='
<model name='pcie-
<target chassis='6' port='0xd'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='
<model name='pcie-
<target chassis='7' port='0xe'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='
<model name='pcie-
<target chassis='8' port='0xf'/>
<alias name='pci.8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
</controller>
<controller type='pci' index='9' model='
<model name='pcie-
<target chassis='9' port='0x10'/>
<alias name='pci.9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction=
</controller>
<controller type='pci' index='10' model='
<model name='pcie-
<target chassis='10' port='0x11'/>
<alias name='pci.10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</controller>
<controller type='pci' index='11' model='
<model name='pcie-
<target chassis='11' port='0x12'/>
<alias name='pci.11'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</controller>
<controller type='pci' index='12' model='
<model name='pcie-
<target chassis='12' port='0x13'/>
<alias name='pci.12'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</controller>
<controller type='pci' index='13' model='
<model name='pcie-
<target chassis='13' port='0x14'/>
<alias name='pci.13'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</controller>
<controller type='pci' index='14' model='
<model name='pcie-
<target chassis='14' port='0x15'/>
<alias name='pci.14'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</controller>
<controller type='pci' index='15' model='
<model name='pcie-
<target chassis='15' port='0x16'/>
<alias name='pci.15'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</controller>
<controller type='pci' index='16' model='
<model name='pcie-
<target chassis='16' port='0x17'/>
<alias name='pci.16'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</controller>
<controller type='pci' index='17' model='
<model name='pcie-
<target chassis='17' port='0x18'/>
<alias name='pci.17'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction=
</controller>
<controller type='pci' index='18' model='
<model name='pcie-
<target chassis='18' port='0x19'/>
<alias name='pci.18'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller>
<controller type='pci' index='19' model='
<model name='pcie-
<target chassis='19' port='0x1a'/>
<alias name='pci.19'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller>
<controller type='pci' index='20' model='
<model name='pcie-
<target chassis='20' port='0x1b'/>
<alias name='pci.20'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller>
<controller type='pci' index='21' model='
<model name='pcie-
<target chassis='21' port='0x1c'/>
<alias name='pci.21'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</controller>
<controller type='pci' index='22' model='
<model name='pcie-
<target chassis='22' port='0x1d'/>
<alias name='pci.22'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</controller>
<controller type='pci' index='23' model='
<model name='pcie-
<target chassis='23' port='0x1e'/>
<alias name='pci.23'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
</controller>
<controller type='pci' index='24' model='
<model name='pcie-
<target chassis='24' port='0x1f'/>
<alias name='pci.24'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
</controller>
<interface type='bridge'>
<mac address=
<source bridge='br-int'/>
<virtualport type='openvswitch'>
<parameters interfaceid=
<
<target dev='tap2e71899
<model type='virtio'/>
<driver name='qemu'/>
<mtu size='1450'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/9'/>
<log file='/
<target type='system-
<model name='pl011'/>
</target>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/9'>
<source path='/dev/pts/9'/>
<log file='/
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<memballoon model='virtio'>
<stats period='10'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</rng>
</devices>
<seclabel type='dynamic' model='apparmor' relabel='yes'>
<label>
<imagelabel
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>
<imagelabel
</seclabel>
</domain>
Changed in nova: | |
assignee: | nobody → Kevin Zhao (kevin-zhao) |
tags: | added: libvirt volumes |
Fix proposed to branch: master /review. opendev. org/712607
Review: https:/