There was an issue creating /var/log/extra as requested: [Errno 13] Permission denied: b'/var/log/extra'

Bug #1896439 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
chandan kumar

Bug Description

https://f14b7b8e2af17b15dc6f-7866d2d60d05a1a307d08ac58d504373.ssl.cf5.rackcdn.com/752301/4/check/tripleo-ci-centos-8-content-provider/8566810/logs/quickstart_collect_logs.log

Transferred: sent 127032, received 3736 bytes, in 0.4 seconds
Bytes per second: sent 358728.7, received 10550.2
debug1: Exit status 1
fatal: [undercloud]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "_diff_peek": null,
            "_original_basename": null,
            "access_time": null,
            "access_time_format": "%Y%m%d%H%M.%S",
            "attributes": null,
            "backup": null,
            "content": null,
            "delimiter": null,
            "dest": "/var/log/extra/",
            "directory_mode": null,
            "follow": true,
            "force": false,
            "group": null,
            "mode": null,
            "modification_time": null,
            "modification_time_format": "%Y%m%d%H%M.%S",
            "owner": null,
            "path": "/var/log/extra/",
            "recurse": false,
            "regexp": null,
            "remote_src": null,
            "selevel": null,
            "serole": null,
            "setype": null,
            "seuser": null,
            "src": null,
            "state": "directory",
            "unsafe_writes": null
        }
    },
    "path": "/var/log/extra/"
}

MSG:

There was an issue creating /var/log/extra as requested: [Errno 13] Permission denied: b'/var/log/extra'

PLAY RECAP *********************************************************************
undercloud : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Sunday 20 September 2020 22:41:28 +0000 (0:00:00.908) 0:00:01.101 ******
===============================================================================
dump_vars : Prepare directory with extra logs --------------------------- 0.91s
/home/zuul/workspace/.quickstart/usr/local/share/ansible/roles/dump_vars/tasks/main.yml:2

This issue has been started after this change https://review.opendev.org/#/c/752309/2

Tags: alert ci
Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
assignee: nobody → chandan kumar (chkumar246)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/752902
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=c7a983434814fc19a5e3b618025c4249aaa6a68f
Submitter: Zuul
Branch: master

commit c7a983434814fc19a5e3b618025c4249aaa6a68f
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon Sep 21 14:32:25 2020 +0530

    Make sure dump_vars_log_dir dir exists

    https://review.opendev.org/752309 made changes to dump_vars role
    and make loose become, but it leads to permission denied while
    creating dump_vars_log_dir. Setting proper permission and
    enabling become fixes the issue.

    Closes-Bug: #1896439

    Change-Id: I4c6a0333cc2fc8cf4d042740baafc28b2e08a5ee
    Signed-off-by: Chandan Kumar (raukadah) <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Chandan Kumar (raukadah) (<email address hidden>) on branch: master
Review: https://review.opendev.org/752881

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.