1038 Commits

Author SHA1 Message Date
Brent Eagles
f4460a580d Run octavia-api under httpd
octavia-api's cli app doesn't behave well with haproxy so let's run
under apache and save ourselves some grief. Also adds cleanup for the
octavia-api tls proxy in update and upgrade tasks if it was previously
deployed.

Also updates zuul layout for multinode job to track changes to new
flattened octavia service files.

Closes-Bug: #1815811

Change-Id: Ied7cb31fbf1222694250e4769573bcbb82ba5bea
2019-04-09 18:01:37 -02:30
Zuul
6aa93d0825 Merge "Provide option to disable EMC in puppet-vswitch" 2019-04-09 00:07:19 +00:00
Martin Schuppert
b4e4878b83 Deprecate nova-consoleauth service
As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.

Lets deprecate it also in tripleo that it can be removed in a later
release.

[1] https://docs.openstack.org/releasenotes/nova/rocky.html

Change-Id: I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f
2019-04-08 12:03:49 +00:00
Zuul
c297ec2a3e Merge "Deprecate messaging params replaced by global oslo params" 2019-04-03 11:25:15 +00:00
Martin Schuppert
ffa6810e49 Add novnc proxy to cellsv2 multicell controller
With cellsv2 multicell in each cell there needs to be a novnc proxy as the
console token is stored in the cell conductor database. This change adds
the NovaVncProxy service to the CellController role and configures the
endpoint to the local public address of the cell.

Closes-Bug: #1822607
Depends-On: https://review.openstack.org/649265

Change-Id: Ia3a36d369fdc18685f4c965a9e371ca3143967bf
2019-04-02 11:52:35 +02:00
Andrew Smith
405366fa32 Deprecate messaging params replaced by global oslo params
Depends-On: I03900b39ab257a9563db37e403254b54f846c056
Change-Id: Ib55c72c0bab9aa0ffc05752a680f573cc351ae17
2019-03-28 12:13:07 -06:00
Marc Methot
1a802f3ddb Adding configurability to the amphora image format
By adding parameter `OctaviaAmphoraImageFormat`, it adds flexibility to
select amphora image format without forcing to use the use of
`NovaEnableRbdBackend` parameter.

Change-Id: I61ae421058fa9a944b2bbbbeeccef6b738c22a7e
Closes-Bug: #1817777
2019-03-28 11:33:19 +00:00
Yogananth Subramanian
dbe516df0a Provide option to disable EMC in puppet-vswitch
This patch disables EMC by setting emc-insert-inv-prob to 0.

Depends-On: https://review.openstack.org/647955
Change-Id: I36bc91064df224cfdaf01fb38e74ee8a9e4bf407
2019-03-28 09:30:51 +05:30
Zuul
97f0a5c0c9 Merge "mistral: configure heartbeat parameters to avoid action timeout" 2019-03-26 17:47:38 +00:00
Zuul
bb89de950f Merge "Add external_resource_vip_id property to network_data.yaml" 2019-03-26 03:46:56 +00:00
Zuul
cf25304879 Merge "Use get_attr to set %network%InterfaceDefaultRoute" 2019-03-25 21:52:55 +00:00
Emilien Macchi
374fafd66a mistral: configure heartbeat parameters to avoid action timeout
This patch configures and increases the defaults heartbeat parameters in
Mistral so we don't hit timeouts when an action in a workflow takes
times to reply back in Mistral, when deploying an Overcloud.

Parameters added:

  MistralMaxMissedHeartbeats:
    type: number
    default: 15
    description: >
        The maximum amount of missed heartbeats to be allowed.
        If set to 0 then this feature is disabled. See check_interval for more
        details.
    constraints:
      - range: { min: 0 }
  MistralCheckInterval:
    type: number
    default: 20
    description: >
        How often (in seconds) action executions are checked.
        For example when check_interval is 10, check action
        executions every 10 seconds. When the checker runs it will
        transit all running action executions to error if the last
        heartbeat received is older than 10 * max_missed_heartbeats
        seconds. If set to 0 then this feature is disabled.
    constraints:
      - range: { min: 0 }
  MistralFirstHeartbeatTimeout:
    type: number
    default: 3600
    description: >
        The first heartbeat is handled differently, to provide a
        grace period in case there is no available executor to handle
        the action execution. For example when
        first_heartbeat_timeout = 3600, wait 3600 seconds before
        closing the action executions that never received a heartbeat.
    constraints:
      - range: { min: 0 }

Configuration applied to Undercloud:
Maximum missed heartbeats: 30 seconds
Time between interval checks: 40 seconds
First Heartbeat timeout after 7200 seconds

Depends-On: I7a2313bed58485e077ae210d222902f4f997f0f0
Change-Id: Id8663e76b61c9e09547c228da226b706383a3e20
Closes-Bug: #1821611
2019-03-25 20:29:24 +00:00
James Slagle
c7a97ce997 Add external_resource_vip_id property to network_data.yaml
Adds the external_resource_vip_id property, which can be used to set an
external_id for the port resource for the network VIP.

Since the same template resource, port.network.j2.yaml is used for both
VIP and normal ports on a network, we can't simply add jinja to that
template that conditionally adds the external_id attribute because we
don't know during the jinja2 phase if the template is for a VIP or not.

Instead, we need to map the VIP resources to an entirely new template
resource (external_resource_port.network.j2.yaml) so that we can set the
external_id attribute just for the VIP ports.

Change-Id: I27d3eeb11277004b00aa4d6a66014d5c71081c26
implements: blueprint split-controlplane-templates
2019-03-25 10:48:40 -04:00
Zuul
9e70a6f1fb Merge "Make nfs version for nova ephemeral storage configurable" 2019-03-24 04:03:31 +00:00
Zuul
c09ff4d9b3 Merge "nova: Deprecate the nova-placement service" 2019-03-21 20:24:51 +00:00
Harald Jensås
ce9a83c8cd Use get_attr to set %network%InterfaceDefaultRoute
For networks in role.default_route_networks use get_attr
to fetch the gateway_ip of the port's subnet and pass
it to the nic-config template.

Changes the default in nic-config templates to ''.

Closes-Bug: #1821046
Change-Id: Ic07a3166fafba3aa307a9e1953b3e3be2594a6f5
2019-03-21 00:26:26 +01:00
Zuul
0a841e3433 Merge "Remove UndercloudCtlplaneSubnets defaults in UC env" 2019-03-20 12:31:43 +00:00
Lee Yarwood
7985f02b82 nova: Deprecate the nova-placement service
This will be replaced by an extracted Placement API service in Train.

Change-Id: Ic904aba7c19eda0a0a22dd2d13b9d4182b4595c4
2019-03-20 10:28:46 +00:00
Sergii Golovatiuk
2a8fcc4ddf Remove UpgradeRemoveUnusedPackages
UpgradeRemoveUnusedPackages is not used anymore. All packages are
supposed to be removed on undercloud upgrade to 14.

Change-Id: Ie6b739390ec0ae0c5773a5a6c63b49422195623a
2019-03-19 13:40:02 +00:00
Martin Schuppert
393e89bfb6 Make nfs version for nova ephemeral storage configurable
New parameter ``NovaNfsVersion`` allow configuring the NFS version
used for nova storage (when NovaNfsEnabled is true). Since NFSv3
does not support full locking a NFSv4 version need to be used. To
not break current installations the default is the previous hard
coded version 4.

Change-Id: I810478ed82ee6dc056d9652be91dc45b123e78cf
2019-03-19 11:42:32 +00:00
Harald Jensås
ea80847f96 Remove UndercloudCtlplaneSubnets defaults in UC env
The defaults in environments/undercloud.yaml will be
merged with what the was defined in undercloud.conf.
If the 'ctlplane-subnet' is not used in undercloud.conf
the default is merged, and we end up with an additional
subnet that was not requested by the undercloud installed.

This change set the default to {} in:
  environments/undercloud.yaml

