Commit Graph

28 Commits

Author SHA1 Message Date
Ghanshyam Mann 8325044e7a 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: Ib988f3b567e31c2b9402f41e5dd222b7fc006756
2024-02-24 11:41:49 -08:00
Harald Jensås 137394737d Use OS::Heat::None for extra role BMC
The example's environments/base-extra-node.yaml
and environments/base-extra-node-all.yaml uses a
CentOS image to create undercloud like extra nodes.

There is no need for a virtual bmc for the servers
in this role. Set the BMC to OS::Heat::None so that
no BMC instance is created for this role.

Change-Id: I502de0a2e0352078e8f187cc0592f49ec0a9d65d
2021-06-29 17:07:54 +02:00
ramishra a3b959f150 Revert extra node BMC mappings
Partially reverts Ib7ac727d29012427a11ddb4dd6e51a3534d8aece.

Change-Id: I352ed61a2b44ec9b2f0d4d44332182b43152d9ea
2021-05-31 17:29:09 +05:30
ramishra d6452234c0 Add baremetal_config_drive parameter for baremetal instances
This also sets OS::OVB::BMC to OS::Heat::None for the extra
nodes roles.

Change-Id: Ib7ac727d29012427a11ddb4dd6e51a3534d8aece
2021-05-27 20:59:36 +05:30
ramishra cfaf78da7f Add config-drive to extra node environments
This is required for scenarios that use extra nodes.

Related-Bug: #1929384
Change-Id: Ic7f0aa563ca7ca771edbddb01281139d7b50adee
2021-05-26 17:18:33 +05:30
Sandeep Yadav b58913d865 Add config-drive in parameter_defaults
We added support to explicitly request config-drive
for BMC and Undercloud type instances in [1]. Default
is false.

Adding similiar option in parameter_defaults will ease overriding
environments/base.yaml in ovb-manage role generate_template.yml[2].

[1] 306ec29aec
[2] https://github.com/rdo-infra/review.rdoproject.org-config/blob/master/roles/ovb-manage/tasks/generate_template.yml#L13

Change-Id: I7bbdc80684147c72561c0434b3217e41bd2a0995
2021-05-25 16:24:50 +05:30
Zuul b82dc6dfc9 Merge "Add IPv6 radvd and dhcpv6 relay support" 2020-09-14 16:24:36 +00:00
Zuul b3a214a501 Merge "Add allocation-pool support for the public_net" 2020-07-14 15:21:01 +00:00
Harald Jensås ccec11f9c8 Add allocation-pool support for the public_net
TripleO CI uses 10.0.0.1 statically for the undercloud's
public interface. When using extra node in some job's
there is sometime a conflict, because the extra node get's
the 10.0.0.1 address allocated.

Adding support to define the allocation pools on the
public_net allows TripleO CI to define a pool with the
10.0.0.1 address eliminated.

A good practice would be to set up OVB to use
[{start: 10.0.0.128, end: 10.0.0.253}], and then configure
the undercloud/overcloud deployed on the OVB infrastructure
to use addresses in the range 10.0.0.1-10.0.0.127.

The parameter public_net_allocation_pools controls the
allocation pool setting, by default all addresses of the
subnet is in the pool.

Related-Bug: #1874418
Change-Id: Ieca4864e069148abb49eb709bf7f48a14ef04e77
2020-07-10 20:13:50 +00:00
Harald Jensås 6b3d7f1aaa Add prefix --id support for the radvd and dhcrelay
Add prefix support for radvd and dhcrelay instances.
Also adds missing parameters for these instances in
the sample env generator environment.

Change-Id: I86bd6b014b62c3a382458f68443cfb02ed2e7031
2020-07-08 09:45:36 +00:00
Harald Jensås 135786a9ca Add IPv6 radvd and dhcpv6 relay support
Add a new templates to configure radvd and dhcpv6 relay.

For IPv6 routed network the radvd daemon and the dhcpv6
relay is hosted on the same instance.

Since we do not want the networks in the OVB infra to
provide any DHCP or auto configuration we cannot use
neutron routers for provisioning network routing. The
instance running dhcpv6 relay and radvd will also be
the router for the provisioning networks.

Bump template version in undercloud-networks-routed.yaml
to version 2015-10-15. Need this version to avoid error:
  'Items to join must be strings not
   {u'str_split': [u'/', u'fd12:3456:789a:3::/64', 1]}'

Change-Id: Ib95f7d7cfd3d2318ac4f4f44f22955b0c18c465e
2020-05-12 13:40:44 +02:00
Harald Jensås 24e7a37b7e Add radvd helper instance for ipv6 provisioning
Deploy an instance running radvd providing router
advertisement for the provisioning network.

