Issue #7359
closedpulplift dev environment is failing to build
Description
TASK [pulp_common : Make /var/lib/pulp world executable] ***********************
fatal: [pulp3-source-fedora32]: FAILED! => {
"changed": false,
"path": "/var/lib/pulp"
}
MSG:
file (/var/lib/pulp) is absent, cannot continue
Added by Mike DePaulo over 4 years ago
Added by Mike DePaulo over 4 years ago
Revision 6582bcef | View on GitHub
Problem: pulplift dev environment is failing to build
Solution: Always create pulp_user_home . And give it owner user rwx permissions also.
Updated by Anonymous over 4 years ago
- Status changed from NEW to MODIFIED
Applied in changeset ansible-pulp|6582bcefe76780cf1c82b0119f8e515ac2a3c3c7.
Updated by binlinf0 over 4 years ago
We got the below error when upgrading to latest the 3.6.0-1 TASK [pulp_common : Set group on all files in '/var/lib/pulp'] ********************************************************* fatal: [pulp3-1]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0777", "msg": "/var/lib/pulp already exists as a link", "owner": "root", "path": "/var/lib/pulp", "size": 13, "state": "link", "uid": 0}
The reason is /var/lib/pulp includes all packages and is over 3TB in our case. We create a link /var/lib/pulp pointing to a large file system before running the installer. As the result, it fails because /var/lib/pulp is not a directory. It will be better to check if /var/lib/lib/pulp exist. Only create the directory if it doesn't exist as a link.
Updated by ttereshc about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Problem: pulplift dev environment is failing to build
Solution: Always create pulp_user_home . And give it owner user rwx permissions also.
fixes: #7359 https://pulp.plan.io/issues/7359