Commit Graph

228 Commits

Author SHA1 Message Date
Ghanshyam Mann 120bd48006 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: I2fcd63ee46cf8e3651fb997e414a1a556f2b2455
2024-02-24 11:43:05 -08:00
Takashi Kajinami 933db5dc3b Use python job template for Zed
... because the current master should be compatible with the Zed
release of the other projects. This effectively removes testing on
Python 3.6 and only Python 3.8 and 3.9 will be tested.

Python 3.6 and 3.7 are removed form classifiers because these are no
longer supported.

Related-Bug: #1974244
Change-Id: I7fd253cf0c7d09ca3c4ce9b5d069e4c75a985b68
2022-05-20 08:11:02 +00:00
rabi 11d0164ed7 Drop undercloud_heat_plugins
We don't support installed heat in undercloud anymore.

Depends-On: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/839498
Depends-On: https://review.rdoproject.org/r/c/openstack/tripleo-common-distgit/+/42300
Change-Id: I9b757a47f73ccf1bc9234a606c4f546d0f31542e
2022-04-28 07:37:28 +00:00
Takashi Kajinami fc36d5a664 Mark Python 3.9 as supported runtime
Python 3.9 is part of tested runtime for Yoga and used in unit tests.
Also, it is the default Python version in CentOS 9 and we are not aware
of any compatibility issue.

Change-Id: I245d3b019adacd2fc071e5fcb17fadccc89bb12e
2022-02-16 10:37:32 +09:00
Alex Schultz 0845bd1f45 Remove mistral sudoers
Change-Id: Ic6c9a127b2dbfa4c1f935e04cd2136be0068f7ef
Depends-On: https://review.rdoproject.org/r/c/openstack/tripleo-common-distgit/+/35574
2021-09-16 15:16:47 -06:00
Zuul 61312c6be7 Merge "Add scripts tripleo-mount-image, tripleo-unmount-image" 2021-09-10 06:22:00 +00:00
Steve Baker 5f55ee2bd1 Add scripts tripleo-mount-image, tripleo-unmount-image
Now that the whole-disk image is being deployed, mounting an image
using tools like kpartx or qemu-nbd is much more involved, requiring
knowledge of the image LVM volumes and their intended mount points.

The scripts tripleo-mount-image and tripleo-unmount-image will mount
the contents of an overcloud image file using qemu-nbd, making it available
for chroot, or other read/write image operations. The scripts handle
partition images (overcloud-full.qcow2) as well as the whole-disk image
(overcloud-hardened-uefi-full.qcow2) with its multiple LVM volume mount
points.

qemu-nbd was chosen over kpartx as downstream documentation[1] has
standardized on this tool for mount based image modifications.

tripleo-unmount-image is a symlink to tripleo-mount-image and behaves
differently based on the script name.

