yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28108
[Bug 1374915] Re: mount nfs volume failed with "options" is a blank string
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-2
--
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/1374915
Title:
mount nfs volume failed with "options" is a blank string
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
When mount volume with nfs backend to instance, it would be failed.
if options is not None:
nfs_cmd.extend(options.split(' '))
We find when "options" is a blank string like "" wloud generate a part
in final cmd as "u''". The final cmd seems like
[u'mount', u'-t', u'nfs', u'', u'***', u'***']
And this cmd made the operation of mounting fail.
We have fixed this bug by simply changing the if statement as follow:
if options:
nfs_cmd.extend(options.split(' '))
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1374915/+subscriptions
References