[Bug 1380425] [NEW] Rootwrap error with cinder-volume
Matt Kassawara
mkassawara at gmail.com
Sun Oct 12 23:53:15 UTC 2014
Public bug reported:
The cinder-volume service (2014.2~rc2-0ubuntu1~cloud0) generates the
following rootwrap error in the cinder-volume.log file:
2014-10-12 23:10:12.463 12082 INFO cinder.openstack.common.service [-] Starting
2014-10-12 23:10:12.463 12082 INFO cinder.openstack.common.service [-] Starting 1 workers
2014-10-12 23:10:12.465 12082 INFO cinder.openstack.common.service [-] Started child 12123
2014-10-12 23:10:12.468 12123 INFO cinder.service [-] Starting cinder-volume node (version 2014.2)
2014-10-12 23:10:12.470 12123 INFO cinder.volume.manager [req-0d64c7d5-8ae3-4afb-bd20-28308aa28b7b - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)
2014-10-12 23:10:12.529 12123 ERROR cinder.volume.manager [req-0d64c7d5-8ae3-4afb-bd20-28308aa28b7b - - - - -] Error encountered during initialization of driver: LVMISCSIDriver
2014-10-12 23:10:12.529 12123 ERROR cinder.volume.manager [req-0d64c7d5-8ae3-4afb-bd20-28308aa28b7b - - - - -] Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C vgs --noheadings -o name cinder-volumes
Exit code: 1
Stdout: u''
Stderr: u'sudo: no tty present and no askpass program specified\n'
Adding a "*" to the following line in the
"/etc/sudoers.d/cinder_sudoers" file resolves the issue:
cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
/etc/cinder/rootwrap.conf
For example:
cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
/etc/cinder/rootwrap.conf *
Other services contain this "*" in their rootwrap configuration files.
** Affects: cinder (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1380425
Title:
Rootwrap error with cinder-volume
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1380425/+subscriptions
More information about the Ubuntu-server-bugs
mailing list