Blueprint: whole-disk-default
[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/bare_metal_provisioning/booting-from-cinder-volumes

Change-Id: I3267b4ae5200eeed333a9518865260d23315f52c
2021-09-07 10:52:26 +12:00
Damien Ciabrini 7428219d9f Fix upload-artifacts and its installation
Fix the content of DeployArtifactFILEs in the generated
environment file. The absolute path of the artifact is
now properly formatted, and the script correctly handles
multiple files passed in parameters.

Fix the installation of the script in setup.cfg.

Tested manually with multiple artifacts, and via
upload-puppet-modules (single artifact).

Change-Id: I946df38ada9b2197076963e6140653f85d7c2cbc
Closes-Bug: #1933336
2021-08-17 19:07:00 +02:00
likui 31e87d8a1e setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I2df0f4f2dc34794517befe75b27ed86a4ade90a2
2021-05-13 10:04:16 +08:00
ramishra 0b8717e0c8 Cleanup dead mistral actions and workbooks
- Removes unused mistral actions
- All mistral workbooks
- Custom filter for undercloud nova
- mistral entry points as we don't have mistral

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/775749
Change-Id: I7f826da829bbc7d7a4fcde8afcea3f61742a316a
2021-02-17 20:32:01 +05:30
Rabi Mishra ecf838cba6 Remove tripleo-container-image-prepare script
Now that it's converted to an ansible module and used in the
ansible role we can get rid of the script. We do've cli
command for container image prepare.

Depends-On: https://review.opendev.org/745510
Depends-On: https://review.rdoproject.org/r/#/c/28951
Change-Id: I6871377f2ea4030b35fabca7f68f331e5a4f3795
2020-08-28 07:25:48 +00:00
wu.chunyang 44af8bc9eb Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore.

also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I3b80e94e22e64d5b7d98be7a3e3c0979785d04f4
2020-07-22 19:09:08 +08:00
Zuul a4f244284f Merge "Remove Validations Mistral Workflows" 2020-06-23 11:44:13 +00:00
Zuul 9549c60c80 Merge "Revert "Revert "Remove config-download related mistral actions""" 2020-06-23 05:16:51 +00:00
Gael Chamoulaud 8ea44dbd94 Remove Validations Mistral Workflows
This patch removes the following Validations workflows:
- tripleo.validations.list_groups
- tripleo.validations.list_validations
- tripleo.validations.run_validation
- tripleo.validations.upload

The following workflows still remain in charge and will be migrated
in a follow up patch:
- tripleo.validation.get_pubkey
- tripleo.validation.get_privkey
- tripleo.validation.enable

Depends-On: https://review.rdoproject.org/r/#/c/23700/
Change-Id: Ie36926e47cc46d5852a098f9e583169e7b1dcd7d
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2020-06-22 13:29:43 +00:00
Emilien Macchi 9f499a2294 Revert "Revert "Remove config-download related mistral actions""
This reverts commit c915208fee.

Change-Id: Iceebfd796f4b2501495ffd253e8b83bad4dd727a
2020-06-19 16:47:35 +00:00
Emilien Macchi c915208fee Revert "Remove config-download related mistral actions"
See bug report, it broke tripleoclient.

This reverts commit 2c47084bc9.
Related-Bug: #1884138

Change-Id: Ib86c92a9607a42f5a743d69026f37efcadb55553
2020-06-18 20:48:10 +00:00
Zuul e695cd8fbb Merge "Remove config-download related mistral actions" 2020-06-15 16:08:00 +00:00
Zuul c3db8fa9e9 Merge "Remove AnsibleGenerateInventoryAction mistal action" 2020-06-15 16:07:58 +00:00
Rabi Mishra 2c47084bc9 Remove config-download related mistral actions
Depends-On: https://review.opendev.org/#/c/729251/
Change-Id: I493ec949e09a1a1a1745f4bf161bc6d3dc185e1e
2020-06-09 13:50:39 +05:30
Rabi Mishra b471d2cdcc Remove AnsibleGenerateInventoryAction mistal action
Not used anymore.

Change-Id: If5053530eeadd277db091d60bc9095aa7f05d67f
2020-06-09 11:50:21 +05:30
Hervé Beraud 9caed1b8be Add support for python 3.8
Introduce support of python 3.8 [1] and move tox and jobs to py38.

jsonschema 3.2.0 [2] support python 3.8

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] https://github.com/Julian/jsonschema/pull/627

Change-Id: I34a47d6fe90da33215c4551a868644e5d6c8906c
2020-05-26 14:13:00 +02:00
Rabi Mishra 4349f209b9 Remove tripleo.deployment.overcloudrc action
We now use a playbook to generate rc files.

Change-Id: Ida0858ff7b401633edefe6603ef061bd0165d6f4
2020-05-13 13:39:07 +05:30
Rabi Mishra 9292d5285a Remove some unsed actions
- tripleo_common.actions.files:MakeTempDir
- tripleo_common.actions.files:RemoveTempDir
- tripleo_common.actions.package_update:UpdateStackAction

Change-Id: Iae9c08741011c532a5a51be83ffcc00e6a6088ad
2020-04-29 14:43:40 +05:30
Zuul 366e44b0da Merge "Remove baremetal_deploy.* action entrypoints" 2020-04-23 21:02:01 +00:00
Zuul 9d42b49a9e Merge "Remove DeploymentStatusAction" 2020-04-23 01:14:09 +00:00
Rabi Mishra db09f95e6a Remove baremetal_deploy.* action entrypoints
Those were removed in https://review.opendev.org/712229/

Change-Id: I64dc01b743061de87b1b1019ccba5c15667bd2b2
2020-04-21 09:41:24 +05:30
Rabi Mishra 6b7f10c757 Remove DeploymentStatusAction
This has some useless code that assume we're running mistral
workflows and also we've moved some of other logic to
tripleoclient.

Depends-On: https://review.opendev.org/719386
Change-Id: I54960bd8abc8ad67e08947d5d4900e405c8a401c
2020-04-14 08:12:31 +05:30
Andreas Jaeger 3cfa46f1d2 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme version

Change-Id: Ic7696a6ba0fc213b59edf87cf9ef2a804ebca94f
2020-04-13 20:01:42 +02:00
Rabi Mishra 438be97dce Remove GenerateFencingParametersAction and CreateContainerAction
These are not used anymore. Moves the plan container creation
tests to utils.

