Ironic conductor container fails with: Permission denied: '/var/lib/ironic/master_images'

Bug #1677086 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

Bug Description

Using the latest Ironic conductor container with TripleO heat templates fails with the following when trying to provision an instance:

2017-03-27 20:28:34.094 7 ERROR ironic.conductor.manager File "/usr/lib/python
2.7/site-packages/oslo_utils/fileutils.py", line 40, in ensure_tree
2017-03-27 20:28:34.094 7 ERROR ironic.conductor.manager os.makedirs(path, m
ode)
2017-03-27 20:28:34.094 7 ERROR ironic.conductor.manager File "/usr/lib64/pyth
on2.7/os.py", line 157, in makedirs
2017-03-27 20:28:34.094 7 ERROR ironic.conductor.manager mkdir(name, mode)
2017-03-27 20:28:34.094 7 ERROR ironic.conductor.manager OSError: [Errno 13] Per
mission denied: '/var/lib/ironic/master_images'

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
summary: - Ironic conductor container fails with: Per mission denied:
+ Ironic conductor container fails with: Permission denied:
'/var/lib/ironic/master_images'
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
importance: Undecided → High
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/451146
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=86a009d236c7b8d42c2196f86a026382baf8705c
Submitter: Jenkins
Branch: master

commit 86a009d236c7b8d42c2196f86a026382baf8705c
Author: Dan Prince <email address hidden>
Date: Tue Mar 28 22:29:30 2017 -0400

    Ironic containers: chown /var/lib/ironic correctly

    This updates the docker version of ironic-conductor.yaml so
    that it sets permissions on the entire /var/lib/ironic
    tree correctly. Since 1a4ece16cea40075fe7332ed048b9c289b3ff424
    we bind mount in /var/lib/ironic from the host (created via
    Ansible if it didn't already exist). This caused a subtle
    permissions issue in that the Ironic conductor service
    can no longer create sub-directories it needs to operate.

    Change-Id: I1eb6b5ddad7cd89ee887e2e429ebe245aa7b80dc
    Closes-bug: 1677086

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b1 development milestone.

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.