undercloud install artifacts no longer saved after generation
Bug #1921975 reported by
James Slagle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
James Slagle |
Bug Description
Patch https:/
we need to fix tripleo deploy to make sure the tarball is saved and use a consistent working directory, not just the home dir. Especially since tripleo deploy can be used to deploy multiple different stacks, we have existing file collisions when everything is defaulted to just use the same directory.
Changed in tripleo: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → wallaby-rc1 |
assignee: | nobody → James Slagle (james-slagle) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /python- tripleoclient/ +/783993 /opendev. org/openstack/ python- tripleoclient/ commit/ ecafbae4ee7c403 a3ef62e362c2615 85aabbec5c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ecafbae4ee7c403 a3ef62e362c2615 85aabbec5c
Author: James Slagle <email address hidden>
Date: Tue Mar 30 22:15:41 2021 -0400
Use a consistent working directory for tripleo deploy
When /review. opendev. org/c/openstack /python- tripleoclient/ +/775302 archive_ deploy_ artifacts, but the tripleo deploy code was not
https:/
merged, it changed the function signature of
utils.
updated to pass the right arguments. This caused the templates directory
to be considered the working directory and the artifact tarball was
generated in that directory, and then promptly deleted during the
cleanup phase.
This patch updates tripleo deploy to pass the right arguments to deploy_ artifacts, and also use a consistent working directory
archive_
based on the stack name under ~/tripleo-deploy instead of defaulting to
the home dir. This is a cleaner approach than just leaving all the files
in the home dir, especially given that tripleo deploy can deploy
multiple stacks, and if the same directory was used as the default,
there would be file collisions.
Closes-Bug: #1921975 811b94503c55902 9aeeaca6a06
Signed-off-by: James Slagle <email address hidden>
Change-Id: Idded7faba1ff6c