Commit Graph

498 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
Emilien Macchi 8dcb08a4ec use the new puppet-nova parameter for sync_power_state_interval
Use the new sync_power_state_interval parameter from puppet-nova to
avoid any breakage in the future, like Puppet resource duplication
error.

Depends-On: Ie82d88f16b42d4405853153460e20f38ba42714a
Change-Id: Ia2cff1c5f4bee28ff1d2b513f2d0b061ab0bbe83
2018-09-04 08:23:12 -04:00
Harald Jensås 7bcdb7f7de Add start/stop command for ironic-inspector-dnsmasq
When the PXE filter's dhcp-hostsdir is purged on start/stop
of the ironic-inspector service inspectors dnsmasq service
must also be restarted to ensure that the dhcp server config
is updated as well.

Partial-bug: #1780421
Depends-On: Ie961ec4d3b6b65a462e2d2493f5b9240c2bfa7a6
Change-Id: I22c7be368b62ef93efabcbd2c13599625ea45548
2018-08-20 14:06:54 +02:00
Thomas Herve 98592c2b07 Set connect_timeout in mysql
This sets the connect_timeout in mysqld, to work around issues with Heat
losing connection to MySQL in the undercloud under load.

Closes-Bug: #1783995
Change-Id: Ia3799cdaf171892431151e4f2f7d2095081b8242
2018-07-27 15:04:33 +02:00
Alex Schultz d49442152a Fall back to puppet-ntp defaults
If the ntp server is not configured in the undercloud.conf, we should
fall back to the defaults provided by puppet-ntp otherwise we end up
with an invalid ntp configuration.

Change-Id: I0000e1cf736b513dbc58c0d39f7e1c0137b660dd
Closes-BUg: #1777140
2018-06-18 09:40:50 -06:00
Bob Fournier 41c401ca65 Allow local_mtu to be set to value greater than default (1500)
The neutron global_physnet_mtu must be set to the configured local_mtu
in order to set local_mtu to a value greater than 1500. Otherwise
the neutron configuration will fail during the undercloud install.

Change-Id: Iaadff350a14a2cfb4bf545065f6d12eab49ba125
Closes-Bug: #1774271
2018-05-30 16:52:20 -04: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
Zuul 38befed4f8 Merge "Remove ironic_host_manager usage" 2018-05-15 23:46:03 +00:00
Zuul 0581cf690c Merge "Wrap heat signal URL's if IPv6" 2018-05-09 00:43:36 +00:00
Jill Rouleau 864d220d8f Remove deprecated rabbit params
Remove the deprecated rabbit params which have been deprecated
for two years. The default_transport_url has been present for
a while now and should be used. Rabbit params have already been
removed from some puppet modules, see for example change
I337249e64bb5c3379db60f71608fb2d39b600294

Change-Id: I770b2a7f49ee033a01821a6ce2f391397366d995
2018-05-04 12:47:30 -07:00
Matt Riedemann ea7c83d332 Remove ironic_host_manager usage
The baremetal scheduling options were deprecated
in Pike and the ironic_host_manager was deprecated
in Queens and has now been removed. Deployments
must use resource classes now for baremetal scheduling.

Depends-On: I695b250c82c8dcedcd8e2bee00c56bb2df19212c
Change-Id: I20d45db6925f7534837e8d00d4d78f06b7c9897d
2018-05-02 16:22:24 +00:00
Zuul b730998987 Merge "Introduce docker_insecure_registries parameter" 2018-05-01 12:25:43 +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
Juan Antonio Osorio Robles 09f400f3de novajoin: Add higher default timeout for nova vendordata plugins
The default timeout of 5s has proven to be quite tight and tends to
fail. So We up the timeout to 30s instead.

Change-Id: I5717bdaf7bda3c9146aa9d269d0296b74b0ede54
Closes-Bug: #1760118
2018-04-27 16:54:55 +03:00
Zuul 8c421446d5 Merge "Replace deprecated auth_uri by www_authenticate_uri." 2018-04-25 21:35:16 +00:00
Derek Higgins 9d981b88e9 Wrap heat signal URL's if IPv6
Change-Id: Ic2e9f45446e307cee1f1261a42ee2c728d6a15cf
Closes-Bug: #1757196
2018-04-20 11:22:53 +01:00
Jose Luis Franco Arza be9bc031ff Replace deprecated auth_uri by www_authenticate_uri.
auth_uri option has been depreacted in favor
of www_authenticate_uri from group keystone_authtoken
in puppet-keystone [0] and keystonemiddleware [1].

This patch adds the new option www_authenticate_uri
until the old auth_uri option is deprecated from
the rest of packages, moment in which auth_uri
references will be removed.

[0] https://review.openstack.org/#/c/558344/
[1] https://review.openstack.org/#/c/508522/

Change-Id: Ie3f59495b1ac43c1a35d912a2da170399652a10e
Related-Bug: #1761171
2018-04-18 10:47:58 +02:00
Zuul 2633e98788 Merge "Enable missing support for large objects in Swift" 2018-04-10 01:54:19 +00:00
Christian Schwede ea55f3de12 Enable missing support for large objects in Swift
The slo and dlo middlewares are required to enable support for large
objects (> 5GB). Also enabling the copy & versioned_writes middleware,
which enables object copying and versionining.

Change-Id: Iff73833f1d470750862873f70a4a9aaba50bd164
2018-04-09 15:22:26 +02:00
Juan Antonio Osorio Robles b1fe5c01bd Always include certmonger_user
This makes sure we always include the certmonger_user profile, which
installs the local CA (if that's the one we're using). This is necessary
for when we deploy TLS by default in the overcloud.

It also makes the setting of the certificate specification to be
optional and to depend on the generate_service_certificate flag.

Change-Id: I8b46ce3f9cd6e36d0b8f604b49e4113301461a4c
2018-04-04 12:44:50 +03:00
Dmitry Tantsur 5e1a4d9f0b Use the new dnsmasq PXE filter in ironic-inspector
With the introduction of rotued networks there can be
a situation where baremetal nodes on remote segments
are unintentionally introspected. Using the dnsmasq
based PXE filtering driver in ironic inspector fixes
the issue.

Co-Authored-By: Harald Jensås <hjensas@redhat.com>
Closes-Bug: #1756075
Change-Id: I53d6c5718c7f9112d578ec6f73830830d2c71737
Depends-On: I056cdadc025f35d8b6fd22f510a7c0a8e259a1f0
2018-03-23 13:54:51 +01:00
Zuul 79601c6c3e Merge "Remove duplicate entry for neutron::service_plugins" 2018-03-17 20:42:37 +00:00
Zuul 27f905a629 Merge "Add configuration for the Nova proxy endpoint" 2018-03-14 17:03:19 +00:00
Honza Pokorny b0894d0ba9 Add configuration for the Nova proxy endpoint
Change-Id: I1de069a4d3786af030530a100982087c0784889e
Partial-Bug: #1755560
2018-03-13 15:17:09 -03:00
Emilien Macchi a52ba3e9a7 [CVE-2018-1000115] memcached: restrict to TCP & localhost
https://access.redhat.com/security/cve/cve-2018-1000115

Restrict Memcached to only work on TCP and localhost.
The restriction is made at the application and firewall levels.
It will prevent DDoS amplification attacks using memcached.

Change-Id: I8072cc842291d133fde9fdfe9e8ad432623a8ef2
Related-Bug: #1754607
2018-03-12 22:29:58 +00:00
Derek Higgins 565a7f41be Remove duplicate entry for neutron::service_plugins
"segments" was needed for routed networks in
I4b384bab2af9f6ba07a137a37f4098a00ce18bc0
it should have been added to the existing list

Closes-Bug: #1754683
Change-Id: I1cfb6b56b520124e8c5b95968dd61f98945f689b
2018-03-09 15:07:58 +00:00
Zuul ee94c3a259 Merge "Enable automatic migration for classic drivers to hardware types" 2018-03-06 23:08:22 +00:00
Zuul af71ac6de7 Merge "Remove ceilometer expirer from instack" 2018-03-06 21:30:31 +00:00
Zuul d87f6ece34 Merge "Drop inspection_enable_uefi option" 2018-03-06 20:31:01 +00:00
Pradeep Kilambi b29abfb1df Remove ceilometer expirer from instack
This service has been removed in queens, clean up the code.

Closes-bug: #1753749

Change-Id: If1b35ce32addfb923151b0d557de6dec58327891
2018-03-06 08:20:04 -05:00
Harald Jensas 28ff631ef0 Install and enable neutron baremetal ML2 and L2 agent
Ironic use binding:vnic_type baremetal for flat interfaces.
The baremetal mechanism driver is required to bind this
vnic_type correctly.

The L2 agent populates segmenthostmapping data in neutron
which is a requirement for routed-networks.

Implements: blueprint tripleo-routed-networks-deployment
Change-Id: I8e192df9068c3f5d6657f5ea92e7e2f44646c290
2018-03-06 11:14:32 +01:00
Dmitry Tantsur 3756d3d60f Enable automatic migration for classic drivers to hardware types
The new online data migration in ironic will migrate nodes from classic drivers
to hardware types. However, it will skip nodes with one or more target
hardware interfaces not enabled. In the undercloud we don't enable certain
implementations that we do not support (e.g. "agent" RAID and
"ipmitool-shellinabox" console for the "ipmi" hardware type).
To allow the migration to work, set a special option to reset these
interfaces to their no-op equivalents ("no-raid", "no-console", etc).

