1698 Commits

Author SHA1 Message Date
Zuul
f632a652de Merge "Enable support for openidc federation in keystone" 2018-12-15 04:23:11 +00:00
Zuul
1282bc27db Merge "Fix service naming conventions" 2018-12-15 02:43:28 +00:00
Zuul
e8f5104440 Merge "Flatten Keepalived service configuration" 2018-12-14 21:59:41 +00:00
Jill Rouleau
971d97bf99 Correct file modes for rpmlint failures
Numerous files have incorrect modes set. Correct these so that executables
have 755 and yaml files are 644 to address rpmlint errors.

Change-Id: I8db36209b41a492f6b85e3469994de884bf556e8
2018-12-14 13:21:28 -07:00
David J Peacock
7a9d6cbc22 flatten memcached 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 memcached services has been removed.

Depends-On: https://review.rdoproject.org/r/#/c/16994/
Change-Id: Ibb74d9e1673d079a6090efe4215c7ee041fce7d6
Related-Blueprint: services-yaml-flattening
2018-12-14 12:06:53 -05:00
Cédric Jeanneret
7fbc4b098f Flatten Glance 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 glance services has been removed.

Change-Id: Ie2ac2072f0742ec5e521fc6e3734e89f8a007077
Related-Blueprint: services-yaml-flattening
2018-12-14 08:23:32 +01:00
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
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
Alex Schultz
bf1c16d48b Fix service naming conventions
We want to include the way the service is deployed (container/baremetal)
and the configuration management tool used (ansible/puppet) in the
service file name so folks can easily identify how a service is being
deployed and with what tooling.

Change-Id: Id884009131ea1587042a8ac01eec7afd83d7eb6a
Related-Blueprint: services-yaml-flattening
2018-12-13 08:12:36 -07:00
Zuul
4e9a66ae86 Merge "Removing the deprecated environment files for hw offloading" 2018-12-13 14:14:28 +00:00
Zuul
071cae6a9f Merge "Remove invalid comment in ips-from-pool-ctlplane" 2018-12-13 11:44:22 +00:00
Lars Kellogg-Stedman
a0a7c4fa83 Enable support for openidc federation in keystone
This exposes parameters to configure OpenIDC federation in Keystone.

Change-Id: I3e06ca5fde65f3e2c3c084f96209d1b38d5f8b86
Depends-on: Id2ef3558a359883bf3182f50d6a082b1789a900a
2018-12-12 19:35:03 -08:00
Dan Sneddon
c57948012c Add a dual-bond example NIC config template
This change adds a 2-bonds-with-vlans example template which
demonstrates the use of two Linux bonds. This template will
place the 'Tenant*' networks on a bond with an OVS bridge.
Other networks will be placed as VLANs on the Linux bond
without a bridge. There is special handling for the Tenant
network on DPDK-enabled Compute nodes.

Change-Id: I9277c0e6a1267392943214eb5fe55509f7956fbc
2018-12-12 02:19:38 -08:00
Quique Llorente
62b54268af Run local registry and prep cont at standalone
The standalone job were not running yum update on the containers, to do
so we need to specify the updater paremters in the
container-prepare-parameters [1] and also we have to activate the docker
local registry, call the conatiner prepare service and activate registry at
podman.

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

Change-Id: I74e817bc9b9dd522db3da7753c91a3884d99f8c8
Related-Bug: #1805968
2018-12-11 17:46:16 +01: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
2256a5e84a Merge "Re-implement keepalived restart without pre_deploy" 2018-12-10 18:11:35 +00:00
Bob Fournier
32ae3ff0d1 Remove invalid comment in ips-from-pool-ctlplane
This comment provides invalid instructions when using this template.

