summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
AgeCommit message (Collapse)AuthorFilesLines
2016-07-22use parameter to lookup the step instead of hiera againEmilien Macchi3-5/+5
In some profiles, we were looking up the $step by using Hiera again, while we already do it in the parameter definition. When using this class outside THT, it will fail but with this patch, we could use just set the $step parameter and the rest of the manifest will work. Change-Id: I7082f47204fb4e529b164e4c4f1032e7bdd88f02
2016-07-21Merge "Ensure the Heat Domain parameters before starting heat-engine pcmk ↵Jenkins1-0/+10
service"
2016-07-21Merge "nova/api: purge archive_deleted_rows via cron"Jenkins1-0/+6
2016-07-20Ensure the Heat Domain parameters before starting heat-engine pcmk servicemarios1-0/+10
Heat needs stack_user_domain_id or stack_user_domain_name config options set in the heat.conf before starting. The domain itself doesn't need to exist until a stack is actually created, but the value needs to be there. This patch ensures that the heat domain parameters are configured before starting the heat-engine service with Pacemaker at step3 and 4, and at step5, Pacemaker will start the services and Puppet will create the domains. (note: commit message copied from https://review.openstack.org/#/c/331652/ to mitaka tht, which came first) Change-Id: I58fa53357265c1607d2df1b04cc2296083212ab7 Closes-Bug: 1599232
2016-07-20Merge "Make ::tripleo::profile::base classes work with multiple nodes"Jenkins17-109/+198
2016-07-20Merge "make sure we start nova-compute after nova-conductor"Jenkins1-0/+3
2016-07-20Merge "openstack-core resource does not have interleave=true"Jenkins1-1/+1
2016-07-18Make ::tripleo::profile::base classes work with multiple nodesMichele Baldessari17-109/+198
In the Next Generation HA architecture a number of active/active services will be run via systemd. In order for this to work we need to make sure that the sync_db operation only takes place on the bootstrap node, just like it is done today for the pacemaker profiles. We do this by removing sync_db as a parameter and instead set it to true or false depending if the hostname matches the bootstrap_node as it is done today in the pacemaker role. Note that we call hiera('bootstrap_nodeid', undef) because if a profile is included on a non controller node that variable will be undefined. The following testing was done: - HA puppet-pacemaker.yaml scenario with three computes - NonHA with one controller - NonHA with three controllers Fixes-Bug: 1600149 Co-Author: cmsj@tenshu.net Change-Id: I04a7b9e3c18627ea512000a34357acb7f27d6e0e Implements: blueprint ha-lightweight-architecture
2016-07-18nova/api: purge archive_deleted_rows via cronEmilien Macchi1-0/+6
The code was in THT before but now in the Nova API profile. Change-Id: I7035f7998c11dc5508dae8c1a750b93c2944b2d4
2016-07-15Merge "Add MySQL profiles"Jenkins1-0/+85
2016-07-15openstack-core resource does not have interleave=trueMichele Baldessari1-1/+1
The dummy openstack-core resource was meant to replace keystone so that restarting keystone would not restart the whole cloud. When this resource was introduced the paramter interleave=true was mistakenly left out. This causes a simple promote operation on the galera resource to restart openstack-core and its children. Change-Id: Ic590005a9419be87e6e6ea131b0ac0630c5afc19 Closes-Bug: 1603381
2016-07-14Merge "Add Mistral profiles"Jenkins4-0/+157
2016-07-14Add Mistral profilesBrad P. Crochet4-0/+157
Add Mistral profiles for non-ha and ha scenarios Change-Id: I1a072326091fd3b0c21d2f78041e3532b67c60eb Implements: blueprint refactor-puppet-manifests Depends-On: I6ce61054384c15876c498ba8cf582f88d9f7f54c
2016-07-14Merge "Implement Pacemaker service profile"Jenkins1-0/+93
2016-07-13Add MySQL profilesEmilien Macchi1-0/+85
Add MySQL profiles, for non-ha and ha scenarios. Change-Id: I7ddae28a6affd55c5bffc15d72226a18c708850e Closes-Bug: #1601853
2016-07-13Merge "Drop the neutron dnsmasq config file options"Jenkins1-13/+0
2016-07-12Merge "profile/nova/compute: add iscsi bits"Jenkins1-0/+11
2016-07-12Implement Pacemaker service profileEmilien Macchi1-0/+93
Change-Id: I46215f82480854b5e04aef1ac1609dd99455181b Closes-Bug: #1601970
2016-07-11Composable Horizon service - puppet-tripleoCarlos Camacho1-0/+50
Change-Id: Iff6508972edfd5f330b239719bc5eb14d3f71944 Implements: blueprint refactor-puppet-manifests
2016-07-09Merge "Split Sahara pacemaker roles into separate services"Jenkins2-2/+2
2016-07-08Merge "Add new nuage agent profile."Jenkins1-0/+62
2016-07-08Merge "Fix Ceilometer profiles"Jenkins2-13/+35
2016-07-08Add new nuage agent profile.Dan Prince1-0/+62
The Nuage agent will also get used on compute nodes. Change-Id: Ic842ebdc183918ec9a24f83ae39adfba27bc799c
2016-07-08Add new midonet_agent profile.Dan Prince2-8/+57
We include this from the midonet profile (which is for the controller). Agent will also get used on compute nodes as well. Change-Id: I2393fc3c360f5f5786411f64dbcd06f380376093
2016-07-08Use include for base neutron profileDan Prince1-6/+1
Simplify the base neutron profile so that we always include the neutron and neutron::config classes at step 3. In doing so we can now simplify the pacemaker version to use a simple include which will avoid duplicate class errors. Change-Id: I95b9188607ab6c599ad4cde6faa1deb081618f3e
2016-07-08Split Sahara pacemaker roles into separate servicesBrad P. Crochet2-2/+2
In order for each service to operate independently when used with Pacemaker, the roles needed to be separated. This also drops all pacemaker constraints, as they do not make much sense in the composable realm. Change-Id: Id61eb15b1e2366f5b73c6e7d47941651e40651b1 Partial-Bug: #1592284
2016-07-06Fix Ceilometer profilesPradeep Kilambi2-13/+35
* Configure ceilometer to default mongodb backend. * remove useless sync_db parameter in pacemaker class. * Remove duplicated resource for ceilometer central agent service with pcmk. * Remove pacemaker delay resource dependency, the resource does not exist anymore. Change-Id: Ie337bfe770c5b22158dc307eb36e39c2b93b95a9
2016-07-06make sure we start nova-compute after nova-conductorEmilien Macchi1-0/+3
When nova-compute and nova-conductor are collocated, we need to make sure nova-conductor starts before nova-compute otherwise nova-compute will just fail to start. Change-Id: Icc3ed768af2a08e2db78d9c9278d309a62d26850
2016-07-06Merge "Add non-pcmk Trove API/Conductor/Taskmanager profiles"Jenkins3-0/+117
2016-07-06Merge "Create kernel profile"Jenkins1-0/+26
2016-07-06Merge "Add gnocchi profiles"Jenkins4-0/+166
2016-07-06Merge "neutron/plugins/ml2/bigswitch: do not require agent"Jenkins1-1/+0
2016-07-05Add gnocchi profilesPradeep Kilambi4-0/+166
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: I38f218da118c45f3af1938eb17298017f4c70e24
2016-07-05Create kernel profileEmilien Macchi1-0/+26
It will load and configure kernel modules. Change-Id: If4f1047ff8c193a14b821d8b826f637872cf62bd
2016-07-04Merge "nova/compute: add NFS bits"Jenkins1-1/+19
2016-07-04Merge "Replace reference to cinder:: parameter with nova:: parameter"Jenkins1-1/+1
2016-07-04Merge "Default ceph_osd_selinux_permissive to false"Jenkins1-2/+2
2016-07-04Merge "Support deprecated enable_ceph_storage boolean"Jenkins1-0/+10
2016-07-01Replace reference to cinder:: parameter with nova:: parameterGiulio Fidente1-1/+1
Changes a reference to a cinder:: parameter into the nova compute class to a nova:: parameter, which makes sure we're not trying to access "out of bound" parameters. Change-Id: I871ef420700e6d0ee5c1e444e019d58b3a9a45a6
2016-07-01Merge "nova: manage migration bits in a composable way"Jenkins1-1/+26
2016-07-01Default ceph_osd_selinux_permissive to falseGiulio Fidente1-2/+2
We don't set selinux in 'permissive' mode by default anymore. Change-Id: I1aa46086f69e7c3efd2782da62fd18ade8343fde Partial-Bug: 1595518
2016-07-01Support deprecated enable_ceph_storage booleanGiulio Fidente1-0/+10
This was missing in the initial revision of the Ceph modules but we want to support usage of the old parameter for a cycle. Change-Id: I7ac096feb9f5655003becd79d2eea355a047c90b
2016-06-30nova/compute: add NFS bitsEmilien Macchi1-1/+19
Deploy NFS bits that were in THT before. Change-Id: I75d68cc766ad274b16b22f43b7d34d02ab26de13
2016-06-30Merge "Nova API and Neutron server should run database creation in step 3"Jenkins2-3/+2
2016-06-30Merge "neutron plugins: include neutron base"Jenkins4-1/+11
2016-06-30Merge "Remove base/neutron/ml2.pp"Jenkins1-64/+0
2016-06-30Resolve duplicate base::ceilometer issuesDan Prince2-10/+6
We are seeing CI failures in Ia0a59121b9ffd5e07647f66137ce53870bc6b5d6 due to duplicate Tripleo::Profile::Base::Ceilometer. Also, this patch gets the pacemaker_master variable out of the 'base' tree. Change-Id: I2cf3362528235fcdeaef1491f86c05f4995938da
2016-06-30Nova API and Neutron server should run database creation in step 3Giulio Fidente2-3/+2
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-29nova: manage migration bits in a composable wayEmilien Macchi1-1/+26
Allow to enable/disable migration bits from a single place, and select which services are running on a node. The use case here is to allow container deployements where libvirt & nova-compute are separated. Also support collocation for backward compatibility. Change-Id: I0b765f8cb08633005c1fc5a5a2a8e5658ff44302
2016-06-29profile/nova/compute: add iscsi bitsEmilien Macchi1-0/+11
Add iscsi bits allowing live migration. Change-Id: I495a7af4220f0b35e9fd0a6cfc146610d8f46d10