cannot read directory for multi: /var/lib/image-serve/v2/

Bug #1816039 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Steve Baker

Bug Description

When replace docker-distribution with apache image-serve with https://review.openstack.org/#/c/624830, it seems that we randomly hit permissions errors:

[negotiation:error] [pid 26486] (13)Permission denied: [client 192.168.24.1:38544] AH00686: cannot read directory for multi: /var/lib/image-serve/v2/

And the Ansible task fails to finish, therefore the Undercloud doesn't deploy:
http://logs.openstack.org/30/624830/14/gate/tripleo-ci-centos-7-containers-multinode/5736adc/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2019-02-15_00_43_40

Tags: containers
Changed in tripleo:
milestone: none → stein-3
assignee: nobody → Emilien Macchi (emilienm)
importance: Undecided → High
status: New → Triaged
tags: added: containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Steve Baker (steve-stevebaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/637312
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=0d4e62238f82efa3925dc750c3a92aafffa65b04
Submitter: Zuul
Branch: master

commit 0d4e62238f82efa3925dc750c3a92aafffa65b04
Author: Emilien Macchi <email address hidden>
Date: Fri Feb 15 16:55:25 2019 -0500

    image-serve: add httpd_sys_content_t type to image_data_dir

    This type is needed so IPtables can read and write in the image-serve
    directory, apparently needed when building containers.
    Also fix the mode, to be quoted:
    https://docs.ansible.com/ansible/latest/modules/file_module.html#file-module

    Closes-Bug: #1816039
    Change-Id: Id4ed832f0bf5115f2f44d0b7b11c60d01d1e7b4c

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

This issue was fixed in the openstack/tripleo-common 10.5.0 release.

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.