Change-Id: I9ab2ce907a26a8cdc3881a48be2f95b8053bb48b
2018-12-10 10:14:27 -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
Zuul
7e754dcf14 Merge "Specify multiple NtpServers by default" 2018-12-06 22:14:22 +00:00
Emilien Macchi
be61d8a2b5 Re-implement keepalived restart without pre_deploy
... and use host_prep_tasks from config-download.
We are trying to HostPrepConfig resource that use OS::Heat::SoftwareConfig
and the old fashion to run Ansible, for more native config-downlaod.
undercloud_pre is the only service that needs HostPrepConfig now, so
let's switch to config-download.

It restarts keepalived container at each undercloud install & upgrade.
Also it adds support for podman as it uses container_cli variable.

Note: the workaround can still be removed once we have Keepalived 2.0.6
but it won't happen before CentOS8 probably.

Change-Id: I7454013c2e37058b5010a2a6cacfae0d0f873744
Related-Bug: #1791238
2018-12-06 17:08:57 -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
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
Dmitry Tantsur
3b6f022712 Enable ironic-inspector support in ironic when enabling ironic-inspector
Currently when enabling ironic-inspector via its environment file, its support
is not enabled in ironic, so it is only usable via its only CLI. This patch
fixes it and sets ironic-inspector as the default inspect interface.

Change-Id: Ia4c7839d15284f89c66c639c96c7bdc68443e5c6
Closes-Bug: #1805788
2018-11-29 09:17:51 +01:00
Nagasai Vinaykumar Kapalavai
8a6be5f0b0 Remove ties between ceilometer and panko
Avoid panko related kolla configurations
in the ceilometer-agent-notification if panko
is disabled.

