/usr/sbin/ietadm is missing in /etc/sudoers.d/nova_sudoers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Fix Released
|
High
|
Ante Karamatić | ||
Oneiric |
Fix Released
|
High
|
Ante Karamatić |
Bug Description
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.
2011-09-28 14:13:08,635 DEBUG nova.utils [-] Result was 1 from (pid=14671) execute /usr/lib/
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=
Related branches
- Chuck Short (community): Approve
- Ante Karamatić (community): Needs Resubmitting
- Dave Walker (community): Needs Fixing
-
Diff: 26 lines (+8/-0)2 files modifieddebian/changelog (+7/-0)
debian/nova_sudoers (+1/-0)
- Ubuntu Server Developers: Pending requested
-
Diff: 48 lines (+20/-3)2 files modifieddebian/changelog (+9/-2)
debian/nova-common.postinst (+11/-1)
Changed in nova (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: server-o-rs |
Changed in nova (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10 |
tags: | added: rls-mgr-o-tracking |
Changed in nova (Ubuntu Oneiric): | |
status: | Confirmed → In Progress |
assignee: | nobody → Ante Karamatić (ivoks) |
status: | In Progress → Fix Committed |
Following discussion with Ante, this seems to be a release blocker as volumes cannot be created. Upping to High.
Thanks.