missing images/master_images directory for Ironic

Bug #1307907 reported by Robert Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Matthew Macdonald-Wallace (HPCS)

Bug Description

- NoValidHost on all instances.
    File "/opt/stack/venvs/ironic/local/lib/python2.7/site-packages/ironic/openstack/common/fileutils.py", line 39, in ensure_tree
    os.makedirs(path)
  File "/opt/stack/venvs/ironic/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/opt/stack/venvs/ironic/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/mnt/state/var/lib/ironic/images'

Manually fixed by
mkdir /mnt/state/var/lib/ironic/images and chown ironic:ironic

- ditto master_images

Tags: ironic
Revision history for this message
Robert Collins (lifeless) wrote :

This should go in an o-r-c sript for ironic conductor.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

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

Changed in tripleo:
assignee: nobody → Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace)
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/87501
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=bc716aed9db642fea45b45a4b245275f71763e21
Submitter: Jenkins
Branch: master

commit bc716aed9db642fea45b45a4b245275f71763e21
Author: Matthew Macdonald-Wallace <email address hidden>
Date: Tue Apr 15 10:07:11 2014 +0100

    Create and set correct permissions on directories.

    Ironic Conductor appears to be throwing an error related to
    directory creation and permissions which is holding up merges
    to tripleo. This patch sets the correct permissions and creates
    the directories required

    Change-Id: Id25ebb818d139e8460c58e3e7359db75ddb5426e
    Fixes: bug 1307907

Changed in tripleo:
status: In Progress → Fix Released
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.