Public bug reported: Discovered via Horizon bug: https://bugs.launchpad.net/horizon/+bug/1479966
Creating image from archive file appears to be broken, evident by instance launched from it fails to boot (error: "No bootable device"). Steps to reproduce: 1. Have a tar.gz version of a qcow image available locally and/or remotely accessible via HTTP. 2.1 Create an image using copy-from: ---------------------------- $ glance image-create --name="test-remote-compressed" --is-public=true --disk-format=qcow2 --container-format=bare --is-public=True --copy-from http://example.com/cirros-0.3.0-i386-disk.img.tar.gz ---------------------------- 2.2 Create an image from a local file: ---------------------------- $ glance image-create --name="test-remote-compressed2" --is-public=true --disk-format=qcow2 --container-format=bare --is-public=True < cirros-0.3.0-i386-disk.img.tar.gz ---------------------------- 3. Launch instances from created images. Expected: 1. Instances launched and boot successfully. Actual: 1. Console outputs the following: ---------------------------- Booting from Hard Disk... Boot failed: not a bootable disk No bootable device. ---------------------------- ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1482436 Title: Support for compressed/archive file is broken with image-create Status in Glance: New Bug description: Discovered via Horizon bug: https://bugs.launchpad.net/horizon/+bug/1479966 Creating image from archive file appears to be broken, evident by instance launched from it fails to boot (error: "No bootable device"). Steps to reproduce: 1. Have a tar.gz version of a qcow image available locally and/or remotely accessible via HTTP. 2.1 Create an image using copy-from: ---------------------------- $ glance image-create --name="test-remote-compressed" --is-public=true --disk-format=qcow2 --container-format=bare --is-public=True --copy-from http://example.com/cirros-0.3.0-i386-disk.img.tar.gz ---------------------------- 2.2 Create an image from a local file: ---------------------------- $ glance image-create --name="test-remote-compressed2" --is-public=true --disk-format=qcow2 --container-format=bare --is-public=True < cirros-0.3.0-i386-disk.img.tar.gz ---------------------------- 3. Launch instances from created images. Expected: 1. Instances launched and boot successfully. Actual: 1. Console outputs the following: ---------------------------- Booting from Hard Disk... Boot failed: not a bootable disk No bootable device. ---------------------------- To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1482436/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

