aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker
AgeCommit message (Collapse)AuthorFilesLines
2016-06-20Add ceilometer profilesPradeep Kilambi5-0/+350
Implements: blueprint refactor-puppet-manifests Change-Id: I4b5e93a108e80e91af26ffee454130ee18c0042e
2016-06-18keystone: fix a race condition in bootstrapEmilien Macchi1-4/+3
Before, we had bootstrap_master set to 'undef' by default that was used to whether or not run keystone bootstrap exec during deployment. Setting the value to undef was a mistake, because enable_bootstrap in puppet-keystone is set to true by default, so bootstrap was running on all controllers at step 4 for HA scenario, while we want it to run on a single controller (pacemaker_master) at step 4, like we do for db-sync. This patch: * removes bootstrap_master. * re-use sync_db to whether or not run keystone bootstrap. so it will only run on a single node when database is ready and db-sync done (orchestration dones by anchors in puppet-keystone). Change-Id: I1042862f7c346d1c358b908c33eae0f33afd5e9f
2016-06-15Merge "add plumgrid neutron profile"Jenkins1-0/+33
2016-06-14Implement Nova vncproxy profileEmilien Macchi1-0/+45
Change-Id: I5bc2a77b5832706bd9167cf40e5a7e0f95d7b346 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova Consoleauth profileEmilien Macchi1-0/+45
Change-Id: I955b4fc07dc07d8adc32411848e3e131d77a5123 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova Scheduler profileEmilien Macchi1-0/+45
Change-Id: I5e1c90e3c6dc556f872ced73744c5c74caaa3635 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova API profileEmilien Macchi1-0/+48
Change-Id: I1dde63a5a7d1624494a7157a9679f88f4cb780e0 Implements: blueprint refactor-puppet-manifests
2016-06-13Add mongodb profilesPradeep Kilambi2-0/+111
Implements: blueprint refactor-puppet-manifests Co-Authored-By: Carlos Camacho <ccamacho@redhat.com> Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com> Change-Id: Idb1e78ebec7682fe68ca5902a22cfb6030498091
2016-06-10Pacemaker: only create DB on pacemaker masterDan Prince1-2/+2
This fixes a bug introduced in 72fb6727951af2cf5b16e686b3a36f5f3a7c71c7 where non-master nodes would try to create the database (and potentially fail due to a race). Change-Id: Ic0c7b05618b69caca0d4019b5153163f2405bbe5
2016-06-10Merge "Import ::nova class from THT"Jenkins1-3/+1
2016-06-10Merge "Make neutron server/ml2 profiles match t-h-t"Jenkins2-10/+27
2016-06-09Import ::nova class from THTEmilien Macchi1-3/+1
Import ::nova class with memcached parameter computed from Hiera, that was previously in THT, now in nova-base role. Use step 3 for ::nova since we need it for database resources. Also make sure nova base profile is included for conductor role and any nova pacemaker role. Change-Id: I45244861082edae616f2b82334e7678cefa97bc7 Implements: blueprint refactor-puppet-manifests
2016-06-09Merge "Include neutron in step 3"Jenkins1-1/+4
2016-06-09add plumgrid neutron profileQasim Sarfraz1-0/+33
Change-Id: I8536782d433f97a9b619e54a1eb1ea0edb8fdaf0 Implements: blueprint refactor-puppet-manifests
2016-06-09Add pacemaker nuage profile.Dan Prince1-0/+33
The pacemaker version of nuage has its DB sync at a different step so we need a separate profile to ensure plugin.ini exists. Change-Id: Ia4a297008b259a8e238bd1ad511e82f4e5ab6d63
2016-06-09Make neutron server/ml2 profiles match t-h-tDan Prince2-10/+27
This patch brings the neutron profiles and the associated steps in line with what already happens in t-h-t. Specifically: -we want to create the db $step >= 2 and $sync_db -we want to make sure plugin.ini exists before the neutron dbsync -we want to make sure the db sync runs before neutron::server starts when using pacemaker -split the neutron server profiles. They are quite different across pacemaker and base. Change-Id: I52815f45a04bf3e39940b9cb116261730580a3e2
2016-06-07Remove loadbalancer profileEmilien Macchi2-103/+1
We don't need loadbalancer profile anymore, we now have haproxy & keepalived profiles that replace it. Change-Id: I5bf57f88a85fa8180392e9dde7ab39f4eda63113
2016-06-07Include neutron in step 3Juan Antonio Osorio Robles1-1/+4
neutron::server requires the neutron's init.pp to be ran beforehand because init.pp installs the 'neutron' package. Else the relationship with neutron::policy will fail [1].So to address this, we move neutron's init.pp to be ran on step 3 if db_sync is enabled. [1] https://github.com/openstack/puppet-neutron/blob/master/manifests/server.pp#L498 Change-Id: I8eb497c2b483e11d1f640a7ba9fae5a9d5bcef4d
2016-06-06Merge "Drop duplicate neutron pacemaker constraint"Jenkins1-14/+1
2016-06-06Merge "Deprecate loabalancer profiles"Jenkins2-0/+102
2016-06-06Merge "Implement Nova conductor profile"Jenkins1-0/+45
2016-06-06Merge "Implement Nova base profile"Jenkins1-0/+42
2016-06-06Merge "Adds the puppet-tripleo manifests for manila"Jenkins1-0/+162
2016-06-05Drop duplicate neutron pacemaker constraintDan Prince1-14/+1
Drop a duplicate keystone-to-neutron-server-constraint constraint for the neutron server profile. Change-Id: I928f9f9f3cf665ac80696f66e1d64ceb02129b8e
2016-06-04Deprecate loabalancer profilesEmilien Macchi2-0/+102
Deprecate loadbalancer profiles so we have a profile for HAproxy and another for keepalived. Once THT uses the new profiles, we'll remove loadbalancer profiles here. Change-Id: I8aa9045fc80205485abab723968b26084f60bf71
2016-06-04Implement Nova conductor profileEmilien Macchi1-0/+45
Create nova-conductor profile, part of composable services. Implements: blueprint refactor-puppet-manifests Change-Id: Iaaf3a3c2528d9747e41f360a1fe55f95ed37b2d1
2016-06-04Implement Nova base profileEmilien Macchi1-0/+42
This patch implements the base for Nova profiles. It's a first iteration to deploy Nova using composable roles. Implements: blueprint refactor-puppet-manifests Change-Id: I8253e4b61484047948e222e68408e417d2787fb7
2016-06-03Merge "Composable roles within services - Redis"Jenkins1-0/+63
2016-06-02Remove tripleo::loadbalancerEmilien Macchi1-37/+15
The split has been done on both undercloud & overcloud, they now use tripleo::haproxy and tripleo::keepalived. We can move forward with removing tripleo::loadbalancer and tripleo::loadbalancer::endpoint, not used anymore. Simplify tripleo::profile::base::loadbalancer to just include tripleo::haproxy and rely on Hiera for parameters. Change-Id: Ieeb1e94117ae9cb8b11320306de3a9b236bd989a
2016-06-02Composable roles within services - RedisPradeep Kilambi1-0/+63
Implements: blueprint refactor-puppet-manifests Co-Authored-By: Carlos Camacho <ccamacho@redhat.com> Change-Id: I60493a3aa64e5136b763e8e2084d728f5f812f8a
2016-06-02Add Cinder API/Scheduler/Volume rolesGiulio Fidente3-0/+209
Includes both the base and the pacemaker roles. Change-Id: I3c6d5226eed5f0f852b0ad9476c7cd9a959fda69
2016-06-02Merge "Add Sahara profiles"Jenkins1-0/+81
2016-06-02Adds the puppet-tripleo manifests for manilamarios1-0/+162
The tripleo-heat-templates side that uses this is at https://review.openstack.org/#/c/188137/ Change-Id: I444916d60a67bf730bf4089323dba1c1429e2e71 Implements: blueprint refactor-puppet-manifests
2016-05-30Update profiles for loadbalancer splitEmilien Macchi1-16/+38
Update loadbalancer (nonha and ha) and midonet profiles to consume new tripleo::haproxy class. Keep it backward compatible with old interface until we update THT by using stdlib function: pick. So we first try to get new parameters otherwise we fallback to the old interface. Change-Id: I46ed8348dc990d9aa0d896e1abea3b30a8292634
2016-05-26Add Sahara profilesBrad P. Crochet1-0/+81
Add Sahara profiles for non-ha & ha scenarios. Implements: blueprint refactor-puppet-manifests Change-Id: I0c8bd68f9a98626e9d67ef713c72c9dd05b7cc12
2016-05-26Merge "Add Heat profiles"Jenkins1-0/+132
2016-05-20Merge "Adds the base and pacemaker profile for the memcached service"Jenkins1-0/+61
2016-05-19Merge "Add loadbalancer profile for ha & non-ha"Jenkins1-0/+99
2016-05-19Add Heat profilesBrad P. Crochet1-0/+132
Add Heat profiles for non-ha & ha scenarios. Implements: blueprint refactor-puppet-manifests Change-Id: I194cbb6aa307c2331597147545cf10299cab132f
2016-05-19Adds the base and pacemaker profile for the memcached servicemarios1-0/+61
Implements: blueprint refactor-puppet-manifests This is the puppet-tripleo side for the memcached as a composable service. The related tht review that uses this is at I8802c2a0cf1e5fa1a6d1fab5e87f6014bea2f517 Change-Id: Icd504aef7dda144582c286c56c925a78566af72c
2016-05-19Add loadbalancer profile for ha & non-haEmilien Macchi1-0/+99
The profile contains Puppet classes to deploy loadbalancer services (HAproxy & Keepalived) for ha & non-ha scenarios. A future iteration will split HAproxy & keepalived, but for now, we just want to move out the code from THT to puppet-tripleo. Change-Id: I9b106dcc1a4d446ab5dea8430ed295e6ec209cbd Implements: blueprint refactor-puppet-manifests
2016-05-18Merge "Composable role for RabbitMQ"Jenkins1-0/+67
2016-05-18Merge "Remove manage_service and enabled from TripleO manifests"Jenkins7-27/+5
2016-05-17Composable role for RabbitMQEmilien Macchi1-0/+67
Add RabbitMQ composable role, and keep the same logic that we had in THT. Implements: blueprint refactor-puppet-manifests Change-Id: I961bdbe1cc6dd1d4a315de616439f9fc77d793ae
2016-05-10keystone: drop usage of step 6Emilien Macchi1-1/+3
* Manage roles & endpoints at step 5 * Set correct orchestration for Pacemaker resources within a single step. Change-Id: I079e65f535af069312b602e8ff58be80ab2f2226
2016-05-09Remove manage_service and enabled from TripleO manifestsGiulio Fidente7-27/+5
These can be controlled via the specific Pacemaker role template. Depends-On: I91a4267f0fc230f63df3333747d28463c7ae55fe Change-Id: I8ef7bb94e048b998712b3534ceb51a7d10d016e9
2016-05-07Merge "Add neutron profiles"Jenkins8-0/+580
2016-05-05Add neutron profilesMichael Chapman8-0/+580
Implements: blueprint refactor-puppet-manifests Add neutron profiles for both pacemaker and non-ha. HA profiles are designed such that they include the base profiles, disabling features as needed, while the base profile can be used independently. Co-Authored-By: Dan Prince <dprince@redhat.com> Change-Id: Ida781badbcd63bbcb481a2170638aefe262b717b
2016-05-04Noop start/stop/restart action for Glance and Keystone in the rolesGiulio Fidente2-0/+14
Change-Id: I1d95746cb990292462106c191987147eba30ee61
2016-05-03Move databases creation and sync with the roleGiulio Fidente3-83/+18
This change moves the database creation and sync with the role profile, so that it's only executed when the role is enabled and by the role itself. It also calls the non-pacemaker profiles out of the 'step' conditional because the non-pacemaker profiles know how to deal with 'step' already. Change-Id: I6c752cb53090e7ef8e0319bade462f2453ed7660 Related-Bug: 1572952