yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06526
[Bug 1247307] Re: parted error with xenapi driver
** 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