openshift / openshift-ansible-contrib

Additional roles and playbooks for OpenShift installation and management
https://www.openshift.com
Apache License 2.0
283 stars 371 forks source link

cp: cannot stat ‘/etc/pki/ca-trust/source/anchors/*’: No such file or directory #1093

Closed ironicbadger closed 4 years ago

ironicbadger commented 5 years ago

BUG REPORT INFO

Environment

[root@ocp311-m1 scripts]# printf "$(uname -srm)\n$(cat /etc/os-release)\n"
Linux 3.10.0-957.12.2.el7.x86_64 x86_64
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Employee SKU"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

===

Running the master backup script at the end of the first section here causes an error thus:

[root@ocp311-m1 scripts]# ./backup_master_node.sh 
Exporting OCP related files to /backup/ocp311-m1/20190521
Exporting other important files to /backup/ocp311-m1/20190521
cp: cannot stat ‘/etc/pki/ca-trust/source/anchors/*’: No such file or directory

Touching a file into this directory allows the script to continue successfully.

Fresh OCP enterprise 3.11.98 cluster install in a lab environment, no users.

openshift-bot commented 4 years ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale