apex-tripleo-heat-templates.git
7 years agoDeploy CI scenarios with Pacemaker
Emilien Macchi [Sun, 26 Feb 2017 19:18:30 +0000 (14:18 -0500)]
Deploy CI scenarios with Pacemaker

Pacemaker is now deployed by default and it would be great to have it
tested for all scenarios to deploy real environments used in production.

Change-Id: Iff879cd641f6207644b1b6309a6ec4129f1a255a

7 years agoMerge "Install openstack-panko-api on upgrade"
Jenkins [Mon, 27 Feb 2017 11:09:00 +0000 (11:09 +0000)]
Merge "Install openstack-panko-api on upgrade"

7 years agoMerge "Install openstack-heat-agents on upgrade"
Jenkins [Mon, 27 Feb 2017 10:25:19 +0000 (10:25 +0000)]
Merge "Install openstack-heat-agents on upgrade"

7 years agoMerge "Don't recalculate EndpointMap to get outputs"
Jenkins [Mon, 27 Feb 2017 09:19:16 +0000 (09:19 +0000)]
Merge "Don't recalculate EndpointMap to get outputs"

7 years agoMerge "multinode_major_upgrade: enable Pacemaker"
Jenkins [Sat, 25 Feb 2017 21:00:38 +0000 (21:00 +0000)]
Merge "multinode_major_upgrade: enable Pacemaker"

7 years agoInstall openstack-heat-agents on upgrade
Marius Cornea [Sat, 25 Feb 2017 20:02:01 +0000 (21:02 +0100)]
Install openstack-heat-agents on upgrade

This package wasn't installed in the Newton image and we need to
install it during upgrade to be able to skip preupgrade validations.

Change-Id: If6ee7a3801756ac445ae35534803eab175ad8e40
Closes-Bug: 1667967

7 years agoInstall openstack-panko-api on upgrade
Marius Cornea [Sat, 25 Feb 2017 19:32:49 +0000 (20:32 +0100)]
Install openstack-panko-api on upgrade

This doesn't exist in newton images, so install it via the
ansible tasks during step3 (when all other packages are updated).

Change-Id: I700a711473d10a50fad6b1797453a74c0cdff54b
Closes-Bug: 1667965

7 years agoMerge "Don't assume default network names in net_ip*map"
Jenkins [Sat, 25 Feb 2017 16:38:11 +0000 (16:38 +0000)]
Merge "Don't assume default network names in net_ip*map"

7 years agomultinode_major_upgrade: enable Pacemaker
Emilien Macchi [Sat, 25 Feb 2017 15:53:53 +0000 (10:53 -0500)]
multinode_major_upgrade: enable Pacemaker

To improve testing coverage in upgrade CI job, add Pacemaker.

Change-Id: I855ed15642e28cdfda5a7cbd6ff6d01b591dff7e

7 years agoMerge "Add option to diff containers after config stage."
Jenkins [Fri, 24 Feb 2017 21:41:38 +0000 (21:41 +0000)]
Merge "Add option to diff containers after config stage."

7 years agoMerge "Upgrade nova-api/scheduler/conductor packages at step3 not step2."
Jenkins [Fri, 24 Feb 2017 21:19:36 +0000 (21:19 +0000)]
Merge "Upgrade nova-api/scheduler/conductor packages at step3 not step2."

7 years agoMerge "Adding definition of backup_flags"
Jenkins [Fri, 24 Feb 2017 21:13:16 +0000 (21:13 +0000)]
Merge "Adding definition of backup_flags"

7 years agoMerge "Add checks in ansible upgrade tasks for CephMon and CephOSD"
Jenkins [Fri, 24 Feb 2017 18:05:08 +0000 (18:05 +0000)]
Merge "Add checks in ansible upgrade tasks for CephMon and CephOSD"

7 years agoMerge "Align HCI environment file with list of services from roles_data"
Jenkins [Fri, 24 Feb 2017 17:47:03 +0000 (17:47 +0000)]
Merge "Align HCI environment file with list of services from roles_data"

7 years agoAdd option to diff containers after config stage.
Ian Main [Thu, 26 Jan 2017 02:08:53 +0000 (21:08 -0500)]
Add option to diff containers after config stage.

This allows you to show the changes made to a container during
configuration stage for fast development.

Change-Id: Id9c72cf2b07486f0a80bf3572a7ba349888d877f

7 years agoUpgrade nova-api/scheduler/conductor packages at step3 not step2.
Sofer Athlan-Guyot [Fri, 24 Feb 2017 16:01:35 +0000 (17:01 +0100)]
Upgrade nova-api/scheduler/conductor packages at step3 not step2.

The nova-api, nova-scheduler nova-conductor packages are updated during
step2.  The package upgrade trigger a restart of the service which fails
and is constantly retried by systemd:

    Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: Failed to start OpenStack Nova Scheduler Server.
    Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: Unit openstack-nova-scheduler.service entered failed state.
    Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: openstack-nova-scheduler.service failed.
    Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: openstack-nova-scheduler.service holdoff time over, scheduling restart.

We eventually reach timeout.  We use
https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/tripleo-packages.yaml#L44-L46
to upgrade existing packages.

Add a note to the README.rst to make people aware of the general upgrade
done at step3 and limit its usage to new package for individual service.

Change-Id: I13b51bcfe0c98034944613f7e1c3f0168cd4de76
Closes-Bug: #1667728

7 years agoMerge "Containers: workaround for neutron DB sync"
Jenkins [Fri, 24 Feb 2017 16:17:45 +0000 (16:17 +0000)]
Merge "Containers: workaround for neutron DB sync"

7 years agoAdding definition of backup_flags
Luca Lorenzetto [Fri, 24 Feb 2017 16:06:22 +0000 (17:06 +0100)]
Adding definition of backup_flags

During the upgrade from M to N i encountered an error in a step
requiring the upgrade of mysql version. The variable backup_flags
is undefined at that point.

Change-Id: Ic6681c40934b27a03d00a75007d7f12d6d540de3
Closes-Bug: #1667731

7 years agoMerge "Enable TLS for swift-proxy's ceilometer notifications"
Jenkins [Fri, 24 Feb 2017 12:57:07 +0000 (12:57 +0000)]
Merge "Enable TLS for swift-proxy's ceilometer notifications"

7 years agoContainers: workaround for neutron DB sync
Jiri Stransky [Fri, 24 Feb 2017 09:48:53 +0000 (10:48 +0100)]
Containers: workaround for neutron DB sync

Neutron DB sync didn't have permission to read the config files, we now
run neutron-db-manage as root until we can find a more permanent
solution.

Change-Id: I502a8514adc523c7cac1da059be10480eef71cb9
Closes-Bug: #1667300

7 years agoAdd step to docker_puppet_tasks
Dan Prince [Thu, 23 Feb 2017 19:42:19 +0000 (14:42 -0500)]
Add step to docker_puppet_tasks

This patch sets the step correctly for docker_puppet_tasks.
This is now required in order to match the 'step' in some
puppet manifests explicitly so that things like keystone
initialization run correctly.

Closes-bug: #1667454

Change-Id: If2bdd0b1051125674f116f895832b48723d82b3a

7 years agoMerge "Remove forgotten sahara dbsync from step5 upgrades tasks"
Jenkins [Thu, 23 Feb 2017 19:02:21 +0000 (19:02 +0000)]
Merge "Remove forgotten sahara dbsync from step5 upgrades tasks"

7 years agoMerge "Adding the ip_conntrack_proto_sctp kernel module"
Jenkins [Thu, 23 Feb 2017 19:01:35 +0000 (19:01 +0000)]
Merge "Adding the ip_conntrack_proto_sctp kernel module"

7 years agoMerge "Add release notes for Manila/CephFS with managed Ceph"
Jenkins [Thu, 23 Feb 2017 17:46:02 +0000 (17:46 +0000)]
Merge "Add release notes for Manila/CephFS with managed Ceph"

