Activity log for bug #1511006

Date Who What changed Old value New value Message
2015-10-28 16:03:47 Scott Moser bug added bug
2015-10-28 16:09:08 Scott Moser description Calling iscsi ibft a 'virtual' thing is a bit questionable. That said, I was looking at ibft using qemu and ipxe. The cloud images do not have the iscsi_ibft module included, so you can't read the information out of /sys/firmware/ibft until you have it. Given a iscsi target at 192.168.1.131::3260:1:mytest (format is described at http://etherboot.org/wiki/sanboot/iscsi_boot) with a cloud image populated (or other bootable data) you can boot from that via: qemu-system-x86_64 -enable-kvm -m 1024 -curses \ -kernel /usr/lib/ipxe/ipxe.lkrn -append 'dhcp && sanboot iscsi:192.168.1.131::3260:1:mytest' The ipxe.lkrn file is in the 'ipxe' package, and tested above on wily. If the open-iscsi package is installed in the image and the modules available, in the initramfs you can then do: (initramfs) modprobe iscsi_ibft [ 11.444414] iBFT detected. (initramfs) cat /sys/firmware/ibft/target0/nic-assoc 0 (initramfs) cat /sys/firmware/ibft/target0/target-name mytest (initramfs) cat /sys/firmware/ibft/target0/port 3260 (initramfs) cat /sys/firmware/ibft/ethernet0/mac 52:54:00:12:34:56 (initramfs) for x in /sys/class/net/*/address; do echo $x; cat $x; done /sys/class/net/eth0/address 52:54:00:12:34:56 /sys/class/net/lo/address 00:00:00:00:00:00 ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: linux-image-4.2.0-16-generic 4.2.0-16.19 ProcVersionSignature: User Name 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Oct 27 14:58 seq crw-rw---- 1 root audio 116, 33 Oct 27 14:58 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.19.1-0ubuntu4 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A Date: Wed Oct 28 15:50:04 2015 Ec2AMI: ami-00000661 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: m1.small Ec2Kernel: unavailable Ec2Ramdisk: None IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: OpenStack Foundation OpenStack Nova PciMultimedia: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 RelatedPackageVersions: linux-restricted-modules-4.2.0-16-generic N/A linux-backports-modules-4.2.0-16-generic N/A linux-firmware N/A RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: 1.7.5-20150310_111955-batsu dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-utopic dmi.modalias: dmi:bvnSeaBIOS:bvr1.7.5-20150310_111955-batsu:bd04/01/2014:svnOpenStackFoundation:pnOpenStackNova:pvr2015.1.1:cvnQEMU:ct1:cvrpc-i440fx-utopic: dmi.product.name: OpenStack Nova dmi.product.version: 2015.1.1 dmi.sys.vendor: OpenStack Foundation Calling iscsi ibft a 'virtual' thing is a bit questionable. That said, I was looking at ibft using qemu and ipxe. The cloud images do not have the iscsi_ibft module included, so you can't read the information out of /sys/firmware/ibft until you have it. Given a iscsi target at 192.168.1.131::3260:1:mytest (format is described at http://etherboot.org/wiki/sanboot/iscsi_boot) with a cloud image populated (or other bootable data) you can boot from that via: qemu-system-x86_64 -enable-kvm -m 1024 -curses \    -kernel /usr/lib/ipxe/ipxe.lkrn -append 'dhcp && sanboot iscsi:192.168.1.131::3260:1:mytest' The ipxe.lkrn file is in the 'ipxe' package, and tested above on wily. If the open-iscsi package is installed in the image and the modules available, in the initramfs you can then do: (initramfs) modprobe iscsi_ibft [ 11.444414] iBFT detected. (initramfs) cat /sys/firmware/ibft/target0/nic-assoc 0 (initramfs) cat /sys/firmware/ibft/target0/target-name mytest (initramfs) cat /sys/firmware/ibft/target0/port 3260 (initramfs) cat /sys/firmware/ibft/ethernet0/mac 52:54:00:12:34:56 (initramfs) for x in /sys/class/net/*/address; do echo $x; cat $x; done /sys/class/net/eth0/address 52:54:00:12:34:56 /sys/class/net/lo/address 00:00:00:00:00:00 Related bugs: * bug 1511008: add open-iscsi to cloud image ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: linux-image-4.2.0-16-generic 4.2.0-16.19 ProcVersionSignature: User Name 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 Oct 27 14:58 seq  crw-rw---- 1 root audio 116, 33 Oct 27 14:58 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.19.1-0ubuntu4 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A Date: Wed Oct 28 15:50:04 2015 Ec2AMI: ami-00000661 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: m1.small Ec2Kernel: unavailable Ec2Ramdisk: None IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: OpenStack Foundation OpenStack Nova PciMultimedia: ProcEnviron:  TERM=screen  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=en_US.UTF-8  SHELL=/bin/bash ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 RelatedPackageVersions:  linux-restricted-modules-4.2.0-16-generic N/A  linux-backports-modules-4.2.0-16-generic N/A  linux-firmware N/A RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev' UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: 1.7.5-20150310_111955-batsu dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-utopic dmi.modalias: dmi:bvnSeaBIOS:bvr1.7.5-20150310_111955-batsu:bd04/01/2014:svnOpenStackFoundation:pnOpenStackNova:pvr2015.1.1:cvnQEMU:ct1:cvrpc-i440fx-utopic: dmi.product.name: OpenStack Nova dmi.product.version: 2015.1.1 dmi.sys.vendor: OpenStack Foundation
2015-10-28 16:30:09 Brad Figg linux (Ubuntu): status New Confirmed
2015-10-28 17:21:22 Joseph Salisbury tags amd64 apport-bug ec2-images wily amd64 apport-bug ec2-images kernel-da-key wily
2015-10-28 17:21:27 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2015-10-29 15:07:36 Tim Gardner nominated for series Ubuntu Xenial
2015-10-29 15:07:36 Tim Gardner bug task added linux (Ubuntu Xenial)
2015-10-29 15:07:36 Tim Gardner nominated for series Ubuntu Wily
2015-10-29 15:07:36 Tim Gardner bug task added linux (Ubuntu Wily)
2015-10-29 15:07:55 Tim Gardner linux (Ubuntu Wily): status New In Progress
2015-10-29 15:07:55 Tim Gardner linux (Ubuntu Wily): assignee Tim Gardner (timg-tpi)
2015-10-29 15:08:20 Tim Gardner linux (Ubuntu Xenial): status Confirmed In Progress
2015-10-29 15:08:20 Tim Gardner linux (Ubuntu Xenial): assignee Tim Gardner (timg-tpi)
2015-10-29 18:58:55 Brad Figg linux (Ubuntu Wily): status In Progress Fix Committed
2015-11-13 11:02:20 Launchpad Janitor linux (Ubuntu Xenial): status In Progress Fix Released
2015-11-16 10:29:01 Luis Henriques tags amd64 apport-bug ec2-images kernel-da-key wily amd64 apport-bug ec2-images kernel-da-key verification-needed-wily wily
2015-11-23 15:50:27 Scott Moser tags amd64 apport-bug ec2-images kernel-da-key verification-needed-wily wily amd64 apport-bug ec2-images kernel-da-key verification-done-wily wily
2015-11-30 21:01:07 Launchpad Janitor linux (Ubuntu Wily): status Fix Committed Fix Released
2016-02-24 13:04:36 Launchpad Janitor branch linked lp:~ubuntu-branches/ubuntu/trusty/linux-lts-wily/trusty-security
2016-02-24 13:07:51 Launchpad Janitor branch linked lp:~ubuntu-branches/ubuntu/trusty/linux-lts-wily/trusty-proposed