Depends-On: https://review.rdoproject.org/r/25787
Change-Id: Ife0cbedb69001d8473141c93c1d5163694f855a5
2020-03-10 22:57:33 +00:00
Ben Nemec 6210189b04 Make BMC optional
When using pre-deployed servers, you may want all of the networking
setup of OVB but don't actually need to control the instances via
IPMI. While this could already be done, it left a useless BMC
instance lying around. This change allows the BMC to be disabled
completely to clean up such environments.

Change-Id: Icd6936977684d178277ebb721a7fbb3ffad51d9a
2019-03-21 12:56:31 -05:00
Ben Nemec 3797a18965 Add base-extra-node-all sample environment
This is the same as base-extra-node, except that it uses the port
template which opens all ports on all networks.

Change-Id: I14fd83e6ef69df0493656bf59ad8ccfeaa932b02
2019-02-12 16:57:57 -06:00
Ben Nemec 247c2d02d2 Remove non-port-security templates
OVB 2.0 won't support clouds that lack the port-security extension,
so these are no longer needed.
2018-12-12 22:31:13 +00:00
Ben Nemec 870a848349 Add environment to enable public router
Since the router for the public network is disabled by default, we
should have an enablement environment so people don't have to
manually add it to their env file.
2018-10-31 20:47:43 +00:00
Ben Nemec e4edf35b64 Split routed-networks environment
This allows the path-specific registry entries to be static and
doesn't impose any requirements on where the environment containing
parameters lives. The documentation is also updated, which required
a newer version of sphinx to allow automatic references to headings.
2018-10-31 20:38:04 +00:00
Ben Nemec ef30ff2e56 Add sample environments for routed networks
Also fixes a problem with the base environment that was preventing
the env-generator from functioning with the new template layout.
2018-10-05 16:42:46 +00:00
Ben Nemec 4f2ae35882 Add more granular boot-from-volume envs
There may be situations where it is useful to boot only the
undercloud or only the baremetal nodes from volume.  This commit
adds environment files to enable that.
2018-01-22 14:39:16 -06:00
Ben Nemec cc36441e2f Change extra-node default node_count to 1
In most cases a single extra node is going to suffice.  The default
of 2 was only a result of using the same parameter as the regular
roles, which defaults to 2.
2017-10-10 11:51:10 -05:00
Ben Nemec c288a1ae97 Add ability to deploy extra undercloud node role
Adds a sample role environment that will deploy additional
undercloud-like nodes.  In order to do this, it is necessary to
allow override of the baremetal_image parameter in role files, so
that functionality is added too.
2017-09-19 15:36:26 -05:00
Ben Nemec 7e4e05373f Add baremetal_image to role sample file
There are use cases for the additional role functionality where
overriding baremetal_image is useful.  Let's expose that more
explicitly in the sample environment file.
2017-09-18 11:33:01 -05:00
Ben Nemec 0f693f612f Add shared network params to base.yaml 2017-08-17 11:52:27 -05:00
Ben Nemec 5c6d5b144b Add bmc_use_cache environment 2017-08-17 10:21:16 -05:00
Ben Nemec 4d55b7592d Add boot-from-volume support
In some clouds ephemeral storage is much slower than volume storage,
so we want to be able to use volume storage for the performance-
sensitive instances.  This change adds new environments to enable
that and updates build-nodes-json to handle the case where there is
no image associated with an instance.
2017-08-17 10:01:58 -05:00
Ben Nemec face8894f7 Don't duplicate external/private_net param
There's no need for these to be specified in the
create-private-network environment since they're a mandatory part
of the base environment.
2017-08-09 12:11:26 -05:00
Ben Nemec c8339f25a8 Add configuration parameters to all-networks environments
We should expose these parameters in the sample environments so
users know how to customize them.
2017-08-09 10:05:07 -05:00
Ben Nemec 93d2f4f56c Support deploying with multiple Heat environments
Big changes here.  This will make it easier to deploy some of the
more advanced OVB options like network-isolation.  Instead of users
having to figure out which lines in the sample env.yaml to uncomment
when deploying advanced options, they will simply be able to include
one environment file that contains all the appropriate parameters
to turn on the option.

This _should_ be backwards compatible with existing monolithic
env.yaml configurations.  If it is not, that is a bug.

To create the option environments, a slightly modified copy of the
sample environment generator from tripleo-heat-templates has been
copied into the project.  The sample environments should _not_ be
edited directly.  Instead, the definition in the sample-env-generator
directory should be altered and the tool re-run to update the
environment.
2017-08-09 10:03:38 -05:00