Commit Graph

146 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
melissaml 48c1ab67bb Update the outdated URL in doc
Change-Id: Iea0c47b77dc69e9e9638e865c2c2bfd7e980d9bb
2018-09-23 22:17:02 +08:00
Zuul ea030bb0fa Merge "Add start/stop command for ironic-inspector-dnsmasq" 2018-08-30 02:07:16 +00:00
OpenStack Release Bot 3e9c155005 Update reno for stable/rocky
Change-Id: Icc5097a0bcc73867ff2460c1a2fbb3f10172e8de
2018-08-24 14:41:03 +00: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
Zuul be5fa9744f Merge "Set connect_timeout in mysql" 2018-08-03 18:08:27 +00: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
Christian Schwede d3c6857a49 Restart rsyslog after installing Swift
This ensures that Swift logs end up in /var/log/swift/swift.log.

Closes-Bug: 1781350
Change-Id: Id5a6083f5dc3f8c569e0d0778722c1e52ff7cdef
2018-07-12 12:52:53 +02:00
chenjiao 6b74fe4e38 incompatability spelling error
the world incompatability should be incompatibility

Change-Id: Ie908247405fd02243b380d93f2a4a422ef1a45fd
2018-06-14 16:38:51 +08:00
Emilien Macchi 8c30db7218 puppet: deprecation message for non-containerized undercloud
Show a deprecation message in the Puppet catalog so people know we
deprecate underclouds deployed by instack-undercloud in Rocky.

Also add a release note for deprecation.

Change-Id: I4ca1478ea22060ada7f35bf74575fa08c8471d73
2018-05-10 03:47:37 +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
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
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
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
Zuul 26e96210c7 Merge "Make user-provided cert take priority over autogenerated one" 2018-03-14 17:03:20 +00:00
Juan Antonio Osorio Robles 9fc6b98590 Make user-provided cert take priority over autogenerated one
It used to be the case that if you give both a user-provided
certificate, and set the flag for instack to autogenerate the
certificate, the autogenerated one took precedence. This is not ideal
since it might not be what the user expects (especially if we switch to
using TLS by default).

Closes-Bug: #1755497
Change-Id: Ia8aa52d80999ad278501ca8ecf0638ef8de6ca19
2018-03-13 16:33:13 +02: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
Zuul ee94c3a259 Merge "Enable automatic migration for classic drivers to hardware types" 2018-03-06 23:08:22 +00: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
OpenStack Release Bot ce5dc7f4bd Update reno for stable/queens
Change-Id: I87e53d34acedfb8e914ff5f362aa4091d1514398
2018-03-03 11:39:07 +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 a903c10542 Update routed network reno
With Ieabb2ded33ec0c0b68f21c9afa16a9baddc61393 using
subnet-to-segment mapping is made optional. This
updates the releasenote.

Change-Id: I6292bb68f195b8cf319401d4ba20c441193b4178
2018-02-15 19:45:36 +01:00
Zuul 1b914f8608 Merge "Catch APIException exceptions raised by Mistral" 2018-02-13 23:25:44 +00:00
Dougal Matthews aabd6e639e Catch APIException exceptions raised by Mistral
In the change to keystone sessions and Mistral client 3.2.0 the
exception raised when fetching an environment that doesn't exist
changed. This adds the new exception but continues to catch the previous
one.

Closes-Bug: #1749186
Change-Id: I304547b9ecabe4e387339c8561bbae8651cd9db6
2018-02-13 14:19:25 +00: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
Zuul b71fcb0cce Merge "Enable the ansible deploy interface out of box" 2017-12-07 03:41:31 +00:00
Zuul 5565e25bed Merge "Add support for oVirt via the staging-ovirt hardware type" 2017-12-06 15:35:27 +00:00
Zuul 8e4c95bf9d Merge "Support more hardware types and deprecate enabled_drivers" 2017-12-01 05:29:26 +00:00
Dmitry Tantsur 3a86b35340 Enable the ansible deploy interface out of box
This new deploy interface works by SSHing into IPA and using ansible to
orchestrate all deployment actions.

Change-Id: Ic697d50710a9ad92f70386b8dd74019e8cd5320b
Implements: blueprint ansible-deploy
2017-11-28 15:42:11 +01:00
Dmitry Tantsur 0064ff2d98 Add support for oVirt via the staging-ovirt hardware type
Depends-On: Ibef8f33f306b9d3b598698345ce3b0978f62a2ad
Depends-On: Iebf31db70dfd800d47399c69d7b2255467a87a1d
Change-Id: I3e5d0a72e2ba22537ce2c0eb30000c29f429dc3f
Implements: blueprint ovirt-driver
2017-11-24 13:43:18 +01:00
Pradeep Kilambi 96df8b1240 Fix panko ssl port
Panko ssl port should be 13977 as defined in puppet tripleo
haproxy resource. Due to this we have a mismatch
and undercloud events fail to work.

