1619 Commits

Author SHA1 Message Date
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
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
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
Zuul
1d49a2bd44 Merge "low-memory-usage: configure NovaSchedulerWorkers to 1" 2018-11-02 09:49:00 +00:00
Zuul
ade495ab5a Merge "Split designate envs" 2018-11-02 09:48:53 +00:00
Jiri Stransky
6c435ab3e0 Deprecate environments/docker.yaml
Default resource registry points to containerized services too, we
shouldn't use docker.yaml anymore.

Change-Id: I6106e223d9c1e399d396d745ad28274107074b06
2018-11-01 22:39:40 +00:00
Emilien Macchi
379fd58600 low-memory-usage: configure NovaSchedulerWorkers to 1
Like other Nova services, let's reduce the number of workers of Nova
Scheduler to 1.

Change-Id: I5fd418a263a70e7d64a676d5b8ab3c49ad8557f9
2018-11-01 15:53:32 +00:00
Dan Prince
94499c209b Disable MistralDockerGroup creation with podman
I'm testing podman without docker/docker registry
installed and it failed. This resolves issues with
the Mistral puppet execution so that it ignores
the docker group creation.

Change-Id: I1deb31dce021796f3ea98f1c1030c362108397bb
2018-10-31 09:26:41 -04:00
Alex Schultz
653649ebbc Add OpenStack clients service
We did not have a easy way to ensure all the openstack clients are
installed on a given system. In the old instack-undercloud installation,
we were installing some additional clients outside of the ones required
via python-tripleoclient. To allow a user to quickly install all the
clients on a given system, this change adds an OpenStack clients
"service" which can be added to a role to ensure the clients are
available. In the future if we provide a client container, this service
can be converted into a container deployment mechanism.

Change-Id: If878c2ab7679eea2fff42b410bec9c8c9b92ed6f
Closes-Bug: #1800001
2018-10-26 16:25:35 -06:00
Zuul
1fd31e4270 Merge "Standardize path to prepare log file" 2018-10-25 19:10:07 +00:00
Juan Antonio Osorio Robles
dfa015d273 Standalone: Disable persisting VIPs on /etc/hosts
This adds the needed parameter to the standalone environment file.

Change-Id: I9c7151b0085cd2d341e17f78dc75d1781cb7ae9d
Related-Bug: #1799724
2018-10-25 17:38:06 +03:00
trown
62418388b2 Fix typo in standalone-tripleo environment
Change-Id: I4dde00e615be3a3c13fa8a21f8a5eb4ca9dbfbec
2018-10-23 14:48:50 -06:00
Alan Bishop
dc2d0de810 Add parameters for cinder storage availability zones
Add CinderStorageAvailabilityZone parameter that configures
cinder's DEFAULT/storage_availability_zone. The default value
of 'nova' matches cinder's own default value.

Add several CinderXXXAvailabilityZone parameters, where XXX is
any of the cinder volume service's storage backends. The
parameters are optional, and when set they override the
"backend_availability_zone" for the corresponding backend.

Implements: blueprint split-controlplane-cinder-volume-az
Depends-On: Ic407b747474b567858ad36beabc8a7d8c5022343
Change-Id: Idb035bf112cbab41547bd89935df4c175bf665f4
2018-10-23 09:18:53 -04:00
Christophe Fontaine
dbd8959e38 Fix NeutronSriovHostConfig path for ODL deployment with SRIOV
Change-Id: Ibadd4629eccaed30d15d3c50926e71c26255a65c
2018-10-23 14:57:55 +02:00
Zuul
83a2d262b6 Merge "Dell EMC Sc: Add support for excluded_domain_ips" 2018-10-23 06:30:15 +00:00
Zuul
df431ad344 Merge "Implements: liquidio-containerization" 2018-10-23 04:07:49 +00:00
Zuul
440fd70277 Merge "Allow standalone to manage selinux" 2018-10-22 21:31:07 +00:00
Zuul
1bd8888d79 Merge "Rename no-tls environment" 2018-10-20 02:03:33 +00:00
Zuul
52fe342a36 Merge "Update no-tls environment in ssl/ directory" 2018-10-20 02:03:31 +00:00
Zuul
ee4c55ca9b Merge "Correct a minor typo in the doc that could lead to some issues" 2018-10-19 18:55:34 +00:00
Zuul
faea5fa62a Merge "Add sample designate environment for ha" 2018-10-19 04:52:21 +00:00
Cédric Jeanneret
4ca6c5c71c Correct a minor typo in the doc that could lead to some issues
If we don't pass the right param, we can end up with a broken service.

Change-Id: Ia55ce808063acac8803a54b7ffac8e689c9b4d69
2018-10-17 14:36:37 +02:00
Alex Schultz
7451fc44de Allow standalone to manage selinux
In some cases we may need to disable selinux (like in CI). The role
needs the SELinux service so that the management can be done during the
deployment.

Change-Id: Ife3c4600f5bd70490a68059eb27c5100743a5298
Closes-Bug: #1797910
2018-10-17 08:43:49 +00:00
Zuul
e6b376c7a7 Merge "Use single replica for standalone AIO deployments" 2018-10-17 06:54:45 +00:00
Zuul
35ba498322 Merge "Collectd documentation refactor" 2018-10-16 19:16:52 +00:00
Zuul
03a2fd061d Merge "Disable Swift auditors/replicators on undercloud" 2018-10-16 01:16:35 +00:00
Zuul
0b86ebf6be Merge "Ensure the needed openshift resources are set" 2018-10-16 01:16:32 +00:00
Bogdan Dobrelya
1c56834aa8 Use single replica for standalone AIO deployments
Similarly to undercloud, Swift is using only a single replica on AIO
(all-in-one standalone). Therefore recovering from a corrupted or lost object
is not possible, and running replicators and auditors only wastes resources.
And may create some trouble. For example, the DB replicators and auditors will
lock the DB, and new objects won't be stored during that time.

Related-Bug: #1797167

Change-Id: I839393bf6cbb2303a0359f8aed32b2fc67d46f6a
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-10-15 20:15:33 +00:00
Bogdan Dobrelya
47f93e1792 Disable Swift auditors/replicators on undercloud
Maintain parity with instack-undercloud
Ic93082282e9ea481c13832f8ce1265a47f0ef3d5

Swift is using only a single replica on the undercloud. Therefore
recovering from a corrupted or lost object is not possible, and running
replicators and auditors only wastes resources. And may create some
trouble. For example, the DB replicators and auditors will lock the DB,
and new objects won't be stored during that time.

Related-Bug: #1632885
Closes-Bug: #1797167

Change-Id: I584cdb03b99721fbdc28bf7f6019d914586341d2
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-10-15 15:06:32 +00:00
Zuul
ad06ebce20 Merge "Remove obsolete code for handling Pacemakerized resource restarts" 2018-10-15 11:31:45 +00:00
Steve Baker
8fe38fb7ed Standardize path to prepare log file
This change makes the default ContainerImagePrepareLogFile be
/var/log/tripleo-container-image-prepare.log for both undercloud and
overcloud deploy.

Previously, undercloud prepare logged to $HOME/install-undercloud.log
and overcloud prepare logged to
$(pwd)/tripleo-container-image-prepare.log.

With this change, both will be logged to
/var/log/tripleo-container-image-prepare.log

Depends-On: Id4b776de808ea329a299430078c6f3efdb604e02
Change-Id: Icd3c5d612a9c42d1d3d8e374f10eb56d5737d516
Closes-Bug: #1789871
2018-10-14 12:53:44 +00:00
Martin André
633379f779 Ensure the needed openshift resources are set
We expect the the Keepalived and HAproxy services to be deployed on the
OpenShift master nodes, let's require them in the openshift heat
environment file. This prevents an issue when the docker-ha environment
is loaded because it would redefine these resources.

Change-Id: I57a7ea854bd8db4e20af1a608a6937604c0e3bd2
2018-10-12 16:34:20 +02:00