yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40320
[Bug 1507016] [NEW] openstack nova dont boot with iso and attached volume with block-device
Public bug reported:
Hello it's not resolved in Openstack Kilo Unbutu 14.04.3 LTS:
Package: python-novaclient
Version: 1:2.22.0-0ubuntu1~cloud0
Priority: optional
Section: python
*** /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py 2015-10-16 12:45:11.464930514 -0300
--- /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py.old 2015-10-16 12:43:01.084767772 -0300
*************** class ServerManager(base.BootingManagerW
*** 526,540 ****
body['server']['block_device_mapping'] = \
self._parse_block_device_mapping(block_device_mapping)
elif block_device_mapping_v2:
! # Following logic can't be removed because it will leaves.
! # a valid boot with both --image and --block-device
! # failed , see bug 1433609 for more info
! if image:
! bdm_dict = {'uuid': image.id, 'source_type': 'image',
! 'destination_type': 'local', 'boot_index': 0,
! 'delete_on_termination': True}
! block_device_mapping_v2.insert(0, bdm_dict)
! #body['server']['block_device_mapping_v2'] = block_device_mapping_v2
if nics is not None:
# NOTE(tr3buchet): nics can be an empty list
--- 526,532 ----
body['server']['block_device_mapping'] = \
self._parse_block_device_mapping(block_device_mapping)
elif block_device_mapping_v2:
! body['server']['block_device_mapping_v2'] = block_device_mapping_v2
if nics is not None:
# NOTE(tr3buchet): nics can be an empty list
When boot by image and block-device dont attach volume. In debian
version it work without patch:
for example:
nova boot --image ubuntu-rescue-remix-12-04.iso --flavor 10
--availability-zone nova --block-device
source=volume,id=2d734ca2-6cb7-4e42-b060-94298ab6c2b8,dest=volume,size=10,shutdown=preserve
--nic net-id=be9c8e43-6bea-4904-b807-9ddbace19ec7 ejemplo_disco_recover
boot image with iso for install in volume...
in Ubuntu 14.04.3 LTS dont work..
** Affects: nova
Importance: Undecided
Status: New
** Description changed:
- Hello it's not resolved:
+ Hello it's not resolved in Openstack Kilo Unbutu 14.04.3 LTS:
- Package: python-novaclient
+ Package: python-novaclient
Version: 1:2.22.0-0ubuntu1~cloud0
Priority: optional
Section: python
-
*** /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py 2015-10-16 12:45:11.464930514 -0300
--- /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py.old 2015-10-16 12:43:01.084767772 -0300
*************** class ServerManager(base.BootingManagerW
*** 526,540 ****
- body['server']['block_device_mapping'] = \
- self._parse_block_device_mapping(block_device_mapping)
- elif block_device_mapping_v2:
+ body['server']['block_device_mapping'] = \
+ self._parse_block_device_mapping(block_device_mapping)
+ elif block_device_mapping_v2:
! # Following logic can't be removed because it will leaves.
! # a valid boot with both --image and --block-device
- ! # failed , see bug 1433609 for more info
+ ! # failed , see bug 1433609 for more info
! if image:
! bdm_dict = {'uuid': image.id, 'source_type': 'image',
! 'destination_type': 'local', 'boot_index': 0,
! 'delete_on_termination': True}
! block_device_mapping_v2.insert(0, bdm_dict)
! #body['server']['block_device_mapping_v2'] = block_device_mapping_v2
-
- if nics is not None:
- # NOTE(tr3buchet): nics can be an empty list
+
+ if nics is not None:
+ # NOTE(tr3buchet): nics can be an empty list
--- 526,532 ----
- body['server']['block_device_mapping'] = \
- self._parse_block_device_mapping(block_device_mapping)
- elif block_device_mapping_v2:
+ body['server']['block_device_mapping'] = \
+ self._parse_block_device_mapping(block_device_mapping)
+ elif block_device_mapping_v2:
! body['server']['block_device_mapping_v2'] = block_device_mapping_v2
-
- if nics is not None:
- # NOTE(tr3buchet): nics can be an empty list
+
+ if nics is not None:
+ # NOTE(tr3buchet): nics can be an empty list
When boot by image and block-device dont attach volume. In debian
version it work without patch:
for example:
nova boot --image ubuntu-rescue-remix-12-04.iso --flavor 10
--availability-zone nova --block-device
source=volume,id=2d734ca2-6cb7-4e42-b060-94298ab6c2b8,dest=volume,size=10,shutdown=preserve
--nic net-id=be9c8e43-6bea-4904-b807-9ddbace19ec7 ejemplo_disco_recover
boot image with iso for install in volume...
- in ubuntu Ubuntu 14.04.3 LTS dont work..
+ in Ubuntu 14.04.3 LTS dont work..
** Summary changed:
- openstack nova dont boot with iso and attached volume wirh block-device
+ openstack nova dont boot with iso and attached volume with block-device
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1507016
Title:
openstack nova dont boot with iso and attached volume with block-
device
Status in OpenStack Compute (nova):
New
Bug description:
Hello it's not resolved in Openstack Kilo Unbutu 14.04.3 LTS:
Package: python-novaclient
Version: 1:2.22.0-0ubuntu1~cloud0
Priority: optional
Section: python
*** /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py 2015-10-16 12:45:11.464930514 -0300
--- /usr/lib/python2.7/dist-packages/novaclient/v2/servers.py.old 2015-10-16 12:43:01.084767772 -0300
*************** class ServerManager(base.BootingManagerW
*** 526,540 ****
body['server']['block_device_mapping'] = \
self._parse_block_device_mapping(block_device_mapping)
elif block_device_mapping_v2:
! # Following logic can't be removed because it will leaves.
! # a valid boot with both --image and --block-device
! # failed , see bug 1433609 for more info
! if image:
! bdm_dict = {'uuid': image.id, 'source_type': 'image',
! 'destination_type': 'local', 'boot_index': 0,
! 'delete_on_termination': True}
! block_device_mapping_v2.insert(0, bdm_dict)
! #body['server']['block_device_mapping_v2'] = block_device_mapping_v2
if nics is not None:
# NOTE(tr3buchet): nics can be an empty list
--- 526,532 ----
body['server']['block_device_mapping'] = \
self._parse_block_device_mapping(block_device_mapping)
elif block_device_mapping_v2:
! body['server']['block_device_mapping_v2'] = block_device_mapping_v2
if nics is not None:
# NOTE(tr3buchet): nics can be an empty list
When boot by image and block-device dont attach volume. In debian
version it work without patch:
for example:
nova boot --image ubuntu-rescue-remix-12-04.iso --flavor 10
--availability-zone nova --block-device
source=volume,id=2d734ca2-6cb7-4e42-b060-94298ab6c2b8,dest=volume,size=10,shutdown=preserve
--nic net-id=be9c8e43-6bea-4904-b807-9ddbace19ec7
ejemplo_disco_recover
boot image with iso for install in volume...
in Ubuntu 14.04.3 LTS dont work..
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1507016/+subscriptions