2015-06-08 11:40:08 |
Alex Ermolov |
bug |
|
|
added bug |
2015-06-08 11:40:52 |
Alex Ermolov |
mos: milestone |
|
5.1.1-mu-1 |
|
2015-06-08 11:41:01 |
Alex Ermolov |
mos: importance |
Undecided |
Low |
|
2015-06-08 11:41:07 |
Alex Ermolov |
mos: assignee |
|
Alex Ermolov (aermolov) |
|
2015-06-08 11:41:51 |
Alex Ermolov |
description |
If an instance is created from a multi-part image (i.e. separate kernel and ramdisk files) , and resume_guests_state_on_host_boot=True the resulting _hard_reboot will fail and put the instance into an error state.
This is because the code in _hard_reboot that checks the image files, _create_images_and_backing() always tries to reload these from Glance.
In a normal reboot this results in an unnecessary image download from Glance.
In the case of reboot following a host boot the download fails because the context at this point does not have credentials to be able to access Glance.
Possible fix is to:
- Check files exist rather than always trying to download them
- Provide in conf credentials of a user that has read access to all images in Glance than can be used in this context |
Upstream bug: https://bugs.launchpad.net/nova/+bug/1195884
If an instance is created from a multi-part image (i.e. separate kernel and ramdisk files) , and resume_guests_state_on_host_boot=True the resulting _hard_reboot will fail and put the instance into an error state.
This is because the code in _hard_reboot that checks the image files, _create_images_and_backing() always tries to reload these from Glance.
In a normal reboot this results in an unnecessary image download from Glance.
In the case of reboot following a host boot the download fails because the context at this point does not have credentials to be able to access Glance.
Possible fix is to:
- Check files exist rather than always trying to download them
- Provide in conf credentials of a user that has read access to all images in Glance than can be used in this context |
|
2015-06-08 11:45:07 |
Alex Ermolov |
description |
Upstream bug: https://bugs.launchpad.net/nova/+bug/1195884
If an instance is created from a multi-part image (i.e. separate kernel and ramdisk files) , and resume_guests_state_on_host_boot=True the resulting _hard_reboot will fail and put the instance into an error state.
This is because the code in _hard_reboot that checks the image files, _create_images_and_backing() always tries to reload these from Glance.
In a normal reboot this results in an unnecessary image download from Glance.
In the case of reboot following a host boot the download fails because the context at this point does not have credentials to be able to access Glance.
Possible fix is to:
- Check files exist rather than always trying to download them
- Provide in conf credentials of a user that has read access to all images in Glance than can be used in this context |
This is backport for upstream fix for: https://bugs.launchpad.net/nova/+bug/1195884
Original description:
=====================
If an instance is created from a multi-part image (i.e. separate kernel and ramdisk files) , and resume_guests_state_on_host_boot=True the resulting _hard_reboot will fail and put the instance into an error state.
This is because the code in _hard_reboot that checks the image files, _create_images_and_backing() always tries to reload these from Glance.
In a normal reboot this results in an unnecessary image download from Glance.
In the case of reboot following a host boot the download fails because the context at this point does not have credentials to be able to access Glance.
Possible fix is to:
- Check files exist rather than always trying to download them
- Provide in conf credentials of a user that has read access to all images in Glance than can be used in this context |
|
2015-06-08 11:45:14 |
Alex Ermolov |
mos: milestone |
5.1.1-mu-1 |
|
|
2015-06-08 11:45:53 |
Alex Ermolov |
mos: milestone |
|
5.1.1-updates |
|
2015-06-08 11:46:14 |
Alex Ermolov |
nominated for series |
|
mos/5.1.1-updates |
|
2015-06-08 11:46:14 |
Alex Ermolov |
bug task added |
|
mos/5.1.1-updates |
|
2015-06-08 11:46:21 |
Alex Ermolov |
mos: milestone |
5.1.1-updates |
|
|
2015-06-08 11:50:16 |
Alex Ermolov |
mos/5.1.1-updates: milestone |
|
5.1.1-mu-1 |
|
2015-06-08 11:50:37 |
Alex Ermolov |
mos/5.1.1-updates: importance |
Undecided |
Low |
|
2015-06-08 11:50:39 |
Alex Ermolov |
mos/5.1.1-updates: assignee |
|
Alex Ermolov (aermolov) |
|
2015-06-08 11:51:13 |
Alex Ermolov |
bug task deleted |
mos |
|
|
2015-06-08 15:56:16 |
Dmitry Mescheryakov |
mos/5.1.1-updates: status |
New |
Confirmed |
|
2015-06-08 15:56:34 |
Dmitry Mescheryakov |
bug task added |
|
mos |
|
2015-06-08 15:56:49 |
Dmitry Mescheryakov |
mos: status |
New |
Invalid |
|
2015-07-13 10:57:28 |
Vitaly Sedelnik |
marked as duplicate |
|
1462991 |
|
2015-07-13 11:53:46 |
Alex Ermolov |
bug task deleted |
mos/5.1.1-updates |
|
|