[CI] "build-test-packages : Ensure DLRN dir is present" returns Permission denied

Bug #1855429 reported by Cédric Jeanneret
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Unassigned

Bug Description

Hello,

might block CI:
2019-12-05 16:07:55.126727 | primary | TASK [build-test-packages : Ensure DLRN dir is present] ************************
2019-12-05 16:07:55.235848 | primary | Thursday 05 December 2019 16:07:55 +0000 (0:00:01.502) 0:01:40.362 *****
2019-12-05 16:07:55.912390 | primary | fatal: [undercloud]: FAILED! => {
2019-12-05 16:07:55.912480 | primary | "changed": false,
2019-12-05 16:07:55.912546 | primary | "path": "/root/DLRN/"
2019-12-05 16:07:55.912565 | primary | }
2019-12-05 16:07:55.912581 | primary |
2019-12-05 16:07:55.912601 | primary | MSG:
2019-12-05 16:07:55.912617 | primary |
2019-12-05 16:07:55.912735 | primary | There was an issue creating /root/DLRN as requested: [Errno 13] Permission denied: '/root/DLRN'

Example log: https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ac0/697465/2/check/tripleo-ci-centos-7-containers-multinode/ac05c86/job-output.txt

Tags: ci
Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

It's in oooq-extras/roles/build-test-packages/tasks/main.yml

Probably linked to:
commit 208076851e769126dc1f669e80c1096d8b5b8eaf
Author: Wes Hayutin <email address hidden>
Date: Fri Aug 25 15:51:27 2017 -0400

    use pip to install delorean

    * use pip to install delrean
    * use a templated version of projects.ini vs. from src
    * cp scripts used for image build

    Change-Id: I48423aecd501c86431399ca8b4bc12db32b0e749
    Closes-Bug: #1713130

https://review.opendev.org/#/c/498074/

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

humpf - wrong, would have exploded before.

Something changed the value of "build_repo_dir" which defaults to "ansible_user_dir" - but here, we have "/root" instead, while apparently the user running the playbook is NOT root... o_O

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

After some discussions: this is a duplicate of https://bugs.launchpad.net/tripleo/+bug/1845942

Changed in tripleo:
status: Triaged → Invalid
Revision history for this message
Marios Andreou (marios-b) wrote :

as per irc just now job looks generally OK @ https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-7-containers-multinode

try a recheck... generally we don't file a bug until we have 2 different traces of the same error, sometimes it happens we have transient issues/etc.

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.