openstack overcloud config download require super user

Bug #1896522 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Harald Jensås

Bug Description

(undercloud) [centos@undercloud ~]$ openstack overcloud config download --name overcloud --config-dir config-download-manual
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'

PLAY [Config Download Export] **************************************************
2020-09-21 17:53:44.513120 | fa163e3e-4c78-91fb-90bd-000000000008 | TASK | Set config_dir
2020-09-21 17:53:44.590312 | fa163e3e-4c78-91fb-90bd-000000000008 | SKIPPED | Set config_dir | localhost
2020-09-21 17:53:44.600998 | fa163e3e-4c78-91fb-90bd-000000000009 | TASK | Set config_container
2020-09-21 17:53:44.611114 | fa163e3e-4c78-91fb-90bd-000000000008 | TIMING | Set config_dir | 0:00:00.248221 | 0.10s
2020-09-21 17:53:44.684316 | fa163e3e-4c78-91fb-90bd-000000000009 | OK | Set config_container | localhost
2020-09-21 17:53:44.695016 | fa163e3e-4c78-91fb-90bd-00000000000a | TASK | set work_dir
2020-09-21 17:53:44.696325 | fa163e3e-4c78-91fb-90bd-000000000009 | TIMING | Set config_container | 0:00:00.333441 | 0.08s
2020-09-21 17:53:44.769915 | fa163e3e-4c78-91fb-90bd-00000000000a | OK | set work_dir | localhost
2020-09-21 17:53:44.782643 | fa163e3e-4c78-91fb-90bd-00000000000c | TASK | Clean work_dir
2020-09-21 17:53:44.783969 | fa163e3e-4c78-91fb-90bd-00000000000a | TIMING | set work_dir | 0:00:00.421086 | 0.09s
2020-09-21 17:53:44.844671 | fa163e3e-4c78-91fb-90bd-00000000000c | SKIPPED | Clean work_dir | localhost
2020-09-21 17:53:44.855221 | fa163e3e-4c78-91fb-90bd-00000000000d | TASK | Create config dir if does not exist
2020-09-21 17:53:44.856555 | fa163e3e-4c78-91fb-90bd-00000000000c | TIMING | Clean work_dir | 0:00:00.493667 | 0.07s
2020-09-21 17:53:45.650287 | fa163e3e-4c78-91fb-90bd-00000000000d | FATAL | Create config dir if does not exist | localhost | error={"changed": false, "msg": "There was an issue creating config-download-manual as requested: [Errno 13] Permission denied: b'config-download-manual'", "path": "config-download-manual/overcloud"}

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

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

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/753122
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=a34eb64c6d91daa44c5ef7760afb74a49326b30c
Submitter: Zuul
Branch: master

commit a34eb64c6d91daa44c5ef7760afb74a49326b30c
Author: Harald Jensås <email address hidden>
Date: Mon Sep 21 20:46:07 2020 +0200

    Make config_dir absolute path for ansible

    When not specifying an absolute path for config_dir the
    unarchive command fails. Make config dir absolute path
    with os.path.abspath().

    Closes-Bug: #1896523
    Closes-Bug: #1896522
    Change-Id: Icf1e2da05d328c70175fef7126519377df095150

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.