Commit Graph

125 Commits

Author SHA1 Message Date
Alex Schultz 87abe05ba0 Retire instack-undercloud
instack-undercloud is no longer in use by the TripleO project. Removing
the code to avoid confusion. Stable branches will continue to be
maintained for their life however no new features should be added.

Change-Id: I63a813c7c1ffd30ca30017133d31a497b77a9a4d
Blueprint: remove-instack-undercloud
2018-10-30 12:16:18 +00:00
Harald Jensås 930e2ca49d Drop example in config file comments
There have been some reports of users misinterpreting
where to place configuration for the provisining subnets
in undercloud.conf. The example text for the subnets leads
to users adding the subnets section directly after the
subnets option. I.e in the middle of the DEFAULT section
of the ini file.

This change drops the example. The ctlplane-subnet section
is there as an example already.

Related-Bug: rhbz1585497
Related-Bug: #1778779
Change-Id: I417623db410330058d30fe7435112f01a0f72c83
2018-06-29 12:05:36 +02:00
Zuul ad1b8113e7 Merge "Remove support for classic drivers" 2018-05-30 09:38:25 +00:00
Zuul 081804d16e Merge "Update sample config" 2018-05-30 09:13:30 +00:00
Dmitry Tantsur 0c2c55c504 Remove support for classic drivers
They are deprecated and will be removed from Ironic. A similar change
was already done to the containerized undercloud.

Change-Id: If442f103adc03ec97f9e995d5e2bc47dfc097f90
2018-05-16 11:13:59 +00:00
Emilien Macchi 2ee1ebfd34 Introduce docker_insecure_registries parameter
Introduce docker_insecure_registries that is an array of host/port
combiniations of docker insecure registries. The default value will
be the previous parameter that were hardcoded, but now we can easily
override it in undercloud.conf.

Note: the feature is already supported for the containerized undercloud
but was only missing in instack-undercloud. This patch will be
backported.

Depends-On: I14fda3481ac88429648bed8edb2f4469b33be957
Change-Id: I402ebb80b1d755cdb0c3c28fd542121bc60cb144
Closes-Bug: #1767373
2018-04-28 21:59:56 +00:00
Dan Prince c64a1c823e Fix net_config_override validations
There is an issue with the _validate_no_ip_change function
where it doesn't work correctly with a custom net_config_override
file.

This patch resolves validation issue so that custom os-net-config
templates are taken into account. Additionally it makes it so
that the net_config_override can be empty, thus providing the
user a means of disabling os-net-config if they choose to do so.

Change-Id: Iada099a6bddc7927d26b19776e705b1ac231b2e5
Depends-On: I69eb812af2d653cb3eb29694ae29b57ebb2de53d
Closes-bug: #1764507
2018-04-24 08:57:34 -04:00
Ben Nemec d7884e2df7 Update sample config
It looks like a change was made without running tox -e genconfig,
so the checked in sample config is out of date.

Change-Id: I78cb5d734613fade44003be4fc2d87f1b69c6508
2018-04-17 15:44:15 +00:00
Juan Antonio Osorio Robles 41f2694d13 Enable TLS by default
This enables TLS by defalut in the undercloud. This is done by setting
the generate_service_certificate option to True by default, although,
the deployer can turn it off if needed.

Change-Id: Id329081c06343373309d6880d464ba99aba0c7be
2018-03-21 09:33:17 +00:00
Dan Prince dd05950285 Drop inspection_enable_uefi option
This has been unsupported since 2016's puppet-ironic commit here:
I0f242a7e1c28c4007b3c2d955dbd3b29086e92f1

Change-Id: Ic219fcdf2695c08b629015a0c387629d01f86a20
2018-03-05 21:52:56 +00:00
Carlos Goncalves 720fc49010 Revert "Add option to install the Octavia client"
Other OpenStack services clients are being installed as dependencies of
Heat. Octavia support in Heat was included during Queens development
cycle [1]. TripleO deployments will include python-octaviaclient as
requirement of Heat. This means the Octavia client will be installed in
the undercloud and overcloud regardless.

This reverts commit fef5be332e.

[1] https://review.openstack.org/#/q/topic:bug/1737567+(status:open+OR+status:merged)

Change-Id: I727503b6c1acf1953a0ad864ae6288021a745193
2018-02-19 16:30:29 +01:00
Harald Jensas 52dbe134ab Make routed networks optional
Closes-Bug: #1749671
Change-Id: Ieabb2ded33ec0c0b68f21c9afa16a9baddc61393
2018-02-15 19:45:11 +01:00
Carlos Goncalves fef5be332e Add option to install the Octavia client
Allow installation of the Octavia client in the Undercloud by setting
new option enable_octavia=True in the undercloud.conf. Default is not to
enable.

Change-Id: I2b27dac2f30a126e6519d19cc135ea6eea59e8a9
2018-02-12 21:41:20 +01:00
Harald Jensas 983c2be88e Add per subnet masquerading
Masquerading for external access for each routed
network, if enabled.

Implements: blueprint tripleo-routed-networks-ironic-inspector
Implements: blueprint tripleo-routed-networks-deployment
Change-Id: I792b516314302e2c290e63c10fb0fe6881ce7236
2018-02-06 09:35:07 +01:00
Harald Jensas a10b9997b5 Update config to use per network groups
Use groups to specify control plane network data. When
we do routed networks we need to provide network data
for each controlplane network/subnet.

Implements: blueprint tripleo-routed-networks-ironic-inspector
Implements: blueprint tripleo-routed-networks-deployment
Change-Id: Ia95ff5c00433c89155727ea5551904c45197e6b0
2018-02-05 19:21:25 -08:00
Tony Breeds 82c2fead13 Add support for configuring additional architectures
In this case an additional architecture is any architecture that is NOT
the same as the one running the install.

Blueprint: multiarch-support
Change-Id: I23f438cb41ebc454d4a4351901a86452e2b0d482
2018-01-25 12:02:28 +11:00
Michele Baldessari 955c339af3 Set password for mysql root user on undercloud
The port is firewalled off by default so mysql is not reachable except
to localhost users. In any case it is good to set a password for the
mysql root user.

We are 'reusing' the user_db_password parameter, because it is actually
unused, instead of adding yet another parameter.

Tested this change against an existing undercloud and observed that
the mysql root user got a correct password and that the /root/.my.cnf
file got generated.

Closes-Bug: #1742191

Change-Id: I408ce3a0fe2ab8e86bcc280256cdb51688efde75
2018-01-09 17:55:31 +01:00
Dmitry Tantsur 58701fe014 Support more hardware types and deprecate enabled_drivers
Ironic is going to deprecate classic drivers in Queens and remove them in Rocky.
This change enables hardware types ilo and idrac that correspond to already
enabled classic drivers pxe_ilo and pxe_drac. It also adds support for other
common hardware types, but does not enable them by default.

The enabled_drivers option is deprecated.

Partial-Bug: #1690185
Change-Id: Ib505f3512627c49d17d6adcdc2622bdfe580a84f
2017-11-14 13:12:14 +01:00
Pradeep Kilambi 64e6e17f03 Remove legacy ceilometer api from undercloud
Ceilometer API is deprecated and disabled in pike. Lets remove
this starting queens as its not supported anymore.

Change-Id: I738e8743a315cc2865ba6d1e64c23498e911a283
2017-10-23 21:43:08 +00:00
Pradeep Kilambi da02a5e748 Drop legacy ceilometer collector
Collector was moved to legacy mode in pike and
not supported anymore. Lets drop collector
starting queens.

Change-Id: I952103e39f63d278988a73035d7194b9e351ad31
2017-10-21 14:37:09 +00:00
Ben Nemec 675a59e8ce Allow setting the DNS domain name in undercloud.conf
Without being able to do this, users who want to set CloudDomain
during their deployment will have to manually override neutron's
dns_domain config, which either requires custom hieradata or the
reapplication of the customization after each undercloud update.
This is not a good user experience, so we should allow them to set
it once in the config file and never have to touch it again.

It turns out that the Nova dhcp_domain option must also be set,
even though it is a deprecated option.  A bug with nova has been
opened to address this in the future.

Change-Id: I61e5fc005aa27ba76f91a2b84fec751af93061b5
Related-Bug: 1698010
2017-06-14 22:02:19 +00:00
Dmitry Tantsur 4755b13f47 Clarify the enable_cinder option description
Currently it implies that we support booting from volumes in the undercloud,
which is not the case yet. Change the option description accordingly.

Change-Id: Ie2d92f3e5e4301375290a66553e2afb3cec6da80
Closes-Bug: #1692522
2017-05-22 14:55:28 +02:00
Dmitry Tantsur c8776d9a76 Support configuring enabled hardware types
Enables two generic hardware types by default: IPMI and Redfish.
Calculates enabled power and management interfaces based on enabled
hardware types. Enables support for ironic-inspector and socat console.

Also fixes enabled_drivers which was using deprecated (and removed)
puppet variable ironic::enabled_drivers.

Part of blueprint ironic-driver-composition and blueprint redfish-support.
Change-Id: I22dd51fa871ad9141af2ad935d248262789780a5
2017-05-02 12:15:07 +02:00
Dmitry Tantsur 1eaed08c1b Regenerate the example configuration file
Change-Id: Iab944b38a1b4bce9d4d9bc57da9c9abe74356027
2017-05-02 12:13:49 +02:00
Pradeep Kilambi bb03c120a9 Disable Telemetry services on undercloud by default
Finally lets disable by default. The use case for telemetry
has been quite slim anyway. The interested users now seem to
be ok with enabling it manually when needed. So lets do this!

Change-Id: Ic35bcf4f789a3f30e4634789e965203be74d2e8c
2017-04-19 12:24:28 -04:00
Jenkins c1bfb84e6e Merge "Add new enable_container_images_build setting" 2017-04-13 19:02:30 +00:00
Pradeep Kilambi 0d809c2939 Deprecate Ceilometer Collector on undercloud
Ceilometer Collector has been deprecated in pike release. Lets
disable it by default. ALl the data will be dispatched through
pipeline going forward.

Change-Id: I8132418636a6e9a564de16ed8c4d4bfa406c886c
Closes-bug: #1676961
2017-04-12 16:50:06 +00:00
Martin André 424899af9d Add new enable_container_images_build setting
The new `enable_container_images_build` setting allows to control
whether to install the required packages to build container images on
the undercloud. It defaults to 'true' to be backward compatible.

Change-Id: Ia3379cf66b1d6b180def69c2a5b22b2602baacef
2017-04-12 18:27:39 +02:00
Dan Prince 19470b58ec Add option to configure docker_registry_mirror
This patch adds a new option to configure the docker_registry_mirror.
The motivation is to be able to make use of new infra HTTP
mirrors for docker images.

Depends-On: I4b966e9b9b174ca5a6f57974185e0149ea12f232

Change-Id: I09761ac70454e7f3fe35d0ffe32b1edb0ca217f3
2017-04-07 16:46:44 -04:00
Jenkins ff9e3c66db Merge "Remove support for the deprecated pxe_ssh driver" 2017-04-06 20:37:28 +00:00
Pradeep Kilambi 8e0ab4da13 Disable Ceilometer API by default on undercloud
Ceilometer API has already been deprecated in Ocata. Lets stop
deploying it by default on undercloud.

Closes-bug: #1676968

Change-Id: I27ce7d480be1196aff5dec3dfb6e1d7f5651c852
2017-04-05 17:59:38 -04:00
Dmitry Tantsur 1d9aa6c571 Remove support for the deprecated pxe_ssh driver
It was deprecated in the Newton release and will be removed in Pike.
VirtualBMC or OVB should be used for development and testing instead.
This is a follow-up to blueprint switch-to-virtualbmc.

Change-Id: Ic868fdb8754acf2dbd660b47fdcbd95608454e9e
2017-04-04 14:00:58 +02:00
James Slagle 42d050ae3b Create Heat API CFN endpoint
Create the Heat API CFN endpoint by including the needed puppet class.
Previously, we were not creating the endpoint.

When using deployed servers where the ctlplane is not routable, you may
want to configure Heat polling and signaling over the public endpoints
instead of the internal endpoints. In order to do so, endpoints for the
CFN service need to be created.

Change-Id: Iefa9d5bd3b03eb4812f24be2ca1ad0fa3a157402
Closes-Bug: #1674827
2017-03-22 11:19:03 -04:00
brault 47d8c49e96 Fixing a typo: from "to to" to "to" in paragraph related to 'hieradata_override' option.
Change-Id: I69c651fd184f29c1b13ea44518970bec638512a6
2017-03-10 10:06:34 -05:00
Sofer Athlan-Guyot d85b11c839 Fix ntp configuration.
There was some configuration in hiera template and in
puppet-stack-config.pp, but both were faulty and there was no way to
specify any ntp server.

Change-Id: Ie9e9b5765521250b93a2aed567f253890672d6a8
Closes-Bug: #1664537
2017-02-14 13:49:21 +01:00
Alex Schultz 1f325e5cca Remove image_path option
The image_path configuration has not done anything since the switch to
using 'image upload' instead. Lets remove this configuration option.

Change-Id: I3d29375e60022b3e861a2f6b96c2892df4d9eb4b
Closes-Bug: #1662981
2017-02-08 11:07:56 -07:00
Dmitry Tantsur cf0c95b356 Set discovery_default_driver=pxe_ipmitool and add missing release note
This is a follow-up to commit 350aeaff66.

1. Change the default driver for new nodes to pxe_ipmitool as it's our
   go-to default driver.

2. Add a release note with a link to more details.

Change-Id: I3535cbfbffd2ce394b4e828c53a7fba6ee46fb5c
Implements: blueprint inspector-node-autodiscovery
2017-01-31 11:30:29 +01:00
Dmitry Tantsur 350aeaff66 Allow enabling node auto-discovery on the undercloud
Implements: blueprint inspector-node-autodiscovery
Change-Id: Ifa6f37de0e173744257931e7d13e2f98dc4513fa
2017-01-27 16:04:33 +01:00
Jenkins b53d8dd32d Merge "Validate vips when generating certificate too" 2017-01-24 15:47:27 +00:00
Ben Nemec e465ca4e70 Remove enable_(mistral|zaqar) options
Disabling either of these features is going to result in a useless
undercloud now, so there's no point exposing them as options.

