** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1247307
Title:
parted error with xenapi driver
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Full Trace: https://gist.github.com/blamarvt/5627157187ccb90f5af5
It looks like https://review.openstack.org/#/c/52684/ introduced this
bug by setting `partition_end` to -0 which seems to mess up the
/sbin/parted utils.execute call.
From the gist above, here is what counts:
/sbin/parted: invalid option -- '0'\nUsage: /sbin/parted [-hlmsv]
[-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]\n"
because this is the call: parted --script /dev/xvdb mkpart primary 0
-0
Suggested fix: The only thing I can think of is to add quotes around
the -0 argument so parted parses it correctly. I've confirmed this
works in my testing environment.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1247307/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp