1038 Commits

Author SHA1 Message Date
Cédric Jeanneret
0de7bc09f3 Flatten Zaqar service configuration
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 zaqar service has been removed.

Change-Id: I8947d2fc5e5672e701d2802cd14a3fa176877a7d
Related-Blueprint: services-yaml-flattening
2018-12-14 07:45:24 +01:00
Cédric Jeanneret
ced9f888e9 Flatten Ironic services configuration
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 Ironic services have been removed.

Change-Id: Icb33158a129356d939940433c82dae25a6334baf
Related-Blueprint: services-yaml-flattening
2018-12-14 07:25:13 +01:00
Zuul
c4b816e8c5 Merge "Ensure we get dedicated logging file for HAProxy" 2018-12-14 05:40:57 +00:00
Zuul
f520c3bd99 Merge "Ironic Inspector - disjoint ip range(s) for HA" 2018-12-14 01:44:47 +00:00
Zuul
841c5b6dc6 Merge "Add TunedCustomProfile parameter and HCI Ceph filestore environment" 2018-12-13 20:32:23 +00:00
Emilien Macchi
7345963531 Flatten Keepalived service configuration
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 keepalived service have been removed.

Change-Id: Ic0ddf1174e1d0a62f83f26f0ca6bc29ec7b078b7
Related-Blueprint: services-yaml-flattening
2018-12-13 10:26:26 -05:00
Zuul
4e9a66ae86 Merge "Removing the deprecated environment files for hw offloading" 2018-12-13 14:14:28 +00:00
Carlos Goncalves
29da33fae2 Fix misnaming of service in firewall rule
On Octavia-enabled composable role deployments where the Octavia health
manager service doesn't run co-located with the API service, the
firewall rule to allow messages in to the o-hm0 interface was not being
created. As a result of that, the load balancers were not going ONLINE.

Closes-Bug: #1808190
Depends-On: https://review.openstack.org/#/c/624403/
Change-Id: Icc568a551b902e6d9f003250226468ed38a776fc
2018-12-13 08:28:54 +00:00
Pranali Deore
9333740b69 Enable image import plugins & image output format
Adding GlanceImageImportPlugins & GlanceImageConversionOutputFormat
to enable glance image conversion.

Since, glance-image-import.conf has been newly added while adding
plugin framework in glance, passing the conf file to puppet_tags
in docker service.

Depends-on: I098aa0cabf2518b8861d5b58b885d9bdef54a7f6
Change-Id: I81b788e38eecb3e0be88b140df3ae1ebb70cb191
Closes-Bug: #1807366
2018-12-12 15:32:12 +05:30
Cédric Jeanneret
0576e26234 Ensure we get dedicated logging file for HAProxy
With the current configuration, HAProxy logs are in the host journal.
This isn't really friendly when you want to debug issues with this service.

This patches ensures HAProxy logs are in a dedicated file, using the syslog
facility set in its configuration.

Depends-On: I8fee040287940188f6bc6bc35bdbdaf6c234cbfd
Change-Id: Ia615ac07d0c559deb65e307bb6254127e989794d
2018-12-12 10:16:42 +01:00
Harald Jensås
2024bb0218 Ironic Inspector - disjoint ip range(s) for HA
Allow tht parameter IronicInspectorSubnets to specify
per-instance ip range(s) using hostname as key for each
list of ip ranges. For HA deployments use disjoint
address pools to avoid potential address conflict.

Implements: blueprint ironic-inspector-overcloud
Depends-On: Ifae513265b8c35d98012f14f951bac33ae90b66c
Change-Id: Ifdebe9fcc817b4572f1eb461a3396af6b55f1e6b
2018-12-12 08:18:23 +00:00
Zuul
d368217c83 Merge "Remove HostPrepConfig" 2018-12-12 00:50:03 +00:00
Zuul
bf48c36bc4 Merge "upgrade: remove tasks that stop and disable services" 2018-12-11 05:11:53 +00:00
John Fulton
bc0246ff8a Add TunedCustomProfile parameter and HCI Ceph filestore environment
Add TunedCustomProfile parameter which may contain a string in
INI format describing a custom tuned profile. Also provide a new
environment file for users of hypercoverged Ceph deployments
using the Ceph filestore storage backened. The tuned profile is
based on heavy I/O load testing. The provided environment file
creates /etc/tuned/ceph-filestore-osd-hci/tuned.conf whose
content is the following and sets this tuned profile to be active.

[main]
summary=ceph-osd Filestore tuned profile
include=throughput-performance
[sysctl]
vm.dirty_ratio = 10
vm.dirty_background_ratio = 3
[sysfs]
/sys/kernel/mm/ksm/run=0

Depends-On: Iba17d86bbdd710623ba1ba44b1ea5d4c1b99c541
Change-Id: Iaa1c82cefac5c8f2959fd7aeb57bd6860fd9096a
Closes-Bug: #1800232
2018-12-10 22:26:06 +00:00
Zuul
ddc69b2570 Merge "Don't mount data folder" 2018-12-10 17:48:06 +00:00
Emilien Macchi
e4ee042a2a upgrade: remove tasks that stop and disable services
We don't need upgrade_tasks that stop systemd services since all
services are now containerized.
However, we decided to keep the tasks that remove the rpms in case some
of deployments didn't cleanup them in previous releases, they can still
do it now.

Change-Id: I6abdc9e37966cd818306f7af473958fd4662ccb5
Related-Bug: #1806733
2018-12-10 09:19:59 -05:00
waleed mousa
ad0ac4221f Removing the deprecated environment files for hw offloading
For deploying with hw offloading, we should use the
"environments/ovs-hw-offload.yaml" file beside neutron, opendaylight
or ovn environments files

Change-Id: I6702b4cce3776676b2da5a4d2af89ff9b171ce74
2018-12-09 14:28:52 +02:00
Zuul
e4aa5f8958 Merge "Flatten Aodh service configuration" 2018-12-07 23:52:51 +00:00
Emilien Macchi
efa69b734b Remove HostPrepConfig
HostPrepConfig was using the old way (Heat) to run Ansible. We don't
need it anymore thanks to config-download.

It removes some technical debt and reduce our number of interfaces to
configure software.

Change-Id: I2041e6892de76b0ed04d7497e3f9064bfaf58270
2018-12-07 09:10:38 -05:00
Zuul
7e754dcf14 Merge "Specify multiple NtpServers by default" 2018-12-06 22:14:22 +00:00
Alan Bishop
07c02286fd Add support for cinder NFS snapshots
Add CinderNfsSnapshotSupport parameter that controls whether cinder's
NFS driver supports snapshots. The default value is True.

Depends-On: I4df8e3941eb074339e399e5a5c44fa411ff21560
Change-Id: I9a42f805fd28fd04bee771cac63bd0080b39c7c0
2018-12-06 12:27:38 -05:00
Alex Schultz
2dfd0ea8ca Flatten Aodh service configuration
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 aodh services have been
removed.

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Depends-On: https://review.rdoproject.org/r/#/c/16994/
Change-Id: I39645aff0365218d4b841ed0d9c964b3622f143a
Related-Blueprint: services-yaml-flattening
2018-12-06 15:07:05 +00:00
Zuul
2485978bee Merge "Add SERVICE_bootstrap_node_ip values to allNodesConfig" 2018-12-06 11:49:36 +00:00
Janki Chhatbar
e9525d3a7d Don't mount data folder
"data" folder mounted on host sometimes makes ODL
believe that it has boot features installed. So ODL
doesnot generate required files.

So don't mount that folder so that ODL can boot
properly on restart.

Closes-Bug: #1805859

Change-Id: Icb415f6ac379e757edfe6dd73f80484a6697d152
2018-12-06 05:51:28 +00:00
Daniel Farrell
21c6edc8ce Add relnotes for ODL migration to diagstatus API
Add release notes for migration from old OpenDaylight netvirt:1
healthcheck REST API to new diagstatus API.

Code change was merged here, but I didn't know to add relnotes.

https://review.openstack.org/#/c/621052

Change-Id: Iacdcf3f962c61890dc47f523911698b5f4696381
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2018-12-05 21:26:55 +00:00
Alex Schultz
90d3723175 Specify multiple NtpServers by default
The NtpServer default set now includes multiple pool.ntp.org hosts to
ensure that the time can be properly synced during the deployment.
Having only a single timesource can lead to deployment failures if the
time source is unavailable during the deployment. It is recommended
that you either set multiple NtpServers or use the NtpPool
configuration to ensure that enough time sources are available for the
hosts. Note that the NtpPool configuration is only available when using
chrony.

