[Bug 861547] [NEW] /usr/sbin/ietadm is missing in /etc/sudoers.d/nova_sudoers

Ante Karamatić 861547 at bugs.launchpad.net
Wed Sep 28 16:18:53 UTC 2011


Public bug reported:

nova user should be able to use /usr/sbin/ietadm with root privileges.
This tool is required for management of iSCSI targets, required by nova-
volume.

Problem exposes as being unable to create volume. nova-volume logs show:

2011-09-28 14:13:08,615 DEBUG nova.utils [-] Running cmd (subprocess): sudo ietadm --op new --tid=1 --params Name=iqn.2010-10.org.openstack:volume-00000001 from (pid=14671) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-28 14:13:08,635 DEBUG nova.utils [-] Result was 1 from (pid=14671) execute /usr/lib/python2.7/dist-packages/nova/utils.py:180

auth.log:

Sep 28 14:13:08 cloud1 sudo:     nova : no tty present and no askpass
program specified ; TTY=unknown ; PWD=/run ; USER=root ;
COMMAND=/usr/sbin/ietadm --op new --tid=1 --params
Name=iqn.2010-10.org.openstack:volume-00000001

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/861547

Title:
  /usr/sbin/ietadm is missing in /etc/sudoers.d/nova_sudoers

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



More information about the Ubuntu-server-bugs mailing list