aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-06-18keystone: fix a race condition in bootstrapEmilien Macchi2-15/+9
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-18Add puppet profile for snmpSteven Hardy1-0/+50
Breaks out the snmp configuration from t-h-t to a composable profile Change-Id: I7e6ab28a99b759594187e8571af6e22d836ae7bf Partially-Implements: blueprint refactor-puppet-manifests
2016-06-15Merge "add plumgrid neutron profile"Jenkins2-0/+70
2016-06-14Implement Nova Compute profileSven Anderson1-0/+35
Implements: blueprint refactor-puppet-manifests Change-Id: I57f729daf675674ce37b49e17652c575715fbe23
2016-06-14Implement Nova vncproxy profileEmilien Macchi2-0/+80
Change-Id: I5bc2a77b5832706bd9167cf40e5a7e0f95d7b346 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova Consoleauth profileEmilien Macchi2-0/+80
Change-Id: I955b4fc07dc07d8adc32411848e3e131d77a5123 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova Scheduler profileEmilien Macchi2-0/+81
Change-Id: I5e1c90e3c6dc556f872ced73744c5c74caaa3635 Implements: blueprint refactor-puppet-manifests
2016-06-14Implement Nova API profileEmilien Macchi2-0/+91
Change-Id: I1dde63a5a7d1624494a7157a9679f88f4cb780e0 Implements: blueprint refactor-puppet-manifests
2016-06-13Add mongodb profilesPradeep Kilambi4-0/+217
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"Jenkins3-5/+15
2016-06-10Merge "Make neutron server/ml2 profiles match t-h-t"Jenkins4-22/+37
2016-06-10Merge "Enable bulk delete in swift for gnocchi"Jenkins1-0/+1
2016-06-09Import ::nova class from THTEmilien Macchi3-5/+15
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"Jenkins2-3/+11
2016-06-09add plumgrid neutron profileQasim Sarfraz2-0/+70
Change-Id: I8536782d433f97a9b619e54a1eb1ea0edb8fdaf0 Implements: blueprint refactor-puppet-manifests
2016-06-09Make neutron server/ml2 profiles match t-h-tDan Prince4-22/+37
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-08Enable bulk delete in swift for gnocchiPradeep Kilambi1-0/+1
Closes-bug: #1590495 Change-Id: I912c09584d9b4cae530a247c91b6fd331943a8c5
2016-06-07Remove loadbalancer profileEmilien Macchi3-147/+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 Robles2-3/+11
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"Jenkins5-0/+188
2016-06-06Merge "Implement Nova conductor profile"Jenkins2-0/+80
2016-06-06Merge "Implement Nova base profile"Jenkins2-0/+74
2016-06-06Merge "Adds the puppet-tripleo manifests for manila"Jenkins4-0/+278
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 Macchi5-0/+188
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 Macchi2-0/+80
Create nova-conductor profile, part of composable services. Implements: blueprint refactor-puppet-manifests Change-Id: Iaaf3a3c2528d9747e41f360a1fe55f95ed37b2d1
2016-06-04Implement Nova base profileEmilien Macchi2-0/+74
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"Jenkins2-0/+120
2016-06-02Remove tripleo::loadbalancerEmilien Macchi6-585/+27
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-02loadbalancer: remove controller_hostEmilien Macchi1-20/+4
controller_host was deprecated and is not used anymore anywhere. Let's drop it. Also make controller_hosts really required, by not setting a default paramter, so Puppet catalog will fail if no value is given. Change-Id: Iad760115f925e848e4b72009db5177f88ceb4ad8
2016-06-02Merge "Add Cinder API/Scheduler/Volume roles"Jenkins13-0/+822
2016-06-02Composable roles within services - RedisPradeep Kilambi2-0/+120
Implements: blueprint refactor-puppet-manifests Co-Authored-By: Carlos Camacho <ccamacho@redhat.com> Change-Id: I60493a3aa64e5136b763e8e2084d728f5f812f8a
2016-06-02Add Cinder API/Scheduler/Volume rolesGiulio Fidente13-0/+822
Includes both the base and the pacemaker roles. Change-Id: I3c6d5226eed5f0f852b0ad9476c7cd9a959fda69
2016-06-02Apply RabbitMQ rabbitmq_* static hiera in nonha with single controllerGiulio Fidente1-1/+6
We were not consuming the rabbitmq_* static hiera settings when deploying without pcmk and with a single controller. Change-Id: I1506093e3d4365e2617521737c8f53edfb022133
2016-06-02Merge "Add Sahara profiles"Jenkins4-0/+187
2016-06-02Adds the puppet-tripleo manifests for manilamarios4-0/+278
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-31Merge "Update profiles for loadbalancer split"Jenkins3-21/+52
2016-05-31Add puppet profile for swift proxySteven Hardy1-0/+44
Breaks out the swift proxy configuration from t-h-t to a composable profile Change-Id: I6bd72284911f3f449157a6fc00b76682dd53bd8c Partially-Implements: blueprint refactor-puppet-manifests
2016-05-30Update profiles for loadbalancer splitEmilien Macchi3-21/+52
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-30glance: known_stores -> storesEmilien Macchi1-1/+1
known_stores is deprecated in favor of stores. This patch aims to update it. Change-Id: Iaf83b847fbe9e8a78c6bf7f534c955eae357d95f
2016-05-30Merge "Remove cinder resource for setting SSL middleware"Jenkins1-28/+0
2016-05-27Remove cinder resource for setting SSL middlewareJuan Antonio Osorio Robles1-28/+0
Now that cinder enables http_proxy_to_wsgi by default[1], we no longer need to add it ourselves. So this is now safe to remove. [1] If5aab9cc25a2e7c66a0bb13b5f7488a667b30309 Depends-On: I6141b6caf9b04ee73fae3ae2b94b3001b21b9999 Change-Id: I3581d11519b664863f47c5aeeec6efcc4182a5fc
2016-05-26Add Sahara profilesBrad P. Crochet4-0/+187
Add Sahara profiles for non-ha & ha scenarios. Implements: blueprint refactor-puppet-manifests Change-Id: I0c8bd68f9a98626e9d67ef713c72c9dd05b7cc12
2016-05-26Explode loadbalancer role in 2 sub-rolesEmilien Macchi5-647/+1201
Split loadbalancer role into 2 sub-roles: - HAproxy - Keepalived Change-Id: I84dfa9d409d390c6f549d62cb3634931e4cb432c
2016-05-26loadbalancer: make sure controller_* are array-typedEmilien Macchi1-4/+4
Make sure controller_hosts_real and controller_hosts_names_real become array-types anyway, so we don't need to add brackets in Hiera lookups (example on both undercloud & overcloud where we do [hiera('controller_host')]). Change-Id: I2fe899482acfd51919262bc7a6a1c9f450e173f4
2016-05-26Merge "Add lookup_hiera_hash function"Jenkins5-0/+53
2016-05-26Merge "Add Heat profiles"Jenkins6-0/+353
2016-05-25Add lookup_hiera_hash functionGiulio Fidente5-0/+53
The lookup_hiera_hash function is meant to lookup for the value of a given key from a given Hiera hash. In the manifests this is possible by saving the value of the hash in a variable first but when driving lookups from the Heat templates we can't do it. Change-Id: Ie31bb70314db44a0a18e86090cc74aa4df5de169