Also add's a comment to hightlight that there should be
a empty dict default.

Closes-Bug: #1820330
Change-Id: Idc17154b2e1e143ba4e84b9b96f5355fc9230172
2019-03-18 18:32:29 +01:00
Martin Schuppert
c62247fa8b Run chown for nova log files on every run to fix wrong permissions
If nova-manage command was triggered on a host for the first time as root
(usually manual runs) the nova-manage.log gets created as root user. On
overcloud deploy runs the nova-manage command is run as nova user. In such
situation the overcloud deploy fails as the nova user can not write to the
nova-manage.log. With this change we run the chown of the logs files on
every overcloud deploy to fix the nova-manage.log file permissions.

Closes-Bug: #1820590

Change-Id: Iaa8db09712da6c0d9553fab39d7d5b50fa7cf287
2019-03-18 12:11:23 +01:00
Zuul
b80abea3b4 Merge "Manage system timezone with ansible" 2019-03-14 00:15:40 +00:00
Alex Schultz
866a7f79e4 Manage system timezone with ansible
Switch to use ansible's timezone module for timezone management of the
overcloud and undercloud systems. This change deprecates using puppet to
manage the timezone configuration.

Change-Id: Ie1a92ca5677833f302daa71cba42c5091302b2aa
2019-03-13 08:21:35 -04:00
Zuul
84ac7282cd Merge "Support ctlplane subnet host routes from undercloud.conf" 2019-03-13 11:53:46 +00:00
Emilien Macchi
5ff6f7416d Switch ContainerCli to podman by default
The plan is:

- Docker is deprecated in Stein
- Podman is the default in Stein
- Docker will be removed in Train

Change-Id: I8f00d3e539abc4a169d6b48b8ce697e54aa2eae9
2019-03-12 11:17:15 -04:00
Harald Jensås
42b0bc930a Support ctlplane subnet host routes from undercloud.conf
Change: I692fcc4a494b2cda1911814a53a0c6ec2f99f807 in
python-tripleoclient added support to define host routes
for the subnets in undercloud.conf.

Update the undercloud ctlplane network post script so
that it add's these routes to the host_routes property
of the undercloud ctlplane subnets.

THT already uses the data in the subnets host_routes, it
is passed as ControlPlaneStaticRoutes to NetworkConfig
unless ControlPlaneStaticRoutes was statically overriden
in the environment.

Closes-Bug: #1819464
Depends-On: I692fcc4a494b2cda1911814a53a0c6ec2f99f807
Change-Id: I46b7c7175f542ad4d375a20f133c05064e7b7222
2019-03-12 16:01:22 +01:00
Zuul
61de5331a5 Merge "Remove Congress" 2019-03-12 01:05:56 +00:00
Zuul
db7ed1646e Merge "Add kek_rewrap functionality to Barbican" 2019-03-11 20:03:29 +00:00
Zuul
5ff45134ac Merge "Support cinder-volume running active-active" 2019-03-08 03:18:29 +00:00
Emilien Macchi
3e62d483fc Rename docker_puppet_tasks to container_puppet_tasks
Change-Id: I23c539555fe1f9db96cd9b84fdcb4240473d55df
2019-03-05 12:07:09 -05:00
Ade Lee
80e2dad367 Add kek_rewrap functionality to Barbican
Add the ability to rewrap keks when the master key is updated
by simply doing an update.  Also, provide some needed ordering
in the steps involving MKEK and HMAC creation, sync and update.

Change-Id: I5e5a099173e82c04f4e0157049df08c8c7c47045
2019-03-05 12:00:46 -05:00
Zuul
47f04b1e67 Merge "flatten database service Redis" 2019-03-05 02:25:08 +00:00
Alan Bishop
5b11bb39da Support cinder-volume running active-active
Add the ability to run the cinder-volume service in an active-active
configuration via a new CinderVolumeCluster parameter. The cinder-volume
service runs A/A only when configured with a cluster name.

