Openrc incorrect dir permissions

Bug #1689837 reported by Jason Hedden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jason Hedden

Bug Description

The current openstack_openrc role has incorrect permissions (0600) for the clouds.yaml directory. It would also be helpful if the permissions could be overridden.

This was found when trying to use this role to manage a clouds.yaml configuration file in /etc/openstack for users other than root (e.g. monitoring.)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-openstack_openrc (master)

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

Changed in openstack-ansible:
assignee: nobody → Jason Hedden (jhedden)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-openstack_openrc (master)

Reviewed: https://review.openstack.org/463799
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-openstack_openrc/commit/?id=428e7c55f6c0749ea180f0b89a61cfcf2fa63452
Submitter: Jenkins
Branch: master

commit 428e7c55f6c0749ea180f0b89a61cfcf2fa63452
Author: Jason Hedden <email address hidden>
Date: Wed May 10 09:54:41 2017 -0500

    Update file and directory permissions

    Currently the clouds.yaml directory permissions are hardcoded and
    missing the execute bit. When using this role with a default location in
    /etc/openstack, normal system users are not able to read the
    configuration file.

    This commit adds variable overrides for the file and directory
    permissions, as well as correcting the directory permissions.

    Change-Id: I2380030235d455ff4dd0ea7658c7146ece60db81
    Closes-Bug: #1689837

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-openstack_openrc 16.0.0.0b2

This issue was fixed in the openstack/openstack-ansible-openstack_openrc 16.0.0.0b2 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.