mkfs.vfat: No such file or directory in ironic_conductor

Bug #1642578 reported by Waldemar Znoinski on 2016-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Undecided
Unassigned
Mitaka
Undecided
Unassigned
Newton
Undecided
Unassigned

Bug Description

xenial on host
trusty in containers

---
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no" # TODO(wznoinsk): enable when have 1 more ethernet port of the server connected to 1GB switch
enable_keepalived: "no"
kolla_internal_vip_address: "xxxxxxxxx"
docker_registry: "127.0.0.1:4000"
network_interface: "ens3"
neutron_external_interface: "ens8"
enable_cinder: "no"
enable_ironic: "yes"

Trying to boot an ironic node with:
'capabilities': boot_option:local, boot_mode:uefi'

results in:

2016-11-17 12:18:13.620 1 DEBUG oslo_concurrency.processutils [req-1be9ac36-973f-48fc-a1d1-7179c032d640 - - - - -] u'sudo ironic-rootwrap /etc/ironic/rootwrap.conf mkfs -t vfat -n efi-part /dev/disk/by-path/ip-192.168.200.35:3260-iscsi-iqn.2008-10.org.openstack:806a762a-7294-e411-906e-0012795d96dd-lun-1-part1' failed. Not Retrying. exec
ute /var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/processutils.py:422
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils [req-1be9ac36-973f-48fc-a1d1-7179c032d640 - - - - -] Failed to make file system. File system vfat is not supported.
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils Traceback (most recent call last):
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_lib/utils.py", line 103, in mkfs
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils execute(*args, run_as_root=True, use_standard_locale=True)
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_lib/utils.py", line 72, in execute
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils result = processutils.execute(*cmd, **kwargs)
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 389, in execute
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils cmd=sanitized_cmd)
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils ProcessExecutionError: Unexpected error while running command.
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf mkfs -t vfat -n efi-part /dev/disk/by-path/ip-192.168.200.35:3260-iscsi-iqn.2008-10.org.openstack:806a762a-7294-e411-906e-0012795d96dd-lun-1-part1
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils Exit code: 1
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils Stdout: u''
2016-11-17 12:18:13.621 1 ERROR ironic_lib.utils Stderr: u'mkfs.vfat: No such file or directory\n'

looks like apt installing dosfstools sorts the problem

Changed in kolla:
milestone: none → ocata-2

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

commit abca6a93b73aafb9998dc54a250d74323761b17c
Author: Jeffrey Zhang <email address hidden>
Date: Sun Nov 20 21:13:01 2016 +0800

    Install mkfs.vfat tool in ironic-conductor image

    Change-Id: I969a769cf349b130035b9136e570849782e9247a
    Closes-Bug: #1642578

Changed in kolla:
status: New → Fix Released

Reviewed: https://review.openstack.org/400709
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=318fd9e5308edd3b090fa94bc81b920b7d4a3622
Submitter: Jenkins
Branch: stable/newton

commit 318fd9e5308edd3b090fa94bc81b920b7d4a3622
Author: Jeffrey Zhang <email address hidden>
Date: Sun Nov 20 21:13:01 2016 +0800

    Install mkfs.vfat tool in ironic-conductor image

    Change-Id: I969a769cf349b130035b9136e570849782e9247a
    Closes-Bug: #1642578
    (cherry picked from commit abca6a93b73aafb9998dc54a250d74323761b17c)

This issue was fixed in the openstack/kolla 4.0.0.0b2 development milestone.

This issue was fixed in the openstack/kolla 3.0.2 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers