26 Commits

Author SHA1 Message Date
Zuul
47126b8431 Merge "Trim whitespace in multi-line env descriptions" 2019-04-16 05:28:25 +00:00
Dan Prince
30cfaccb49 flatten the ovn service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the ovn services.

Related-Blueprint: services-yaml-flattening
Change-Id: I6261863c15f594fed8207ff258f1d9c809a9a864
2019-04-10 10:57:37 -04:00
Zuul
6d8e7f4058 Merge "Install and configure tmpwatch for log cleanup" 2019-03-12 13:46:17 +00:00
Zuul
61de5331a5 Merge "Remove Congress" 2019-03-12 01:05:56 +00:00
Cédric Jeanneret
836705161c Install and configure tmpwatch for log cleanup
Installing and configuring tmpwatch allows to get rid of some
ugly things in logrotate configuration. As the container has no
network access anymore, we have to install the tool on the host
directly - this isn't that bad.

In order to avoid issues with logrotate manage logs, we explicitely
exclude patterns manage in the specific logorate configuration.

Also, always in order to avoid issues and ensure logrotate does its
own cleanup, we clean files one day later.

Change-Id: Ic666388d9ba7556e7b68ab2fc1082957a9e26552
2019-03-11 16:33:22 +01:00
Zuul
4d0c90b22c Merge "Move openstack clients service" 2019-03-01 21:01:54 +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
Emilien Macchi
359e72b60c standalone: switch container registry to ImageServce
... instead of DockerRegistry.

blueprint podman-support
Change-Id: I3a4c4f7f7d41473999ca00fbf3231a62910e199c
2019-02-20 13:43:58 +00:00
Alex Schultz
2e0af58585 Move openstack clients service
Moving the service that installs all the openstack clients to the
deployment directory.

Change-Id: I5cfecf0217232380319a68e3689a7fe7d945b15a
Related-Blueprint: services-yaml-flattening
2019-02-15 13:32:06 -07:00
Daniel Alvarez
6053eb1964 Switch default neutron ML2 mechanism driver to OVN
This patch switches the default mechanism driver for neutron from
openvswitch to OVN.

It will also flip scenario007 job to run with ML2/OVS.

Depends-On: I74ffb6b7f912e1fce6ce428cd23a7283c91b8b96
Depends-On: I99ba2fd6a85b4895b577719a7541b7cbf1fdb85c
Depends-On: Ib60de9b0df451273d1d81ba049b46b5214e09080
Depends-On: Iaed7304adf40a87a0f14b7a95339f8416140e947
Change-Id: Iab52cdf5d0f7a392c4f17c884493b5c5beb1d89f
Co-Authored-By: Kamil Sambor <ksambor@redhat.com>
2019-02-14 15:58:27 +01:00
Steve Baker
2e899f3943 Move container-image-prepare.j2.yaml to deployment dir
Change-Id: Idf8eab2c0290c02908ffd3284543046cdf8aa5ba
2019-02-07 10:26:20 +13:00
Alex Schultz
a0400c998c Move selinux to deployment folder
Change-Id: Ieda56421b27e54787fffbc39f8470a67aca38c1d
Related-Blueprint: services-yaml-flattening
2019-01-22 13:21:13 -07:00
Emilien Macchi
2b7cb19876 Allow ssh from all for undercloud
I89cff59947dda3f51482486c41a3d67c4aa36a3e broke SSH access on the
Undercloud, we shouldn't be that restrictive by default for the
undercloud and standalone (as deployed via tripleo deploy).

This change adds a new parameter called SshFirewallAllowAll that can be
used to include an allow all for ssh. By default it is disabled when
deploying the overcloud but is used by the undercloud and standalone to
allow access after installation.

Change-Id: Ie548f7216610e15af24c96f65a58cc8de603235c
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2019-01-18 11:14:12 -07:00
Emilien Macchi
2d608e07b5 Move docker into deployment directory
This changes moves docker services from puppet to deployment directory.

Change-Id: I11a34708ee91f5b5928d7c647c83e95ca1b01cae
Related-Blueprint: services-yaml-flattening
2019-01-09 22:58:50 +00:00
Thomas Herve
211a51d8b4 Remove redis from standalone env
We don't need it currently.

Change-Id: Ibdcd9944981b79a72db66771c7b5b4e5c15e6e27
2018-12-18 09:56:08 +01:00
Emilien Macchi
7fe1730a38 Move podman into deployment directory
This changes moves podman service from puppet to deployment directory.

Change-Id: I31b8299b43158347f4f1f61f1e1fdf38b0a2102f
Related-Blueprint: services-yaml-flattening
2018-12-17 11:37:19 +00: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
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
Ben Nemec
32d993bbf0 Trim whitespace in multi-line env descriptions
Indenting blank description lines just creates unnecessary trailing
whitespace in the output file.  Skip the indentation in this case.

Change-Id: Ib0fbd26b489f6d9cf262c1186d3b3e604d4c0c67
2018-11-02 11:53:25 -05:00
Zuul
091ba83efa Merge "Standalone: Disable persisting VIPs on /etc/hosts" 2018-11-02 15:23:20 +00: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
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
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
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
Alex Schultz
ba81e1f4d6 Update standalone role
The standalone role can be used either with the tripleo deploy command
to deploy locally, or it can be used with an undercloud to deploy an
all-in-one node. This change provides a sample set of environment files
for both deployment mechanisms.

Change-Id: Ibc735ac4326a9217469e368c074de8b0df7689bd
Related-Blueprint: all-in-one
2018-09-26 14:14:28 -06:00