Commit Graph

31 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Martin Schuppert 5b6d26c821 Add nova cellv2 multicell support
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
2020-02-03 18:17:27 +00:00
Sorin Sbarnea 1c6b947bf2 ansible-lint: removed skip of 206
- 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
2019-10-25 17:15:40 +01:00
Alex Schultz 9fd5582e18 Remove undercloud deploy support
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
2019-06-28 13:29:49 -06:00
jacky06 990ae08eb8 Fix some wrong URLs
1. fix some wrong urls
2. Remove unncessary "=="

Change-Id: I97fe837fc9766fd782bca90ed3129303d70308f9
2019-06-03 06:53:29 +00:00
Chandan Kumar 74983421a1 Raise an error if a service or container is failed
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
2019-02-25 11:39:36 +01:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
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
2018-11-26 12:37:21 +00:00
Bogdan Dobrelya 90aba7ea27 Fix path and wire-in UC deploy role data file
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>
2018-05-24 07:55:27 +00:00
Bogdan Dobrelya 25174f1b0c Share overcloud Heat templates for undercloud conf
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>
2018-03-22 17:00:33 +01:00
Wes Hayutin fd6505fc77 Updates for containerized undercloud
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
2018-02-12 02:31:17 +00:00
Zuul 50d1c716dc Merge "Switch to tripleomaster registry by default" 2017-12-01 11:20:53 +00:00
Zuul 44248c1860 Merge "Restore tags inside the main playbook" 2017-11-27 23:51:36 +00:00
Martin André ef09083b58 Switch to tripleomaster registry by default
The tripleoupstream registry is deprecated in favor of tripleomaster,
where images are pushed automatically on rdo promotion.

Change-Id: I84724efedb6e7ff967469d0e4277aa6fd9538748
2017-11-27 10:48:02 +01:00
Raoul Scarazzini 7c2883814a Restore tags inside the main playbook
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
2017-11-22 10:14:11 -05:00
Bogdan Dobrelya d0f1b1e241 Fix undercloud containers images prepare
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>
2017-11-22 10:25:01 +01:00
Bogdan Dobrelya 54e54f043a Allow custom undercloud roles files for images prepare
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>
2017-09-22 11:56:59 +02:00
Emilien Macchi 1624749961 Use Python to compute release notes version
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
2017-08-30 14:33:14 -07:00
John Trowbridge dd96d343ce Mitaka EOL commit
This commit will be used to do a final release of quickstart which
supports Mitaka.

Change-Id: I2ec226761fc713f26e4f416b3a018bf992f4ece5
2017-07-17 15:41:11 -04:00
Emilien Macchi 2c5510c409 Switch from oslosphinx to openstackdocstheme
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
2017-07-06 19:39:35 +00:00
Bogdan Dobrelya f2114bab76 Custom containerized undercloud deployments
* 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
2017-06-07 11:04:56 +02:00
Emilien Macchi 4b0f7b0b2a Add release note for image_build
Add missing release note from image_build.

Change-Id: I1a2a15b393c53da22b393fdc3a999ac20ced1585
2017-05-31 11:11:30 +02:00
Ronelle Landy 4d0f6329df Parameterize OVB stack flavors
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
2017-05-16 10:47:20 -04:00
Jenkins 382bb7cb89 Merge "Allow complex upgrade deployment for N to O" 2017-05-05 13:13:51 +00:00
Mathieu Bultel d7ad73ed35 Allow complex upgrade deployment for N to O
* 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
2017-05-01 18:48:37 +00:00
Juan Antonio Osorio Robles b86f62521f Rename misleading undercloud/overcloud hieradata overrides
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
2017-04-20 16:41:07 +03:00
Flavio Percoco d003242206 Use openstack deploy to install the undercloud
Co-Authored: Dan Prince <dprince@redhat.com>
Co-Authored: Wes Hayutin <weshayutin@gmail.com>
Co-Authored: Bogdan Dobrelya <bdobreli@redhat.com>
Change-Id: I89553070c4f1d4973bfad33be38dbc325aab13e1
2017-04-14 17:18:06 +02:00
Gael Chamoulaud fcc3712286 [overcloud-prep-images] Update deprecated openstack command
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>
2017-03-30 17:00:50 +02:00
Gael Chamoulaud 923bfe5e06 [overcloud-deploy] Update deprecated references to Heat
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>
2017-03-07 14:52:59 +01:00
Ben Kero 8fcbc74f00 Add release notes for deprecation of multinic
This commit adds a ReNo release note for the deprecation of 'multi-nic'
starting in the 'R' release.

Change-Id: If1b2601dda2fdee49a5ef375417750021ea5f4b6
Depends-On: I5f78b908fe41a1304295fad4e0187d049b16fa80
2017-02-28 22:41:40 +00:00
Yolanda Robla 75f5b56ad4 Add disk root device hints
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
2017-02-15 16:39:57 +01:00
Gael Chamoulaud e0df5f7108 Add ReNo support for managing release notes in TripleO-Quickstart-Extras
Add ReNo [1] support to manage release notes
[1] - http://docs.openstack.org/developer/reno/

Change-Id: Ief133240354404d9abdc40e05bb1696c13a6b606
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-02-07 12:19:28 +01:00