2015-05-21 14:46:01 |
Favyen Bastani |
bug |
|
|
added bug |
2015-05-21 15:00:03 |
Favyen Bastani |
description |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log:
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image. |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log:
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors. |
|
2015-05-21 15:28:25 |
Favyen Bastani |
description |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log:
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors. |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log:
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors.
Reproduce: create flavor with 1 GB root disk size, then try to boot an instance from a volume created from an image that is larger than 1 GB. |
|
2015-05-21 17:32:49 |
Favyen Bastani |
description |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log:
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors.
Reproduce: create flavor with 1 GB root disk size, then try to boot an instance from a volume created from an image that is larger than 1 GB. |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log (first line is debug output I added showing that it's looking at the image that the volume was created from):
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors.
Reproduce: create flavor with 1 GB root disk size, then try to boot an instance from a volume created from an image that is larger than 1 GB. |
|
2015-05-22 01:54:40 |
Koji Iida |
bug |
|
|
added subscriber Koji Iida |
2015-05-25 03:50:34 |
wangxiyuan |
nova: assignee |
|
wangxiyuan (wangxiyuan) |
|
2015-05-26 02:45:42 |
OpenStack Infra |
nova: status |
New |
In Progress |
|
2015-05-27 08:49:40 |
Abhijeet Malawade |
bug |
|
|
added subscriber Abhijeet Malawade |
2015-05-27 10:38:30 |
Belmiro Moreira |
bug |
|
|
added subscriber Belmiro Moreira |
2015-06-01 08:12:50 |
wangxiyuan |
nova: assignee |
wangxiyuan (wangxiyuan) |
|
|
2015-06-15 16:03:28 |
Markus Zoeller (markus_z) |
nova: status |
In Progress |
New |
|
2015-06-16 08:17:27 |
Markus Zoeller (markus_z) |
tags |
|
launch volumes |
|
2015-06-25 09:14:52 |
Arata Notsu |
bug |
|
|
added subscriber Arata Notsu |
2015-06-26 14:05:31 |
Feodor Tersin |
bug |
|
|
added subscriber Feodor Tersin |
2015-07-15 15:10:35 |
Tim Bell |
bug |
|
|
added subscriber Tim Bell |
2015-07-16 05:11:55 |
OpenStack Infra |
nova: status |
New |
In Progress |
|
2015-07-16 05:11:55 |
OpenStack Infra |
nova: assignee |
|
Feodor Tersin (ftersin) |
|
2015-07-22 14:27:54 |
OpenStack Infra |
nova: assignee |
Feodor Tersin (ftersin) |
Matthew Booth (mbooth-9) |
|
2015-07-28 14:36:36 |
OpenStack Infra |
nova: assignee |
Matthew Booth (mbooth-9) |
Daniel Berrange (berrange) |
|
2015-08-03 15:06:12 |
OpenStack Infra |
nova: assignee |
Daniel Berrange (berrange) |
Matthew Booth (mbooth-9) |
|
2015-08-12 18:03:09 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2015-08-14 19:42:09 |
Liang Chen |
tags |
launch volumes |
launch sts volumes |
|
2015-08-18 01:52:01 |
Launchpad Janitor |
branch linked |
|
lp:~cbjchen/nova/kilo-sru-lp1457517 |
|
2015-08-18 14:40:17 |
Liang Chen |
description |
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log (first line is debug output I added showing that it's looking at the image that the volume was created from):
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors.
Reproduce: create flavor with 1 GB root disk size, then try to boot an instance from a volume created from an image that is larger than 1 GB. |
[Impact]
* Without the backport, booting from volume requires flavor disk size larger than volume size, which is wrong. This patch skips flavor disk size checking when booting from volume.
[Test Case]
* 1. create a bootable volume
2. boot from this bootable volume with a flavor that has disk size smaller than the volume size
3. error should be reported complaining disk size too small
4. apply this patch
5. boot from that bootable volume with a flavor that has disk size smaller than the volume size again
6. boot should succeed
[Regression Potential]
* none
Version: 1:2015.1.0-0ubuntu1~cloud0 on Ubuntu 14.04
I attempt to boot an instance from a volume:
nova boot --nic net-id=[NET ID] --flavor v.512mb --block-device source=volume,dest=volume,id=[VOLUME ID],bus=virtio,device=vda,bootindex=0,shutdown=preserve vm
This results in nova-api raising a FlavorDiskTooSmall exception in the "_check_requested_image" function in compute/api.py. However, according to [1], the root disk limit should not apply to volumes.
[1] http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
Log (first line is debug output I added showing that it's looking at the image that the volume was created from):
2015-05-21 10:28:00.586 25835 INFO nova.compute.api [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] image: {'min_disk': 0, 'status': 'active', 'min_ram': 0, 'properties': {u'container_format': u'bare', u'min_ram': u'0', u'disk_format': u'qcow2', u'image_name': u'Ubuntu 14.04 64-bit', u'image_id': u'cf0dffef-30ef-4032-add0-516e88048d85', u'libvirt_cpu_mode': u'host-passthrough', u'checksum': u'76a965427d2866f006ddd2aac66ed5b9', u'min_disk': u'0', u'size': u'255524864'}, 'size': 21474836480}
2015-05-21 10:28:00.587 25835 INFO nova.api.openstack.wsgi [req-1fb882c7-07ae-4c2b-86bd-3d174602d0ae f438b80d215c42efb7508c59dc80940c 8341c85ad9ae49408fa25074adba0480 - - -] HTTP exception thrown: Flavor's disk is too small for requested image.
Temporary solution: I have special flavor for volume-backed instances so I just set the root disk on those to 0, but this doesn't work if volume are used on other flavors.
Reproduce: create flavor with 1 GB root disk size, then try to boot an instance from a volume created from an image that is larger than 1 GB. |
|
2015-08-18 14:43:21 |
Liang Chen |
bug task added |
|
nova (Ubuntu) |
|
2015-08-18 14:44:41 |
Liang Chen |
nova (Ubuntu): assignee |
|
Liang Chen (cbjchen) |
|
2015-08-26 18:09:47 |
Launchpad Janitor |
nova (Ubuntu): status |
New |
Confirmed |
|
2015-09-01 21:17:57 |
OpenStack Infra |
tags |
launch sts volumes |
in-stable-kilo launch sts volumes |
|
2015-09-03 11:50:39 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2015-09-03 11:50:39 |
Thierry Carrez |
nova: milestone |
|
liberty-3 |
|
2015-09-08 23:27:48 |
Billy Olsen |
branch linked |
|
lp:~billy-olsen/nova/kilo+lp1457517 |
|
2015-09-09 18:00:55 |
Chuck Short |
nova (Ubuntu): milestone |
|
vivid-updates |
|
2015-09-09 18:01:49 |
Chuck Short |
nominated for series |
|
Ubuntu Vivid |
|
2015-09-09 18:01:49 |
Chuck Short |
bug task added |
|
nova (Ubuntu Vivid) |
|
2015-09-09 18:02:02 |
Chuck Short |
nova (Ubuntu): milestone |
vivid-updates |
|
|
2015-09-09 18:04:23 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-09-09 23:15:59 |
Billy Olsen |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-09-09 23:23:40 |
Billy Olsen |
attachment added |
|
vivid (kilo) debdiff https://bugs.launchpad.net/nova/+bug/1457517/+attachment/4460096/+files/lp1457517-vivid.debdiff |
|
2015-10-01 16:40:22 |
Serge Hallyn |
nova (Ubuntu): status |
Confirmed |
Fix Released |
|
2015-10-01 16:51:11 |
Serge Hallyn |
nova (Ubuntu Vivid): importance |
Undecided |
High |
|
2015-10-01 16:51:15 |
Serge Hallyn |
nova (Ubuntu): importance |
Undecided |
High |
|
2015-10-01 18:06:30 |
Brian Murray |
nova (Ubuntu Vivid): status |
New |
Fix Committed |
|
2015-10-01 18:06:34 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-10-01 18:06:42 |
Brian Murray |
tags |
in-stable-kilo launch sts volumes |
in-stable-kilo launch sts verification-needed volumes |
|
2015-10-01 18:13:44 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-10-07 00:58:14 |
Billy Olsen |
tags |
in-stable-kilo launch sts verification-needed volumes |
in-stable-kilo launch sts verification-done volumes |
|
2015-10-11 13:20:12 |
Chuck Short |
nominated for series |
|
nova/kilo |
|
2015-10-11 13:20:12 |
Chuck Short |
bug task added |
|
nova/kilo |
|
2015-10-11 13:20:23 |
Chuck Short |
nova/kilo: milestone |
|
2015.1.2 |
|
2015-10-13 18:09:16 |
Chuck Short |
nova/kilo: status |
New |
Fix Released |
|
2015-10-14 13:48:07 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-10-14 13:58:11 |
Launchpad Janitor |
nova (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-10-15 09:01:34 |
Thierry Carrez |
nova: milestone |
liberty-3 |
12.0.0 |
|
2016-01-21 20:30:35 |
Dave Walker |
nova/kilo: status |
Fix Released |
Fix Committed |
|
2016-01-21 20:30:35 |
Dave Walker |
nova/kilo: milestone |
2015.1.2 |
2015.1.3 |
|
2016-01-21 23:19:06 |
Dave Walker |
nova/kilo: status |
Fix Committed |
Fix Released |
|