← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416970] [NEW] Typo in nova/virt/disk/vfs/localfs.py

 

Public bug reported:

In 'setup' method of 'VFSLocalFS' class(nova/virt/disk/vfs/localfs.py),
there is an extra parenthesis in log message.
It should be removed.
And it had better to put ':' between 'Failed to mount image' and an exception string.

--------------------------------------------------------------------------------
2015-01-30 21:30:00,000.428 15504 DEBUG nova.virt.disk.vfs.localfs [-] Failed to mount image Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd1 /tmp/openstack-vfs-localfso10pWg
Exit code: 32
Stdout: u''
Stderr: u'mount: you must specify the filesystem type\n') setup /usr/lib/python2.7/dist-packages/nova/virt/disk/vfs/localfs.py:80
--------------------------------------------------------------------------------

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Takashi NATSUME (natsume-takashi)

-- 
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/1416970

Title:
  Typo in nova/virt/disk/vfs/localfs.py

Status in OpenStack Compute (Nova):
  New

Bug description:
  In 'setup' method of 'VFSLocalFS' class(nova/virt/disk/vfs/localfs.py),
  there is an extra parenthesis in log message.
  It should be removed.
  And it had better to put ':' between 'Failed to mount image' and an exception string.

  --------------------------------------------------------------------------------
  2015-01-30 21:30:00,000.428 15504 DEBUG nova.virt.disk.vfs.localfs [-] Failed to mount image Failed to mount filesystem: Unexpected error while running command.
  Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd1 /tmp/openstack-vfs-localfso10pWg
  Exit code: 32
  Stdout: u''
  Stderr: u'mount: you must specify the filesystem type\n') setup /usr/lib/python2.7/dist-packages/nova/virt/disk/vfs/localfs.py:80
  --------------------------------------------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1416970/+subscriptions


Follow ups

References