← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374915] [NEW] mount nfs volume failed with "options" is a blank string

 

Public bug reported:

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(' '))

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: mount nfs nova volume

-- 
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):
  New

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


Follow ups

References