Closes-bug: #1732459

Change-Id: I7d01af154cc9e13a30107e810cbaf951fb751f1c
2017-11-15 09:10:00 -05: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
Zuul 6939ac649d Merge "Remove legacy ceilometer api from undercloud" 2017-10-31 23:22:17 +00:00
Emilien Macchi d5f6b8ea0f heat-dbsync: increase timeout to 15 minutes
Increasing the heat db-sync from 5 to 15 minutes.
During an undercloud upgrade, the database can be very big and the
dbsync needs at least 10 minutes to run. So we override the Puppet
default value of 5 minutes to have a timeout of 15 minutes for
production deployments.

Change-Id: I7720bd68a3d6044287ccdebf77086a86c51ddd8f
Closes-Bug: #1726959
2017-10-30 16:03:31 +00: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
Jenkins 99319f9ec3 Merge "Enable convergence engine on the undercloud" 2017-10-07 03:36:58 +00:00
Emilien Macchi c0f5264f58 (retry) configure all OpenStack services with default domain
Keystone upstream removed v2.0 APIs so we can't fallback on v2 endpoints
anymore and we have to provide domains parameters to use v3 API.

This patch aims to do it.

Change-Id: I42c8fa4025be8d059ed902eaefc51dc0c21dc581
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Closes-Bug: #1721366
2017-10-06 03:41:44 +00:00
Jenkins de7e22dc94 Merge "Revert "Configure all OpenStack services with default domain"" 2017-10-06 02:12:18 +00:00
Jenkins 721400682d Merge "Fix invalid /etc/hosts edit" 2017-10-05 20:46:27 +00:00
Emilien Macchi a1f85e84c4 Revert "Configure all OpenStack services with default domain"
The resource managed in Juan's patch is ignored. We could force it with spaceship <||> but the right and Puppet way to do it, is with Hiera. I'm reverting this patch and I'll propose another one like I did in my early patchsets with Hiera (and correct parameters this time).

This reverts commit 003e373b04.

Change-Id: I0dcdfe204587dac7922aee0726285e5c4f41aaf5
2017-10-05 17:00:24 +00:00
Emilien Macchi 003e373b04 Configure all OpenStack services with default domain
Keystone upstream removed v2.0 APIs so we can't fallback on v2 endpoints
anymore and we have to provide domains parameters to use v3 API.

This patch aims to do it.

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: Id3fcc24614f6bf67079c07a6296ff371f51a1770
Closes-Bug: #1721366
2017-10-05 08:35:08 +03:00
Ben Nemec 9295d50fc3 Enable convergence engine on the undercloud
We want to turn this on for Queens, and we might as well do it early
in the cycle so we have a chance to address any issues that may come
up.

We also want to migrate any existing stacks to use the convergence
engine to reduce the support matrix.  This patch includes a post-config
step do so.

Change-Id: I96952f78cb95252d2bc6c0df64561d07df51dc5a
2017-09-27 19:43:59 +00:00
Pradeep Kilambi 7ab4febf4f Explicitly set event publishers to panko and gnocchi
By default puppet only sets gnocchi as the publisher, we also need
panko, so events gets sent to both endpoints.

Change-Id: Id4d4f62cd71e87503a99c8dad6f0aeef1e9dbdb3
2017-09-26 18:36:21 -04:00
Brad P. Crochet c0cffaae49 Deploy Mistral with Keystone v3 options (authtoken)
Deploy Mistral with Keystone v3 options (authtoken) like we do for other
services.

Change-Id: Ibc57b881c2ee99ca76ae5f38737959fb896f87f7
Depends-On: Id0d683037d232e7269e401d9b818aec09e5ed4ab
2017-09-13 11:12:16 -06:00
Marios Andreou 21c0ed76e6 Revert "Revert "Adds execution of post-upgrade validations on undercloud upgrade""
Posting the revert of the revert :) so we can eventually land this.
Not clear yet how these validations are causing this
https://bugs.launchpad.net/tripleo/+bug/1713832

This reverts commit 6c3ca0cf57.

Change-Id: I9e85ccefffa5edcee0dca58a53d782a5428c3d18
2017-09-09 21:46:15 +00:00
Honza Pokorny 19c96cd859 Add an hourly cron trigger for tripleo-ui logging
After tripleo-common workbooks are loaded, we create a new cron trigger in
Mistral.  This will run the `publish_ui_logs_to_swift` workflow every hour.

Also makes sure that we are deleting the cron-triggers before deleting
the workflows

Change-Id: Ic60be51e46b56cbae9c4b5071ec8bfd908cccd5d
Depends-On: I2affd39e85ccfdbaa18590de182104715cfbbed4
Depends-On: I636873c0db4b3dbf66a0c5a856fee4dcb644ac3c
Depends-On: Ifa7d6eb43ea86e97ef5707d378901d3e2c074a7a
Implements: blueprint websocket-logging
2017-09-08 10:14:47 +01:00