Change-Id: I5b82d77cbf0f2e8c2a59645a72aa533d7d2c86b8
Closes-Bug: #1806521
2018-12-04 08:31:55 -07:00
Martin Schuppert
a99820a80c nova_compute fails to start in tls-everywhere configuration
With tls-everywhere enabled connecting to keystone endpoint fails
to retrieve the URL for the placement endpoint as the certificate
can not be verified. While verification is disabled to check the
placement endpoint later, it is not to communicate with keystone.
This disables certificate verification for communication with
keystone.

Related-Bug: 1784155

Change-Id: I317dd62f3a555f375d540a63c21a6fb38d37ca96
2018-12-03 17:07:28 +01:00
Zuul
c464b3d206 Merge "Added Dell EMC SC multipath support" 2018-11-27 05:42:25 +00:00
Steven Hardy
a77d045663 Add SERVICE_bootstrap_node_ip values to allNodesConfig
This can be used to replace the per-role bootstrap_nodeid_ip,
and the redis-base template is updated to use the new hiera
key.

The old bootstrap_nodeid_ip appears to only be used for redis,
so the old key is removed, with an upgrade release note added
should any out-of-tree services reference this value.

Partial-Bug: #1792613
Change-Id: I830d5b9bae3e9d65c2c393e3dcdf70bffdb1ac7b
2018-11-26 17:01:24 +00:00
Zuul
b8206cc0f5 Merge "Fluentd deprecation releasenote" 2018-11-26 16:14:27 +00:00
Zuul
687c3cd90c Merge "Add customized libvirt-guests unit file to properly shutdown instances" 2018-11-26 15:03:50 +00:00
zhangdebo
f252778d6c Fix Chinese quotes
Change-Id: I54e7730e6adaf3319819e0ba8e8275d315ee4812
2018-11-24 15:33:31 +08:00
Zuul
6ae97d1587 Merge "Sensu Deprecation note" 2018-11-22 21:49:09 +00:00
Zuul
444657edd2 Merge "Cleanup nova metadata port in nova api service" 2018-11-22 21:48:08 +00:00
Zuul
0bfeeccfe6 Merge "Allow enabling routed networks on undercloud update|upgrade" 2018-11-22 17:12:50 +00:00
Harald Jensås
3892154d5a Allow enabling routed networks on undercloud update|upgrade
Since Rocky neutron has support to enable routed networks on
existing an network and subnet if certain conditions are met.
The tripleo undercloud does meet these conditions.

This change updates the extraconfig post script that creates
the neutron ctlplane networks. Any non routed network is
updated to a routed network if 'enable_routed_networks' = True
in the configuration.

Closes-Bug: #1790877
Change-Id: Idf2dd4c158d29b147d48153d3626cf403059d660
2018-11-20 02:53:18 +01:00
Zuul
da0f6f98a1 Merge "Enable Glance Image Cache" 2018-11-19 12:34:19 +00:00
Martin Schuppert
9f478ee18e Add customized libvirt-guests unit file to properly shutdown instances
If resume_guests_state_on_host_boot is set in nova.conf instances
need to be shutdown using libvirt-guests after nova_compute container
is shut down. Therefore we need a customized libvirt-guests unit file
which:
1) removes the dependency to libvirt (non container) that it don't
   get started as a dependency and make the nova_libvirt container
   to fail.
2) adds a dependency to docker related services that a shutdown of
   nova_compute container is possible on system reboot.
3) stops nova_compute container
4) shutdown VMs

This is a missing part of Bug 1778216.

Change-Id: Ic4b7b427827114fcec0f4973a200461e811ee53a
Related-bug: 1778216
2018-11-19 09:54:39 +01:00
Zuul
dd71541477 Merge "Remove defaults from masquerade-networks service env" 2018-11-15 21:08:42 +00:00
Pranali Deore
bd870fbac8 Enable Glance Image Cache
Enabling glance image cache by setting up value of 'flavor' to
'keystone+cachemanagement' in glance-api.conf from THT.

