This simply stores the data structure in the network_data
and roles_data YAML files provided with the -n and -r
options when deploying the overcloud.
This can be generally useful for troubleshooting.
Also the 'overcloud node extract provision' command rely
on the roles data source. Storing it in the stack means
we can get to the data in case the user missplaced the
file originally used, or in the case where we want to
automate the process for all deployed stacks.
NOTE: The idea is to backport this to the release intended
as the upgrade from release, so that the follow on change
Icc6a7a438e9d0f39d003d1cf8ed84d6fb1d5485a can use it during
upgrade.
Related: blueprint network-data-v2-ports
Change-Id: I1efecdcd7afa6af3e6b4b26f4435198836db535f
Run the commands to export the current stack's networks,
virtual IPs and provisioned server as part of the
OS::TripleO::UndercloudUpgradeEphemeralHeat service script.
The network, virtual IP definitions and baremeteal deployment
definition will will be stored in each stacks subdirectory in
the working-dir.
The user must provide the path to the roles data file for each
overcloud stack managed by the undercloud being upgraded.
For example, by adding a file with below content and including
this env file using the 'custom_env_files' option in
undercloud.conf.
parameter_defaults:
OvercloudStackRoleDataFileMap:
overcloud: /home/centos/overcloud/my_roles_data.yaml
Related: blueprint network-data-v2-ports
Change-Id: Id04a4f71f923a25fd50ca78e478a9b5abb61bbb9
Adds a ephemeral heat service that ensures the containers are fetched on
the system and tagged specially for usage later with the overcloud
deployment process. After the service deploys, the following container
images should be available on the local system.
localhost/tripleo/openstack-heat-all:ephemeral
localhost/tripleo/openstack-heat-engine:ephemeral
localhost/tripleo/openstack-heat-api:ephemeral
Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/796614
Partial-Bug: #1931995
Change-Id: I923856c83c14eb54073684ace93e9e1e85f53329
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Signed-off-by: Alex Schultz <aschultz@redhat.com>
This patch changes the template references from ceph-ansible
to cephadm, using the new role provided by tripleo-ansible.
Since the Ceph dashboard requires a new -stable Ceph
container which is not yet released, the monitoring stack
deployment is disabled.
Depends-On: Ief63794bebf1050744e1a54e554f5234d6337373
Depends-On: Ifaa37eebf0759ec8861de86266c0a0dd686cc6b3
Change-Id: Id33995996d930d06b65b51f72466120eb74ca467
Though we still have the option to enable mistral
in the undercloud, we don't use it for overcloud
deployment.
Note: We can get rid of UndercloudPostPy* resources once
nova is not supported for node deployment.
Change-Id: If256b2b70f3a62648eb9563903c2adfb9b31fea9
Switch container puppet tasks to use the module for management rather
than the tripleo_container_manage role which has a bunch of unrelated
tasks.
Change-Id: I4398322a02f6f899ea226b60336da83fc841812f
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/796884
Currently this management occurs every time we include
tripleo_container_manage. We only need to manage the tripleo container
shutdown service once during a deployment. This change moves it to a
deployment step and there is a subsequent tripleo-ansible patch to drop
it from tripleo_container_manage.
Change-Id: I1c31042e05307733d0f9b4c6223b9a34df599eca
We need to ensure that os-net-config is run on upgrades. On the
undercloud we want the os-net-config to always run so let's set the
NetworkDeploymentAction correctly.
Change-Id: I749714c1f0af3787020f3e9b88f752d272b91d37
Related-Bug: #1930151
This patch adds 3 new role specific THT parameters to configure OVS DPDK
pmd auto balance feature, OvsPmdLoadThreshold (PMD load threshold)
OvsPmdImprovementThreshold (variance in PMD improvement threshold)
OvsPmdRebalInterval (minimum time between 2 consecutive
PMD auto load balancing iterations).
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/790251
Signed-off-by: yogananth subramanian <ysubrama@redhat.com>
Change-Id: Id74ba956cf29241c93849602ab05c21c1ccb2b06
When Swift is running in single replica mode, rsync is pretty much
useless - there is no counterpart to transfer data.
On the undercloud this also prevents misleading error messages if
xinetd is running and already using port 873.
Change-Id: I7e22dbe287bf9c93438717c08a3ceb1998445b93
This patch updates the way files related to iscsi are distributed
to the cinder, glance and nova containers that use the protocol.
Previously it was thought that only the iscsid container needs
access to /etc/iscsi/iscsid.conf, but the LP bug reveals the client
side also reads the file in order to determine the list of chap
algorithms to offer when initiating an iscsi connection.
The bug was exposed when testing a secure environment that uses a
non-default list of chap algorithms. The iscsid container was using
the customized list, but the client containers (e.g. nova) were
using the default list, which caused iscsid to reject connections.
Closes-Bug: #1932181
Change-Id: Iad255451726867dc172404513fdac4ad0599c4c0
This patch removes PciPassthroughFilter from
NovaSchedulerAvailableFilters definitions when
"nova.scheduler.filters.all_filters" presents in the list:
PciPassthroughFilter is part of nova.scheduler.filters.all_filters
and there is no reason to define it separately.
Closes-bug: #1932146
Change-Id: Ief8f157c3a758c398aa0e6791dea75c035393ee8
This patch introduces the logic of adding and setting the rbd mirror
parameters required, later in the process, by cephadm.
By doing this we can not only deploy the rbd-mirror daemon (via the
cephadm spec file), but also run a set of ceph commands to properly
configure mirroring on a given pool.
Depends-On: I0d1ce33270ccf8636925c3534812c3b1cf650103
Change-Id: I7b20399d55c3de82c8aeddc3317c9972409217da
Adds a post_upgrade_task to remove the puppet-ceph package which
is no longer required.
Also see change I9cd63ee34dfd964f18a33043980703660b0a55d7 for
the ceph-ansible version.
Change-Id: I74874b81002fe435752a5cd724d2df9683b0cdbf