This introduce needed changes to be able to deploy an additional
cell via oooq. If additional_cell is set to true after the
overcloud got deployed the additional cell gets deployed. Todo
this information gets extracted from the overcloud stack, which
is requried as input to the second heat stack, where the additional
cell is managed with. As a reference [1] is the scenario which
is installed adding a single additional cell.
config/general_config/featureset063.yml is used for the configuration
and config/nodes/1ctlr_1cellctrl_1comp.yml has a nova config
example.
[1] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deploy_cellv2_basic.html
Depends-On: https://review.opendev.org/691688
Depends-On: https://review.opendev.org/704661
Change-Id: I2de781fcec64e862bde34929547b578d2af0c16c
- Fixes 206 errors and removed the skip.
- Also replaces revision with latest tag (pushed today)
Bug: https://bugs.launchpad.net/tripleo/+bug/1848512
Change-Id: I69d75ba9de8ab0e91eb45fd4f9febfdb28cdcb3a
The openstack undercloud deploy command has been deprecated and will be
removed. This change removes the support for this method via the
undercloud-deploy role.
Change-Id: I4c6a46d9dcee4efc38a3de682ecffacf529288b8
Sometimes container or service does not start, and this
doesn't make the CI fail. Until now, the failed containers
are listed in the /var/log/extras/ tree, but it's not
checked on a regular basis.
This patch intends to make a hard failure in case either
a service or a container doesn't start as expected.
Co-Authored-By: Cédric Jeanneret <cjeanner@redhat.com>
Related-Bug: #1816523
Change-Id: I001e2f27d2b562bb0be87c8eaadcf3622e530498
Upgrades yamllint to latest version and adots use of its strict
checking.
Fix all known problems reported by yamllint so we don't have to do
that while touching these files.
Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
It had been missing for some places and now that
technical debt gets addressed.
Depends-on: Iaef2671acf516b7e89358984a0d8a59555fc91f0
Change-Id: I887d5bccc6bd5c514348d8ebfc7c13f0bcdc217d
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Now that we have --use-heat mode by default, allow
to alter the default location of tripleo heat templates for
undercloud as well.
Move related cleanup and output dir to the expected DEFAULT
namespace.
Related-bug: #1749683
Change-Id: I050c09c4447fa45dd6e82dc3199bec60b1a10696
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This patch contains changes to deploy a containerized undercloud by
using: "openstack undercloud install --use-heat" command.
Details of the changes:
- The experimental containerized undercloud deployments driven via
`undercloud deploy` CLI is not supported anymore for Pike.
- overcloud-prep-containers: fix an jinja2 syntax issue with "is defined"
- overcloud-prep-images: "--http-boot=/var/lib/ironic/httpboot" is
added to the "openstack overcloud image upload" command.
- undercloud_rpm_dependencies parameter has been created, default to
undercloud_tripleo_pkg value.
- Remove "undercloud_tripleo_pkg" so we only use
"undercloud_rpm_dependencies". Note that "undercloud_tripleo_pkg"
was only used in this repository.
- Remove "undercloud_update_packages" option which was technical debt.
- Add "undercloud_install_cli_options" option which is used to add extra
options to "openstack undercloud install" command.
- Add "undercloud_container_images_file" which is the environment file
with default parameters for containers to use with undercloud install CLI.
- Add "undercloud_custom_env_files" which provides custom t-h-t env files
for the "undercloud install" `undercloud.conf` interface.
- Generate the undercloud prep containers script. This script will
reproduce what we expect from our users to run with
"openstack overcloud container image prepare" command, for the
undercloud.
- Update undercloud-deploy.sh.j2, remove tech debt and update for new
bits.
- Install heat libraries and other dependencies for containerized UC
from python-tripleoclient-heat-installer. This should go away
once python-tripleoclient installs python-tripleoclient-heat-installer
automatically.
- Update undercloud-install.sh to use undercloud_install_cli_options
which is empty by default but will be used in the container-undercloud
featureset to override with the right parameters.
Partially-Implements: bp containerized-undercloud
Co-Authored-By: Bogdan Dobrelya <bdobreli@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Co-Authored-By: Ian Main <imain@redhat.com>
Co-Authored-By: Martin André <m.andre@redhat.com>
Co-Authored-By: Wes Hayutin <weshayutin@gmail.com>
Change-Id: I7d056b208d5ac0639e3277f3f4ae453a9ee639e8
The tripleoupstream registry is deprecated in favor of tripleomaster,
where images are pushed automatically on rdo promotion.
Change-Id: I84724efedb6e7ff967469d0e4277aa6fd9538748
This modification reintroduces the tags for all the task inside the main
playbooks quickstart-extras-*.yml.
This is related to the tags topic [1] and is meant for developers who
wants to have atomic access to each step of the deployment.
[1] https://bugs.launchpad.net/tripleo/+bug/1657415
Change-Id: Icd645ee9003bafb8988a6430280ab4b7ad5ff34f
Images for containerized underclouds can be parametrized differently
as for overcloud deployments. For example, undercloud may fetch images
from a promotion pipeline, while overcloud may consume those from the
local registry hosted undercloud.
Align the containerized undercloud case with the recent changes docker registry
host, namespace and tag defaults. Consumed these from the common defaults, yet
allowing to diverge.
Fix conditions for undercloud-deploy to always prepare undercloud images for
containerized underclouds. If built locally with kolla, the undercloud_docker_*
parameters should point to a local registry. If fetched from remote registry,
the same logic applies. Altering `undercloud_docker_*` allows to cover
such cases.
Add the missing `undercloud_docker_registry_tag` parameter. Allow omitting
`undercloud_docker_registry_port`, when a registry host value does not require
a port, like 'docker.io' host.
Closes-bug: #1733800
Change-Id: Ic3d448c8215f44a957711e666a34e78482d8100d
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Add custom_undercloud_roles_data. Defaults to t-h-t's
/roles_data_undercloud.yaml. Defines a custom undercloud roles
data file which should be taken into account when
preparing docker images for containerized undercloud services
deployment. The default can not be changed yet as it is hardcoded
in the tripleo client.
Related-bug: #1693448
Change-Id: I38bd7beefa59ef56f6f4df91715a808d4b8c228e
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.
Change-Id: I4ac82085e9316e0e01b34ac5dceb839f17da7d7e
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.
[0] https://review.openstack.org/#/c/472275/
Change-Id: I94aadd9514aa95e885517d9a5aae8efcc379791f
* Parametrize network settings for undercloud deploy to align with
the undercloud install's undercloud.conf and nova-join's DNS
config steps.
* Move the undercloud nameservers defaults to the extras-common.
* Support extra deploy args for 'openstack undercloud deploy'.
Defaults to the heat-native mode, may be altered to containerized
heat-all agents, and other args like keep-running, if wanted.
* Support custom t-h-t templates for underclouds as well (shares
the custom t-h-t script and vars with the overcloud-prep-config)
* Template prerequisite packages installed by the
undercloud-install.sh script. These should be moved to the
tripleoclient's 'openstack undercloud deploy', eventually.
* Allow requested dev env packages to be updated by the
undercloud-install.sh script (defaults to update nothing,
which is backwards compatible). Note, this has nothing to the
prerequisite packages.
* Document missing variables for the undercloud-deploy role.
* Document hacking dev branches for customized underclouds.
Related-bug: #1691467
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Change-Id: Id32f492369dc74428bde8c4120308279cbba53fc
Running quickstart with OVB needs to work with multiple host
clouds where different flavor sets are available.
This review:
* Adds variables to the flavor specifications so that they can be
overwritten by config files per host cloud environment
* Adds functionality to clean up stacks and keypairs
from the host cloud environment
* Includes cloning the Openstack Virtual Baremetal repo
within the ovb-manage-stack role
* Deletes the clouds.yaml file so it is not available,
with the tenant password exposed for longer than
necessary to create or delete the stack
* Changes the default key location to use
the user's default key on the undercloud
Change-Id: I5f0f7327a2509ef889b80a35024478b13df2c2a9
* Remove the all-in-one case and implement the full workflow
for N to O upgrade.
* Fix nits in overcloud-repo and add ansible-pacemaker
* Remove old and useless workaround
* Remove external dependencies, this role is a post deployment role
it should be able to be call independently, outside of a quickstart
deployment
Change-Id: Ia2b1f5deb58560c51046dea3fc77996b08ad75a2
There was a misconception and thus it ended up in a misleading name for
the hieradata overrides set up by quickstart. Thus, the hieradata
overrides that were there before ended up being called the "overcloud"
hieradata, even though it's not used in the overcloud at all. In
reality, it was being used by the classic undercloud install and is used
to configure extra bits from the undercloud OpenStack deployment.
Thus I changed the names to reflect the actual meaning of these files.
Change-Id: I6504f03706c81becea5c38b03ef619a5613c544c
For Newton releases, the nodes registration and boot configuration are
done through the same command. The 'openstack overcloud node import'
is doing now the following steps:
1- importing baremetal nodes from the instackenv.json files
2- the node status will be set to 'manageable' by default
3- Assigning the deployment kernel and ramdisk to all nodes
Change-Id: I64ccbf01b0812c97c6b4474930f221b2380da5d4
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
The references to Heat command are deprecated from Mitaka release and we should
now be using the OpenStack CLI instead.
Change-Id: Ib05e65b81c25ec695c59b9d443df69814728f67a
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit adds a ReNo release note for the deprecation of 'multi-nic'
starting in the 'R' release.
Change-Id: If1b2601dda2fdee49a5ef375417750021ea5f4b6
Depends-On: I5f78b908fe41a1304295fad4e0187d049b16fa80
It currently just supported disk hints by size. Add the
possibility to give root device hints by any or the ironic
supported properties.
Change-Id: Ifcca245b67077a903fca5dac8f1cb73b6423cf6c