aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
AgeCommit message (Collapse)AuthorFilesLines
2017-07-04Convert role templates to consume roles_data mapSteven Hardy1-94/+94
Currently we only consume the name with a special-case for the disable constraints boolean, but it will be more flexible if we consume the whole roles_data mapping for each role, so that e.g composable networks and other per-role customizations can be expressed in these templates Partially-Implements: blueprint composable-networks Depends-On: Id1249b78b3dd87e91d572ffa31b7a541f3cde2c7 Change-Id: I355534ec456479944f66106e957404a660d8f2d2
2017-07-04Merge "Make ceilometer crontab removal idempotent"Jenkins1-0/+3
2017-07-02Merge "Move glance::api::show_multiple_locations within GlanceApi"Jenkins3-48/+13
2017-06-30Merge "Re-enable default for RoleParameters"Jenkins5-0/+5
2017-06-30Merge "Make NovaWorkers descriptions consistent"Jenkins4-4/+4
2017-06-29Add stack_name/ctlplane_service_ips into post-upgrade.j2.yamlSteven Hardy1-2/+5
Upgrades are broken because this was missed from I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a and Ia619ab935c66081769e69c53d1ca41925d86abbb Change-Id: I96590e2219df64b94dfecd91d5e25231fc7e514b Related-Bug: #1700755
2017-06-29Make ceilometer crontab removal idempotentJiri Stransky1-0/+3
When we re-execute an upgrade and the crontab has already been removed, the crontab removal returns 1, saying "no crontab for ceilometer", and the upgrade fails. This change makes the removal idempotent. Change-Id: Ic955fb67bb2f7afde44291f7db3293c88f167566 Closes-Bug: #1701250
2017-06-29Merge "Enable nova-api to run over httpd again"Jenkins1-112/+108
2017-06-28Merge "Disable swift middleware ceilometer pipeline by default"Jenkins1-12/+17
2017-06-28Enable nova-api to run over httpd againJuan Antonio Osorio Robles1-112/+108
This is needed for TLS everywhere. Change-Id: Iac35b7ddcd8a800901548c75ca8d5083ad17e4d3 Depends-On: I426bfdb9e6c852eb32d10a12e521bb8b47701c41
2017-06-28Disable swift middleware ceilometer pipeline by defaultPradeep Kilambi1-12/+17
This generates tons of unnecessary events when gnocchi uses swift backend. We end up filtering most of these anyway. So lets disable this so it doesn't put useless load. Also changing the default project to service as thats what gnocchi uses to authenticate with swift. Closes-bug: #1693339 Change-Id: I40f47d46fdb06f31a739b590bf653bca71e33f61
2017-06-28Add ctlplane_service_ips param to upgrade stepsJiri Stransky1-1/+3
Upgrades were broken because of this missing parameter. Change-Id: Ia88a9833ab8aa26ccc40ee235b8554c9a7fbd22d Closes-Bug: #1700923
2017-06-27Merge "Allow stack_name into major_upgrade_steps.yaml"Jenkins1-1/+4
2017-06-27Merge "Adds service for OVS and enables ODL DPDK deployments"Jenkins5-109/+220
2017-06-27Re-enable default for RoleParametersBen Nemec5-0/+5
I471037de35e7f349d900462ec3ffb16fe2d6ebd9 accidentally removed the default from the RoleParameters parameter. This change just puts it back. Change-Id: I29b472897e07229715fc2fea3b55e90473eb0069
2017-06-27Make NovaWorkers descriptions consistentBen Nemec4-4/+4
Partial-Bug: 1700664 Change-Id: I12ee7ab825069c1741438499f8df835014afc37f
2017-06-27Allow stack_name into major_upgrade_steps.yamlGiulio Fidente1-1/+4
On upgrade we map PostDeploySteps to a different implementation which we missed to update in I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a Change-Id: Ia619ab935c66081769e69c53d1ca41925d86abbb Closes-Bug: #1700755
2017-06-27Merge "Provides a list of per-service ctlplane IPs to the workflows env"Jenkins2-0/+8
2017-06-27Merge "Add flag to enable/disable the HAProxy stats interface"Jenkins1-0/+5
2017-06-27Merge "Allows use of Mistral workflows during deployment steps"Jenkins3-7/+98
2017-06-27Merge "Enable DPDK on boot using PreNetworkConfig"Jenkins6-0/+6
2017-06-26Merge "Add DeploymentSwiftDataMap parameter"Jenkins6-1/+181
2017-06-26Merge "Add os-collect-config data as an output"Jenkins6-0/+18
2017-06-26Provides a list of per-service ctlplane IPs to the workflows envGiulio Fidente2-0/+8
Adds in the execution environment of the workflow steps a list of per-service network IPs. This can be used by the workflows to execute actions against the nodes hosting a given service. Change-Id: Id7c735d53f04f6ad848b2f9f1adaa3c84ecd2fcd Implements: blueprint tripleo-ceph-ansible
2017-06-26Allows use of Mistral workflows during deployment stepsGiulio Fidente3-7/+98
Introduces a general mechanism meant to allow for the execution of workflows during the deployment steps. Services can define workflow actions to be triggered during a step in the newly added service_workflow_tasks section. The syntax is: service_workflow_tasks: step2: - name: my_action_name action: std.echo input: output: 'hello world' Implements: blueprint tripleo-ceph-ansible Depends-On: If02799e7457ca017cc119317dfb2db7198a3559f Depends-On: Ibc5707f9f06266fe84ad1dd91dcb984157871d30 Change-Id: I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a
2017-06-26Add flag to enable/disable the HAProxy stats interfaceJuan Antonio Osorio Robles1-0/+5
This was made configurable in a recent commit [1] So this flag makes it easier for deployers to use that functionality. [1] Ic68266eaf39d6803f7c3e299095578bbcfd63b88 Change-Id: Iffff20dcda53bc7237586dd240e581bcb0282844
2017-06-24Merge "Replace hardcoded 'br-ex' with NeutronPhysicalBridge parameter."Jenkins3-5/+13
2017-06-23Merge "Enable periodic task to discover cell hosts when ironic is used"Jenkins1-0/+9
2017-06-23Replace hardcoded 'br-ex' with NeutronPhysicalBridge parameter.Dan Sneddon3-5/+13
This change uses the NeutronPhysicalBridge parameter on all roles, rather than hard-coding the "br-ex" name. Previously, there were different parameters for controller and compute roles, but since we use a unified bridge name with OVS, this is unnecessary. Change-Id: I6d9189404fae67bcc33ddc2ba3ce1b0385dd989d Closes-bug: 1669130
2017-06-23Merge "Fix rpms being installed via DeployArtifactURLs"Jenkins1-2/+6
2017-06-23Merge "Fix roles dict object' has no attribute 'lower' error"Jenkins1-1/+1
2017-06-23Enable periodic task to discover cell hosts when ironic is usedDmitry Tantsur1-0/+9
Starting with the Ocata release, bare metal nodes are no longer get recognized by nova automatically. To avoid forcing users into running nova manage command each time they enroll a node, we will have to allow enable the periodic task to do so. Change-Id: I8b0afac54dc9bd51dbe2ae4f237e4de50459be0f Closes-Bug: #1697724
2017-06-23Adds service for OVS and enables ODL DPDK deploymentsTim Rozet5-109/+220
In order to deploy OpenDaylight with DPDK we need to copy the DPDK config for OVS done in the neutron-ovs-dpdk service template, without enabling OVS agent for compute nodes. To do this correctly, we should inherit and openvswitch service which is a common place to set OVS configuration and parameters. Note: vswitch::dpdk config will be called in prenetwork setup with ovs_dpdk_config.yaml so there is no need to include that in the step config for neutron-ovs-dpdk-agent service or opendaylight-ovs-dpdk. Changes Include: - Creates a common openvswitch service template, which in the future will migrate to be its own service. - Renames and fixes OVS DPDK configuration heat parameters in the openvswitch template. - neutron-ovs-dpdk-agent now inherits the common openvswitch template. - Adds opendaylight-ovs-dpdk template which also inherits common ovs template. - Uses OVS DPDK config script to allow configuring OVS DPDK in prenetwork config (before os-net-config runs). This has an issue where hieradata is not present yet, so we have to redefine the heat parameters and pass them via bash. In the future this should be corrected. - Adds opendaylight-dpdk environment file used to deploy an ODL + DPDK deployment. - Updates neutron-ovs-dpdk environment file. Closes-Bug: 1656097 Partial-Bug: 1656096 Depends-On: I3227189691df85f265cf84bd4115d8d4c9f979f3 Change-Id: Ie80e38c2a9605d85cdf867a31b6888bfcae69e29 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-23Enable DPDK on boot using PreNetworkConfigSaravanan KR6-0/+6
DPDK has to be enabled on openvswitch on the boot before configuring the network as when the network uses DPDK ports OvS should be ready to handle DPDK. Enabled DPDK via PreNetworkConfig by checking if ServiceNames contains DPDK service. Implements: blueprint ovs-2-6-dpdk Closes-Bug: #1654975 Depends-On: I83a540336c01a696780621fb2b39486a6abf0917 Change-Id: I7af4534d91e67c94ba559b78b9ac6a001e639db3
2017-06-22Merge "Revert "Blacklist support for ExtraConfig""Jenkins6-96/+0
2017-06-22Merge "Specify file url when deploy-artifacts fails"Jenkins1-1/+1
2017-06-22Merge "Remove add_listen: false from Horizon hieradata"Jenkins1-1/+0
2017-06-22Merge "Deploy ironic-api with WSGI"Jenkins1-2/+29
2017-06-22Revert "Blacklist support for ExtraConfig"Alex Schultz6-96/+0
This reverts commit d6c0979eb3de79b8c3a79ea5798498f0241eb32d. This seems to be causing issues in Heat in upgrades. Change-Id: I379fb2133358ba9c3c989c98a2dd399ad064f706 Related-Bug: #1699463
2017-06-21Merge "Add node's FQDN to mysql certificate request and CA file"Jenkins2-0/+20
2017-06-21Deploy ironic-api with WSGIDmitry Tantsur1-2/+29
Change-Id: Ifa985f29fbd589f58cb2fc75b5f442f7651fb2bf Depends-On: I952c86db88dcd611722a3feaea88f618eee17620
2017-06-21Specify file url when deploy-artifacts failsArie Bregman1-1/+1
Change-Id: Iccd31c798b91c494b20489d52e289d9a250b929c
2017-06-21Move glance::api::show_multiple_locations within GlanceApiGiulio Fidente3-48/+13
Previously we were setting glance::api::show_multiple_locations from the CephBase resource but this seems unnecessary as the GlanceApi resource can consume the parameters needed to set the value. Change-Id: I0a7d8cb19a86b96d6196dad453970b4e56c5fe7e
2017-06-20Add an upgrade task for redis servicePradeep Kilambi1-0/+20
Change-Id: Id7188ee8a4b05f0aa3c76c4da581e8c4f1b85d86
2017-06-20Remove add_listen: false from Horizon hieradataBen Nemec1-1/+0
I'm not sure why this was here, but without a Listen directive in Apache's ports.conf Horizon is inaccessible. Removing this allows Horizon to work again. Change-Id: Ic221e15f188cf50b485e995035cb96f5d5960a72 Closes-Bug: 1696439
2017-06-20Fix roles dict object' has no attribute 'lower' errorHarald Jensas1-1/+1
Change-Id: I4d6a8b53bf07892ba4ae2579f192dc21297ad110 Closes-Bug: #1699026
2017-06-19Merge "Blacklist support for ExtraConfig"Jenkins6-0/+96
2017-06-19Merge "Update CloudDomain description"Jenkins6-12/+12
2017-06-19Add node's FQDN to mysql certificate request and CA fileJuan Antonio Osorio Robles2-0/+20
This will add the node's FQDN to the mysql certificate request besides the VIP's FQDN which we already use. This is needed for adding TLS to the replication traffic. The CA file was also added as hieradata, since the path will be needed for the TLS configuration. bp tls-via-certmonger Change-Id: I9252303b92a2805ba83f86a85770db2551a014d3
2017-06-17Merge "Remove duplicate docker/puppet services.yaml"Jenkins1-129/+0