mount nfs volume failed with "options" is a blank string
Bug #1374915 reported by
ephem
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Yukihiro KAWADA |
Bug Description
When mount volume with nfs backend to instance, it would be failed.
if options is not None:
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:
Changed in nova: | |
assignee: | nobody → Yukihiro KAWADA (warp-kawada) |
Changed in nova: | |
status: | Incomplete → Confirmed |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
And the exception is a Mount Usage error.