Activity log for bug #1591827

Date Who What changed Old value New value Message
2016-06-13 03:08:31 Kevin Zhao bug added bug
2016-06-13 03:11:09 Kevin Zhao attachment added guest.log https://bugs.launchpad.net/nova/+bug/1591827/+attachment/4682506/+files/guest.log
2016-06-13 03:11:23 Kevin Zhao nova: assignee Kevin Zhao (kevin-zhao)
2016-06-13 15:04:36 Kevin Zhao nova: status New In Progress
2016-06-21 07:19:52 Kevin Zhao description Description =========== Using nova to create an instance in Aarch64,the disk.config is the 'cdrom' and has the type of 'scsi'.After instance creation ,log into the instance and can't see the cdrom device. Steps to reproduce ================== 1.Using devstack to deploy openstack. Using default local.conf. 2.Upload the aarch64 image with glance. $ source ~/devstack/openrc admin admin $ glance image-create --name image-arm64.img --disk-format qcow2 --container-format bare --visibility public --file images/image-arm64-wily.qcow2 --progress $ glance image-create --name image-arm64.vmlinuz --disk-format aki --container-format aki --visibility public --file images/image-arm64-wily.vmlinuz --progress $ glance image-create --name image-arm64.initrd --disk-format ari --container-format ari --visibility public --file images/image-arm64-wily.initrd --progress $ IMAGE_UUID=$(glance image-list | grep image-arm64.img | awk '{ print $2 }') $ IMAGE_KERNEL_UUID=$(glance image-list | grep image-arm64.vmlinuz | awk '{ print $2 }') $ IMAGE_INITRD_UUID=$(glance image-list | grep image-arm64.initrd | awk '{ print $2 }') $ glance image-update --kernel-id ${IMAGE_KERNEL_UUID} --ramdisk-id ${IMAGE_INITRD_UUID} ${IMAGE_UUID} 3.Set the scsi model: $ glance image-update --property hw_scsi_model=virtio-scsi ${IMAGE_UUID} 4.nova add keypair $ nova keypair-add default --pub-key ~/.ssh/id_rsa.pub 5.Launch the instance: $ image=$(nova image-list | egrep "image-arm64.img"'[^-]' | awk '{ print $2 }') $ nova boot --flavor m1.small--image ${image} --key-name default test-arm64 6.After creation,use ssh to login into the instance.In the guest: $ ls -l /dev The we can see that cdrom doesn't exist. Expected result =============== After spawningn the instance, login into the guest : $ ls -l /dev We can see the cdrom is here. Actual result ============= The xml file of the disk.config is generated by nova ,but can't work. Environment =========== 1. Exact version of OpenStack you are running. See the following list for all releases: http://docs.openstack.org/releases/ Nova development, commit code: 279f1a9bf65c4b904e01d26f0619a62ed99fc4d3 2. Which hypervisor did you use? Libvirt+KVM $ kvm --version QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), Copyright (c) 2003-2008 Fabrice Bellard $ libvirtd --version libvirtd (libvirt) 1.3.1 2. Which storage type did you use? In the host file system,all in one physics machine. stack@u202154:/opt/stack/nova$ df -hl Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 61M 1.6G 4% /run /dev/sda2 917G 41G 830G 5% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/sda1 511M 888K 511M 1% /boot/efi cgmfs 100K 0 100K 0% /run/cgmanager/fs tmpfs 1.6G 0 1.6G 0% /run/user/1002 tmpfs 1.6G 0 1.6G 0% /run/user/1000 tmpfs 1.6G 0 1.6G 0% /run/user/0 3. Which networking type did you use? nova-network 4. Environment information: Architecture : AARCH64 OS: Ubuntu 16.04 Detailed log info is in the accessory. The guest xml is also in the log info. Description =========== Using nova to create an instance in Aarch64,the disk.config is the 'cdrom' and has the type of 'scsi'.After instance creation ,log into the instance and can't see the cdrom device. Steps to reproduce ================== 1.Using devstack to deploy openstack. Using default local.conf. 2.Upload the aarch64 image with glance. $ source ~/devstack/openrc admin admin $ glance image-create --name image-arm64.img --disk-format qcow2 --container-format bare --visibility public --file images/image-arm64-wily.qcow2 --progress $ glance image-create --name image-arm64.vmlinuz --disk-format aki --container-format aki --visibility public --file images/image-arm64-wily.vmlinuz --progress $ glance image-create --name image-arm64.initrd --disk-format ari --container-format ari --visibility public --file images/image-arm64-wily.initrd --progress $ IMAGE_UUID=$(glance image-list | grep image-arm64.img | awk '{ print $2 }') $ IMAGE_KERNEL_UUID=$(glance image-list | grep image-arm64.vmlinuz | awk '{ print $2 }') $ IMAGE_INITRD_UUID=$(glance image-list | grep image-arm64.initrd | awk '{ print $2 }') $ glance image-update --kernel-id ${IMAGE_KERNEL_UUID} --ramdisk-id ${IMAGE_INITRD_UUID} ${IMAGE_UUID} 3.Set the scsi model: $ glance image-update --property hw_disk_bus --property hw_scsi_model=virtio-scsi ${IMAGE_UUID} 4.nova add keypair $ nova keypair-add default --pub-key ~/.ssh/id_rsa.pub 5.Launch the instance: $ image=$(nova image-list | egrep "image-arm64.img"'[^-]' | awk '{ print $2 }') $ nova boot --flavor m1.small--image ${image} --key-name default test-arm64 6.After creation,use ssh to login into the instance.In the guest: $ ls -l /dev The we can see that cdrom doesn't exist. Expected result =============== After spawningn the instance, login into the guest : $ ls -l /dev We can see the cdrom is here. Actual result ============= The xml file of the disk.config is generated by nova ,but can't work. Environment =========== 1. Exact version of OpenStack you are running. See the following   list for all releases: http://docs.openstack.org/releases/    Nova development, commit code: 279f1a9bf65c4b904e01d26f0619a62ed99fc4d3 2. Which hypervisor did you use?     Libvirt+KVM     $ kvm --version     QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), Copyright (c) 2003-2008 Fabrice Bellard     $ libvirtd --version     libvirtd (libvirt) 1.3.1 2. Which storage type did you use?    In the host file system,all in one physics machine. stack@u202154:/opt/stack/nova$ df -hl Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 61M 1.6G 4% /run /dev/sda2 917G 41G 830G 5% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/sda1 511M 888K 511M 1% /boot/efi cgmfs 100K 0 100K 0% /run/cgmanager/fs tmpfs 1.6G 0 1.6G 0% /run/user/1002 tmpfs 1.6G 0 1.6G 0% /run/user/1000 tmpfs 1.6G 0 1.6G 0% /run/user/0 3. Which networking type did you use?    nova-network 4. Environment information:    Architecture : AARCH64    OS: Ubuntu 16.04 Detailed log info is in the accessory. The guest xml is also in the log info.
2016-06-21 07:26:06 Kevin Zhao attachment added nova-generated.xml https://bugs.launchpad.net/nova/+bug/1591827/+attachment/4687725/+files/nova-generated.xml
2016-06-21 07:26:30 Kevin Zhao attachment added guest-virsh-dumpxml.xml https://bugs.launchpad.net/nova/+bug/1591827/+attachment/4687726/+files/guest-virsh-dumpxml.xml
2016-06-21 07:38:12 Kevin Zhao attachment removed nova-generated.xml https://bugs.launchpad.net/nova/+bug/1591827/+attachment/4687725/+files/nova-generated.xml
2016-06-21 07:40:35 Kevin Zhao attachment added nova-generated.xml https://bugs.launchpad.net/nova/+bug/1591827/+attachment/4687729/+files/nova-generated.xml
2016-11-04 03:58:24 OpenStack Infra nova: assignee Kevin Zhao (kevin-zhao) Zhenyu Zheng (zhengzhenyu)
2016-11-04 05:01:54 OpenStack Infra nova: assignee Zhenyu Zheng (zhengzhenyu) Kevin Zhao (kevin-zhao)
2016-11-24 20:10:43 OpenStack Infra nova: status In Progress Fix Released
2016-12-09 16:35:24 Matt Riedemann nominated for series nova/newton
2016-12-09 16:35:24 Matt Riedemann bug task added nova/newton
2016-12-09 16:38:45 Matt Riedemann nova: importance Undecided Medium
2016-12-09 16:38:47 Matt Riedemann nova/newton: importance Undecided Medium
2016-12-09 16:40:56 Matt Riedemann nova/newton: status New In Progress
2016-12-09 16:41:02 Matt Riedemann nova/newton: assignee Lee Yarwood (lyarwood)
2016-12-15 12:25:43 OpenStack Infra nova/newton: status In Progress Fix Committed