Change-Id: I2c54ec066fcc321fefe473038631efe9ced61936
2017-01-19 18:48:43 +00:00
Ben Nemec 9c6424df5d Validate vips when generating certificate too
When generate_service_certificate is True,
undercloud_service_certificate will not necessarily be set when it
is passed to validation.  We need to check if either value is set
when deciding whether to validate vips.

Unit tests for this behavior were missing as well, so those have
been added.

Another consideration for this change is that we have started
passing non-IP values to these vip parameters when configuring
ssl.  This is counterintuitive, but apparently works as intended
so let's just rename the parameters and handle both IPs and DNS
names for those values.

Change-Id: I53151d4f555d5d161a3e53ce5f022e3bf3b2ffbd
Closes-Bug: 1643655
2017-01-19 08:11:21 -07:00
Jenkins 22f214c7a2 Merge "Remove store events setting" 2017-01-19 01:17:34 +00:00
Pradeep Kilambi 61ef5266ab Remove store events setting
store_events is removed upstream from ceilometer.
Use event_dispatcher instead to redirect events.

Change-Id: I425a8093046574a2e0b24a6fe64691b247189716
Closes-Bug: #1657555
2017-01-18 14:44:20 -05:00
Pradeep Kilambi ad1076f589 Add panko service to undercloud
With ceilometer API deprecated, we need a way to access
events. Panko provides this for us. This will only be
enabled if enable_telemetry is true.

Change-Id: If241ff2e387996b424206d2f0362ff3caafacdda
2017-01-18 13:29:05 -05:00
Ade Lee 267d9b1fcb Add code to support novajoin in the undercloud
Novajoin is a new nova metadata micro-service that registers
instances created by nova with a FreeIPA server, so that we can
take advantage of server/service identities, kerberos credentials,
access and sudo controls etc.

The included modules will cause the undercloud to be registered with
a FreeIPA server, for novajoin to be installed, and for nova on the
undercloud to be configured to use novajoin.

Change-Id: I2e1c18a0174f70dc6e9c1d402caac574e6c81678
Implements: blueprint novajoin
2017-01-16 11:19:22 -05:00
Pradeep Kilambi 554977801a Keep Ceilometer api enabled for Ocata Undercloud
Due to the deprecation policy and giving our users more
time to switch to gnocchi/aodh/panko, We will continue
running ceilometer API for one more release.

This will be set to false in pike release as per deprecation
policy guidelines. Users are expected to completely switch
to other supported services by then.

This support was added in I9e77ed7d285c69d89aea1f62a098a25619c57420

Change-Id: Ib13b097aa242ad4bf5a0177a28ba4d2dae4dca5f
2017-01-11 10:25:41 -05:00
Ben Nemec 039eb66b89 Revert "Add code to support novajoin in the undercloud"
The most recent patch set in this change never passed ci.  Since
we're now having nova issues in the undercloud, I'm trying a
revert to see if it fixes the problem.

Closes-Bug: 1655171

This reverts commit 3a12ee67e4.

Change-Id: Ic0f500d7d8b832981664f164314756dd7e224f10
2017-01-09 23:04:21 +00:00
Ade Lee 3a12ee67e4 Add code to support novajoin in the undercloud
Novajoin is a new nova metadata micro-service that registers
instances created by nova with a FreeIPA server, so that we can
take advantage of server/service identities, kerberos credentials,
access and sudo controls etc.

The included modules will cause the undercloud to be registered with
a FreeIPA server, for novajoin to be installed, and for nova on the
undercloud to be configured to use novajoin.

Implements: blueprint novajoin
Depends-On: I5ffa45bdc400e123079c79e15776ebacdcb24de9
Change-Id: Ia2fdb544460cd39fbfda5970c9bfba22feec6403
2016-12-21 09:35:02 -05:00
Pradeep Kilambi 4b4d4bd918 Disable legacy ceilometer api
Now that ceilometer api is deprecated, lets disable it
by default. You can still enable by setting the
enable_legacy_ceilometer_api param to true.

Change-Id: I9e77ed7d285c69d89aea1f62a098a25619c57420
2016-12-15 19:46:29 +00:00
Pradeep Kilambi 0077a78496 Add gnocchi support on undercloud
with ceilometer api being deprecated, we need gnocchi to process
metrics. This patch adds gnocchi on undercloud when telemetry
is enabled.

Implements: blueprint gnocchi-undercloud

Change-Id: I8cca1bee47fae8adf715e70e4ccb61db47c16d98
2016-12-15 14:45:31 -05:00