XenServer resize broken: 'TypeError', 'execv() argument 1 must be (encoded string without NULL bytes),
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Prince |
Bug Description
Using the latest Nova Essex builds it appears resize's when using XenServer are broken:
2012-03-14 08:57:30 DEBUG nova.virt.
2012-03-14 08:57:30 DEBUG nova.virt.
2012-03-14 08:57:30 DEBUG nova.virt.
2012-03-14 08:57:30 DEBUG nova.virt.
2012-03-14 08:57:30 ERROR nova.compute.
2012-03-14 08:57:30 ERROR nova.rpc.amqp [-] Exception during message handling
(nova.rpc.amqp): TRACE: Traceback (most recent call last):
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: rval = node_func(
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return f(*args, **kw)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: sys.exc_info())
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self._set_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self.gen.next()
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: instance_type_ref, self._legacy_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: dest, instance_type)
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: self._migrate_
(nova.rpc.amqp): TRACE: File "/usr/lib/
(nova.rpc.amqp): TRACE: raise exception.
(nova.rpc.amqp): TRACE: MigrationError: Migration error: Failed to transfer vhd to new host
(nova.rpc.amqp): TRACE:
----
Looks like some sort of encoding issue:
perhaps this is the culprit? https:/
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → essex-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
Looking a bit closer.... it appears that python shlex may not handle unicode correctly. This gets used by the migrate plugins transfer_vhd function to create an rsync argument array.
So cf09a214c3007a8 fa8dbe98f4cb6fc f732e09932 probably related to this issue here.