Change-Id: I9a87d8edcb2e98ae45e98439b44b659916e44d89
blueprint: split-controlplane-glance-cache
2018-11-15 16:37:21 +05:30
Zuul
b76bec7dc2 Merge "Ensure correct tmp ownership for Gnocchi" 2018-11-15 04:31:21 +00:00
Martin Schuppert
57cda0b66e Cleanup nova metadata port in nova api service
Nova metadata api is running via http wsgi in its own service.
Therefore we can cleanup the ports definition being opened by
nova api service.

Change-Id: I3066806f8810e30742516c3ca14afc12a1c95bbc
2018-11-13 12:59:41 +01:00
Alex Schultz
fb0e8f62fc Convert dynamic lookups to use colon notation
With the upgrade to puppet 5, we can no longer use dots in the hieradata
key lookups. This change updates the THT for firewall_rules,
haproxy_endpoints and haproxy_userlists to use the colon notation.

Change-Id: I6f67153e04aed191acb715fe8cfa976ee2e75878
Related-Bug: #1803024
2018-11-12 21:21:49 -07:00
Harald Jensås
bf72e3636e Remove defaults from masquerade-networks service env
Don't always masquerade these defaults, masquerading
should only happen to the ctlplane subnets defined
in undercloud.conf if masquerading is true.

Closes-Bug: #1794729
Depends-On: I11b325458517334f97fc5f4754b4b39efff3a3f3
Change-Id: I4b956e8be92f1b7a71579d04c7e41c20da7ffdfa
2018-11-10 10:02:37 +00:00
Zuul
6669b10a38 Merge "Rework neutron/own agent wrapper tools for podman" 2018-11-09 13:53:29 +00:00
Zuul
4daeccdac7 Merge "Mount /usr/share/openstack-octavia-amphora-images into mistral-executor" 2018-11-09 09:46:25 +00:00
Zuul
f4711fe4af Merge "Make $SSH_OPTIONS overrideable" 2018-11-08 03:39:09 +00:00
Bogdan Dobrelya
8f4738362a Rework neutron/own agent wrapper tools for podman
Add ContainerCli parameter, default to docker. Possible values:
podman/docker (default).

Deprecate DockerAdditionalSockets so it does nothing for podman.
Nested podman CLI replaces docker sockets. Only bind mount
/var/lib/openstack for the neutron/ovn agents for docker.

Support debug messages for Neutron/OVN wrappers controled via
NeutronWrapperDebug and OWNWrapperDebug (defaults to False). Or
globally controlled by Debug.

Make the wrapper containers managed by its parent processes and
not exited/removed forcibly, when the parent container restarts.

Background for podman CLI replacing the docker socket:

We'll use 'nsenter -m -n -p -t 1 podman' in wrappers
to execute podman in the same namespaces as on the host
and to NOT bind-mount world for that, like:
- /sys/fs/cgroup:/sys/fs/cgroup
- /run/libpod:/run/libpod
- /run/containers:/run/containers
- /run/runc:/run/runc
- /run/runc-ctrs:/run/runc-ctrs
- /var/lib/containers:/var/lib/containers
- /etc/containers:/etc/containers:ro
- /usr/bin/podman:/usr/bin/podman:ro
- /usr/bin/runc:/usr/bin/runc:ro
- /usr/libexec/podman/conmon:/usr/libexec/podman/conmon:ro
- /usr/lib64/libseccomp.so.2:/usr/lib64/libseccomp.so.2:ro
...

We cannot use chroot /host instead as there is more bind-mounts to use
outside of the /host chroot. Maybe varlink is a good replacement for
all of that, but it's not there yet.

Change-Id: I055fb7a5fd20932c5bee665bb96678f3ae92bffe
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-11-07 09:48:40 +01:00
Zuul
4a8c95a06c Merge "Switch to Chrony by default" 2018-11-05 23:49:11 +00:00
rajinir
72eea3c6ea Added Dell EMC SC multipath support
Added a new parameter CinderDellScMultipathXfer to
support cinder::backend::dellsc_iscsi::use_multipath_for_image_xfer
to the Dell EMC SC Cinder iSCSI volume driver template.

Depends-On: https://review.openstack.org/#/c/611126/
Change-Id: I04f42ce0cd117f7dcc7a817274ea7664d9995864
2018-11-05 12:48:41 -06:00