Change-Id: Ic76742d3835d93bf16f5d9c13a2786fd7a373423
Depends-On: I615af64086d46356f322094d9f3b4e29557ed899
2019-03-04 14:58:51 -05:00
Zuul
e7db158840 Merge "Rename /var/lib/docker-puppet to /var/lib/container-puppet" 2019-03-04 17:16:34 +00:00
Zuul
f800fc303b Merge "Add Mellanox SDN ML2 template for a containerized service" 2019-03-04 12:06:35 +00:00
Zuul
e5fc7a5fdc Merge "allow to configure broadcast_dhcp in neutron DHCP server" 2019-03-04 12:02:58 +00:00
Zuul
4ca879b09c Merge "Deprecate TripleO UI" 2019-03-02 00:04:28 +00:00
Emilien Macchi
81c1cae40d Rename /var/lib/docker-puppet to /var/lib/container-puppet
The /var/lib/docker-puppet is deprecated and can now be found under
/var/lib/container-puppet. We don't have Docker anymore so we try to avoid
confusion in the directories. The directory still exists but a readme
file points to the right directory.

Change-Id: Ie3d05d18e2471d25c0c4ddaba4feece840b34196
2019-03-01 14:59:37 -05:00
David J Peacock
47ec1089a5 flatten database service Redis
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of database service Redis
has been removed.

Change-Id: I530ee8196e1d4b81ae4886b234e1a530cf34becf
Related-Blueprint: services-yaml-flattening
2019-03-01 10:58:31 -05:00
Emilien Macchi
66a477509d Deprecate TripleO UI
Change-Id: I42c6e34b4d6e692d445fe688a5888bf4f6ba5fa6
2019-03-01 13:17:46 +00:00
Zuul
c277fcf3d9 Merge "flatten database service MySQL Server" 2019-02-28 23:25:32 +00:00
Emilien Macchi
f3b85e4ba5 Remove Congress
Congress doesn't seem to be used anywhere, we never had a bug report or
any sign of somebody out there actually using it.

Let's remove its support in TripleO, to reduce the codebase.

Change-Id: Idca6b12f1c0ca3bc15bedf6469d4063a4dac31fa
2019-02-28 16:29:03 -05:00
Zuul
37c7cc72b9 Merge "Be able to know when we are running inside a minor update workflow" 2019-02-28 16:53:40 +00:00
David J Peacock
6dbfde9c85 flatten database service MySQL Server
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of database service MySQL Server
has been removed.

Change-Id: I407bd8d8fe9bde53609e4316b12eb0b7151552ca
Related-Blueprint: services-yaml-flattening
2019-02-28 08:36:31 -05:00
Moshe Levi
65c62f47f1 allow to configure broadcast_dhcp in neutron DHCP server
Allow Neutron DHCP agent to use broadcast in DHCP replies by
enabling this parameter NeutronDhcpServerBroadcastReply

Change-Id: I09859ea39e7fc348b7ff6626d24eb9d058d642d2
Closes-Bug: 1818035
2019-02-28 08:22:38 +00:00
Zuul
306ba5c9bb Merge "Add functionality to manage KSM on compute nodes per role" 2019-02-27 19:02:51 +00:00
Hamdy Khader
0a9ff03c76 Add Mellanox SDN ML2 template for a containerized service
Change-Id: I2868ed8cbe5414c1f09679f37853e3ebb5fd284d
2019-02-27 13:41:55 +00:00
Zuul
613a1b552b Merge "Revert "Remove host-config-and-reboot interface"" 2019-02-27 08:44:40 +00:00
Tom Barron
127dbb4e81 Support cephfs_volume_mode parameter
manila now [1] supports configuring an octal value for the
rwx permissions mode of the cephfs volumes and snapshots
and groups of these that back manila shares, snapshots,
and groups.

Expose this parameter in the backend manifests for manila
with cephfs.

[1] https://review.openstack.org/#/c/614332

Depends-on: https://review.openstack.org/638773
Change-Id: I0e3f841523dc0cc213100296bc352ac88eb1ff74
2019-02-26 19:03:26 +00:00