Change-Id: Iaaf4e58f44d82a6af67c08a08df1c8a6bac2c49e
2020-04-03 12:47:25 +05:30
Rabi Mishra ee81b5496b Remove scale and stack related workflows and actions
These are not used any more.

Change-Id: I7367fc54888d63513608edb7bf8ce2d2801a948e
2020-04-03 12:12:32 +05:30
Rabi Mishra 96b5b060d0 Remove unused support.yaml workbook
Depends-On: https://review.opendev.org/714640
Change-Id: I412ccac60bcba3dc1fcc04d5cbe3b7f7ecf21e6e
2020-03-24 19:07:34 +05:30
Rabi Mishra c02a458565 Remove deployment workbook and some unused actions
Change-Id: If6b608acf3501ccf73e7cb0a9e9b90a3d2792f27
2020-03-24 14:58:04 +05:30
Rabi Mishra 3b028df012 Remove swift_backup workbook and some related actions
Change-Id: I5be6d1b58a958165b17b31c25d8bbf49cbf13c89
2020-03-24 14:57:58 +05:30
Rabi Mishra eb41f4103e Remove plan_management workflows and unused actions
Depends-On: https://review.opendev.org/714354
Change-Id: I21a33f14ca97a1b17468f874b1653d20cc90df68
2020-03-24 14:54:42 +05:30
Zuul 5b16da04e6 Merge "Remove get_passwords workflow and related action" 2020-03-17 02:08:22 +00:00
Zuul 00c1abf4a8 Merge "Remove unused password and fernet rotation actions and workflows" 2020-03-17 02:08:21 +00:00
Zuul 7ddfe18383 Merge "Remove discover_nodes workflows" 2020-03-10 14:51:42 +00:00
Rabi Mishra 762d14f61a Remove get_passwords workflow and related action
This was possibly written for tripleo-ui. Users can easily get the
current passwords from plan-environment.yaml

Change-Id: Ia584ff06e8fb22ee0372851af5ff731490f4babc
2020-03-10 10:30:21 +05:30
Rabi Mishra b623b2f254 Remove unused password and fernet rotation actions and workflows
As those are now converted to ansible playbooks we can
safely remove them.

Depends-On: https://review.opendev.org/711436
Depends-On: https://review.opendev.org/711837
Change-Id: Iff77082d6712f5d464ada2f56c08ff8e6404b4d7
2020-03-10 10:30:21 +05:30
Zuul 4138e5ed5e Merge "Remove the undercloud backup workflow and actions" 2020-03-04 10:50:33 +00:00
Zuul 622b2d86ab Merge "Move parameter actions functionality to utils - Part 1/2" 2020-03-02 08:11:31 +00:00
Zuul 86f4d0f9e7 Merge "Remove upload_validations workflow and related action" 2020-02-28 11:35:32 +00:00
Rabi Mishra 6ed56acba2 Move parameter actions functionality to utils - Part 1/2
This moves functionality for some parameter related actions to
utils. So, we can use thise with mistral from ansible modules
and tripeloclient.

Change-Id: Ie1baf7454445ee95081c9bcdf06ae3c01f1a8a66
2020-02-27 06:59:00 +05:30
Rabi Mishra f27d6bebe8 Remove upload_validations workflow and related action
Its only usage was remved in https://review.opendev.org/#/c/694287/.
That patch incorrectly mentions that it's removed from
tripleo-common.

Task: #38839
Change-Id: I491aac723d58426b912c1b51873421b7077ed9da
2020-02-21 09:52:47 +05:30
Zuul a6ed0e051c Merge "Remove tripleo.deployment.convert_status action" 2020-02-19 14:59:48 +00:00
Rabi Mishra 24df9bebf2 Remove tripleo.deployment.convert_status action
https://review.opendev.org/#/c/669182/ had removed the workflow
using it. It's not been used anywhere else.

Change-Id: Ie802d6f1137fad816384e2b02dfbb7d21d3bdf18
2020-02-14 17:09:22 +05:30
Dougal Matthews 103cc944b0 Remove the undercloud backup workflow and actions
Depends-On: https://review.opendev.org/#/c/665690/
Change-Id: I0c44ddd8fb5ffc6ddd929bf897c2aa66eaed23a5
2020-02-14 09:37:48 +00:00
Rabi Mishra 4d969f0456 Move process template functionality to utils
Change-Id: I6c48d8dd3c5c480eef0001746ce5e243d6820be9
2020-02-12 11:44:09 +05:30
Rabi Mishra dc3a909f7d Remove container_image_prepare_default workflow
Remove the unused workflow and related action.

Task: 38677
Change-Id: I08fedb77fd8f546f989babacd8efff6613891ad9
2020-02-06 17:18:26 +05:30