Commit Graph

26 Commits

Author SHA1 Message Date
Ghanshyam Mann c2ff9b8f49 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: I7f1dc7801a025d9bb28110f74340846b99870b79
2024-02-24 11:43:13 -08:00
Zuul cc42cc51e9 Merge "Eliminate unnecessary role looping in deploy-steps.j2" 2022-09-27 15:24:36 +00:00
Jesse Pretorius (odyssey4me) c8fba9b237 Eliminate unnecessary role looping in deploy-steps.j2
These role task inclusions force a linear-like sequence
and result in a lot of unnecessary skipped tasks. This
takes extra time, and causes a lot of log noise which
makes debugging more difficult.

Given that a host can ever only have a single role, it
makes more sense to just include the applicable role
task file if it exists.

Change-Id: Id2cadceaaf563dc94fcf2d8ce0f0cb9054a65d40
2022-09-26 11:24:12 +01:00
Cédric Jeanneret 8e9ade5f11 Convert httpd ironic_api configurations to new role
The vhost is now configured using tripleo_ironic, using in turn the new
tripleo_httpd_vhost role.

It adds IronicIPXEPort parameter to the ironic-pxe-container-puppet so
that we can keep the customisation.
The last Depends-On is on a follow-up of the tripleo_ironic role, needed
for custom PXE port.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/855873
Depends-On: https://review.opendev.org/c/openstack/puppet-tripleo/+/854360
Depends-On: https://review.opendev.org/c/openstack/puppet-ironic/+/855532
Depends-On: https://review.opendev.org/c/openstack/puppet-ironic/+/856046
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/857881
Change-Id: I2fa1d27a4af25b44f4baece9b0fc241106b2ef1b
2022-09-19 15:09:56 +02:00
Rajesh Tailor 645aba41a4 Remove duplicate entries from .gitignore
Change-Id: Ie183b1bd16875cc47ce00cfd45236db7608247ef
2022-06-30 16:31:48 +05:30
James Slagle 07adbb7b7e Update .gitignore
Add additional commonly ignored files to .gitignore. The additional
entries were copied from what is already configured in
python-tripleoclient. Add these to .gitignore has the additional benefit
of these files also being ignored by ansible-lint, since ansible-lint
uses git ls-files.

Change-Id: Ibad5463c7e7c744f068609d62ccd4d3b0fd6eab0
Signed-off-by: James Slagle <jslagle@redhat.com>
2022-03-15 09:29:38 -04:00
James Slagle 925af6378e Add generated deployed network environment
The environments/deployed-network-environment.j2.yaml template will
generate an environment file based entirely off of the used roles data
and network data files that can be used in place of the generated
environments from the "overcloud network" commands.

For environments without Neutron, the generated file is easier than
having to define all these parameter values manually.

Change-Id: If839245b306370095ad21d753e9f5d4c98f1740c
Signed-off-by: James Slagle <jslagle@redhat.com>
2021-12-22 11:23:22 -05:00
James Slagle 26be317990 Deprecate DeployedServerPortMap
The environment
environments/deployed-server-deployed-neutron-ports.yaml, the
deployed-neutron-port.yaml template, and DeployedServerPortMap parameter
are deprecated in favor of NodePortMap, ControlPlaneVipData, and
VipPortMap, which can be used with the generated
environments/deployed-ports.yaml.

Change-Id: Ib59bb985fe15f612f93a33b1a688427e684654dd
Signed-off-by: James Slagle <jslagle@redhat.com>
2021-06-28 17:44:11 -04:00
Sorin Sbarnea a013f42e36 Enable ansible-lint
- enable run of ansible-lint, with a temporary set of excludes
- fixes two problems reported by ansible-linter

Change-Id: Ibbe23db8fd5ac1008109f50f514df96686b0fa19
Bug: #1921409
2021-03-30 09:18:15 +01:00
Sorin Sbarnea 2108a5191b Fixed tox executions
- fixed bindep to allow execution under fedora
- fixed flake8 config to use officially recommended use patterns
- assured that git does not report dirty after running tox (both
  pep8 and tht environments where breaking this by creating untracked
  files). tox-extra plugin addition will prevent future regressions.

Change-Id: I4137056853f8c5f1c2304bfb6ec1188a82b12130
Bug: #1921409
2021-03-26 15:37:07 +00:00
Emilien Macchi e6fe9ff3d9 Remove mac_hostname & random_string
These resources aren't used anymore and are leftovers from previous Heat
resources which don't exist anymore.

Change-Id: I4b33df191c4eb3cd961bbdbaf6ef28844de6d1a9
2019-07-18 19:10:31 +00:00
Marios Andreou 634365bb58 Remove developer tools from tripleo .gitignore
In line with [1] removing references to developer tools in
.gitignore.

[1] https://review.openstack.org/#/c/592520/
Change-Id: Ie25972a89efb8314d2632c804bca0f37c7f2630b
2018-11-06 14:40:19 +02:00
Ben Nemec 4e24c8cb6a Sample environment generator
This is a tool to automate the generation of our sample environment
files.  It takes a yaml file as input, and based on the environments
defined in that file generates a number of sample environment files
from the parameters in the Heat templates.  A tox genconfig target
is added that mirrors how the other OpenStack services generate
their sample config files.

A description of the available options for the input file is
provided in a README file in the sample-env-generator directory.

