Fedora Infrastructure Ansible Repository
Find a file
Miroslav Suchý 6fc7230adb retrace: create /srv/faf
addressing:
TASK [abrt/faf : run database migrations] *******************************************************************************
Friday 06 March 2020  07:56:21 +0000 (0:00:00.045)       0:04:59.958 **********
fatal: [retrace-stg.aws.fedoraproject.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": true, "cmd": ["faf-migrate-db"], "delta": "0:00:01.301859", "end": "2020-03-06 07:56:23.505802", "msg": "non-zero return code", "rc": 1, "start": "2020-03-06 07:56:22.203943", "stderr": "[2020-03-06 07:56:23] ERROR:faf.SaveReports: Required directories can't be created: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied\nTraceback (most recent call last):\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 140, in ensure_dirs\n    os.makedirs(dirname)\n  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs\n    makedirs(head, mode, exist_ok)\n  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs\n    makedirs(head, mode, exist_ok)\n  File \"/usr/lib64/python3.6/os.py\", line 220, in makedirs\n    mkdir(name, mode)\nPermissionError: [Errno 13] Permission denied: '/srv/faf'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/bin/faf-migrate-db\", line 27, in <module>\n    from pyfaf.common import get_connect_string\n  File \"/usr/lib/python3.6/site-packages/pyfaf/__init__.py\", line 25, in <module>\n    from . import cmdline\n  File \"/usr/lib/python3.6/site-packages/pyfaf/cmdline.py\", line 22, in <module>\n    from pyfaf.actions import actions\n  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/__init__.py\", line 106, in <module>\n    load_plugins(Action, actions)\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 113, in load_plugins\n    result[plugin.name] = plugin()\n  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/save_reports.py\", line 69, in __init__\n    self.dir_attach_saved, self.dir_attach_deferred])\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 145, in ensure_dirs\n    .format(dirname, ex.strerror))\npyfaf.common.FafError: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied", "stderr_lines": ["[2020-03-06 07:56:23] ERROR:faf.SaveReports: Required directories can't be created: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied", "Traceback (most recent call last):", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 140, in ensure_dirs", "    os.makedirs(dirname)", "  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs", "    makedirs(head, mode, exist_ok)", "  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs", "    makedirs(head, mode, exist_ok)", "  File \"/usr/lib64/python3.6/os.py\", line 220, in makedirs", "    mkdir(name, mode)", "PermissionError: [Errno 13] Permission denied: '/srv/faf'", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", "  File \"/bin/faf-migrate-db\", line 27, in <module>", "    from pyfaf.common import get_connect_string", "  File \"/usr/lib/python3.6/site-packages/pyfaf/__init__.py\", line 25, in <module>", "    from . import cmdline", "  File \"/usr/lib/python3.6/site-packages/pyfaf/cmdline.py\", line 22, in <module>", "    from pyfaf.actions import actions", "  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/__init__.py\", line 106, in <module>", "    load_plugins(Action, actions)", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 113, in load_plugins", "    result[plugin.name] = plugin()", "  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/save_reports.py\", line 69, in __init__", "    self.dir_attach_saved, self.dir_attach_deferred])", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 145, in ensure_dirs", "    .format(dirname, ex.strerror))", "pyfaf.common.FafError: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied"], "stdout": "", "stdout_lines": []}
2020-04-24 21:34:26 +02:00
cache_plugins try a custom cache plugin, then. 2020-04-24 21:34:15 +02:00
callback_plugins fedora_messaging_callback: This should be a } not a ) 2020-04-24 21:34:16 +02:00
files bodhi: patch error templates while waiting for a release 2020-04-24 21:34:26 +02:00
filter_plugins Drop another place where openshift_pseudohosts_stg is. 2020-04-24 21:34:15 +02:00
handlers autocloud: fare well autocloud, you served long and well... 2020-04-24 21:34:17 +02:00
inventory remove the defined eth0 from hostvars so that nagios will work for openqa 2020-04-24 21:34:26 +02:00
library openstack: remove more lingering files and playbooks and libraries. 2020-04-24 21:34:26 +02:00
playbooks Revert "retrace: temporary disable" 2020-04-24 21:34:26 +02:00
roles retrace: create /srv/faf 2020-04-24 21:34:26 +02:00
scripts fix hosts_with_var_set script 2020-04-24 21:34:26 +02:00
tasks aws_cloud: don't skip facts gathering 2020-04-24 21:34:25 +02:00
vars RHEL8 cloud image does not have iptables-services installed 2020-04-24 21:34:26 +02:00
.gitignore [release-monitoring] Add librariesio consumer 2020-04-24 21:34:09 +02:00
.mailmap Add a .mailmap to map all my commits to one author in git shortlog. This is purely for my sanity, but also demonstrates how someone else could do similarly if needed. 2018-08-27 22:56:55 +00:00
CONVENTIONS Fix typo in doc 2016-04-04 14:33:21 +00:00
master.yml inventory / playbooks: remove a bunch of old cloud hosts that will be powered off tomorrow 2020-04-24 21:34:25 +02:00
README A whitespace change. Is it committing right? 2020-04-24 21:34:16 +02:00
README.md Add readme 2018-11-22 21:52:38 +01:00
STYLEGUIDE style: add initial style guide 2019-06-21 20:53:30 +00:00
TODO test 2018-05-09 02:55:42 +00:00

Fedora Infrastructure

Welcome! This is the Fedora Infrastructure Pagure project.

issues against this project are for issues in Fedora Infrastructure.

git repo of this project is misc scripts and tools for Fedora

If you are looking for the Fedora Infrastructure ansible repo, that is not here, look at:

https://infrastructure.fedoraproject.org/cgit/ansible.git/

If you would like to help out with Fedora Infrastructure, see:

https://fedoraproject.org/wiki/Infrastructure/GettingStarted and https://fedoraproject.org/wiki/Infrastructure_Apprentice