Commit Graph

359 Commits

Author SHA1 Message Date
Ghanshyam Mann 43e28b25c2 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: I3f007ba782e067fe575fb9c348a13b9b84f7834d
2024-02-24 11:43:36 -08:00
katarimanoj e1abb34ef8 Make ceph ntp parameters specific to wallaby
This patch makes the ceph _deploy_cmd new ntp parameters added in [1]
only for wallaby.
[1] https://review.opendev.org/c/openstack/tripleo-operator-ansible/+/875051

Change-Id: Ic8f2b979d3888bda2d6ff8abd97fb39a2cfe66cf
2023-04-27 10:17:54 +05:30
katarimanoj 2dfcfff28c Add ntp parameters to ceph deploy
This patch adds new ntp paramters introduced in [1] to _deploy_cmd
in tripleo_ceph_deploy role.

[1] https://review.opendev.org/c/openstack/python-tripleoclient/+/873867

Depends-On: I85b692c21269f1bb69dabd54c1c2212cb03e2afe
Change-Id: Ic46154e88245e27d78bf646ef9bd008cb7cabb8c
2023-03-01 20:05:21 +05:30
Douglas Viroel 400a47bdc2 Fix molecule jobs
This patch updates tripleo-operator-molecule-base job to provide
"-- -s" extra args to tox.

Closes-Bug: #2008806

Change-Id: Ibd2d1cf389cb6dcb96034416eaddb692892e884b
2023-02-28 16:56:03 -03:00
Zuul f1eb6b6b93 Merge "Ansible-2.14 compatibility" 2022-11-17 16:43:10 +00:00
Cédric Jeanneret 8e447fb991 Correct parameter ordering
Until now, the --tcib-extras were passed after the log redirection - not
sure they were actually used. In any cases, moving them to the right
place will ensure things are consistent.

Change-Id: I6829be326f862c133754bdd32dc2db2880253f1b
2022-11-15 13:28:25 +01:00
Cédric Jeanneret f7a29d5aa2 Ansible-2.14 compatibility
with newer ansible coming, the "warn" parameter is removed and raises an
error.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/864392
Change-Id: I934211aa437fc268288de06fc39545c98f1746c5
2022-11-14 15:33:21 +00:00
Chandan Kumar (raukadah) e4b46582c3 Switch to openstack-python3-zed-jobs job template
openstack-tox-py37 job comes from openstack-python3-ussuri-jobs
job template and is currently failing against
tripleo-operator-ansible project.

This job is already dropped from all tripleo projects and
it does not make sense to maintain it as py39 job is
already running.

That's why we are switching to openstack-python3-zed-jobs
job template.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I4dddd31740c6ab22a8152379510b84f48044344d
2022-10-10 10:06:06 +05:30
David J Peacock fd8f962e70 update tripleo_operator_ansible VF hooks since CLI has changed
this patch amends tripleo operator ansible vf hooks - two changes

1) no more plan files - removed that CLI option
2) static inventory is simply inventory - amended that argument

Change-Id: I3e97dcc08fb5b9370b1fa2ce732572a0c70aa947
2022-06-15 09:24:11 -04:00
Zuul 93b1fa832c Merge "Add --cluster to tripleo_ceph_deploy role" 2022-04-19 15:48:47 +00:00
John Fulton 9b63299bed Add implicit --yes to tripleo_ceph_user disable role
The command 'openstack overcloud ceph user disable'
will always fail unless '--yes' is passed. This is
meant to be an interactive command-line option but
that does not apply when Ansible is non-interactive.
Always run disable with --yes otherwise, this option
in the role is useless.

Change-Id: I6434d03d93bc50574246e26fab483ff75ffabace
2022-03-29 12:45:27 +00:00
Marios Andreou a0036eab3f Disable auto discovery
Tripleo-ci jobs are broken after latest release of setuptools 61.0
because of breaking changes which are not backwork compatible,
details in related bug and [1].

Users that don't set ``packages``, ``py_modules``, or ``configuration`` are
still likely to observe the auto-discovery behavior, which may halt the
build if the project contains multiple directories and/or multiple Python
files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

Also, adding ^setup.*$ under irrelevant-files as content-provider
parent[2] also have same.

[1] https://github.com/pypa/setuptools/issues/3197
[2] https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/base-upstream.yaml#L92

Change-Id: I850cb7312e34a42d049b70030c4f0609d82ec54f
Releated-Bug: #1966382
2022-03-29 15:43:47 +03:00
John Fulton 31394ed8f9 Add --cluster to tripleo_ceph_deploy role
Add tripleo_ceph_deploy_cluster variable so that
'openstack overcloud ceph deploy --cluster $CLUSTER'
may be called from tripleo_ceph_deploy role.

Change-Id: I0d632e3bb2b3e54caa495fd1bcf0c504ee2b46a5
Related-Bug: #1966559
Depends-On: I07dfbd819e57f26cc4798b0d58ffacb3ba73fdb2
2022-03-26 17:29:22 -04:00
John Fulton fbcd961404 Add tripleo_ceph_deploy role
Adds tripleo_ceph_deploy role to deploy Ceph on
overcloud nodes before deploying the overcloud.

Change-Id: I562322d0caf380a30c11d2179eb26efbec20f757
2022-03-15 21:40:55 +00:00
John Fulton 253618d006 Add tripleo_ceph_user role
Adds tripleo_ceph_user role to enable or disable the
ceph-admin SSH user required by cephadm.

Change-Id: Ic0afd0bfba66dacaa81905aa4451675c77b97a14
2022-03-15 12:08:08 +00:00
Zuul ec5cb37622 Merge "Add tripleo_ceph_spec role" 2022-03-15 00:55:54 +00:00
Zuul 68bcab6378 Merge "Overcloud post-installation playbook" 2022-03-14 19:22:24 +00:00
John Fulton 917e0a0394 Add tripleo_ceph_spec role
Adds tripleo_ceph_spec role to generate a Ceph spec file.

Change-Id: Ic14033a97aa2a3ca03becd3887e2c18a1ef70e32
2022-03-14 13:32:37 +00:00
Zuul 572bb42e0e Merge "Add --reproduce-command in UC commands." 2022-02-25 01:32:25 +00:00
Jose Luis Franco Arza 63f0ba773d Add --reproduce-command in UC commands.
Include the --reproduce-command option support into the
tripleo_undercloud_install and tripleo_undercloud_upgrade operator roles.
This option will allow getting a reproducer to run the Ansible playbooks
for a deployment or upgrade.

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/827494
Change-Id: I6cb69a4158213ee8694dc07ac1cec0dac3818346
2022-02-14 10:08:33 +00:00
Bhagyashri Shewale 20af773b16 Move zuul jobs layout to centos9 only for master branch
See topic branch [1] for related reviews.

[1] https://review.opendev.org/q/topic:c8_teardown_master
Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/826317

Change-Id: I78ecd0b7cbb1c9a2c91c5826017c9afcaf241f4e
2022-02-08 18:11:59 +05:30
Jose Luis Franco Arza 1d330c9996 Add tripleo_upgrade role.
Includes the role to automate the execution of the openstack
tripleo upgrade command. As most of the code is shared with
tripleo-deploy this role is mostly based on tripleo-deploy.
The only appreciable difference is that the --upgrade parameter
is not being passed (as that is being passed to true when
invoking the Deploy class [0]).

[0] - https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/v1/tripleo_upgrade.py#L41

Change-Id: Ie2eb2c220fef9284bf5fa6ef6908a00839589649
2022-01-13 09:03:36 +00:00
rabi ade61b299f Bump ansible-lint to 5.3.2
Bump to latest version that fixes issues with rich 11.
We need to fix the linting issues as followup.

Change-Id: Ie9707333454aca755db8daa272e3408ecbbf55da
2022-01-12 13:21:59 +05:30
Amol Kahat 42f5d4faa7
Add overcloud deploy disable-protected-resource-types option
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I8a1f2883d6df22f03cce753001c8532cef88890b
2021-12-10 16:40:03 +05:30
Zuul ae2b3e4928 Merge "Add default stack to some roles" 2021-11-09 00:44:02 +00:00
Zuul e7f4f5aa9f Merge "Modified shell_args plugin for nested lists." 2021-11-09 00:43:54 +00:00
Zuul f3f20e0ae6 Merge "Added Ephemeral Heat CLI in overcloud_deploy role" 2021-11-08 22:33:36 +00:00
Cédric Jeanneret 36778dd949 Generate node unprovision script if wanted
This script might be handy in some cases - for instance if the node
provisionning is failing, it's always better to unprovision things
before retrying.

Change-Id: Ie067226b509fbc1186be956f20866b8104e555ad
2021-11-05 08:26:31 +00:00
Zuul 504216653d Merge "Add network vip provision molecule tests" 2021-10-27 13:12:31 +00:00
Zuul 03a2eef0a6 Merge "Remove --skip-nodes-and-networks" 2021-10-20 18:49:28 +00:00
Sagi Shnaidman e9c6b4062f Make temporary directory for collection more permissive
To avoid "permission denied" error from the job.

Change-Id: I8a1016e074e4a590c3dec13ac0edec41086221b0
2021-10-20 09:55:04 +00:00
Harald Jensås 80b194a0b9 Remove --skip-nodes-and-networks
The depens-on removes the usage of --skip-nodes-and-networks,
instead the existing --baremtal-deployment option is used to
provide the capability to enable/disable "all-in-one" network+
node provisioning with overcloud deploy command.

Depends-On: Idaab1f28c4d645279eff0c01b24435bf8571299b
Change-Id: I97b8c8762524efbfc12533bbd557a689cff53273
2021-10-08 09:44:06 +02:00
Alex Schultz b0afe02676 Drop minion job
Since the minion job is only available in train->wallaby and this repo
is branchless, let's remove this job.

