aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-07-04pacemaker: don't override Service resource for Nova & NeutronEmilien Macchi1-3/+1
Nova & Neutron services are already managed by puppet-tripleo in profiles, and we already override Service resource for some services to manage them with Pacemaker. Dropping this code here will allow us to run TripleO in AIO setup as we don't manage everything with Pacemaker. Change-Id: Idcfc6ea26ca41534ce407be0eb3dafe7bcd2ef2d
2016-07-04Merge "Dump and restore galera db during major upgrades"Jenkins3-0/+184
2016-07-04Merge "Don't set selinux in 'permissive' mode on CephStorage nodes"Jenkins1-2/+0
2016-07-04Merge "Add Rabbit/epmd port to firewall"Jenkins1-0/+1
2016-07-04Merge "Stop no-opping PackageUpdate on upgrade"Jenkins2-2/+0
2016-07-01Merge "First iteration of libvirt and nova-compute as a composable services"Jenkins7-43/+50
2016-07-01Stop no-opping PackageUpdate on upgradeJiri Stransky2-2/+0
After we fixed bug #1567384 and bug #1567385, we no longer need to no-op the PakageUpdate resource on upgrades. I removed the no-op in change Ie14ddbff15e7ed21aaa3fcdacf36e0040f912382 from major-upgrade-pacemaker-converge.yaml but didn't recall we had the no-op in major-upgrade-pacemaker{,-init}.yaml too. Change-Id: I24b913c790eae79e3b207729e0b22378075fb282
2016-07-01Pass RoleData into -post.yaml stacksDan Prince6-39/+33
This patch modifies the interface for the -post stacks so that we pass RoleData instead of just the StepConfig into each -post.yaml template. This will facilitate creating other types of -post.yaml scripts that require more data that just 'step_config'. Things like containers, etc. will require this. Change-Id: I2527fc0098192f092f5e9046033a04bc71be2cae
2016-07-01Output generic role_data in services.yamlDan Prince2-16/+16
This patch updates puppet/services/services.yaml (currently the only interface for 'services' in t-h-t) so that we return a more generic 'role_data' Heat output. This is a move towards making the services themselves a bit more generic so we can accommodate other deployment types (containers, etc.) Change-Id: I8bc32c59a48e6d5f0caa2f26fab394d5d992a4a5
2016-07-01Add Rabbit/epmd port to firewallRaoul Scarazzini1-0/+1
This commit adds the epmd port 4369 to the firewall configuration for the service rabbit. This is necessary for having HA setups working, since without this port the rabbitmq cloned resource starts only on one node and the others are not able to complete the rabbit cluster creation. Change-Id: Iae042dd60a578e158b75539dc3998fc40185b343
2016-06-30First iteration of libvirt and nova-compute as a composable servicesEmilien Macchi7-43/+50
This is a first iteration of implementing libvirt and nova compute as composable services. Note: some parameters are still in puppet/compute.yaml -- we'll move them later in a next iteration. Implements: blueprint composable-services-within-roles Depends-On: I0b765f8cb08633005c1fc5a5a2a8e5658ff44302 Change-Id: I752198cdf231ef13062ba96c3877e5defd618c3a
2016-06-30Wire NTP and Timezone services into BlockStorage nodesGiulio Fidente3-30/+2
Change-Id: Ia70688cfc333dc6536b5372cdb2eedb987ab61f8
2016-06-30Composable Timezone service - ObjectStorageCarlos Camacho3-10/+1
Add timezone as a composable service Change-Id: I5bed49e1f8b803fb6d9d0b06165a38f61b132431 Partially-implements: blueprint composable-services-within-roles
2016-06-30Composable Timezone service - CephStorageCarlos Camacho3-9/+1
Add timezone as a composable service Change-Id: I1569b2ebdca8e67c0e92a5c0e3fadd12006cc02a Partially-implements: blueprint composable-services-within-roles
2016-06-30Composable Timezone service - ComputeCarlos Camacho3-9/+1
Add timezone as a composable service Change-Id: I6e0e9cef3703cd186eab15d76e611d00c1da4a4e Partially-implements: blueprint composable-services-within-roles
2016-06-30Composable Timezone service - ControllerCarlos Camacho6-11/+27
Add timezone as a composable service Change-Id: I99f0b0727a10ee74ea1de0499c8bc3ba37ab3345 Partially-implements: blueprint composable-services-within-roles
2016-06-30Merge "Basic support for deploying Ironic in overcloud"Jenkins12-0/+312
2016-06-30Merge "Convert SNMP configuration to composable services format"Jenkins9-74/+35
2016-06-30Merge "Add Management net to ips-from-pool-all example"Jenkins1-0/+16
2016-06-30Merge "Convert noop NetworkExtraConfig to OS::Heat::None"Jenkins2-4/+1
2016-06-30Merge "Increase RabbitMQ maximum file descriptors."Jenkins1-1/+1
2016-06-30Merge "Drop unused VIP params to controller.yaml"Jenkins2-49/+0
2016-06-30Merge "Increase cluster sync timeout for M->N major upgrades"Jenkins1-1/+1
2016-06-29Configure BlockStorage services via resource chainsGiulio Fidente7-151/+112
Wires the steps into the BlockStorage role and ensures the installed-packages list is written on a per-step basis on all roles, as it happens on the controllers already. Change-Id: Iaec8ad3b2afbef6d586b7b46abaa1434cdb62f41
2016-06-29Dump and restore galera db during major upgradesMichele Baldessari3-0/+184
When the overcloud is upgraded we do a yum update of the packages. This step might introduce a newer galera version. In such a situation we need to dump the db and restore it. The high-level workflow should be the following: 1) During the main upgrade step, before shutting down the cluster we need to dump the db 2) We upgrade the packages 3) We briefly start mysql on a single node while making sure that /root/.my.cnf is briefly moved out of the way (because it contains a password) and import the data. After the import we shutdown this mysql instance 4) We let the cluster start up normally The above steps will take place in the following scenarios. Given a locally installed mariadb version X.Y.Z and release R, we will dump and restore the DB under the following conditions: A) MySqlMajorUpgrade template parameter is set to 'auto' and the upgraded package differs in X, Y *or* Z. We basically don't dump automatically if the release field changes. B) MySqlMajorUpgrade template parameter is set to 'yes' When MySqlMajorUpgrade is set to 'no', no dumping will be performed. Note that this will give a non functional upgrade if a major mariadb upgrade is taking place. Partial-Bug: #1587449 Co-Author: Damien Ciabrin <dciabrin@redhat.com> Co-Author: Mike Bayer <mbayer@redhat.com> Depends-On: I8cb4cb3193e6b823aad48ad7dbbbb227364d2a58 Depends-On: I38dcacfabc44539aab1f7da85168fe44a1b43a51 Change-Id: I374628547aed091129d0deaa29764bfc998d76ea
2016-06-29Increase cluster sync timeout for M->N major upgradesDamien Ciabrini1-1/+1
Since the Liberty release, the number of services managed by pacemaker on HA Overcloud has increased. This has an impact on major_upgrade_controller_pacemaker_1.sh, where cluster sync timeout value tuned for older releases is now becoming too low. Raise the cluster sync timeout value to a sensible limit to give pacemaker enough time to stop the cluster during major upgrade. Change-Id: I821d354ba30ce39134982ba12a82c429faa3ce62 Closes-Bug: #1597506
2016-06-29Drop unused VIP params to controller.yamlDan Prince2-49/+0
This patch drops a bunch of unused VIP parameters from controller.yaml Depends-On: I5e2feff7e5dc900849c9535f2b7ac05d3c8f93e1 Change-Id: I5c94f55ac4f2ec1103d5916942fb14e8b5595d01
2016-06-29Convert SNMP configuration to composable services formatSteven Hardy9-74/+35
Change-Id: I7265b0781acefd4a0de687b0465144e57bcc079f Partially-Implements: blueprint composable-services-within-roles
2016-06-29Merge "Fix ceilometer auth url"Jenkins1-1/+2
2016-06-29Merge "Convert swift storage to composable services"Jenkins8-95/+49
2016-06-29Basic support for deploying Ironic in overcloudImre Farkas12-0/+312
Note that this change is not enough yet to deploy bare metal instances, it only deploys Ironic services themselves and makes sure they work. Also it does not support HA for now. Co-Authored-By: Dmitry Tantsur <dtansur@redhat.com> Partially-implements: blueprint ironic-integration Change-Id: I541be905022264e2d4828e7c46338f2e300df540
2016-06-29Merge "Disable stonith temporarily during upgrades"Jenkins1-0/+14
2016-06-29Don't set selinux in 'permissive' mode on CephStorage nodesGiulio Fidente1-2/+0
Change-Id: I469f2bd429eba23b2010b7380e794c67b18e7a47 Depends-On: I1aa46086f69e7c3efd2782da62fd18ade8343fde Partial-Bug: 1595518
2016-06-29Add Management net to ips-from-pool-all exampleSteven Hardy1-0/+16
The recently added Management network is missing from this example Change-Id: Id2010e92b8c27188ed153243d0e54ec50bfdcffb
2016-06-29Convert swift storage to composable servicesSteven Hardy8-95/+49
Depends-On: Ie68d7eccf4938bdbdea93327af0638b3fd002b3e Change-Id: I1eb68d0cd5f8bf4bf954dd9f12941bc493345708 Partially-Implements: blueprint composable-services-within-roles
2016-06-25Convert noop NetworkExtraConfig to OS::Heat::NoneSteven Hardy2-4/+1
This avoids creating an empty nested stack. Change-Id: Icce0bfab005a69fce42f58956dcc81acea805e74
2016-06-24Merge "Add network ExtraConfig hook"Jenkins3-0/+8
2016-06-24Disable stonith temporarily during upgradesMichele Baldessari1-0/+14
It is best if we disable stonith if a cluster has it configured and on, before we call "pcs cluster stop --all", because should a service fail to stop for whatever reason, pacemaker will fence the node where it happened. This is something that we unlikely want during an upgrade as it will make things worse. Once the cluster is stopped we can reenable stonith (if it was enabled to start with) in the CIB while the cluster is shut down. Closes-Bug: #1596065 Change-Id: I38dcacfabc44539aab1f7da85168fe44a1b43a51
2016-06-24Fix ceilometer auth urlPradeep Kilambi1-1/+2
Due to a recent change introduced in puppet ceilometer[1] ceilometer auth type defaults to password type and v2 auth_url doesnt work with domain. This fixes the url to not include suffix. [1] https://review.openstack.org/#/c/320454/ Change-Id: Ibce716825c95e36a942203be2c67ea0da79503f2
2016-06-24Increase RabbitMQ maximum file descriptors.Chris Jones1-1/+1
We now allow 65536 open file descriptors to better reflect the real-world settings of downstream consumers of TripleO. Change-Id: Ib04ea6afb2da1a9101839d9d70bc8891d69700ec
2016-06-23Revert "Ceilometer composable roles for controller"Dan Prince16-380/+277
This reverts commit c48410a05ec0ffd11c717bcf350badc9e5f0e910. We've discovered this patch never had passing CI due to a DLRN build failure. Change-Id: I546cb3e340d20701662affda7e28b586c58ba6de
2016-06-23Revert "Pin puppet-lint-absolute_classname-check to 0.1.3"Emilien Macchi1-2/+1
Bug fixed: https://github.com/voxpupuli/puppet-lint-absolute_classname-check/releases/tag/0.2.2 This reverts commit 61f31831bdafbbddc7b68606832723fe2516872a. Change-Id: I05c2274cd35c187f9e6b2906ee6650cb443cb5fe
2016-06-23Merge "Ceilometer composable roles for controller"Jenkins16-277/+380
2016-06-23Merge "Drop extraconfig for neutron-opencontrail.yaml"Jenkins4-64/+34
2016-06-23Merge "Composable opencontrail plugin"Jenkins7-21/+65
2016-06-23Merge "Drop extraconfig for neutron-nuage.yaml"Jenkins4-93/+49
2016-06-23Merge "Update neutron ml2 class"Jenkins2-2/+2
2016-06-23Ceilometer composable roles for controllerPradeep Kilambi16-277/+380
Depends-On: I4b5e93a108e80e91af26ffee454130ee18c0042e Change-Id: I59c948ead475f449cb8d1b752f39b7eaaf056130
2016-06-22Pin puppet-lint-absolute_classname-check to 0.1.3Emilien Macchi1-1/+2
https://github.com/voxpupuli/puppet-lint-absolute_classname-check/issues/6 Change-Id: Ib0f1ce09b589630c6d09c8588246dafae2f2d387
2016-06-22Update neutron ml2 classEmilien Macchi2-2/+2
Class was moved in with other plugins, it's just an update. Change-Id: I6436c5c36ac0081a720cb8a737a573b1246127a1 Depends-On: I35332df5800083f3373f5c37411534d11e9b4401