Change-Id: Iba1e82d47c0e22613b06b99f0a9d0f4b3082bbe7
Related-Bug: #1690185
2018-03-06 10:38:29 +01:00
Zuul ba14149425 Merge "Increase size of Heat max_template_size" 2018-03-06 02:49:54 +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
Zuul 34979944bc Merge "Revert "Add option to install the Octavia client"" 2018-03-01 23:29:53 +00:00
Radoslaw Smigielski 8ae1c7d8fa Increase size of Heat max_template_size
Most of the HTTP servers default max body size to 1MB, Apache, Nginx.
That default value is ok as long as users mostly get data from server
but when something needs to be uploaded, 1MB limit is often not enough.
This is what we see with Heat and some of the large templates.
It's not uncommon that WSGI apps have 10MB+ body size limit,
so with the current Heat default value we are still in low range sizes.

Original Heat 'max_template_size' default value was 1M.
In instack-undercloud we bumped it to 2M, bug #1667697.
This change increases it to 4MB.

Change-Id: Ic913ecb44dac800131292d1f3661be5b71f35a78
Closes-Bug: 1752467
2018-03-01 07:00:51 +00:00
Alex Schultz 3225d6493b Revert "Ensure FORWARD is ACCEPT by default"
This reverts commit da31c6e5ba.

This change didn't actually solve the problem so it's best
not to continue to carry it. The correct fix is for the issue
is https://review.openstack.org/547281.

Change-Id: I4b9b4119cb5d07f74d203350611e83fa85c521da
2018-02-27 15:27:10 +00:00
Zuul 529796bed1 Merge "Ensure FORWARD is ACCEPT by default" 2018-02-20 05:06:08 +00:00
Zuul 42e9be0ede Merge "Enable CORS for nova" 2018-02-20 05:06:01 +00:00
Alex Schultz da31c6e5ba Ensure FORWARD is ACCEPT by default
Newer versions of docker have switched to updating the FORWARD chain to
be DROP by default. This causes issues with the deployment. Update the
FORWARD chains to be ACCEPT by default.

Depends-On: Ib75f97748540b9162d76c9c189d3ca7e082b3784
Closes-Bug: #1750194

Change-Id: I93be7138e6a61cf3aadf19f53097d67469befc17
2018-02-19 20:30:18 +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
Honza Pokorny e86ba84691 Enable CORS for nova
Change-Id: Ic6df58947bb2cb1e183b5c88ed8d287191e5ee07
Depends-On: I2ec2f8d2146e8a067aadc97f5997aa40ad8d4812
2018-02-13 14:18:42 -04: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
Dougal Matthews 3e702f3bdf Increase the Mistral cron_trigger interval
Reducing the frequency of the Mistral cron trigger subsystem greatly reduces
the load that is has on the system. Previously it would query the
database every second, now it will only do this every 10 minutes.

Closes-Bug: #1747386
Depends-On: I6445ff1b6691a098f15e8402ae9d971e751f5552
Depends-On: I9060253bc416be28af4ef81f3edf694059d92066
Change-Id: I18ae5bc0b2192a393959186ba756d1e6a6c62d83
2018-02-09 04:13:20 +00:00
Harald Jensas 46a5df2625 Tripleo routed networks ironic inspector, and Undercloud
* Enable the neutron segments service_plugin for routed
  provider networks.
* Update controlplane network code to create segments
  for each subnet.

A number of options related to ctlplane network is deprecated.
More details in release notes.

Implements: blueprint tripleo-routed-networks-ironic-inspector
Implements: blueprint tripleo-routed-networks-deployment

Depends-On: I33804bfd105a13c25d6057e8414e09957939e8af
Change-Id: I4b384bab2af9f6ba07a137a37f4098a00ce18bc0
2018-02-06 09:44:11 +01:00
Harald Jensas 1b83386162 Add per subnet network cidr nat rules
Change-Id: I904bbbac383f5fddbe6a88177ef65981d009d28c
Implements: blueprint tripleo-routed-networks-deployment
2018-02-06 09:34:44 +01:00
Harald Jensas a1d5484a18 Add support for multiple inspection subnets
Configure Inspector with the required tags and
per-subnet dhcp router options to enable
inspection of nodes reaching the undercloud via
DHCP-relay on remote networks.

Change-Id: Iba1cadf1d6eef6ba6c028f4ba1689da95047ccea
Implements: blueprint tripleo-routed-networks-ironic-inspector
2018-02-05 19:23:31 -08:00
Zuul 2fb436b59d Merge "Disable memcached's cachedump" 2018-02-06 03:00:10 +00:00
Derek Higgins a4d6987c74 Disable memcached's cachedump
To prevent users walking the memcached keys, Add "-X".

Partial-Bug: #1738835

Change-Id: I363c8faefcb4ce5153030e36498a7a7961520b01
2018-01-29 17:27:20 +00: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