On Ubuntu: /usr/local/bin/ironic-rootwrap: Executable not found: /sbin/iscsiadm

Bug #1268696 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Lucas Alvares Gomes

Bug Description

stack@stack-virtual-machine:/opt/stack/ironic$ sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p 192.0.2.36:3260
/usr/local/bin/ironic-rootwrap: Executable not found: /sbin/iscsiadm (filter match = iscsiadm)

A way to fix it would be to not use the full path to the commands in the ironic-deploy-helper.filters file. (Nova also doesn't use the full path in it's filter[1])

[1] https://github.com/openstack/nova/blob/master/etc/nova/rootwrap.d/baremetal-deploy-helper.filters

Ubuntu Version:

stack@stack-virtual-machine:~/devstack$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/66400

Changed in ironic:
status: New → In Progress
Changed in ironic:
milestone: none → icehouse-2
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/66400
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=4786ec3deb607ca9174d4051888e91693a84726d
Submitter: Jenkins
Branch: master

commit 4786ec3deb607ca9174d4051888e91693a84726d
Author: Lucas Alvares Gomes <email address hidden>
Date: Mon Jan 13 19:09:20 2014 +0000

    Remove the absolute paths from ironic-deploy-helper.filters

    The commands might be located in a different directories on different
    distros, so this patch is removing the absolute paths in the
    ironic-deploy-helper.filters file.

    Change-Id: I68873a04acbf1519165f758b1803f12ba9ddf777
    Closes-Bug: #1268696

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.