Change-Id: I4e41044f78c8165e2f9ad1223f9cac7ed5c4fcb6
2021-10-04 09:48:03 -06:00
Alex Schultz 98cc0abe85 Add default stack to some roles
The vip/node provision require a stack so we should likely include the
default 'overcloud' like we do for tripleo_overcloud_deploy

Change-Id: I0c3c2ed1a9fe62d12132a07aa421cc677cd30514
2021-09-28 10:32:48 -06:00
Alex Schultz b24dd929c9 Add network vip provision molecule tests
It seems they were missed when we added the role.

Change-Id: I8a99d049440d64806b40e51c46f7dd352a1ded8e
2021-09-28 10:32:48 -06:00
Sagi Shnaidman f4f1a3b618 Use ansible-core 2.11 for operators tests
Change-Id: Ide7764902b0e44fc4795616ff5817440d15e0a64
2021-09-28 09:50:00 -06:00
Zuul 8f42bea9b0 Merge "Added support for tcib_extras in container build" 2021-09-27 19:09:53 +00:00
Amol Kahat e9dfa531d4
Added Ephemeral Heat CLI in overcloud_deploy role
Added missing Ephemeral Heat supported vars
and command options.

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: Iabf9df14c20403d38d2d7729228afd85ca3da72a
2021-09-27 18:32:39 +05:30
Chandan Kumar (raukadah) 3e07830f08 Added support for tcib_extras in container build
https://review.opendev.org/c/openstack/python-tripleoclient/+/807098
adds the support of passing tcib_extras to support additional
conditionals with in tcib tools.

This patch adds the support of same to operator.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I509af277ceb27893996a8a44147ef005d2edd9a3
2021-09-27 14:33:50 +05:30
Zuul 8b72a414d6 Merge "Limit the usage of upper-constraints" 2021-09-24 21:30:48 +00:00
Zuul ce00ec9a72 Merge "Add '--vip-file' to overcloud deploy" 2021-09-24 20:31:23 +00:00
Amol Kahat fae3c7d813
Modified shell_args plugin for nested lists.
Shell args plugins is not supported for nested
list items.

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I51f6ae5f3d430e8f2c9e8cf47fbfbf5b50f84e3e
2021-09-24 13:42:13 +05:30
Chandan Kumar (raukadah) 052f8f2cea Limit the usage of upper-constraints
molecule[1] is not compatible with upper-constraints and it breaks
the molecule installation in the tox venv due to version conflicts
coming from upper-constraints.

In order to fix that, we are limiting the usage of uc only for
docs and release notes.

[1]. https://github.com/ansible-community/molecule/pull/3244

Related-Bug: #1942704

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
CoAuthored-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ia35c83c13bd9e38384327630374b3aacebe9007b
2021-09-24 13:37:45 +05:30
Zuul 08560a8ae0 Merge "Bump molecule[test] to 3.5.x" 2021-09-24 01:41:49 +00:00
Harald Jensås d02a391f62 Add '--vip-file' to overcloud deploy
Add support to defined the virtual IPs file in the
overcloud deploy role.

Change-Id: I59b82e45c05202343f110195445c3c035e0f4312
2021-09-23 15:50:22 +02:00
Harald Jensås 570c886faa Bump molecule[test] to 3.5.x
CI is failing with conflictiong dependencies:

The conflict is caused by:
    molecule[test] 3.2.4 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.3 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.2 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.1 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0a2 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0a1 depends on pluggy<1.0 and >=0.7.1
    The user requested (constraint) pluggy===1.0.0

Let's try to use molecule[test] 3.5.x

Also set 'role_name' and 'namespace' in meta/main.yaml for
all roles. Namespace cannot container uppercase characters,
so computing fully qualified role name using author 'OpenStack'
does not work.

Also - fix tests in tripleo_overcloud_node_discover

Closes-Bug: #1943269
Change-Id: I1ab9764dd4d24c17c5ee2cb1f26fbc3c4b27d3d7
2021-09-23 15:33:06 +02:00
Cédric Jeanneret 37612c527c Add tripleo_overcloud_deploy_skip_nodes_and_networks
This parameter allows to toggle the --skip-nodes-and-networks parameter
for the deploy command.

This option is needed when you pre-provision nodes and networks before
actually deploying.

See https://review.opendev.org/c/openstack/tripleo-docs/+/804893 for
more details.

Change-Id: I61643093bd62843bcf034f7154af0d197e8663fe
2021-08-18 08:45:54 +02:00
Sagi Shnaidman 95c0c40cac Add auto releasing job for tripleo-operators collection
Change-Id: Ib560421dee52afe4a70a0289da2ae58d0788cb8d
2021-08-05 17:40:12 +03:00
Zuul d7be1b9a8c Merge "Bump galaxy version for a release" 2021-07-29 20:25:30 +00:00
Zuul b8bc3a4e47 Merge "Document local var" 2021-07-29 20:25:29 +00:00