tripleo_ceph_work_dir : gather hiera metadata | permission denied

Bug #1866694 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Fulton

Bug Description

After merging https://review.opendev.org/#/c/709083 TripleO Ceph deployment without standalone (using a traditional undercloud) fails with the following:

TASK [tripleo_ceph_work_dir : gather hiera metadata] ****************************************************************************************************************************************
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": ["/bin/hiera", "-c", "/etc/puppet/hiera.yaml", "enabled_services"], "delta": "0:00:00.080270", "end": "2020-03-09 18:45:46.579453", "msg": "non-zero return code", "rc": 1, "start": "2020-03-09 18:45:46.499183", "stderr": "Failed to start Hiera: Errno::EACCES: Permission denied - /etc/puppet/hiera.yaml", "stderr_lines": ["Failed to start Hiera: Errno::EACCES: Permission denied - /etc/puppet/hiera.yaml"], "stdout": "", "stdout_lines": []}

NO MORE HOSTS LEFT **************************************************************************************************************************************************************************

PLAY RECAP **********************************************************************************************************************************************************************************
overcloud-cephstorage-0 : ok=108 changed=52 unreachable=0 failed=0 skipped=57 rescued=0 ignored=0
overcloud-controller-0 : ok=158 changed=85 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0
overcloud-novacompute-0 : ok=132 changed=70 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0
undercloud : ok=15 changed=3 unreachable=0 failed=1 skipped=15 rescued=0 ignored=0

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

Fix proposed to branch: master
Review: https://review.opendev.org/711974

Changed in tripleo:
assignee: Francesco Pantano (fmount) → John Fulton (jfulton-org)
status: Triaged → In Progress
tags: added: train-backport-potential
Revision history for this message
John Fulton (jfulton-org) wrote :

The hiera gathering this bug fixes will only happen in train if https://review.opendev.org/#/c/709083 is backported to train. One option might be to include the same one-line fix in the backport of https://review.opendev.org/#/c/709083

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

Reviewed: https://review.opendev.org/711974
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=05ed9ed178d834085f2e66e599a4949606bc6bcb
Submitter: Zuul
Branch: master

commit 05ed9ed178d834085f2e66e599a4949606bc6bcb
Author: John Fulton <email address hidden>
Date: Mon Mar 9 15:26:53 2020 -0400

    Use become when gathering hiera metadata

    Change-Id: Ib179b848953c347f5e24c443965b24610e2baefd
    Closes-Bug: #1866694

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/712122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (stable/train)

Change abandoned by Francesco Pantano (<email address hidden>) on branch: stable/train
Review: https://review.opendev.org/712122
Reason: sorry, already here: https://review.opendev.org/#/c/712123

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 1.3.0

This issue was fixed in the openstack/tripleo-ansible 1.3.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.