7 years agoMerge "multinode/upgrade: add nova services to environment"
Jenkins [Thu, 23 Feb 2017 17:45:56 +0000 (17:45 +0000)]
Merge "multinode/upgrade: add nova services to environment"

7 years agoMerge "Increase ansible-pacemaker default service start timeout"
Jenkins [Thu, 23 Feb 2017 16:11:25 +0000 (16:11 +0000)]
Merge "Increase ansible-pacemaker default service start timeout"

7 years agoMerge "Add missing releasenotes for Swift ring management"
Jenkins [Thu, 23 Feb 2017 15:43:21 +0000 (15:43 +0000)]
Merge "Add missing releasenotes for Swift ring management"

7 years agoMerge "Parallelize docker-puppet.py"
Jenkins [Thu, 23 Feb 2017 15:43:01 +0000 (15:43 +0000)]
Merge "Parallelize docker-puppet.py"

7 years agoEnable TLS for swift-proxy's ceilometer notifications
Juan Antonio Osorio Robles [Thu, 23 Feb 2017 14:02:16 +0000 (16:02 +0200)]
Enable TLS for swift-proxy's ceilometer notifications

If the message broker is using TLS, we enable it for these
notifications.

Change-Id: I4f37e77ae12e9582fab7d326ebd4c70127c5445f
Depends-On: If23d1f0d20264faaddc2e5ad54863483fa43ed41

7 years agoIncrease ansible-pacemaker default service start timeout
marios [Tue, 21 Feb 2017 17:12:02 +0000 (19:12 +0200)]
Increase ansible-pacemaker default service start timeout

We are passing 200 but in some environments this has been seen to
expire by a few seconds.

Change-Id: I5c2270559339ea9ee0043b7a2e519e26d4d9d78a
Closes-Bug: 1666604

7 years agoRemove forgotten sahara dbsync from step5 upgrades tasks
marios [Thu, 23 Feb 2017 08:53:05 +0000 (10:53 +0200)]
Remove forgotten sahara dbsync from step5 upgrades tasks

I suspect this was forgotten from the initial commits where
we were doing the dbsync in ansible

Change-Id: Ie337bfba4e61cf3d546d0b79b611b84211ac9d9d

7 years agoMerge "Add docker mysql service"
Jenkins [Thu, 23 Feb 2017 06:20:41 +0000 (06:20 +0000)]
Merge "Add docker mysql service"

7 years agoMerge "Add support for node groups in NetConfigDataLookup"
Jenkins [Thu, 23 Feb 2017 03:51:37 +0000 (03:51 +0000)]
Merge "Add support for node groups in NetConfigDataLookup"

7 years agoAdd docker mysql service
Flavio Percoco [Fri, 23 Dec 2016 14:13:23 +0000 (15:13 +0100)]
Add docker mysql service

Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: If0ee671acbf6a9931622003a859089d61e2050b3

7 years agoMerge "neutron: don't set external_network_bridge option by default"
Jenkins [Thu, 23 Feb 2017 00:06:28 +0000 (00:06 +0000)]
Merge "neutron: don't set external_network_bridge option by default"

7 years agoAdding the ip_conntrack_proto_sctp kernel module
Itzik Brown [Wed, 22 Feb 2017 14:58:30 +0000 (16:58 +0200)]
Adding the ip_conntrack_proto_sctp kernel module

When using conntrack there is a need to load the
ip_conntrack_proto_sctp module for SCTP to work.

Closes-bug: 1664192

Change-Id: Ic58f5327401c3ab2215acd8b9ce699f555e8c5e4

7 years agoMerge "Containerized Swift Services."
Jenkins [Wed, 22 Feb 2017 21:39:48 +0000 (21:39 +0000)]
Merge "Containerized Swift Services."

7 years agoMerge "Containerized MongoDB"
Jenkins [Wed, 22 Feb 2017 21:39:22 +0000 (21:39 +0000)]
Merge "Containerized MongoDB"

7 years agoMerge "Add docker Glance API service"
Jenkins [Wed, 22 Feb 2017 21:22:55 +0000 (21:22 +0000)]
Merge "Add docker Glance API service"

7 years agoMerge "Configure authtoken in nova-placement api service"
Jenkins [Wed, 22 Feb 2017 21:22:44 +0000 (21:22 +0000)]
Merge "Configure authtoken in nova-placement api service"

7 years agoMerge "Add docker keystone service"
Jenkins [Wed, 22 Feb 2017 21:22:37 +0000 (21:22 +0000)]
Merge "Add docker keystone service"

7 years agoMerge "Update ci environment for multinode jobs to support Ceph"
Jenkins [Wed, 22 Feb 2017 20:32:36 +0000 (20:32 +0000)]
Merge "Update ci environment for multinode jobs to support Ceph"

7 years agoMerge "Add docker rabbitmq service"
Jenkins [Wed, 22 Feb 2017 20:27:58 +0000 (20:27 +0000)]
Merge "Add docker rabbitmq service"

7 years agoMerge "Add docker mistral services"
Jenkins [Wed, 22 Feb 2017 20:27:44 +0000 (20:27 +0000)]
Merge "Add docker mistral services"

7 years agoMerge "Add docker zaqar service"
Jenkins [Wed, 22 Feb 2017 20:27:02 +0000 (20:27 +0000)]
Merge "Add docker zaqar service"

7 years agoMerge "Add docker heat services"
Jenkins [Wed, 22 Feb 2017 20:25:42 +0000 (20:25 +0000)]
Merge "Add docker heat services"

7 years agoMerge "Add docker nova services"
Jenkins [Wed, 22 Feb 2017 20:25:34 +0000 (20:25 +0000)]
Merge "Add docker nova services"

7 years agoMerge "Add docker memcached service"
Jenkins [Wed, 22 Feb 2017 20:22:36 +0000 (20:22 +0000)]
Merge "Add docker memcached service"

7 years agoParallelize docker-puppet.py
Ian Main [Tue, 7 Feb 2017 22:08:14 +0000 (17:08 -0500)]
Parallelize docker-puppet.py

Use a pool of worker processes to run the puppet modules so they
can all be done in parallel.  Defaults to cpu count processes.

Change-Id: I083d302b8cf6538569e4d165221c21df152266bc

7 years agoMerge "Add step0,validation checks for heat services"
Jenkins [Wed, 22 Feb 2017 19:41:30 +0000 (19:41 +0000)]
Merge "Add step0,validation checks for heat services"

7 years agoMerge "Enable docker services in the registry"
Jenkins [Wed, 22 Feb 2017 19:37:31 +0000 (19:37 +0000)]
Merge "Enable docker services in the registry"

7 years agoMerge "Add docker neutron services"
Jenkins [Wed, 22 Feb 2017 19:37:22 +0000 (19:37 +0000)]
Merge "Add docker neutron services"

7 years agoMerge "Add docker ironic services"
Jenkins [Wed, 22 Feb 2017 19:37:05 +0000 (19:37 +0000)]
Merge "Add docker ironic services"

7 years agoContainerized Swift Services.
Ian Main [Thu, 26 Jan 2017 02:02:16 +0000 (21:02 -0500)]
Containerized Swift Services.

Running swift in containers. Oh yeah.

Co-Authored-by: Dan Prince <dprince@redhat.com>
Change-Id: I2d96514fb7aa51dffe8fe293bc950e0e99df5e94

7 years agoAdd docker Glance API service
Dan Prince [Sat, 7 Jan 2017 16:45:29 +0000 (11:45 -0500)]
Add docker Glance API service

Co-Authored-By: Dan Prince <dprince@redhat.com>
Change-Id: I02cc769df5ec7afd608c502abc63fde8aa52be82

7 years agoContainerized MongoDB
Flavio Percoco [Fri, 20 Jan 2017 09:40:09 +0000 (09:40 +0000)]
Containerized MongoDB

Change-Id: Ic3fd3bfd76d31ba515dbabdda7dfd06b9833a2ca

7 years agoMerge "Adding upgrade steps to congress service"
Jenkins [Wed, 22 Feb 2017 16:00:03 +0000 (16:00 +0000)]
Merge "Adding upgrade steps to congress service"

7 years agomultinode/upgrade: add nova services to environment
Emilien Macchi [Wed, 15 Feb 2017 15:23:52 +0000 (10:23 -0500)]
multinode/upgrade: add nova services to environment

Add Nova services to the environment that deploys the upgrade Ci job.

Change-Id: I4b98b433e5c56a35e42ba34c2f2e663a4cb79580

7 years agoRe-add the disable_upgrade_deployment note in roles_data.yaml
marios [Wed, 22 Feb 2017 10:59:22 +0000 (12:59 +0200)]
Re-add the disable_upgrade_deployment note in roles_data.yaml

This was accidentally removed in
If581f301a5493ef33ac1386bdc22f9fca4f2544e looks like

Change-Id: I0e2c4fe664daca5c50921673db067701195c501f

7 years agoMerge "Increase apache ServerLimit and workers to 100"
Jenkins [Wed, 22 Feb 2017 06:37:02 +0000 (06:37 +0000)]
Merge "Increase apache ServerLimit and workers to 100"

7 years agoMerge "Add environment for deployed-server with pacemaker"
Jenkins [Wed, 22 Feb 2017 04:32:47 +0000 (04:32 +0000)]
Merge "Add environment for deployed-server with pacemaker"

7 years agoIncrease apache ServerLimit and workers to 100
Sagi Shnaidman [Tue, 21 Feb 2017 20:18:01 +0000 (22:18 +0200)]
Increase apache ServerLimit and workers to 100

Increase apache serverlimit and maxrequestworkers to 100
in low-memory-usage template.
We have been reaching the limit with all the OpenStack services that we run in WSGI.
Increasing the number will help us to promote packages in TripleO CI.

Change-Id: I3f71f279a8dfaee9db5f5d1091ad079d9170de1f

7 years agoMerge "Improve the README for the _setting keys"
Jenkins [Tue, 21 Feb 2017 21:24:49 +0000 (21:24 +0000)]
Merge "Improve the README for the _setting keys"

7 years agoImprove the README for the _setting keys
Michele Baldessari [Mon, 20 Feb 2017 19:18:50 +0000 (20:18 +0100)]
Improve the README for the _setting keys

It is not entirely clear to someone writing their
own templates how to distribute hiera keys to different
roles. Let's clear this up with a more extensive description.

Change-Id: I02224389c2de90bc5534bce764e5e9d3bb23538f

7 years agoAdd checks in ansible upgrade tasks for CephMon and CephOSD
Giulio Fidente [Fri, 17 Feb 2017 15:49:58 +0000 (16:49 +0100)]
Add checks in ansible upgrade tasks for CephMon and CephOSD

Adds two checks, one for the CephMon and one for the CephOSD upgrade
tasks borrowed from ceph-ansible.

Change-Id: I0a0e60d277240130c6bd76a74ccc13354b87a30a
Co-Authored-By: Sebastien Han <seb@redhat.com>
7 years agoEnable panko service by default on overcloud
Pradeep Kilambi [Mon, 20 Feb 2017 13:00:55 +0000 (08:00 -0500)]
Enable panko service by default on overcloud

There are other applications still relying on panko and not
enabling by default is causing integration concerns.

Closes-bug: #1666619

Change-Id: I615694ca5f5a04fef4b0098c8083fb43432bb81f

7 years agoAdd step0,validation checks for heat services
marios [Tue, 21 Feb 2017 14:08:27 +0000 (16:08 +0200)]
Add step0,validation checks for heat services

These are currently commented out because we were waiting for
I7612189be49c9c07f64753c1be4b72aa8524d06d to enable these in the
ci upgrades job.

Change-Id: I07bc0c2af0b227416470e23ad42f3a9aae430271

7 years agoMerge "Stop nova-api before upgrading package"
Jenkins [Tue, 21 Feb 2017 12:37:07 +0000 (12:37 +0000)]
Merge "Stop nova-api before upgrading package"

7 years agoMerge "Adding upgrade_tasks to tacker"
Jenkins [Tue, 21 Feb 2017 00:55:37 +0000 (00:55 +0000)]
Merge "Adding upgrade_tasks to tacker"

7 years agoAdding upgrade steps to congress service
Dan Radez [Mon, 13 Feb 2017 14:23:33 +0000 (09:23 -0500)]
Adding upgrade steps to congress service

Change-Id: I79169baf4c59e9325355992288de2e9ad8088e3b

7 years agoMerge "Generate Pre/Post Puppet Tasks for all roles"
Jenkins [Mon, 20 Feb 2017 23:48:52 +0000 (23:48 +0000)]
Merge "Generate Pre/Post Puppet Tasks for all roles"

7 years agoAdd docker memcached service
Dan Prince [Fri, 3 Feb 2017 02:35:04 +0000 (21:35 -0500)]
Add docker memcached service

Change-Id: I055677a5ba62ee1c34a207fb83273f70558d21f1

7 years agoAdd docker rabbitmq service
Dan Prince [Sun, 29 Jan 2017 22:41:38 +0000 (17:41 -0500)]
Add docker rabbitmq service

Change-Id: I3d30e55716a464d423358ff23bdd184d34da765a

7 years agoAdd docker zaqar service
Dan Prince [Thu, 26 Jan 2017 23:38:06 +0000 (18:38 -0500)]
Add docker zaqar service

Change-Id: I09379b4959c38ae4e7b4e667b97e87d35c8e7e83

7 years agoAdd docker mistral services
Dan Prince [Thu, 26 Jan 2017 15:07:49 +0000 (10:07 -0500)]
Add docker mistral services

This patch adds docker services for Mistral API, Engine, and Executor.

NOTE: the Mistral API container for TripleO must be built with
openstack-tripleo-common installed in order for TripleO specific
actions to get installed for the undercloud.

Change-Id: I0075840d14eb43c50d80b87acd986b80cfd38d4a

7 years agoAdd docker neutron services
Dan Prince [Fri, 20 Jan 2017 02:37:38 +0000 (21:37 -0500)]
Add docker neutron services

This patch adds docker services for Neutron API(server), the
Neutron DHCP agent, and Neutron ML2 plugin configuration.

Co-Authored-By: Ian Main <imain@redhat.com>
Change-Id: If31e095cae533597cf0d73b4277425dfc3459564

7 years agoAdd docker nova services
Dan Prince [Mon, 16 Jan 2017 19:59:25 +0000 (14:59 -0500)]
Add docker nova services

This patch adds docker services for Nova for the Api, conductor,
scheduler, ironic, placement, and pass-thru configuration for metadata (it
simply enables metadata to be configured as part of the nova-api.

The nova-api DB initialization commands depend on a new heat-agent
feature (see patch below) to accommodate exit codes returned by
the new cells setup commands.

Change-Id: I39436783409ed752b08619b07b0a0c592bce0456
Depends-On: Ia6ca4b01982a0b33b26eca2a907d9d9f87c19922

7 years agoAdd docker heat services
Dan Prince [Sun, 8 Jan 2017 02:16:26 +0000 (21:16 -0500)]
Add docker heat services

This patch adds docker services for Heat API, API Cfn, and Engine.

Change-Id: I50caad9b9cf5482a8872cb0f2a67477b5e829ead

7 years agoStop nova-api before upgrading package
Oliver Walsh [Mon, 20 Feb 2017 19:10:45 +0000 (14:10 -0500)]
Stop nova-api before upgrading package

If the service is running then the rpm upgrade will attempt to restart.
Ensuring the service is stopped before upgrade should resolve this.

Change-Id: I4179cb773616721640490d26082eacac45f92dff
Closes-Bug: 1665717

7 years agoMerge "Make the DB URIs host-independent for all services"
Jenkins [Mon, 20 Feb 2017 18:29:47 +0000 (18:29 +0000)]
Merge "Make the DB URIs host-independent for all services"

7 years agoAdding upgrade_tasks to tacker
Dan Radez [Fri, 10 Feb 2017 18:34:39 +0000 (13:34 -0500)]
Adding upgrade_tasks to tacker

Change-Id: I0d7e151a931d02068dea80d7cf57b99736e689e6

7 years agoMerge "Switch to net-config-multinode"
Jenkins [Sat, 18 Feb 2017 20:49:53 +0000 (20:49 +0000)]
Merge "Switch to net-config-multinode"

7 years agoMerge "Install nova-placement package on upgrade"
Jenkins [Sat, 18 Feb 2017 02:06:15 +0000 (02:06 +0000)]
Merge "Install nova-placement package on upgrade"

7 years agoMake the DB URIs host-independent for all services
Michele Baldessari [Thu, 9 Feb 2017 10:14:03 +0000 (11:14 +0100)]
Make the DB URIs host-independent for all services

When fixing LP#1643487 we added ?bind_address to all DB URIs.
Since this clashes with Cellsv2 due to the URIs becoming host
dependent, we need a new approach to pass bind_address to pymysql
that leaves the DB URIs host-independent.

In change Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18 we first create a
/etc/my.cnf.d/tripleo.cnf file with a [tripleo] section with the correct
bind-address option.

In this change we make sure that the DB URIs will point to the added
file and to the specific section containing the necessary bind-address
option. We do introduce a new MySQLClient profile which will hold all
this more client-specific configuration so that this change can fit
better in the composable roles work. Also, in the future it might
contain the necessary configuration for SSL for example.

Note that in case the /etc/my.cnf.d/tripleo.cnf file does not exist
(because it is created via the mysqlclient profile), things keep on
working as usual and the bind-address option simply won't be set, which
has no impact on hosts where there are no VIPs.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Change-Id: Ieac33efe38f32e949fd89545eb1cd8e0fe114a12
Related-Bug: #1643487
Closes-Bug: #1663181
Closes-Bug: #1664524
Depends-On: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18

7 years agoMerge "Add docker_puppet_tasks initialization on primary node"
Jenkins [Fri, 17 Feb 2017 15:56:43 +0000 (15:56 +0000)]
Merge "Add docker_puppet_tasks initialization on primary node"

7 years agoAdd environment for deployed-server with pacemaker
James Slagle [Wed, 15 Feb 2017 18:20:00 +0000 (13:20 -0500)]
Add environment for deployed-server with pacemaker

A new environment file to be used when using the deployed-server roles
data at deployed-server/deployed-server-roles-data.yaml. This ensures
the Pre and Post Puppet Tasks for the ControllerDeployedServer role are
mapped to the stacks that handle maintenance mode and resource restarts
for pacemaker on stack-update.

Change-Id: I1ca52dfb3a3b669e128ebb0a28d9e36a1807faad
Closes-Bug: #1665060

7 years agoGenerate Pre/Post Puppet Tasks for all roles
James Slagle [Wed, 15 Feb 2017 18:13:36 +0000 (13:13 -0500)]
Generate Pre/Post Puppet Tasks for all roles

We need to generate the Pre and Post Puppet Tasks for all roles, not
just the Controller role. Otherwise, you have to have a role
specifically named Controller that is running your pacemaker services,
or pacemaker won't be properly handled on stack-updates.

When using deployed-server's it's actually not possible to have a role
called Controller, since we need to use all custom roles so that we can
set disable_contraints on each role. Further, it is not possible to
redefine the Controller role since puppet/controller-role.yaml is listed
in the excludes file.

Change-Id: I737b24db90932e292b50b122640f66385f2d1c23
Partial-Bug: #1665060

7 years agoDon't assume default network names in net_ip*map
Steven Hardy [Wed, 21 Dec 2016 13:19:20 +0000 (13:19 +0000)]
Don't assume default network names in net_ip*map

This needs to handle a ServiceNetMap containing non-default
network names when they are overridden via the *NetName parameters.

Closes-Bug: #1651541
Change-Id: I95d808444642a37612a495e822e50449a7e7da63

7 years agoSwitch to net-config-multinode
Emilien Macchi [Fri, 27 Jan 2017 19:39:35 +0000 (14:39 -0500)]
Switch to net-config-multinode

Because of this bug:
https://bugs.launchpad.net/tripleo/+bug/1661412

We are unable to upgrade from Newton.
Until we figure this out, let's re-enable the previous SoftwareConfig.

Change-Id: I966b96c50224656b152045c97aa23b9495618a18

7 years agoMerge "Add explicit swift check to tripleo_upgrade_node.sh"
Jenkins [Fri, 17 Feb 2017 11:16:37 +0000 (11:16 +0000)]
Merge "Add explicit swift check to tripleo_upgrade_node.sh"

7 years agoMerge "Deploy Manila with CephMDS in scenario004"
Jenkins [Fri, 17 Feb 2017 10:15:33 +0000 (10:15 +0000)]
Merge "Deploy Manila with CephMDS in scenario004"

7 years agoInstall nova-placement package on upgrade
Steven Hardy [Fri, 17 Feb 2017 10:00:24 +0000 (10:00 +0000)]
Install nova-placement package on upgrade

This doesn't exist in newton images, so install it via the
ansible tasks during step3 (when all other packages are updated).

Change-Id: I08fb7855b910ccc5a8ab2d73f1de15b695784abd
Closes-Bug: #1664265

7 years agoMerge "Apply puppet in non-controller script in step."
Jenkins [Fri, 17 Feb 2017 09:29:01 +0000 (09:29 +0000)]
Merge "Apply puppet in non-controller script in step."

7 years agoMerge "docker: new hybrid deployment architecture and configuration"
Jenkins [Fri, 17 Feb 2017 03:04:13 +0000 (03:04 +0000)]
Merge "docker: new hybrid deployment architecture and configuration"

7 years agoMerge "Apply post-upgrade step to not run puppet in post upgrade"
Jenkins [Fri, 17 Feb 2017 01:23:11 +0000 (01:23 +0000)]
Merge "Apply post-upgrade step to not run puppet in post upgrade"

7 years agoMerge "Add Newton to Ocata UpgradeInitCommonCommand"
Jenkins [Fri, 17 Feb 2017 01:22:44 +0000 (01:22 +0000)]
Merge "Add Newton to Ocata UpgradeInitCommonCommand"

7 years agoMerge "Adds 'trunk' to ODL env service plugins"
Jenkins [Fri, 17 Feb 2017 01:22:37 +0000 (01:22 +0000)]
Merge "Adds 'trunk' to ODL env service plugins"

7 years agoMerge "Automatically backup and restore Swift rings from the undercloud"
Jenkins [Fri, 17 Feb 2017 01:21:21 +0000 (01:21 +0000)]
Merge "Automatically backup and restore Swift rings from the undercloud"

7 years agoUpdate ci environment for multinode jobs to support Ceph
Giulio Fidente [Thu, 16 Feb 2017 15:51:01 +0000 (16:51 +0100)]
Update ci environment for multinode jobs to support Ceph

Adds the CephMon and CephOSD services on the Controller role so
that we can test Ceph if the services are enabled via registry.

Change-Id: I73ee5380b88bf7643ba425a0c833922e330ecade

7 years agoAdd missing releasenotes for Swift ring management
Christian Schwede [Thu, 16 Feb 2017 15:42:25 +0000 (15:42 +0000)]
Add missing releasenotes for Swift ring management

Change-Id: Ifef3e6f661d0094ebcc587fd6c1d0783a92ada3f