7228 Commits

Author SHA1 Message Date
Zuul
f346f3eeab Merge "Track global failures flag for YAML validations" 2018-04-20 17:24:44 +00:00
Zuul
65e828e2b3 Merge "Reduce verbosity during mysql bootstrap" 2018-04-20 14:07:41 +00:00
Zuul
9adbefc722 Merge "Disallow SSLv2, SSLv3 and TLS1.0 in httpd for FedRAMP compliance." 2018-04-20 13:59:45 +00:00
Zuul
0bf8943f05 Merge "undercloud: deploy SSH service" 2018-04-20 11:11:47 +00:00
Zuul
4948725c3d Merge "Add CACerts service to scenario003" 2018-04-19 23:55:06 +00:00
Zuul
e35161ee10 Merge "Rely on client defaults for the Ceph container image to use in CI" 2018-04-19 22:58:16 +00:00
Zuul
ae4ff0148c Merge "Containerize Neutron LBaaS service plugin" 2018-04-19 22:53:30 +00:00
Zuul
6b06b1011b Merge "Use external IP for public interfaces" 2018-04-19 22:40:46 +00:00
Damien Ciabrini
a246549303 Reduce verbosity during mysql bootstrap
During the initial deployment, a one-time container is used to bootstrap the
mysql databse on disk, create the required users and set their password. The
script that runs that is too verbose and logs some credentials in the
container's logs and in the journal.

Use kolla_extend_start directly instead of kolla_start to stop tracing shell
commands and reduce logging to the bare minimum for troubleshooting.

Closes-Bug: #1765339

Change-Id: I90827feff0d1b9fd8badb72e68e4c8dd8db8aea5
2018-04-19 19:14:03 +00:00
Zuul
a5b913e1eb Merge "Disable FluentClient service for ffwd/upgrades." 2018-04-19 16:17:12 +00:00
Bogdan Dobrelya
b079bcc3e1 Track global failures flag for YAML validations
Closes-bug: #1764741

Change-Id: Id0313cde5e1d86103940ff4f77f09b79d0d04ec3
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-04-19 16:44:21 +02:00
Zuul
4e1e6528c7 Merge "Add Barbican to the list of services for the undercloud" 2018-04-19 10:06:43 +00:00
Zuul
8e92aeac9e Merge "ovn: Mount /run instead of /run/openvswitch when starting ovn-controller container" 2018-04-19 10:02:12 +00:00
Zuul
7763fd0170 Merge "Add validation for hiera interpolation in services" 2018-04-19 09:48:27 +00:00
Zuul
52511a976c Merge "Add missing hiera interpolation calls" 2018-04-19 09:13:58 +00:00
Zuul
574da27592 Merge "Correct indentation and file path" 2018-04-19 08:26:37 +00:00
Zuul
4e65bff2d4 Merge "Migrate Ceph deployment to external_deploy_task" 2018-04-19 08:26:32 +00:00
Zuul
8bb987287e Merge "Environment to disable workflow_tasks" 2018-04-19 08:26:30 +00:00
Juan Antonio Osorio Robles
1b54e4b5a7 Disallow SSLv2, SSLv3 and TLS1.0 in httpd for FedRAMP compliance.
We now enforce TLS1.1 or higher for httpd connections, to meet the
requirements for FedRAMP.

Change-Id: If875822f1cb705d17405621e64fea2536edc142a
Related-Bug: #1754368
2018-04-19 09:51:20 +03:00
Emilien Macchi
ae61a031a6 undercloud: deploy SSH service
For parity with non containerized undercloud, add SSH service on the
undercloud.

Change-Id: Ia642c7d54acbc89630f79a8e64e7798c1a25d23f
2018-04-18 19:18:32 -07:00
Juan Antonio Osorio Robles
fd75f65a6f Add CACerts service to scenario003
It was missed from https://review.openstack.org/#/c/560430/

Change-Id: Ic00b1219c74f223f554da9c2348bf08b74b63926
2018-04-18 15:57:43 +03:00
Giulio Fidente
cbecc1ee86 Rely on client defaults for the Ceph container image to use in CI
Removes hardcoded references to the Ceph container image to use
in CI to rely (and test) the tripleoclient default.

Change-Id: I7f028e31eb5e993aa6af9b7f2c19f64ed45224dd
2018-04-18 12:15:33 +02:00
Carlos Goncalves
9526cef547 Containerize Neutron LBaaS service plugin
Change-Id: I68e5ca5a78a2bd08082a494b636c6e2debb6bbae
2018-04-18 10:53:48 +02:00
Bogdan Dobrelya
0b44170e73 Add validation for hiera interpolation in services
Walk through services' templates role_data to identify
missing hiera interplolation of networks.

Use additionally provided interfaces for validations:
 * search in dicts by keys or values matching some regex,
   entering into lists as an option;
 * safe get values by the discovered paths casted as lists,
   like get_param/get_attr works for heat templates.

Add PyYAML missing to the requirements.txt.

Closes-bug: #1764315

Change-Id: Idef66ee96cbd67d23760a1cce9537ecc157c3429
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-04-18 10:11:39 +02:00
Bogdan Dobrelya
2e224ddaaa Add missing hiera interpolation calls
Complements [0], [1]

[0] https://review.openstack.org/#/c/526692
[1] https://review.openstack.org/#/c/561498

Related-bug: #1742915

Change-Id: I57859178988e92f926b6c41370afd8b0d1552831
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-04-18 10:10:46 +02:00
Numan Siddique
49963bc180 ovn: Mount /run instead of /run/openvswitch when starting ovn-controller container
Presently ovn-controller container is started with "-v /run/openvswitch:/run/openvswitch".
The openvswitch systemd script deletes the /run/openvswitch folder when stopping it in the host.
/run/openvswitch path inside the ovn-controller container becomes a stale directory.
And when the service is started again, it creates the folder again. In order for ovn-controller
to access again, the folder has to be remounted or the ovn-controller container should be
restarted.

As a temporary fix, this patch mounts /run so that when /run/openvswitch is created again, it will
get reflected inside the ovn-controller container. The proper fix has to come from openvswitch
systemd script to not delete /run/openvswitch when stopping the service. This is presently
discusses in OVS mailing list [1], but no proper solution has been arrived yet.

[1] - https://mail.openvswitch.org/pipermail/ovs-dev/2018-March/345589.html
Closes-bug: #1764745
Change-Id: I032571cec49537cac972ebbbb44733ea17c299fa
2018-04-18 12:24:04 +05:30
Zuul
628cd0e390 Merge "Add Ironic Networking Baremetal Templates" 9.0.0.0b2 2018-04-18 05:52:20 +00:00
Zuul
9d6d3745a5 Merge "Move mod_ssl release note" 2018-04-17 16:58:42 +00:00
Jose Luis Franco Arza
3ed0be0a1f Disable FluentClient service for ffwd/upgrades.
FluentClient service has been renamed
into Fluentd [0] for queens. This patch
handles the disabling of the old FluentdClient
service.

[0] Idb9886f04d56ffc75a78c4059ff319b58b4acf9f

Change-Id: I085973f3d23fd78c16cba94a91692421956b301b
Closes-Bug: #1746493
2018-04-17 17:16:44 +02:00
Alex Schultz
628da8a37e Move mod_ssl release note
The mod_ssl release note was in the wrong place. Moving it so it can be
with it's friends in releasenotes/notes

Change-Id: I33d6a2354f26e5571501d5810ac20bb9c0101634
2018-04-17 12:57:36 +00:00
Janki Chhatbar
871e9619d5 Correct indentation and file path
Indentation for few lines is corrected and
correct path for config file is updated. data
folder is deleted during update/upgrade. Set
correct permissions (42462:42462) for
genius-mdsalutil-config.xml. 42462 comes from
kolla and is id for odl user inside the container.

Closes-Bug: 1764603
Change-Id: Ie343cd4cab7cc009b1940a98fa73b1ac15b3b56d
2018-04-17 10:36:26 +00:00
Zuul
70700644b0 Merge "Logging Added nova-metadata log file" 2018-04-16 22:19:40 +00:00
Giulio Fidente
40eee6a4dc Migrate Ceph deployment to external_deploy_task
Uses external_deploy_tasks instead of workflow_tasks for the
deployment of Ceph, via ceph-ansible.

Initially, external_deploy_tasks are added alongside workflow_tasks so
that CI will pass. Once CI is updated to use config-download for these
jobs, we will remove the workflow_tasks.

Co-Authored-By: James Slagle <jslagle@redhat.com>
Co-Authored-By: John Fulton <fulton@redhat.com>
Implements: blueprint ceph-ansible-external-deploy-tasks
Change-Id: I4b88e97c38ff394023a92bec5631b3cd0f6e293e
2018-04-16 17:54:44 -04:00
James Slagle
c333cf8050 Environment to disable workflow_tasks
Adds an optional environment that can be used to disable workflow_tasks
by mapping OS::Mistral resources to None. This environment can be used
by CI so that the updated ceph jobs
(I757be222143e41392b474d6b20c7a7b7df4537de) can be converted to
external_deploy_tasks, but the existing workflow_tasks can be
temporarily disabled until they are removed from the templates.

Change-Id: Ib39313712ea03e5562e7b19875c178e9c8dfef54
2018-04-16 17:52:45 -04:00
Zuul
3bdf2b28ee Merge "Adding missing OVN Metadata service to DVR environments" 2018-04-16 19:06:49 +00:00
Juan Antonio Osorio Robles
252f56175c Add Barbican to the list of services for the undercloud
It's disabled by default, and will be an option to use if we decide to
enable Swift volume encryption for the undercloud.

Change-Id: I9c5e07a2eb764168670d5de7bdeb4b6362f9bfb5
2018-04-16 15:59:11 +00:00
Zuul
c235aa43d3 Merge "Update environment files for Q upgrade and ffwd upgrade" 2018-04-16 13:58:36 +00:00
Zuul
dd558e656d Merge "FFU: Use yum shell instead of ansible yum module" 2018-04-16 12:37:35 +00:00
Juan Badia Payno
7390124885 Logging Added nova-metadata log file
The log file for nova-metadata service is not configured for fluentd.
This patch adds the configuration

Change-Id: Idb174705f39ea91062f0a9c06c101a3f1a3ae73a
2018-04-16 12:15:19 +02:00
mandreou
19ed1afb2a Update environment files for Q upgrade and ffwd upgrade
This consolidates the upgrade and ffwd-upgrade related env files,
removing no longer relevant files (like converge vs converge-docker).

In line with recent/ongoing work in tripleoclient [1][2] we now have
cli: overcloud [upgrade|update|ffwd-upgrade] [prepare|run|converge]

With this patch we can also change the set/unset of resource 'noop'
and move it from tripleo-common to python-tripleoclient, like I am
pointing at in related client review below. If others agree then I
will do the same with the upgrade-prepare and also the ffwd cli
in [3], i.e. add explicit inclusion of the upgrade-prepare.yaml
and then similarly include the upgrade-converge.yaml for the
upgrade/ffwd-upgrade converge cli.

Related:
  I1288fe68ae8af02a5d77390d237ec467d88e43d2 python-tripleoclient

[1] 96ffa3a325
[2] https://review.openstack.org/#/c/558536/5/tripleoclient/v1/overcloud_update.py
[3] https://review.openstack.org/#/c/557937/4/tripleoclient/v1/overcloud_ffwd_upgrade.py@72

Change-Id: Icfe494e3219d6d6cd3251f75bb4329fc4d793c3c
2018-04-16 08:14:17 +00:00
d3d27d7ea8 Use hiera interpolation for memcached_network
After [1] iptables rules are not set for memcached service
thus services relying on memcached were not functioning well.
With [2] it's requrired to use hiera interpolation for service
configs, this patch fixes it for memcached_network.

[1] https://review.openstack.org/#/c/551292
[2] https://review.openstack.org/#/c/526692

Related-Bug: #1757556
Closes-Bug: #1763009
Change-Id: If9b274192ea4738f455a6106ff1a62eb4e7a5c91
2018-04-16 08:12:52 +05:30
Zuul
4fa675c292 Merge "Add the service_config_settings from {{service-name}} base" 2018-04-13 22:09:28 +00:00
Zuul
a86208bcf9 Merge "pep8: include no-tls-endpoints-public-ip.yaml in validation" 2018-04-13 22:09:25 +00:00
Zuul
6d0f2f56af Merge "Handle undercloud upgrades via host_prep_tasks" 2018-04-13 14:42:32 +00:00
Emilien Macchi
a5e5041762 pep8: include no-tls-endpoints-public-ip.yaml in validation
no-tls-endpoints-public-ip.yaml is a new file that needs to be validated
among other TLS environments, so we can make sure that EndpointMap will
be constructed correctly with all needed endpoints.

Change-Id: I5e83b37d8fa757065a6dab87d6eeac1c345efd32
2018-04-13 14:05:13 +00:00
Lukas Bezdicka
c2536e22f1 FFU: Use yum shell instead of ansible yum module
Ansible yum module installs all packages available in the repo
 if you use asterix. We instead will use yum -y update name*.

Change-Id: I8e71367ae91faa06313711c6a954c61af705fd8f
Resolves: rhbz#1549845
2018-04-13 14:45:43 +02:00
Juan Badia Payno
51269a1e22 Add the service_config_settings from {{service-name}} base
Some container yaml file does not get the
service_config_settings from the base file.

This patch makes for the following docker yaml files get
the service_config_settings:
 docker/services/neutron-l3.yaml
 docker/services/neutron-metadata.yaml
 docker/services/neutron-ovs-agent.yaml

Related-Bug: #1757066

Change-Id: Ifc8def10da0b10decd12efaab4452ff46f3c685b
2018-04-13 13:49:15 +02:00
Zuul
83fdc0b30b Merge "Set ulimit for nova-compute and cinder-volume" 2018-04-13 10:58:37 +00:00
Zuul
1ed7b14f4a Merge "Always run mysql init bundle" 2018-04-13 03:40:35 +00:00
Zuul
3a6f3c831c Merge "no-tls: add missing endpoint for Designate" 2018-04-13 02:16:30 +00:00