Change-Id: I9920e426e50e7fa6307ba8f453beb08fbd161534
2018-11-28 15:29:48 +00:00
Zuul
c464b3d206 Merge "Added Dell EMC SC multipath support" 2018-11-27 05:42:25 +00:00
Zuul
0eeb0d48da Merge "Set Swift workers to 2" 2018-11-23 18:56:02 +00:00
Deepika Khairnar
ecb0296ad2 Add config files/templates to integrate nsx plugin with container
Change-Id: I321d578a5947cbc69327841973924ef6cf4e4d5d
2018-11-21 03:06:25 +00:00
Christian Schwede
a05ba28c60 Set Swift workers to 2
Swift workers have been decreased to 1 recently, but after doing some
more benchmarks it seems that 2 is actually the sweet spot (details in
https://review.openstack.org/#/c/618105/).

Change-Id: If8135bb641f5e0e7e2ed983bc23808268558d054
2018-11-20 09:29:24 +01:00
karthik s
512c032a0b Add bootparams service for all roles
NIC partitioning requires IOMMU to be enabled on roles using it.
By adding the BootParams service to all the roles, we could
enable IOMMU selectively by supplying the role specific parameter
"KernelArgs". If a role doesn't use NIC Partitioning then
"KernelArgs" shall be not be set and backward compatibility would
be retained.

Change-Id: I2eb078d9860d9a46d6bffd0fe2f799298538bf73
2018-11-19 05:02:07 -05:00
Zuul
dd71541477 Merge "Remove defaults from masquerade-networks service env" 2018-11-15 21:08:42 +00:00
Zuul
3b70423c97 Merge "Allow the environment to enable Podman on the overcloud" 2018-11-15 09:09:25 +00:00
Zuul
c46bfa0476 Merge "Restrict number of Swift workers to 1 on the undercloud" 2018-11-15 04:49:21 +00:00
Christian Schwede
25800b8fe3 Restrict number of Swift workers to 1 on the undercloud
The number of requests to Swift on the undercloud is pretty low, while
the default number of services is set by the number of available CPU
cores. This is likely much to high and also increases memory
requirements et al, thus limiting this to 1 per service.

Change-Id: Ic6048b2a75120d44108ed2a7f3a04c4f38e63871
2018-11-14 09:13:25 +00:00
Emilien Macchi
f7568a1a24 Allow the environment to enable Podman on the overcloud
It modifies environments/podman.yaml that overrides the default
ContainerCli so we deploy podman instead of Docker on the Overcloud.

Change-Id: Ia6d5354d120fc2e76d6d9c4e41b3f637ad152ecd
2018-11-12 02:04:13 +00: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
Russell Bryant
0c88fc2d7c Add OVN environment that works with standalone mode.
All of the current OVN environment files enable HA for the OVN
database, which does not work with tripleo standalone.  This
introduces an environment that can be used in that mode.

There used to be non-HA modes, but they were removed in commit
819805d708cccc6e1419a47b16fc012955ce9156.  This adds back just one,
and gives it a "standalone" name to help clarify that this is not
one of the scenarios intended for full production deployments.

Change-Id: Ie21c468d1cf7e4db9c406c62f5d09f6af97d593a
2018-11-09 14:48:07 -05:00
Zuul
71bd36bb57 Merge "Enable _member_ role for undercloud install." 2018-11-09 19:19:28 +00:00
Zuul
4daeccdac7 Merge "Mount /usr/share/openstack-octavia-amphora-images into mistral-executor" 2018-11-09 09:46:25 +00:00
Sofer Athlan-Guyot
1c64c2c07b Enable _member_ role for undercloud install.
During upgrade, as we don't use instack_undercloud anymore, we missing
the _member_ role to the admin user.

This creates the necessary hooks in tht to have the member role
created during upgrade (and install for that matter).

This passes on the keystone_enable_member to puppet-tripleo, but it
needs a patch there as well for this mechanism to fully work.

Change-Id: I2319ed876eba7f21c0e80444bf78ca080fef252a
Depends-On: https://review.openstack.org/611919
Partial-Bug: #1799177
2018-11-07 14:30:40 +01:00
Zuul
c453000a97 Merge "Fix NeutronSriovHostConfig path for ODL deployment with SRIOV" 2018-11-07 02:01:22 +00:00
Carol Bouchard
a425a6f1ff CiscoNexus: Update and Remove deprecated vars
Update and Remove deprecated variables from Cisco Nexus Config.
* Deprecated variables include vlan_name_prefix, svi_round_robin,
  provider_vlan_name_prefix, persistent_switch_config,
  never_cache_ssh_connection, ssh_port, switch_replay_count,
  nexus_driver, and host_key_checks.
* Change config replay to on by defaulting switch_heartbeat_time=30.
* Replaced method of configurating host_ports_mapping config.

Depends-On: Iee2f869c4054f1120d224994aba8c827f981e6c0
Change-Id: Ibda17afdcf7a6748f15390fd8a0a8b70bb6dfc2b
Closes-bug:  #1793381
2018-11-06 15:52:30 +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
Zuul
adab1f56c2 Merge "Disable MistralDockerGroup creation with podman" 2018-11-05 17:35:30 +00:00
Carlos Goncalves
70162488bf Mount /usr/share/openstack-octavia-amphora-images into mistral-executor
With containerized undercloud, the Octavia playbook shipping with
tripleo-common can no longer install the octavia-amphora-image RPM
available in RHOSP-based environments as the yum repository list is
empty. Thus, the amphora QCOW2 file needs to be made available by the
undercloud base OS via a volume mount. This will also help in
uniformizing default placement of amphora images across different
OpenStack distributions.

Change Icae47e76f71b739cf0e1f5633b15432fd531e645 will close the loop.

Partial-Bug: #1800916

Change-Id: I84943a5e6e2b08baaf8e61a1cd9f2fe92286ad9a
2018-11-05 11:21:17 +01:00
Zuul
1e9813f091 Merge "Deprecate environments/docker.yaml" 2018-11-02 21:44:13 +00:00
Zuul
091ba83efa Merge "Standalone: Disable persisting VIPs on /etc/hosts" 2018-11-02 15:23:20 +00:00
Zuul
6c21a25eb2 Merge "Add parameters for cinder storage availability zones" 2018-11-02 09:54:12 +00:00