In this commit only a single sample config is provided as a basic
example of how the tool works, but subsequent commits will add
more generated sample configs.

Change-Id: I855f33a61bba5337d844555a7c41b633b3327f7a
bp: environment-generator
2017-06-12 15:02:50 -05:00
Emilien Macchi 5efee26c97 Add ReNo support
Add ReNo support to manage release notes.
http://docs.openstack.org/developer/reno/

Change-Id: Ie5154d909e616e4e7e813052f9c121d6ac5b0875
2017-01-13 14:35:27 -05:00
Dan Prince 4b5b24462b Add local template generation tox task
This patch adds a local version of our template processing
routine so that developers can more quickly view the templates
that are actually getting generated. I've noticed multiple developers
now do a full deployment with 'overcloud deploy' only to download
the swift container with the generated templates. This simple task
avoids that step by allowing developers to generate it locally.

It also aims to preserve the ability to use t-h-t templates directly
with Heat (instead of going through Mistral) should users wish to do that.
The new undercloud heat installer requires the ability to generate
templates without requiring Mistral and Swift to do so.

Ideally the Mistral API workflow would use this same code
so perhaps in the future we might modify that routine to:

 -download swift tarball containing the templates
 -run this local routine that lives in t-h-t
 -re-upload the tarball of templates to the swift container

Change-Id: Ie664c9c5f455b7320a58a26f35bc403355408d9b
2016-11-30 16:02:44 -05:00
Dan Prince 3ec35a3f2f Rename overcloud-without-mergepy to overcloud.
Mergepy is gone. We can now rename our primary overcloud
template to be more sensible.

Change-Id: I14f5ff78b083b34590d30357df94c42ff6a0c2c0
2015-12-03 16:01:33 -05:00
Gael Chamoulaud 0d6b04c21a Add Puppet 4.x lint checks
- This change adds Puppet-lint bits for checking Puppet manifests.

Change-Id: I82869d8f9f6c64ac2a95429f453c3cb76c046974
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-05 15:44:18 +01:00
Robert Collins 91e763f748 Expose public_interface_tag support.
Proper VLAN support requires adding the IP address to a new device,
rather than br-ex/br-ctlplane. This is added in the
tripleo-image-elements change https://review.openstack.org/103449
(I3f77f72ac623792e844dbb4d501b6ab269141f8e) and here we just expose
it with appropriate glue to get the IP address from Neutron.

With this we can now describe a VLAN public interface scenario
to the undercloud and overcloud control planes.

Change-Id: I4d2194fc813aebb0708d6fddf4f05bae5f091fd8
2014-08-28 13:34:38 -04:00
Tomas Sedovic a3e83c8cff Remove the tuskar-source template
There is no need for a tuskar-specific undercloud template. Tuskar is
installed via elements just like any other undercloud service.

This template is not being used in devtest and I'm not sure it ever has
been.

Change-Id: I531d927b1984873b32f440d33a130788670f7cd9
2014-06-04 12:16:24 +02:00
Ryan Brady a2602039fc Adds block-storage-nfs template
To support the changes to the cinder element to allow the nfs
backend to be utilized, this template has been added to show
the usage of the nfs_shares key in the cinder metadata.
The value is a list of strings containing share addresses.

This change is added to facilitate an example to test
the cinder element change: https://review.openstack.org/#/c/74563/

You may setup the nfs server manually or use the nfs-server
element at https://review.openstack.org/#/c/74712/.

Change-Id: I5b6cb118b34421ea07a81ed1fe68db24b1d4f19d
2014-03-07 14:58:02 -05:00
marios c9ce27c981 Make merge.py installable as a package using pbr
Now that merge.py is invokable from another script
(Ia6b6416fe10358d23f2b120283eecaf4c1178cfd) and from comments at that
review, it makes sense to offer a nicer way to consume the merge
functionality.

Once you git clone tripleo-heat-templates you can python setup.py
install and get /usr/bin/tripleo_heat_merge as well as a
tripleo_heat_merge package in python2.7/site-packages.

Makefile edits required because we moved merge.py into the
tripleo_heat_merge directory for the packaging.

Change-Id: I587fa7a826f93f89e8e5c266af7f5765438fe738
2013-12-17 15:53:08 +02:00
Dan Prince e6afddb3ca Use merge.py for the undercloud templates.
This will require some changes to our devtest scripts
and TOCI to ensure we build the overcloud-vm template
before attempting to use it.

Change-Id: I14b5e4a0ccf5f18429bfc33e527bdb4760b8d1a3
2013-11-25 09:14:07 -05:00
Clint Byrum 0dbf2810a0 Add functional tests and examples for merge
merge.py is undocumented and untested, which is undesirable, as it does
not seem to be going away any time soon.

Change-Id: I7e4870e58a32c567e5947b9a48893b8210ad4d65
2013-09-19 13:02:03 -07:00
Robert Collins f733956be8 Ignore built files.
We don't want someone accidentally committing them.

Change-Id: Iec4df61d3b7b1e1bd30f4cbba6b9991062758101
2013-08-12 20:24:26 +12:00
Robert Collins ae28900681 Ignore editor files.
Change-Id: I2bf716cae119ccc8a4b4fa6fae4caa7444156526
2013-06-27 15:43:42 +12:00
Joshua McKenty a6889c1cd3 Initial commit 2013-02-26 07:55:24 -08:00