Commit Graph

26 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
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 16649df878 lint: bumping to latest versions
- run `pre-commit autoupdate` and fixed new issues
- adopted newer pre-commit config for ansible-lint 4.2.0+
- fixed some reported broken rules
- temporary disabled few rules, just to contain the size of of review,
  planning to drop/fix them in follow-ups.

Change-Id: I807ba4e919527be56c85ec72d0f4c7148f04e994
2020-01-05 19:36:36 +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
yatinkarel cf6b8259ba Allow creating Stack for non centos images
This patch updates nodepool-setup and multinodes
roles to work with non centos images. It updates following:-

- Add a role variable: "default_image_user" which defaults to
  'centos'. It can be used to configure image_user like 'fedora'.
- Use 'package' module instead of 'yum' so it can work with non
  yum systems.
- yum_contentdir is not needed for Fedora, so skipped.
- centos-release-openstack and epel repos are not needed for
  Fedora, so skipped.

Change-Id: Ia1245a423e608273120b2c6b9668e2126073cccc
2019-07-30 12:57:48 +05:30
Zuul dc8b496a09 Merge "Add the possibility to create more than one stack with reproducer." 2019-01-17 11:43:31 +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 cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Zuul da02a39069 Merge "Fix multinode image list" 2018-11-07 02:15:12 +00:00
Sofer Athlan-Guyot bc2ddcb156 Add the possibility to create more than one stack with reproducer.
By making sure we prefix the private net name, we ensure that we can
create multiple reproducer stack on the same cloud provider.

Change-Id: I2fec9abe139481cb1e10bb72aac88b651214269f
Closes-Bug: #1775826
2018-10-24 11:17:56 +02:00
Zuul 119d3c8b23 Merge "Use subnodes groups for multinode roles and templates" 2018-10-17 17:53:55 +00:00
Thomas Herve d821f0d8df Fix multinode image list
If there are several images with the centos-7-latest tag, the resulting
environment file is broken. This fixes the command call to only return
one result.

Change-Id: If1c339b11e86a25b35c98c1f1e5024d1ee9e42bb
2018-09-29 01:07:51 +00:00
Mathieu Bultel 5e737e0009 Use subnodes groups for multinode roles and templates
Instead of looping on 'all' nodes, restricting the loop
to only subnodes groups avoid failure if other hosts
is present.

Change-Id: Ife744d89836af2c98bffe5ae10f8544625ed9f2b
2018-09-28 16:01:39 +02:00
Thomas Herve deb4ed368b Remove duplicate entry in params.yaml
Change-Id: Ib885b448208f8572eb1c23510f3a2082dfc64982
2018-09-25 08:45:59 +02:00
Zuul 7fbbe04b63 Merge "Search for last public image for reproducer" 2018-07-31 01:16:41 +00:00
Sorin Sbarnea 146d1d1c1c
Fix Ansible Using tests as filters is deprecated
Avoids deprecation warnings like below by adopting recommended syntax.

[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of
using `result|failed` instead use `result is failed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.

Change-Id: Ie0e0fbc61090e2b89971252ee60700158acf5fd4
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-07-17 13:05:57 +01:00
Sagi Shnaidman 417ec7dd0c Search for last public image for reproducer
In order to filter out saved snapshots in the tenant, look for
public images when calculating the last one.

Change-Id: I06099486f9b0be9e7bed40ac6b351658a612b3df
2018-07-17 13:47:04 +03:00
Steve Baker 1329dc1fd1 Reliably build the subnode_ip_pair
Since the change I9617dafff83f800ed75b4478c7040301b0c944a1 there is
now 2 private network interfaces, so using the networks list to return
subnode_ip_pair now returns 3 entries, which breaks the reproducer.

This change returns the IP addresses from the floating IP, so that any
changes to the subnode networking won't cause issues here again.

Change-Id: I3f20e34e03874cfbd4701c70f9818141568b4d55
2018-06-22 00:41:28 +00:00
Zuul 79d9067fc8 Merge "Run openstack overcloud failures when failures" 2018-06-15 12:03:12 +00:00
Emilien Macchi 51bf780176 Run openstack overcloud failures when failures
Run the new "openstack overcloud failures" to show shows the deployment
failures which will be useful for debug.

Depends-On: I9ce4ab9e6c690abb5aed887f8fe6add4bbf52167
Change-Id: I014a6bed93c62819c423300c166936e44d1e67c1
2018-06-11 22:46:59 +00:00
Sagi Shnaidman 8e283e45d3 Create an additional network interface on subnode
For standalone reproducing we need another interface (eth1) on the
subnode. Add it to heat template of subnode.

Change-Id: I9617dafff83f800ed75b4478c7040301b0c944a1
2018-06-06 13:09:25 +02:00
Enrique Llorente e06f50fee7 Add vxlan port to the multinodes security group
There are problems with RDO cloud + multinode communication, there is no
vxlan package arriving from subnode-1 to subnode-0, to allow that vxlan
port needs to be open.

Partial-Bug: 1767099
Change-Id: I9d070e208000194e73654299c9645679bea27169
2018-04-27 12:04:51 +02:00
Steve Baker baac85ef91 Don't use OS::Neutron::Port in subnode template
Using OS::Neutron::Port directly just to associate a floating IP is
strongly discouraged because the scheduling of the server becomes
constrained by the existing port.

Instead, let nova/neutron create the port implicitly and fetch the
resulting port ID to use for the floating IP association.

This change also adds a depends_on:router_interface to ensure the
interface exists before floating IPs attempt to use it.

This may improve the success rate of multinode jobs where nodes go to
ERROR due to schedule failures, but I'm not aware of any specific bug
which is tracking this.

Change-Id: Ie5cdd5a465040a0ece98a6103ad60b4a26610e42
2018-04-17 10:10:40 +12:00
Enrique Llorente 9fe9165f25 Replace message OVB by multinode
Change-Id: Ie091e424321d021980e15da4890cf5c68cabae53
2018-04-11 11:18:30 +02:00
Sagi Shnaidman 95a322fee1 Multinode provision role
Role to provision subnodes for reproducing multinode jobs

Change-Id: I3d5ae3ba04dd5d0109762d1d4ef778160751a2cc
2017-11-27 14:36:54 +02:00