Hi all. I need your support again. We had this parted error with XCP plus OpenStack Essex release version. Nova can't launch VM with XCP with OpenStack. I use SR with Local LVM. Did you get parted command error? If you have any idea. Please let me know.
-------------------------- nova-compute log: -------------------------- 2012-06-11 11:42:49 DEBUG nova.compute.manager [req-85e34ab4-885c-4006-ac22-47b0323b9e21 4a7c390b523d40c49aab4ca4dfd92ced 6f9b5c555cc94910bf5b7b4a0b3af4b6] [instance: ae09a885-ab5c-4b10-9582-73423932e40c] Deallocati ng network for instance from (pid=3057) _deallocate_network /usr/lib/python2.7/dist-packages/nova/compute/manager.py:616 2012-06-11 11:42:49 DEBUG nova.rpc.amqp [req-85e34ab4-885c-4006-ac22-47b0323b9e21 4a7c390b523d40c49aab4ca4dfd92ced 6f9b5c555cc94910bf5b7b4a0b3af4b6] Making asynchronous cast on network... from (pid=3057) cast /usr/l ib/python2.7/dist-packages/nova/rpc/amqp.py:346 2012-06-11 11:42:49 ERROR nova.rpc.amqp [req-85e34ab4-885c-4006-ac22-47b0323b9e21 4a7c390b523d40c49aab4ca4dfd92ced 6f9b5c555cc94910bf5b7b4a0b3af4b6] Exception during message handling 2012-06-11 11:42:49 TRACE nova.rpc.amqp Traceback (most recent call last): 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data 2012-06-11 11:42:49 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped 2012-06-11 11:42:49 TRACE nova.rpc.amqp return f(*args, **kw) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function 2012-06-11 11:42:49 TRACE nova.rpc.amqp sys.exc_info()) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-06-11 11:42:49 TRACE nova.rpc.amqp self.gen.next() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function 2012-06-11 11:42:49 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651, in run_instance 2012-06-11 11:42:49 TRACE nova.rpc.amqp do_run_instance() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner 2012-06-11 11:42:49 TRACE nova.rpc.amqp retval = f(*args, **kwargs) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 650, in do_run_instance 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451, in _run_instance 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-06-11 11:42:49 TRACE nova.rpc.amqp self.gen.next() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 432, in _run_instance 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._deallocate_network(context, instance) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-06-11 11:42:49 TRACE nova.rpc.amqp self.gen.next() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 429, in _run_instance 2012-06-11 11:42:49 TRACE nova.rpc.amqp injected_files, admin_password) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 592, in _spawn 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._legacy_nw_info(network_info), block_device_info) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 184, in spawn 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._vmops.spawn(context, instance, image_meta, network_info) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 359, in spawn 2012-06-11 11:42:49 TRACE nova.rpc.amqp undo_mgr.rollback_and_reraise(msg=msg) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 1714, in rollback_and_reraise 2012-06-11 11:42:49 TRACE nova.rpc.amqp self._rollback() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-06-11 11:42:49 TRACE nova.rpc.amqp self.gen.next() 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 346, in spawn 2012-06-11 11:42:49 TRACE nova.rpc.amqp vdis = create_disks_step(undo_mgr) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 138, in inner 2012-06-11 11:42:49 TRACE nova.rpc.amqp rv = f(*args, **kwargs) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 265, in create_disks_step 2012-06-11 11:42:49 TRACE nova.rpc.amqp vdis = self._create_disks(context, instance, image_meta) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 242, in _create_disks 2012-06-11 11:42:49 TRACE nova.rpc.amqp disk_image_type) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 626, in create_image 2012-06-11 11:42:49 TRACE nova.rpc.amqp project_id, image_type) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 687, in fetch_image 2012-06-11 11:42:49 TRACE nova.rpc.amqp session, instance, image, image_type) 2012-06-11 11:42:49 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 887, in _fetch_image_glance_disk 2012-06-11 11:42:49 TRACE nova.rpc.amqp raise e 2012-06-11 11:42:49 TRACE nova.rpc.amqp ProcessExecutionError: (u'Unexpected error while running command.\nCommand: sudo /usr/bin/nova-rootwrap parted --script /dev/sm/backend/ef2d3c8e-2b8a-f51f-29b8-53736fa69c04/f01b7442-47fc-4cda-bc6c-8e56b9d3ad70 mkpart primary 63s 49214s\nExit code: 1\nStdout: "Warning: The resulting partition is not properly aligned for best performance.\\nError: Error informing the kernel about modifications to partition /dev/sm/backend/ef2d3c8e-2b8a-f51f-29b8-53736fa69c04/f01b7442-47 -- Invalid argument. This means Linux won\'t know about any changes you made to /dev/sm/backend/ef2d3c8e-2b8a-f51f-29b8-53736fa69c04/f01b7442-47 until you reboot -- so you shouldn\'t mount it or use it in any way before rebooting.\\nError: Failed to add partition 1 (Invalid argument)\\n"\nStderr: \'\'', [{'file': None, 'vdi_type': 'os', 'vdi_uuid': 'f01b7442-47fc-4cda-bc6c-8e56b9d3ad70'}]) ----------------------------- Storage Repository: ----------------------------- uuid ( RO) : ef2d3c8e-2b8a-f51f-29b8-53736fa69c04 name-label ( RW): Local storage name-description ( RW): host ( RO): xcp allowed-operations (SRO): forget; VDI.create; VDI.snapshot; plug; update; destroy; VDI.destroy; scan; VDI.clone; VDI.resize; unplug current-operations (SRO): VDIs (SRO): f01b7442-47fc-4cda-bc6c-8e56b9d3ad70; 73b8fc96-8293-4095-9ebb-c5169128f938; cf9cc9ac-455a-450d-a3c4-65fce459564a; ce0c1a80-af38-4bcf-8952-9497bf3d5369; ddcc5a29-f086-48cf-ab67-9daf48e7869a; 72627def-e0d4-4ef2-a1d2-503717a5b9b1; fb5768f7-a7e5-47dc-bf15-558a240a89c3; f1815b48-cb47-4c77-833e-6defe3fcb8b4; 3b6a9c02-18e9-4ebe-bd4c-c8fdac3ab439; 429b673c-ebc4-43c0-9c80-b3a3cfd0ef3e; 1f3161cc-1390-4eec-be97-7de1a89d2c14; f21707dd-e47a-4921-adee-c201d6ecaf22; d7d6a689-bc23-4906-b191-edcd0484c0eb; 202fe917-8f79-4c49-bb82-9a5a20a97a1d; 8ef53a62-c1ac-462a-9c0b-8f02bfce00d6; 8403e6a2-9c96-4e5d-a9e5-11590ec6cda1; 52277317-e909-4c5c-8aaf-36421b9480fe; 1a4c0c5f-cd48-43a2-bfbb-61066f5e899b; 520b53f8-b823-4249-9200-33aa01fe4244; c0ec57e4-7f2f-4bd0-a5bd-0644569c3232; 624ea328-bd99-4fc8-a8f8-a86fc490ad90; 1e8adf15-19ba-4157-aa03-6f8fc656e909 PBDs (SRO): 13bcec09-f4fd-3f7e-1d5d-5bb6f6bcbb57 virtual-allocation ( RO): 17725128704 physical-utilisation ( RO): 255504384 physical-size ( RO): 211366371328 type ( RO): ext content-type ( RO): user shared ( RW): true introduced-by ( RO): <not in database> other-config (MRW): i18n-key: local-storage sm-config (MRO): devserial: blobs ( RO): local-cache-enabled ( RO): false tags (SRW): ------------------------- Install packages: ------------------------- ii nova-ajax-console-proxy 2012.1-0ubuntu2.1 OpenStack Compute - AJAX console proxy - transitional package ii nova-api 2012.1-0ubuntu2.2 OpenStack Compute - API frontend ii nova-cert 2012.1-0ubuntu2.2 OpenStack Compute - certificate management ii nova-common 2012.1-0ubuntu2.2 OpenStack Compute - common files ii nova-compute 2012.1-0ubuntu2.2 OpenStack Compute - compute node ii nova-compute-xen 2012.1-0ubuntu2.2 OpenStack Compute - compute node (Xen) ii nova-consoleauth 2012.1-0ubuntu2.2 OpenStack Compute - Console Authenticator ii nova-doc 2012.1-0ubuntu2.1 OpenStack Compute - documentation ii nova-network 2012.1-0ubuntu2.2 OpenStack Compute - Network manager ii nova-scheduler 2012.1-0ubuntu2.2 OpenStack Compute - virtual machine scheduler ii nova-vncproxy 2012.1-0ubuntu2.2 OpenStack Compute - VNC proxy ii nova-volume 2012.1-0ubuntu2.2 OpenStack Compute - storage ii nova-xcp-network 2012.1-0ubuntu2.2 OpenStack Compute network plugin for the Xen Cloud Platform ii nova-xcp-plugins 2012.1-0ubuntu2.2 OpenStack Compute plugin for the Xen Cloud Platform ii python-nova 2012.1-0ubuntu2.2 OpenStack Compute Python libraries ii python-novaclient 2012.1-0ubuntu1 client library for OpenStack Compute API ii nova-xcp-network 2012.1-0ubuntu2.2 OpenStack Compute network plugin for the Xen Cloud Platform ii nova-xcp-plugins 2012.1-0ubuntu2.2 OpenStack Compute plugin for the Xen Cloud Platform ii xcp-eliloader 0.1-4 XenAPI's bootloader for EL-based guests ii xcp-fe 0.5.2-3 Fork-and-exec daemon for xapi ii xcp-guest-templates 0.1-3 Guest template generator for XCP ii xcp-networkd 1.3.2-5 Xen Cloud Platform - network configuration daemon ii xcp-squeezed 1.3.2-5 Xen Cloud Platform - memory ballooning daemon ii xcp-storage-managers 0.1.1-2ubuntu1 storage backends for XCP ii xcp-v6d 1.3.2-5 Xen Cloud Platform - feature daemon ii xcp-vncterm 0.1-2 Provides VNC service for XCP guest VMs ii xcp-xapi 1.3.2-5 Xen Cloud Platform - XenAPI server ii xcp-xe 1.3.2-5 Xen Cloud Platform - command-line utilities Thanks! Suzuki _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp