ironic-rootwrap: Executable not found: hexdump

Bug #1627755 reported by Waldemar Znoinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Waldemar Znoinski
Mitaka
Won't Fix
Undecided
Waldemar Znoinski

Bug Description

Stderr: u'/var/lib/kolla/venv/bin/ironic-rootwrap: Executable not found: hexdump (filter match = hexdump)\n'

Kolla mitaka
type: source
Host os: xenial
Container os: trusty

Pretty much standard build and deploy (all-in-one) commands, not much customisation:
grep -viE "^$|^#" /etc/kolla/globals.yml
---
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no"
enable_keepalived: "no"
kolla_internal_vip_address: "10.237.214.199"
docker_registry: "127.0.0.1:4000"
network_interface: "ens3"
neutron_external_interface: "ens8"
enable_cinder: "no"
enable_ironic: "yes"

That started to happen only after setting boot:local for ironic node

2016-09-26 15:24:28.147 1 DEBUG oslo_concurrency.processutils [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] CMD "sudo ironic-rootwrap /etc/ironic/rootwrap.conf iscsiadm -m node -p 192.168.200.220:3260 -T iqn.2008-10.org.openstack:9378ccb2-1fc9-e211-b671-001e67899e
04 -o delete" returned: 0 in 0.115s execute /var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/processutils.py:374
2016-09-26 15:24:28.148 1 DEBUG ironic.common.utils [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Execution completed, command line is "iscsiadm -m node -p 192.168.200.220:3260 -T iqn.2008-10.org.openstack:9378ccb2-1fc9-e211-b671-001e67899e04 -o delete" execute /v
ar/lib/kolla/venv/local/lib/python2.7/site-packages/ironic/common/utils.py:90
2016-09-26 15:24:28.148 1 DEBUG ironic.common.utils [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Command stdout is: "" execute /var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic/common/utils.py:91
2016-09-26 15:24:28.149 1 DEBUG ironic.common.utils [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Command stderr is: "" execute /var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic/common/utils.py:92
2016-09-26 15:24:28.149 1 ERROR ironic.drivers.modules.iscsi_deploy [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Deploy failed for instance 9a6176c2-2224-4cda-a1c2-da064d400291. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf hexdump -s 440 -n 4 -e "0x%08x" /dev/disk/by-path/ip-192.168.200.220:3260-iscsi-iqn.2008-10.org.openstack:9378ccb2-1fc9-e211-b671-001e67899e04-lun-1
Exit code: 96
Stdout: u''
Stderr: u'/var/lib/kolla/venv/bin/ironic-rootwrap: Executable not found: hexdump (filter match = hexdump)\n'
2016-09-26 15:24:28.150 1 DEBUG ironic.common.states [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Exiting old state 'deploying' in response to event 'fail' on_exit /var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic/common/states.py:203
2016-09-26 15:24:28.150 1 DEBUG ironic.common.states [req-a4a6a256-191a-4882-bc11-d53c88ba8b06 - - - - -] Entering new state 'deploy failed' in response to event 'fail' on_enter /var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic/common/states.py:209

Fix:
apt install bsdmainutils

Changed in kolla:
assignee: nobody → Waldemar Znoinski (wznoinsk)
Ryan Hallisey (rthall14)
Changed in kolla:
importance: Undecided → High
status: New → Triaged
milestone: none → newton-rc1
Changed in kolla:
status: Triaged → Confirmed
Steven Dake (sdake)
Changed in kolla:
milestone: newton-rc1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/381238
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=fb915b5a919b10993f150d9a1dc5da8edbaf29a0
Submitter: Jenkins
Branch: master

commit fb915b5a919b10993f150d9a1dc5da8edbaf29a0
Author: Jeffrey Zhang <email address hidden>
Date: Tue Oct 4 00:46:18 2016 +0800

    Add hexdump package for ironic-conductor container

    On RedHat family distro, util-linux provides the hexdump. On Debian
    family distro, bsdmainutils provides the hexdump.

    Change-Id: If762f570639782ca477ae4697f354d88c992613b
    Closes-Bug: #1627755

Changed in kolla:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0rc2

This issue was fixed in the openstack/kolla 3.0.0.0rc2 release candidate.

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.