Commit Graph

19 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
Takashi Kajinami 4a4bd9c06a overcloud: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only overcloud-* roles and
playbooks and the other items will be covered by separate changes.

Note that this change also removes the containerized_* variables
because current active releases(>=Train) no longer supports
non-containerized deployment. The containerized_overcloud_upgrade
variable is still left because the variable is still required by
the tripleo-ci-base-multinode-standard job template.

Change-Id: If29ec2c2219a28a1f79db0e552e2c622c0a7bda6
2022-10-25 16:32:53 +09:00
Sorin Sbarnea b70cd77203 ansible-lint: resolved 4 skips
Fixed several skips on ansible-lint

Change-Id: I7416332b67593d1cd6b3177333c8bf1055aa3456
2020-01-18 09:50:41 +00:00
Sorin Sbarnea 8b2e5653e4 lint: fixed ansible-lint 301 rule
Change-Id: I8ce7e11cd6027b53f1112c5880a5891c778db9d4
2020-01-05 19:37:09 +00: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
Sorin Sbarnea a472345db1
Repair ansible when calls with jinja2
- adopts official syntax for 'when:' commands
- assures we use current linter which spots when errors
- reverts temporary linter rule disablement
- use parsable output (pep8 like) for ansible-lint

Change-Id: I6eb5719841c2f264e1efed4bf38726f71c840e36
Closes-Bug: #1797838
2018-10-15 19:12:46 +01:00
Attila Darazs 689d759e64 Use cachable facts to allow multiple runs
* add "cachable: true" to set_fact calls when the fact would be used by
  other roles in later runs; the other fact names were checked to make
  sure they are not referred to in other roles
* consolidate the formatting of the set_fact calls, using the proper
  yaml structure instead of `set_fact: foo=bar`

Depends-On: I987d51cc252b7ebc3972d60497234fa676864882
Change-Id: I5dd3084ead618e357b1e7d841ea2ee794bd0569a
2017-12-05 16:56:38 +01:00
Sagi Shnaidman f791f5b3cd Add pipefail to each command that piped with timestamp
When pipe is added to command, it should still exit with its
result code, so save it by setting pipeline option before each
command.

Close-Bug: #1676156
Change-Id: Ibbe49b4a15a5b7825447a563fe35af85fd48b3ff
2017-03-26 19:49:32 +03:00
Jenkins c9453db00e Merge "Add timestamps to quickstart logs" 2017-03-25 05:47:08 +00:00
Attila Darazs 6a5db4f9c2 Add timestamps to quickstart logs
Prepend a timestamp with awk to our deployment and test commands. This
allows html linking from the log servers and also better correlation
with the system logs.

We are not using the "ts" command from the moreutils package to avoid
extra dependencies. The drawback is the lack of sub-second timinig.

It is possible to disable the timestamping by setting the
timestamper_cmd to an empty string.

Also add a README file for the extras-common role.

Closes-Bug: #1673046
Change-Id: I8a2a1e4fde2ba805d3361e2e7a2337e873133ef0
2017-03-20 14:52:03 +01:00
Gael Chamoulaud 7c97183d07 Fix the regexp extracting the number of controllers
On a 3 controllers node setup, the neutronl3ha.yml file is always set due to
that regexp which is always true and always returning 1 as number of
controllers.

Closes-Bug: #1643866
Main Author: Athlan-Guyot sofer <sathlang@redhat.com>
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>

Change-Id: Icfe4fdc5762cc264f86cd2f513b5f5b53ad7cf75
2017-03-17 15:16:30 +01:00
Harry Rybacki 3021af5ebf Fix overcloud-scale failure msg and regression
Lacking quotes, only the first word of the failure message
propogates, '"msg": "Overcloud"'.

Casting strings to ints to ensure they are evaluated
as expected. These conditionals broke, probably a regeression
related to recent move to Ansible 2.2.X

Change-Id: I3e225efd6792485a74a17f973f92d4cc87ddfa99
2017-02-14 09:14:37 -05:00
Harry Rybacki ce7982192f Integrate undercloud_user var into oooq-extras
We need to differentiate local_working_dir from working_dir
as well as decouple the stack user from `ansible_user` var.
Both of these are causing issues as we begin to automate
deployments in more environments.

- Cleanup duplicate variables that are consumed via extras-common
  - Note: extras-common depends on the common role in OOOQ
- Cleanup redundant var and superfluous quotes from overcloud-scale
  role
- Cleanup redundant comments in <role>/defaults/main.yml

Closes-bug: 1654574
Change-Id: I9c7a3166ed1fc5042c11e420223134ea912b45c5
2017-01-18 09:32:16 -05:00
Wes Hayutin 19933e5f03 Ensure that each role in extras has a dependency on extras-common
As more ansible variables are shared or reused across roles it is
important to define these variables in a role that is always
executed.  In this case that role is extras-common.

Note: This review is a blocker for https://review.openstack.org/#/c/418998/

Change-Id: I31fd13d7bcb98d73e7f16048c57c027d95faeec5
2017-01-18 09:32:16 -05:00
Harry Rybacki 3fdbe98f24 Cleanup unused portions of roles
We have built up a lot of cruft over the months within our roles.
This review aims to clean up the unused sections. Now that we have
each role within a single repository, ensuring a clean house
is even more important than when they were separate.

Change-Id: Ibb34b376c516a09ba0f7fdb02580e8803497fc50
2017-01-09 09:21:37 -05:00
Harry Rybacki 18eb1d3c3b Update Liberty related documentation throughout roles
Change-Id: Ifc581a654a4a763f1638bda12712dc35c28dbe2c
2017-01-03 12:54:06 -05:00
Alfredo Moralejo 2a14e3c964 Remove parameters from overcloud deploy
https://review.openstack.org/#/c/397312/ has removed some options in
tripleoclient.

Specifically, --neutron-network-type and --neutron-tunnel-types
are being used in tripleo-quickstart .This patch removes them
from extra_args and scale_extra_args.

This parameters are being passed via environment files or using vxlan
by default so i think it doesn't need any other adjustment.

Change-Id: Icb36a45797bdb5e217ce9f33fa67e6697590b23c
2016-11-29 17:45:26 +01:00
Harry Rybacki 522e9d7d46 Update overcloud-scale post extra roles merging
- Remove scale_ceph.yml config, it isn't tested/verified and
  shouldn't be supported
- Clean up the scale_compute.yml config and remove unused or
  redundant (overriding default with default) variables
- Ensure the conditional tasks cast strings to bools to avoid
  false positives

Change-Id: Ib80e5e492b3add4a7943bdeb24de0957b9b7bcb3
2016-11-29 09:27:50 -05:00
Attila Darazs 98c4a5b840 Cleanup and move files for overcloud-scale 2016-11-21 11:50:23 +01:00