The config download command no longer works with
ephemeral Heat. We can already achieve the same
functionality using overcloud deploy with the
--stack-only flag.
As such, this change is removing the no longer functional
config download command.
Change-Id: Ieb52658aaf9ebff95cec1dd80eaf2556e75eef8c
There is a new feature for Backup and Restore that replaces the ReaR
operations with a simple and fast LVM snapshot. This change enables the
operator to take snapshots using the openstack overcloud backup
snapshot command.
Change-Id: I975dada7dc559f708f4b9b0cba6328c87befb5bd
... because the current master should be compatible with the Zed
release of the other projects. This effectively removes testing on
Python 3.6 and only Python 3.8 and 3.9 will be tested.
Python 3.6 and 3.7 are removed form classifiers because these are no
longer supported.
Related-Bug: #1974244
Change-Id: Ibafdb84e5573d74c02874dc0531a6645195a8b5f
With Emphemeral Heat, there is no Heat stack
to update in the converge step. This change
removes upgrade converge in-line with changes
that have also been made to update converge.
Change-Id: I01a2f577a0e4dd32a898d3d459a950aef2d54f2f
Python 3.9 is part of tested runtime for Yoga and used in unit tests.
Also, it is the default Python version in CentOS 9 and we are not aware
of any compatibility issue.
Change-Id: Ie71c0a4c376755ff18f6e868a261a0f914ff4542
We have been running unit tests in Python 3.8 , so it'd be safe to
states we support it. Functional tests will be covered mostly by
CentOS 9 jobs but so far we haven't seen any direct breakage caused by
python versions.
Change-Id: I77c729512113106db45cfdac6f87884fc29ad965
This command may be used to create a cephadm spec file as
a function of the output of metalsmith and a TripleO roles
file.
Calls cli-deployed-ceph.yaml with ceph_spec tag so users
may create the Ceph spec in a separate step from the Ceph
Deployment. The Ceph spec file may be then be passed to
"openstack overcloud ceph deploy".
Also, supports a --standalone feature which directly calls
the ceph_spec library in tripleo-common in the depends-on
chain. As Ansible is used less the tripleo-pythonclient can
use the ceph_spec library directly for more than just the
--standalone feature.
Depends-On: Id771a6075b626f6ec853be17384d3bdd7c327c53
Change-Id: Icd18de08ebc818441e45ff7ce9f348fbc5813253
Add `openstack overcloud ceph user enable | disable`
command line option. As requested by those who wish to
disable cephadm and the user which supports it after
deployment. The SSH user and cephadm may be re-enabled
when it is necessary to administer the Ceph cluster.
This also allows the cephadm SSH user to be created
in a separate step.
Add --skip-user-create to 'openstack overcloud ceph deploy'
in case 'openstack overcloud ceph user enable' was used to
handle that step earlier.
Depends-On: I648cdf8c8920c120049f05f13f8b7b73513899f1
Change-Id: Ibd4513183f59ebb94d841a847ecfab0425ba8f5a
The following commands have been removed:
overcloud container image upload
overcloud container image build
overcloud container image prepare
overcloud container image tag discover
They were replaced by the tripleo container based commands and no longer
function.
Change-Id: Ic1f4d76c9e7bf3579b7e47d87b0ee2c86251c0d6
- Adding a new command overcloud backup restore for running the
the restoration process. This command includes a required
argument for specifying the node "--node-name".
- tests/v1/overcloud_restore/test_backup.py added for
unit testing the command
Change-Id: Id78443453718f8174bf95ad9209e7163b6afef64
Update converge is largely unnecessary now with
ephemeral Heat. There is no Heat stack to update,
so we are doing nothing more than executing a
standard deployment using Ansible. Removing
the requirement for update converge will simplify
the process and improve user experience by reducing
the time it takes to perform minor updates.
Depends-On: https://review.opendev.org/c/openstack/tripleo-upgrade/+/810134
Change-Id: I750a733b722353d1ea0c6f904bafc769d7ddb9ff
The new "openstack overcloud ceph deploy" is used to deploy
Ceph after the hardware has been provisioned with networking
and before the overcloud is deployed. The command takes the
output of "openstack overcloud node provision" as input and
returns a Heat enviornment file, e.g. deployed_ceph.yaml,
as output. The deployed_ceph.yaml file may then be passed
to the "openstack overcloud deploy" command as input.
Change-Id: Ie0032190f0c07fd47a36a1915c02f0ba1a9ae2a4
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ic09b4713ad38a93b7ff0abda7b6a81c2f64c1f40
This revert is done due to several reasons:
* The move of the CLI wont be backported in the stable branches so
we will have to maintain one CLI in tripleo-validations for Master
and tripleoclient for the older branches
* We plan to form tripleo-validations as an Ansible collection so
having the dedicated tripleo validations CLI outside now make sense
* We are creating a core CLI in the framework itself in order to converge
all the logics in one uniq place. The tripleoclient implementation will
be only caller on top of this, without almost no logic in the code, just
a specific tripleo layer
Change-Id: Iac8601399a835e55b53c4820e280e255f624ceec
Add command to extract Virtual IPs information from
a deployed overcloud. This writes a 'vip_data' file
that should be used when managing neutron Virtual IP
resources "outside" the overcloud Heat stack.
Add command to provision Virtual IPs using 'vip_data'
file as input. This command will output a
'vip_environment' file with the resource_registry and
paramters to replace the neutron resources in the
overcloud Heat stack.
Depends-On: https://review.opendev.org/774857
Partial-Implements: blueprint network-data-v2-ports
Change-Id: Id9b5c621c25158bb72559c3d3c52a62c840b3a6a
Add a new subclass, HeatPodLauncher to launching an emphemeral Heat
within a podman pod. The pod contains separate processes for Heat API
and engine, allowing for multiple engine workers (defaults to cpu
logical core count / 2).
The pod makes use of the undercloud's already installed database and
message bus.
Change-Id: Ie8b4a5ca83284f66dceae32c6f2fc99cdc8c9ffb
Signed-off-by: James Slagle <jslagle@redhat.com>
Now that the plan is gone, you can just use an environment
file with the new parameters. This was mostly useful with
tripleo-ui which leveraged the plan.
Change-Id: I998cc9631e15677939e2b8f7a112ccba5606662d
- fixes two issues identified by newer flake8
- upgrades flake8 and keeps it pinned
- removes hacking as this is no longer needed, as pre-commit does
its own pinning.
- enables us to easily add other linters, pylint would come in
follow-up
Change-Id: If26234fad0cd982bd7d3dc23c42021b357c6bde9
Related-Bug: #1910543
This patch remove tripleo validator from tripleoclient to
tripleo-validations repository.
The change is related to the effort to make the validation
act as a plugin/component on top of tripleo and not being
part of the core of tripleo.
Change-Id: I1e08eb07ce1f0d138f9c5101b9fe770c5da9b3f9
Add a new command to export Ceph information from one or
more Heat stacks to be used as input of another stack.
Creates a valid YAML file with the CephExternalMultiConfig
parameter populated.
Also have export's export_password use yaml.safe_load in
place of the deprecated yaml.load.
Closes-Bug: #1895034
Change-Id: Ibdf9115e92c6b476b99d6df785b0c7e9f23991de
Now that the FFU process relies on the openstack overcloud upgrade
commands there is no need to keep the old ffwd-upgrade command
available.
This patch removes the three ffwd-upgrade (run, prepare and converge)
as well as their tests, utils functions and constants.
Change-Id: If0c0ed9a44a51cf367fd060c77e10055f367694c
To keep consistency between class names for the upgrade
library, this patch renames the UpgradeConvergeOvercloud
into UpgradeConverge.
Change-Id: Ib73a803bf24af876c00583b3793e828fb528a26d
These translation sections are not needed anymore, Babel can
generate translation files without them.
Remove babel.cfg as well, this is the default role and not needed
anymore.
also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html
Change-Id: I8a5b7c3fc87a27c774deb368b877a9697ba320f3
This will allow administrators to perform a backup of the undercloud or
overcloud from the existing backup and restore role which is included
in the tripleo-anisble project.
Depends-on: https://review.opendev.org/720087
Change-Id: If25b71ae4d12208875d0fbcd9e16188a6f018f99
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>
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>
As a first step to upgrade to a nova-less undercloud, the baremetal
deployment yaml which represents the current overcloud needs to be
built.
This command builds the yaml for an existing overcloud using the
heat stack output AnsibleHostVarsMap and a list of all baremetal
nodes. When the generated yaml is used to run "openstack overcloud
node provision" no changes will be made to any nodes.
Blueprint: nova-less-deploy
Change-Id: I47c885697bf36b999fd0ad9bd99a23990440ed62
This was added to fetch the ansible errors via mistral api. We had
long removed the json_error.py callback plugin that used to write
ansible-errors.json, when moving ansible code to tripleo-ansible
repo and the command is useless now. Also, users won't need it as
they can get the errors from ansible.log.
Change-Id: Iceb4c282f3ae9fcb2c3836263ba66f5792e42334
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I45b5b8582b67b39823a6e21221c491842b390b96
This inteface is probably not used and does not work by default as
we've disabled os-collect-config on overcloud nodes since rocky.
This uses heat software deployments and swift temp url based signaling
which does not go with config-download and ansible based roadmap without
mistral and swift.
If required users/operators can write custom playbooks to do additional
configuration required on nodes.
Change-Id: I931bae6953b00290c006a02cc24c6c9718d5d6ac