sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m discovery -t st -p <IP> hangs forever
Bug #1613294 reported by
Waldemar Znoinski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Waldemar Znoinski |
Bug Description
sudo ironic-rootwrap /etc/ironic/
in ironic_conductor container hangs forever.
strace on the process revealed it's waiting for input from the controlling terminal (/dev/tty).
It happens to wait for a password when running sudo commands.
To fix it sudoers file is required for ironic user, like so:
(ironic-
ironic ALL=(ALL) NOPASSWD:ALL
Changed in kolla: | |
assignee: | nobody → Waldemar Znoinski (wznoinsk) |
Changed in kolla: | |
status: | New → In Progress |
status: | In Progress → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
Host: RELEASE= 16.04 CODENAME= xenial DESCRIPTION= "Ubuntu 16.04.1 LTS" www.ubuntu. com/" help.ubuntu. com/" bugs.launchpad. net/ubuntu/" CODENAME= xenial
cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
UBUNTU_
Linux silpixa00385229 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ansible 1.9.5
configured module search path = None
kolla stable/mitaka vip_address: "10.237.222.18" 100.1:4000" external_ interface: "enp130s0f0"
Kolla globals:
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no"
enable_keepalived: "no"
kolla_internal_
docker_registry: "192.168.
network_interface: "eno1"
neutron_
enable_ironic: "yes"
Container: RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04.5 LTS" www.ubuntu. com/" help.ubuntu. com/" bugs.launchpad. net/ubuntu/"
cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
python --version
Python 2.7.6
Ironic:
driver: pxe_ipmitool