Commit Graph

2055 Commits

Author SHA1 Message Date
Dan Prince 00842cf23a Update/combine docker/services/README.rst
This moves the contents of docker/services/README.rst into
deployment/README.rst and updates several sections with recent
architecture changes which also reflect naming changes.

Change-Id: I24dba1ff841da82ceaf80484fda756cafb68db06
2019-04-14 18:15:14 -04:00
Dan Prince a52498ab4d Move containers-common.yaml into deployment
Change-Id: I8cc27cd8ed76a1e124cbb54c938bb86332956ac2
Related-Blueprint: services-yaml-flattening
2019-04-14 18:15:12 -04:00
Dan Prince 3514952b8e move logging into deployment
Change-Id: I4d5323bc2dba1df460a1126fd429aeaf3cc26adc
Related-Blueprint: services-yaml-flattening
2019-04-14 18:11:41 -04:00
Dan Prince 551e355913 flatten the neutron-plugin-mlnx-sdn service
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the neutron-plugin-ml2-mlnx-sdn-assist service.

Related-Blueprint: services-yaml-flattening

Change-Id: I0b1e0b52f26a57847263f311ea0c018bc15df46f
2019-04-11 08:42:33 -04: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
Dan Prince b98519d095 Drop docker/docker-toool
The functionality here is now largely implemented by paunch.

Change-Id: Iae50555c76cdf4d4b6d8e46ea27b4df56e10d84f
2019-04-05 12:36:32 -04:00
Zuul 06f30fb4eb Merge "Move container-puppet.py to common" 2019-04-02 21:03:05 +00:00
Zuul 4fe04ef447 Merge "flatten the cavium liquidio service" 2019-03-28 18:47:38 +00:00
Zuul bca709d779 Merge "move clustercheck.yaml into deployment" 2019-03-28 18:47:36 +00:00
Dan Prince 0172f41537 Move container-puppet.py to common
Change-Id: I7fa699a8e1d5712889816e1c1be626466bd5f67a
2019-03-28 08:14:44 -04:00
Emilien Macchi 1de74ccc73 Rename docker-container-startup-configs to container-startup-configs
We don't have Docker anymore so let's avoid confusion and rename files
and variables.

Change-Id: I4453afd096c6f1afa16480fa6cd1385ba69bb08d
2019-03-27 01:10:05 +00:00
Emilien Macchi 860333cf31 Rename /var/lib/docker-config-scripts to /var/lib/container-config-scripts
We don't have Docker anymore so let's avoid confusion and rename this
directory.

Change-Id: I79fca28ef8e5396fee78bef992fd800918f05b88
2019-03-26 21:21:57 +00:00
Zuul 5859b3caed Merge "Enable paunch logging to its full extent" 2019-03-26 21:14:47 +00:00
Zuul 29934d245f Merge "Move neutron-plugin-ml2.yaml to deployment" 2019-03-25 21:48:08 +00:00
Zuul 7f17ce18e1 Merge "move undercloud-upgrade.yaml into deployment" 2019-03-25 21:48:05 +00:00
Zuul 4946d3f707 Merge "move tempest to deployment" 2019-03-25 21:48:03 +00:00
Zuul 4202b9c05f Merge "move ceph-ansible into deployment" 2019-03-25 16:07:20 +00:00
Cédric Jeanneret ad05860f45 Enable paunch logging to its full extent
There were some FIXME and TODO related to paunch version. This patch
activate some logging features available in newest paunch.

Also, raised paunch version requirement in order to ensure we can activate
the new options.

Change-Id: I1df64c413373c7b8eb72baca34cf5f826d3bd51c
Depends-On: https://review.openstack.org/645532
2019-03-22 11:42:12 +01:00
Dan Prince 5c8456c5cd move ceph-ansible into deployment
Change-Id: I67dc1c2dd7d1e0308db660577f25d74a6305dae6
Related-Blueprint: services-yaml-flattening
2019-03-22 01:01:30 +00:00
Dan Prince f316311a38 move undercloud-upgrade.yaml into deployment
Change-Id: Iea06bac12043318ff773ccc49315173f8b55c0a6
Related-Blueprint: services-yaml-flattening
2019-03-21 07:29:46 -04:00
Dan Prince 8b0b6eeb4d move tempest to deployment
Change-Id: I610d2ba69b7d369a987796b56ad16c3755adc7cd
Related-Blueprint: services-yaml-flattening
2019-03-21 07:29:46 -04:00
Cédric Jeanneret 8895739702 Replace hard-coded 'docker pull' by '{{container_cli}} pull'
This should prevent some issues when we're using podman...

Change-Id: I4777e4cc4238d74d72cc4c2a09783563ec777d96
2019-03-21 11:03:03 +01:00
Dan Prince ea2f759f75 move clustercheck.yaml into deployment
Change-Id: Ie4d9550639f0a70eb32ecf1c2698ebb2fb7aa433
Related-Blueprint: services-yaml-flattening
2019-03-19 14:34:52 -04:00
Dan Prince 39be822166 flatten the cavium liquidio service
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the Cavium LiquidIO service.

Change-Id: Ida6e21c46d23c609d9145a7aebd3b6dc0e1cef5c
Related-Blueprint: services-yaml-flattening
2019-03-19 13:53:46 -04: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
Zuul e0177734e7 Merge "Run chown for nova log files on every run to fix wrong permissions" 2019-03-19 10:29:56 +00:00
Dan Prince 281bea1a84 Move neutron-plugin-ml2.yaml to deployment
Change-Id: I354f100e0013c1c8a6144a91f72410dd83ea1ccd
Related-Blueprint: services-yaml-flattening
2019-03-18 20:03:46 -04:00
John Fulton 4c3438970c Open firewall port 3300 for ceph monitors v2 protocol
In addition port 6789, open port 3300 too for ceph monitors.
As per the Ceph documentation:

"Ceph monitors now bind to IANA-assigned port 3300 (ce4h or 0xce4)
for the new v2 protocol, while also binding to the old default
port 6789 for the legacy v1 protocol."

Change-Id: Ib9a69cc9379e84a47bdc00a175ee33bfac4119eb
Closes-Bug: #1820359
2019-03-18 16:55:57 -04: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 317c4a966d Merge "Increase log level for command failures" 2019-03-15 19:15:19 +00:00
Zuul ec27b3d357 Merge "flatten the gnocchi service configurations" 2019-03-15 19:02:38 +00:00
Zuul e5f7bbc26e Merge "flatten opendaylight-api service" 2019-03-15 18:39:35 +00:00
Alex Schultz b9d382c514 Increase log level for command failures
It's hard to find the actual root cause of the container configurations
when looking in the logs because the error messages are just WARNINGs.
Let's raise the messages where the real error message is to an ERROR
level.

Change-Id: Icb7138de7f6065c758cd39cb0e433c6412442b1c
Closes-Bug: #1819931
2019-03-13 09:12:46 -06:00
Zuul 37e44456a9 Merge "Switch ContainerCli to podman by default" 2019-03-12 21:39:59 +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
Emilien Macchi 24fb8776dd Rename docker_puppet_apply to container_puppet_apply
Change-Id: I1e23b78f54f3609b249565bf3c448453b684d214
2019-03-12 00:57:21 +00:00
Dan Prince 2e261993ec flatten the gnocchi 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 gnocchi services.

With this patch the baremetal version of each respective gnocchi service
has been removed.

Related-Blueprint: services-yaml-flattening

Change-Id: Ifd7df4e48ae18545b9d0a62bcfb32b3c5d8f8e0d
2019-03-11 08:19:47 -04:00
Zuul 009991f50d Merge "Rename docker_config_scripts to container_config_scripts" 2019-03-07 05:32:02 +00:00
Zuul 3e11b28b93 Merge "Do not restart bundles during a minor update" 2019-03-06 23:06:58 +00:00
Emilien Macchi 160cddda3f Rename docker_config_scripts to container_config_scripts
Change-Id: Iabd65560c2fc28b3aeca07a21efa861c4c583c01
2019-03-06 09:05:50 -05:00
Cédric Jeanneret 4453d1dc38 Flatten and move logrotate-crond service container
Change-Id: Ifcb5b0e940e73fb78cd1a9e659b4a22890688198
2019-03-06 10:38:49 +01:00
Michele Baldessari e6ab4856d7 Do not restart bundles during a minor update
It makes no sense since we are going to stop the cluster on the node
anyway. With change Ib3562adbd83f7162c2aeb450329b7cc4ab200fc2 we
inject the TRIPLEO_MINOR_UDPATE variable into the update playbooks
and we also push it (by default to false) inside the paunch start
container step.

By exporting the variable TRIPLEO_MINOR_UPDATE without a value we
tell docker (and podman) to inherit this value from the host.
When the env variable is set to true we avoid calling pcs inside
the containers to restart the bundles because at that point we
know that restarting the HA container would make no sense.

We tested the changes as follows:
A) Ran a minor update (openstack overcloud update prepare + openstack
overcloud update run --roles Controller) and observed that there were no
extra pcmk-managed bundles restarts (i.e. even when paunch decided to
invoke the <service>_restart_bundle it was a noop because
TRIPLEO_MINOR_UDPATE was 'true')
B) We ran a re-deploy without any changes and observed that no restart
of pcmk-managed bundles took place
C) We ran a re-deploy and forced some configuration changes and observed
that TRIPLEO_MINOR_UDPATE was false and that the
<service>_restart_bundle was run by paunch and that it restarted the
bundle that had the config changed.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>

Change-Id: Id1d671506d3ec827bc311b47d9363952e1239ce3
2019-03-06 08:40:39 +01:00
Emilien Macchi 3e62d483fc Rename docker_puppet_tasks to container_puppet_tasks
Change-Id: I23c539555fe1f9db96cd9b84fdcb4240473d55df
2019-03-05 12:07:09 -05:00
Zuul 17d1ed8d56 Merge "flatten the octavia service configurations" 2019-03-05 15:51:58 +00:00
Zuul 47f04b1e67 Merge "flatten database service Redis" 2019-03-05 02:25:08 +00:00
Dan Prince ebc9dd98e0 flatten the octavia service configurations
This change combines the previous puppet and docker files into a single
file that performs the containerized service installation and configuration
for the octavia services.

With this patch the baremetal version of each respective octavia service
has been removed.

Related-Blueprint: services-yaml-flattening

Change-Id: Icf2856fd261b49a4da1f197c7190c9a18d21e30f
2019-03-04 15:28:21 -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
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
Zuul 234fafd631 Merge "Added tar option to preserve metadata of existing fetch_dir" 2019-03-01 17:05:08 +00:00