We create a subfolder with the plan/stack name under the
config_download_dir to store the config-downloaded artifacts.
Fix 'overcloud export' as users are not expected to specify
the path with the plan/stack name.
Change-Id: I994353a6d4aa6b72e9fecc5f61bf5314a5a94963
Related-Bug: #1884246
I493ec949e09a1a1a1745f4bf161bc6d3dc185e1e removed
tripleo_common.actions.config so these no longer should be mocked. This
causes build failures in dlrn.
If5053530eeadd277db091d60bc9095aa7f05d67f removed
AnsibleGenerateInventoryAction so we don't need to mock it.
Closes-Bug: #1884138
Change-Id: I9558f70d333b340bbd81065f014fc207f5ac6563
Only run tripleo-build-containers-ubi-8 when we touch the code that
builds container images.
Depends-On: I50e0b773273910ed7e4884d52106f07003d4e080
Change-Id: I8367fb3b140f38bb61a32dedafd36052897ce80b
As we aren't required to re-deploy any more during the converge step
the actions performed by the Upgrade Converge and Prepare are exactly
the same, the only difference is the lifecycle environment file we
use to set and unset parameters.
This patch refactors both classes, the UpgradePrepare and UpgradeConverge
clasess:
- UpgradePrepare: Stop forcing update-plan-only and then try to do most of the
actions from deployment into UpgradePrepare. This change will force config_download
to false (which will avoid running the full deployment and do only an stack update),
then download the config by invoking get_config from utils and lastly enable ssh
into overcloud nodes, as that part is perforemd in deployment only if config_download
is set to true. Add new attributes to UpgradePrepare so we can override them in
UpgradeConverge via inheritence.
- UpgradeConverge: Inherit from UpgradePrepare instead of DeployOvercloud. Set the
right value for the class attributes and let UpgradePrepare class do all the magic.
Change-Id: I6148511eb6ad1e3798a7bf40c721824830c7073d
In cases where we need to support TLS for pre-provisioned nodes, we need
to be able to enroll hosts without using novajoin. This commit detects
if an OTP is present but without novajoin enabled. If so, if uses a
separate composible service, without novajoin, to enroll the undercloud
as a FreeIPA host.
Change-Id: Id6d193ab10e43a5d2706705588269654073910cc
This change adds a CLI command to invoke hotfixes via the TripleO modify
image role. This CLI command will ensure a uniform experience for operators
when needing to apply a hotfixes to containers.
Change-Id: I364fb42a41b4cb4ae076f07704c72c6ea442a198
Signed-off-by: Kevin Carter <kecarter@redhat.com>
undercloud_enable_paunch isn't needed anymore since we retire Paunch
project.
There is no need of deprecating the option since it would have no effect
if set in undercloud.conf.
Change-Id: I9972d3e9826422cd6ab56c801ff93c4d2dfc8404
This change adds a v2 entry point to allow us to build images within the
native tripleoclient. Images will leverage the new
`tripleo_container_image_build` role which will produce simplified
container files and and an image structure inline with the simple
container generation spec.
Depends-On: https://review.opendev.org/722486
Change-Id: I279e95722fe7a10148d36c99c7179c33a3a767a0
Signed-off-by: Kevin Carter <kecarter@redhat.com>
Iff8eec43bd73bc6486f56e741e740869d1b8acbb adjusted ansible config for
custom 'tripleo_dense' and 'tripleo_profile_tasks' plugins.
That was not sufficient because of bug/1881254.
Align settings provided by run_ansible_playbook utility with that
Iff8eec43bd73bc6486f56e741e740869d1b8acbb provides for tripleo_common
shared ansible configuration module. That is to have:
- better coverage in CI jobs
- users experience as well.
Callbacks whitelist defaults switches to
tripleo_dense,tripleo_profile_tasks. And default output callback
becomes tripleo_dense.
Change-Id: I5e8bc9ac5cbf4a042b5cd7e27578092062839726
Related-Bug: #1881254
For the Container Image Build command, we need new functionalities from
the BuildahBuilder that were released after 12.4.0 tag.
This patch makes sure tripleo-common >= 12.4.0 is pulled in the Python
jobs.
Change-Id: I7651144cdb7142647b1c6303c4af4ba2ca2e2c58
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I4af25bbc8d990aa5e70ee63ba7477d2964872b3f
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I5b6045a798c3daded978a7d71030f81ab11a8a3f
Sem-Ver: feature
We set this to a new unique value or empty string
based on skip_deploy_identifier in tripleo-common.
As we don't have a way to compare an old DeployIdentifer
with a new DeployIdentifier in ansible, there is no
point in using the existing value from stack.
Change-Id: Ic52ce8ff38394df9f5234c257ce1affee7ff0791
It seems we want to output stack events irrespective of verbosity,
as per https://review.opendev.org/#/c/724856/. There is no point of
having all the useless logic for verbosity in wait_for_stack_ready().
Also fixes stack update for scale-down to list events.
Change-Id: I96a2a2255253aa2feac62b67ad5d5813e3126a20
flake8 new version 3.8.0 added new pycodestyle with new rules.
The new hacking version 3.0.1 caps flake8<3.8.0.
Change-Id: I27e40bddf7173b39a0f30c0763b6bba31f0ae6b9
This change will ensure that an ansible.cfg file stored in the config-download
directory is used and persists across runs.
Change-Id: I3b546921689d00b2cc1bde5a4d09363e65df79b5
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change restores the ability to set environment variables on the CLI
to augment or change ansible behaviours. Somewhere along the way, this
capability was lost which can have a negative effect on CLI interactions
and UX.
Change-Id: Ieef1c7a07064a88bee43a1f4d9005007bfeb7c43
Signed-off-by: Kevin Carter <kecarter@redhat.com>