Commit Graph

6415 Commits (e2caa4057937a940a392a044a6cdd83e121dc63e)

Author SHA1 Message Date
Giulio Fidente e2caa40579 Migrates ceph-{radosgw,mds,rbdmirror} to ceph-ansible
Previously these environment files were pointing to a version of
the services implemented using puppet-ceph, now they are migrated
to using ceph-ansible.

Change-Id: I159e2e9408dc5749ec0c287ef06aa0b1421b7d88
Closes-Bug: 1744714
2018-01-22 14:45:03 +01:00
Zuul bd376f79db Merge "Fix server post deploy step with config-download" 2018-01-21 05:43:39 +00:00
Zuul 6eef96b349 Merge "Fix path to ceph-mgr in storage-environment" 2018-01-19 23:30:07 +00:00
Zuul b74cd1b864 Merge "Align Manila Share docker templates" 2018-01-19 19:54:19 +00:00
Martin André 997f4f6c2b Fix server post deploy step with config-download
Due to a misplaced endfor in the j2 template, the deployments.yaml
playbook was only included for the first role. The bogus task playbook
was rendered as:

  - hosts: overcloud
    name: Server Post Deployments
    gather_facts: no
    any_errors_fatal: yes
    tasks:
      - include: Controller/deployments.yaml
        vars:
          force: false
        when: role_name == 'Controller'
        with_items: "{{ Controller_post_deployments|default([]) }}"
    tags:
      - overcloud
      - post_deploy_steps
      - include: Compute/deployments.yaml
        vars:
          force: false
        when: role_name == 'Compute'
        with_items: "{{ Compute_post_deployments|default([]) }}"
    tags:
      - overcloud
      - post_deploy_steps

Change-Id: I625fcaa7c4dcb4f99f30b9d6def293154f4eb7ec
2018-01-19 17:32:13 +01:00
Bogdan Dobrelya e658c4b781 Align Manila Share docker templates
Fix mismatches for templates for pacemaker vs docker
control planes

Change-Id: I796ae972dcfe0907025c5ecc4d0e48c15d6f5d68
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-01-19 13:43:57 +01:00
Zuul 313d42c4c7 Merge "Split IPSEC deployment in two" 2018-01-18 19:11:46 +00:00
Zuul 51ca28783d Merge "Replace hardcoded profile name with _TUNED_PROFILE_NAME_" 2018-01-18 17:26:27 +00:00
John Fulton c572c9983c Fix path to ceph-mgr in storage-environment
Change-Id: If3a220b333232be7fbdcd51a6b6e73b71be1ce16
Closes-Bug: #1744124
2018-01-18 12:09:33 -05:00
Zuul f6c353bfcd Merge "Update default value for derive params workflow inputs" 2018-01-18 14:08:32 +00:00
Zuul 0236d8d480 Merge "Define 'NeutronPluginExtensions' in OVN environment files with dns extension" 2018-01-18 13:07:04 +00:00
Zuul dde06c7cbd Merge "Updated from global requirements" 2018-01-18 09:25:57 +00:00
Juan Antonio Osorio Robles 1363eda063 Split IPSEC deployment in two
The first phase sets up the node-to-node tunnels at step 1; this
ensures that the corosync cluster setup is done over the tunnels
and prevents any timeouts that were happening when the setup was
done after the cluster was up. This has the added value that all
the pacemaker communication is encrypted from the beginning.

The second phase is the VIP tunnel setup, which is in step 3. This
is because we need the VIPs to be setup by pacemaker, and we also
need pacemaker to be up.

Depends-On: Ib9a134648c74e5dfcbd7a8ebd2d67bda87992497
Change-Id: Ic402dc73044e2426b097ed0eaf57a77c5e6eef24
2018-01-18 08:31:29 +02:00
Zuul d6148195c6 Merge "Drop redundant delay param" 2018-01-18 05:33:16 +00:00
OpenStack Proposal Bot bee24f0c13 Updated from global requirements
Change-Id: Ifd3529ae312c593dab801855d683b4ba08450dd2
2018-01-18 03:38:12 +00:00
Zuul 1557048c25 Merge "Containerize multinode-3nodes" 2018-01-18 00:02:15 +00:00
Zuul d5ddb1d860 Merge "Default empty map for docker_config steps" 2018-01-17 19:04:23 +00:00
Zuul 01345362d1 Merge "Also pass blacklisted hostnames" 2018-01-17 19:04:20 +00:00
Zuul daed43b64b Merge "Include common_deploy_steps_tasks.yaml" 2018-01-17 19:04:18 +00:00
Zuul 3ab3ff3a6f Merge "Correct erroneous upgrade tasks." 2018-01-17 18:39:56 +00:00
Zuul 750fa306ce Merge "Configure ODL Logging mechanism" 2018-01-17 12:48:08 +00:00
rabi 2e7b195c03 Include common_deploy_steps_tasks.yaml
It seems to be changed in 0524c86353,
but the update playbook still includes the old one.

Change-Id: Ie75c485f6739b9520d1a64ae28a6dd260c4d601c
Closes-Bug: #1743760
2018-01-17 17:47:37 +05:30
Jose Luis Franco Arza cc0c466044 Correct erroneous upgrade tasks.
After merging [0], the step for each upgrade_task
is now handled in a 'when' condition. This patch
corrects some templates which where not following
that logic or had some syntax error.

[0] https://review.openstack.org/#/c/510902/

Change-Id: I5e42fa6b3d84ad6e0163900ee8146fd224fb5103
2018-01-17 11:16:45 +01:00
Zuul 5147c8fda2 Merge "Enable *_use_fqdn in ceph-ansible when EnableInternalTLS" 2018-01-17 02:10:57 +00:00
Zuul 0bea599b0a Merge "Deprecate CeilometerWorkers" 2018-01-16 22:32:18 +00:00
Zuul d83ba14a90 Merge "Updated from global requirements" 2018-01-16 21:55:45 +00:00
Zuul ac0f174b46 Merge "Updated from global requirements" 2018-01-16 21:55:43 +00:00
Zuul 8a1b6bf332 Merge "Updated from global requirements" 2018-01-16 21:55:40 +00:00
Zuul 54e7863323 Merge "Revert "Revert "Re-enable voting on scenario002-container""" 2018-01-16 20:23:22 +00:00
Giulio Fidente 17a7c255c0 Enable *_use_fqdn in ceph-ansible when EnableInternalTLS
This change implements automatically in the templates use of
*_use_fqdn in ceph-ansible basing on the value set for
EnableInternalTLS parameter.

Also see I14a88bd3bc91ccf6cc61d2592b823f3a92d74fec

Change-Id: I3a49308de3e94a157eee074d2deea30736ae429e
2018-01-16 17:11:00 +01:00
Zuul 08f9693bb5 Merge "Add become: true for host_prep_tasks" 2018-01-16 15:34:54 +00:00
Sven Anderson dc8a61b7b4 Replace hardcoded profile name with _TUNED_PROFILE_NAME_
The *-variables.conf file for tuned is hardcoded for the profile
"cpu-partitioning", which makes other profiles fail, that also need
the isolated_cores variable.

Change-Id: Iaeedfe5d7c501453fd2039b81c1603eff6125ebf
2018-01-16 16:20:18 +01:00
Emilien Macchi f95306a562 Revert "Revert "Re-enable voting on scenario002-container""
Jobs are passing now, let's re-enable it.

This reverts commit 39c6233306.

Change-Id: I386b0a6289eb4049326c805583f064fc99c19be0
2018-01-16 14:00:19 +00:00
OpenStack Proposal Bot 3d13febbc7 Updated from global requirements
Change-Id: Ib5402fdd0b0d2eb882f464c21bcac238defe6be1
I5d7257f6e9200b6def18cbb40e43eb2be4be7fe6
I451c6524b575a72eb45d6f6ab6d34be8fba0a090
2018-01-16 13:05:09 +00:00
Steven Hardy 41988eab39 Default empty map for docker_config steps
In the event a step has no services defined, we must still write the
config, as this is needed if services are disabled on update such that
a step becomes empty - we must run paunch on every step or the cleanup
of the "old" services does not happen.

Closes-Bug: 1742915
Change-Id: Iee01002f56b5311560557f2bf6f053601b9d43d7
2018-01-16 09:22:39 +00:00
Thomas Herve 07f275b603 Deprecate CeilometerWorkers
It seems it's been unused for a while, let's deprecate it.

Change-Id: I346b1f78189e6e5186e0297ac964d65bdd89afcf
2018-01-16 10:22:36 +01:00
OpenStack Proposal Bot dc6c1a9652 Updated from global requirements
Change-Id: I5d7257f6e9200b6def18cbb40e43eb2be4be7fe6
2018-01-16 04:37:21 +00:00
OpenStack Proposal Bot d06b1db8d8 Updated from global requirements
Change-Id: I451c6524b575a72eb45d6f6ab6d34be8fba0a090
2018-01-16 04:37:20 +00:00
Janki Chhatbar 85d2c53c35 Configure ODL Logging mechanism
ODL logs to either console for containarised deployment and to file
for non-containarised deployment. For containarised deployments, logs
can then be read via "docker logs".

We need both JVM and karaf (ODL application) logs together to debug
any failure scenario and for them to correlate. JVM logs to console
and not to a file. Karaf can log to file and console. So we make
karaf and JVM both log to console and read these logs via docker logs.

In cases when ODL container restarts, "docker logs" retain logs from
previous broken container so there is no loss of logs in these cases.

Change-Id: I2fe56df082c5d9206015f156f5f1b3cfca63c982
2018-01-16 09:35:26 +05:30
Zuul 33a254cacb Merge "Reinstate common overcloud manifest for all roles" 2018-01-16 03:42:55 +00:00
Zuul b839617840 Merge "Latest Nexus Configuration Variables Updates" 2018-01-16 00:33:57 +00:00
Zuul 4a601673ed Merge "Add support for outputting role-specific parameters" 2018-01-16 00:29:38 +00:00
Zuul 0d24fdbd2e Merge "OvsDpdkMemoryChannels parameter default value" 2018-01-16 00:29:36 +00:00
Zuul bfc61c8030 Merge "Configure auth_uri for swift proxy explicitly without suffix" 2018-01-16 00:18:31 +00:00
Zuul 5a219d53bf Merge "Cinder containers: volume and env customizations" 2018-01-15 21:21:22 +00:00
Zuul 5aeabe62d9 Merge "Workflow execution blacklist support" 2018-01-15 21:10:23 +00:00
Steven Hardy 9664b3b2e8 Add become: true for host_prep_tasks
I561b5ef6dee0ee7cac67ba798eda284fb7f7a8d0 added this for the main
deploy steps, but there are some host_prep_tasks which require this,
specifically the nova-libvirt tasks fail for me locally without -b

Change-Id: I29cb8b0962c0dfcf7950d65305a3adef1f1268c3
2018-01-15 18:31:46 +00:00
James Slagle d4a5876e57 Also pass blacklisted hostnames
Workflows may need access to the list of blacklisted hostnames so they
can filter on that value. This change adds that input to the workflow
execution environment.

Change-Id: I41de32b324a406633699d17933ae05417b28c57b
Partial-Bug: #1743046
2018-01-15 15:26:11 +01:00
James Slagle 79570ed2b9 Workflow execution blacklist support
Workflows triggered from deploy-steps.j2 were not honoring the
blacklist, particularly ceph-ansible. This patch starts to address that
issue by passing in a list of blacklisted ip addresses to the workflow
execution environment that the workflow can make use of to filter
against ctlplane_service_ips.

Change-Id: Ic158171c629e82892e480f1e6903a67457f86064
Partial-Bug: #1743046
2018-01-15 15:25:49 +01:00
Jaganathan Palanisamy 913444d854 Update default value for derive params workflow inputs
This change is to update the default value for derive params
workflow inputs num_phy_cores_per_numa_node_for_pmd
and huge_page_allocation_percentage.
num_phy_cores_per_numa_node_for_pmd default value needs to be reduced
to 1 and cannot use more than 1 because of multi-queues.
huge_page_allocation_percentage default value needs to be reduced
from 90 because in some cases where we do not have enough memory
for some hosts

Change-Id: I8620f07f09337d0d63198c3168fec00f16262a63
Closes-Bug: #1736713
2018-01-15 05:50:47 -05:00