When trying to spawn an Ironic node with user-data and config-drive option 'ticked' the below is the error thrown:
2016-08-14 23:17:06.028 1 ERROR nova.virt.ironic.driver [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Faile
d to build configdrive: [Errno 2] No such file or directory
2016-08-14 23:17:06.030 1 ERROR root [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 741, in spawn\n files=injected_files)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 658, in _generate_configdrive\n cdb.make_drive(uncompressed.name)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/virt/configdrive.py", line 153, in make_drive\n self._make_iso9660(path, tmpdir)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/virt/configdrive.py", line 107, in _make_iso9660\n run_as_root=False)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/utils.py", line 389, in execute\n return processutils.execute(*cmd, **kwargs)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 363, in execute\n env=env_variables)\n', ' File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/green/subprocess.py", line 54, in __init__\n subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)\n', ' File "/usr/lib/python2.7/subprocess.py", line 710, in __init__\n errread, errwrite)\n', ' File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child\n raise child_exception\n', 'OSError: [Errno 2] No such file or directory\n']
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Instance failed to spawn
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Traceback (most recent call last):
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] yield resources
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] block_device_info=block_device_info)
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 748, in spawn
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] flavor=flavor)
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] TypeError: _cleanup_deploy() takes exactly 4 arguments (6 given)
2016-08-14 23:17:06.030 1 ERROR nova.compute.manager [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48]
2016-08-14 23:17:06.032 1 INFO nova.compute.manager [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Terminating instance
2016-08-14 23:17:06.044 1 INFO nova.virt.ironic.driver [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Successfully unprovisioned Ironic node d257b6a3-02c9-e211-bbd3-001e67899bb1
2016-08-14 23:17:06.045 1 INFO nova.compute.manager [req-a8db6b3a-ae16-43cb-a0af-023522b37de8 66ff1de235364afaad77f3ae1395e90b eeb52de1247f4e91be78edd292f52bed - - -] [instance: bc52bcd9-edf0-4e9f-9f0d-36b805760d48] Took 0.01 seconds to destroy the instance on the hypervisor.
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