facter cache fails if facter.conf is a directory because it was mounted via docker
Bug #1852606 reported by
Alex Schultz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alex Schultz |
Bug Description
If a user updates their facter of their running cloud and has a docker-puppet.py run prior to the facter cache running, the file location is created as a directory by docker. This causes the deployment to fail:
TASK [Write facter cache config] *******
fatal: [localhost]: FAILED! => {\"changed\": false, \"msg\": \"can not use content with a dir as dest\"}
\tto retry, use: --limit @/var/lib/
We should check if the facter.conf exists prior to running and make sure it's a file.
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/694342
Review: https:/