running deploy with --stack-only results in error creating deploy artifacts

Bug #1934002 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Rabi Mishra

Bug Description

if you run an overcloud deploy with --stack-only, you get an error when the artifact copy is attempted (it probably shouldn't be)

2021-06-29 13:58:12.134 377432 ERROR tripleoclient.utils.utils [-] sudo failed: b"cp: cannot create regular file '/var/lib/tripleo/archive': No such file or directory\n": subprocess.CalledProcessError: Command '['sudo', 'cp', '/home/stack/overcloud-deploy/overcloud/overcloud-install-20210629175811.tar.bzip2', '/var/lib/tripleo/archive']' returned non-zero exit status 1.
2021-06-29 13:58:12.136 377432 ERROR tripleoclient.v1.overcloud_deploy.DeployOvercloud [-] Exception archiving deploy artifacts: RuntimeError: sudo failed: b"cp: cannot create regular file '/var/lib/tripleo/archive': No such file or directory\n"
2021-06-29 13:58:12.139 377432 ERROR tripleoclient.v1.overcloud_deploy.DeployOvercloud [-] sudo failed: b"cp: cannot create regular file '/var/lib/tripleo/archive': No such file or directory\n": RuntimeError: sudo failed: b"cp: cannot create regular file '/var/lib/tripleo/archive': No such file or directory\n"
2021-06-29 13:58:12.144 377432 INFO osc_lib.shell [-] END return value: None

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by "Alex Schultz <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/python-tripleoclient/+/798731
Reason: https://review.opendev.org/c/openstack/python-tripleoclient/+/798251

Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
Changed in tripleo:
milestone: xena-2 → xena-3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers