aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker
AgeCommit message (Collapse)AuthorFilesLines
2016-07-02Set bootstrap_nodeid to undef by defaultEmilien Macchi11-22/+22
bootstrap_nodeid is a parameter looked-up with Hiera but only set on controllers. With the transition to composable roles, we don't need to set this parameter on compute nodes, so let's just default this value by undef so we can deploy Neutron classes on compute nodes. Change-Id: I94034f696c163969a7489d9cb0a20423210d3b84
2016-07-01Merge "Set manage_roles for all steps in Keystone/Pacemaker"Jenkins1-7/+1
2016-06-30Merge "Nova API and Neutron server should run database creation in step 3"Jenkins1-2/+1
2016-06-30Nova API and Neutron server should run database creation in step 3Giulio Fidente1-2/+1
We perform the Galera setup in step 2 so there is no guarantee that the database will be available in that same step [1]. We used to implement a dependency in puppet using the 'galera-ready' resource (clustercheck) but this is not possible with roles because we also don't have any guarantee about clustercheck being installed on the same node. Because of the above all services must create/sync their databases in a later step. This patch fixes Nova API and Neutron Server, the other services use step 3 already. 1. https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/README.rst Change-Id: I22750ffb64afbe40b5560a6a0d0dabc5b8927d32
2016-06-29Set manage_roles for all steps in Keystone/PacemakerGiulio Fidente1-7/+1
We the base::keystone profile is trying to create users and roles before step 5, this change will set the a value for manage_roles from the pacemaker profile for all steps. Change-Id: I7aca8d6418988160641b29f9396a0fbe33b64e51
2016-06-29Remove base/neutron/ml2.ppEmilien Macchi1-38/+0
Not used anymore. Change-Id: Id3f943132fce235a5a4888da30332b8fc2434a78 Depends-On: I6436c5c36ac0081a720cb8a737a573b1246127a1
2016-06-22Move neutron ml2 plugins in plugins dirEmilien Macchi2-1/+39
Move neutron ml2 plugins in plugins directory and make it compatible with current THT. The old class will be removed soon. Change-Id: I35332df5800083f3373f5c37411534d11e9b4401
2016-06-21Merge "Add Neutron opencontrail plugin profiles"Jenkins1-0/+33
2016-06-21Merge "Add ceilometer profiles"Jenkins5-0/+350
2016-06-21Add Neutron opencontrail plugin profilesDan Prince1-0/+33
Change-Id: Ie5ac07e6dd447216f17481ea4acf3bc204926bc8
2016-06-21Merge "Add pacemaker nuage profile."Jenkins1-0/+33
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