SameFileError if using workdir copy when running node provision

Bug #2008456 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Harald Jensås

Bug Description

Run:
openstack overcloud node provision \
  --output /home/stack/templates/overcloud-baremetal-deployed_2.yaml \
  overcloud-deploy/overcloud/tripleo-overcloud-baremetal-deployment.yaml

Result:
SameFileError: File "/usr/lib64/python3.9/shutil.py", line 244, in copyfile raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) shutil.SameFileError: '/home/stack/overcloud-deploy/overcloud/tripleo-overcloud-baremetal-deployment.yaml' and '/home/stack/overcloud-deploy/overcloud/tripleo-overcloud-baremetal-deployment.yaml' are the same file '/home/stack/overcloud-deploy/overcloud/tripleo-overcloud-baremetal-deployment.yaml' and '/home/stack/overcloud-deploy/overcloud/tripleo-overcloud-baremetal-deployment.yaml' are the same file

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/python-tripleoclient/+/874988

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (stable/zed)

Change abandoned by "Harald Jensås <email address hidden>" on branch: stable/zed
Review: https://review.opendev.org/c/openstack/python-tripleoclient/+/874985
Reason: branch not maintained.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (stable/wallaby)

Change abandoned by "Ghanshyam <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/python-tripleoclient/+/874988
Reason: TrieplO project is retiring now, for details, please see https://review.opendev.org/c/openstack/governance/+/905145 or reach out to OpenStack TC.

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.