256 Commits

Author SHA1 Message Date
Jenkins
99dd25fb23 Merge "Revert "Disable systemd-networkd & systemd-resolved"" 2017-07-24 20:47:16 +00:00
Jenkins
775a1c1b25 Merge "Cleans up exec workaround for ODL container clustering" 2017-07-24 17:31:59 +00:00
Jenkins
32c40b9796 Merge "Drop MongoDB from the undercloud" 2017-07-24 04:12:47 +00:00
Jenkins
0fffbe3c3c Merge "Support configurable Zaqar backends" 2017-07-24 04:11:16 +00:00
Dan Prince
5b77325687 Drop MongoDB from the undercloud
This patch drops MongoDB from the undercloud and swaps
in a 'swift' and 'sqlalchemy' versions for the Zaqar
backends.

Change-Id: Ic6600f284dfbf4360b42598d3651b4c0f8046d1c
2017-07-23 22:29:02 +00:00
Dan Prince
0fbc2ff487 Support configurable Zaqar backends
This patch adds parameters to configure alternative version
of the Zaqar messaging and management backends.

The intent is to make use of these settings in the
containers undercloud to use swift/mysql backends as a default
thus avoiding the dependency on MongoDB.

Change-Id: Ifd6a561737184c9322192ffc9a412c77d6eac3e9
Depends-On: Ie6a56b9163950cee2c0341afa0c0ddce665f3704
Depends-On: I3598e39c0a3cdf80b96e728d9aa8a7e6505e0690
2017-07-24 10:27:32 +12:00
Jenkins
ad370ba063 Merge "Add composable services for the Veritas HyperScale." 2017-07-22 14:30:09 +00:00
Jenkins
dad8c01aaa Merge "Add a new role for ComputeOvsDpdk and clean-up parameters" 2017-07-21 23:30:50 +00:00
Emilien Macchi
0443e7a836 Revert "Disable systemd-networkd & systemd-resolved"
https://github.com/camptocamp/puppet-systemd/pull/32 is disabling by default the services so we don't have to control them via TripleO.

This reverts commit d24874c7b2625e25630534a86864a93050f661d3.

Change-Id: I4044f0b28b636c7a022912f6f24707bce22c8b98
Related-Bug: #1704160
2017-07-21 16:10:48 +00:00
Tim Rozet
e85f0404ba Cleans up exec workaround for ODL container clustering
Now that ODL clustering is fixed to not use an exec by:
https://git.opendaylight.org/gerrit/#/c/60491
We no longer need to use the workaround puppet-tripleo
tag to configure clustering.

Change-Id: I21c1eb2eff6d4cb855eff4a1122f55ad625d84cc
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-21 11:53:32 -04:00
Jenkins
11058c85dd Merge "Exposing the ability to enable/disable the repository" 2017-07-21 08:07:57 +00:00
Jenkins
271f3b52a8 Merge "Fixing a bug when setting a password for ODL controller" 2017-07-19 21:24:49 +00:00
Jenkins
e57a7cdd73 Merge "Enable Neutron LBaaS Integration" 2017-07-18 06:29:58 +00:00
abhishek.kane
91c1a81531 Add composable services for the Veritas HyperScale.
Add a composable service for each of:
  - the Veritas HyperScale's Cinder backend.
  - installing the Veritas HyperScale controller packages.

Change-Id: I99ee827825ec2a6a3c695de1ca1c1015859fe398
Depends-On: I316b22f4f7f9f68fe5c46075dc348a70e437fb1d
Depends-On: I9168bffa5c73a205d1bb84b831b06081c40af549
Signed-off-by: abhishek.kane <abhishek.kane@veritas.com>
2017-07-17 13:27:25 +05:30
Jenkins
07a5fe1ba6 Merge "Adds network/cidr mapping into a new service property" 2017-07-14 23:11:34 +00:00
Andrew Toth
e1f7c0f30d Enable Neutron LBaaS Integration
Allows the configuration of the Neutron LBaaS agent.

Change-Id: I4c29ece765ec9147cef9b4d74d30e3c4483c48ab
Implements: blueprint lbaasv2-service-integration
2017-07-14 14:35:07 +00:00
Giulio Fidente
baf6eee501 Adds network/cidr mapping into a new service property
Makes it possible to resolve network subnets within a service
template; the data is transported into a new property ServiceData
wired into every service which hopefully is generic enough to
be extended in the future and transport more data.

Data can be consumed in service templates to set config values
which need to know what is the subnet where a deamon operates (for
example the Ceph Public vs Cluster network).

Change-Id: I28e21c46f1ef609517175f7e7ee19e28d1c0cba2
2017-07-14 13:44:04 +02:00
Saravanan KR
c53918926e Add a new role for ComputeOvsDpdk and clean-up parameters
A new role ComputeOvsDpdk has been added to avoid manual
roles_data creation. And cleaned-up the DPDK parameters
inline with the refactored code.

Change-Id: I16dac69609c98194c2504ff067258fa14363d4f1
2017-07-14 11:09:13 +05:30
Emilien Macchi
d24874c7b2 Disable systemd-networkd & systemd-resolved
Latest commits in puppet-systemd enabled by default systemd-networkd and
systemd-resolved but we don't want to manage them for now in TripleO.
MySQL and MongoDB services were managing some systemd resources so now
we ensure that these 2 systemd services are disabled. In the future, we
might want and activate these services and revert that patch but for now
we want to disable them.

Change-Id: I42c6c9b643a71a0fbb1768bbae91e8bfa916ea00
Closes-Bug: #1704145
2017-07-14 04:10:55 +00:00
Jenkins
b02aedb174 Merge "Added OvS permission workaround for enabling DPDK" 2017-07-13 18:33:29 +00:00
Jenkins
6e7e5d443c Merge "Allow to set Notification Driver to 'noop'" 2017-07-13 04:07:50 +00:00
Emilien Macchi
d5145167cb Allow to set Notification Driver to 'noop'
This patch does 2 things:
* Configure messagingv2 as default driver for Oslo Notifications sent on
  RPC.
* Allow users to choose between messagingv2 (default) and noop when we
  want to disable notifications (for example, when Telemetry is disabled).
* Deprecate KeystoneNotificationDriver in favor of NotificationDriver.

Change-Id: Ia547d7f4bfb51e7c45246b097b48fd86da231bd3
Related-Bug: #1701357
2017-07-11 13:57:48 -07:00
Itzik Brown
0477e1566f Fixing a bug when setting a password for ODL controller
Change-Id: I301f73801e95e607ed28992e68528f17843a0b6c
Closes-Bug: #1702435
2017-07-10 21:49:24 +03:00
James Slagle
d0acf56606 Add DeployedServerEnvironmentOutput
Add a new output, DeployedServerEnvionmentOutput, that can be used as
the contents of an environment file to input into a services only stack
when using split-stack. The parameter simplifies the manual steps needed
to deploy split-stack.

By default, the resource that generates the output is mapped to
OS::Heat::None.

implements blueprint split-stack-default
Change-Id: I6004cd3f56778f078a69a20e93a0eba0c574b3db
2017-07-10 09:36:22 -04:00
Saravanan KR
d7738012e1 Added OvS permission workaround for enabling DPDK
The vhost sockets sockets are created with qemu permission, but ovs
runs with root permission. In order to allow ovs to access vhost sockets
reducing the ovs group permission from root to qemu. This is a temprovary
workaround, until ovs fixes the permission issue. The script supports
both ovs2.6 and ovs2.7 versions.

Change-Id: I172956390c19fc9824bf7590cd48bfcf6201191b
2017-07-10 16:12:05 +05:30
Alex Schultz
2eb1476b6e Add in roles data validation
With the merging of Iad3e9b215c6f21ba761c8360bb7ed531e34520e6 the
roles_data.yaml should be generated with tripleoclient rather than
edited. This change adds in a pep8 task to verify that the appropriate
role files in roles/ have been modified to match how our default
roles_data.yaml is constructed.  Additionally this change adds a new tox
target called 'genrolesdata' that will all you to automatically generate
roles_data.yaml and roles_data_undercloud.yaml

Change-Id: I5eb15443a131a122d1a4abf6fc15a3ac3e15941b
Related-Blueprint: example-custom-role-environments
2017-07-07 09:51:40 -06:00
Ryan Hefner
6a151ec697 Enable Neutron LBaaS Integration
Allows the configuration of the Neutron LBaaS agent.

Implements: blueprint lbaasv2-service-integration
Change-Id: Iae2bf7faeea93d5275994b2ee10f9bf863ed6152
Depends-On: Ieeb21fafd340fdfbaddbe7633946fe0f05c640c9
2017-07-04 13:53:03 +00:00
Jenkins
443967ef85 Merge "Add release note for generated sample environments" 2017-06-30 01:08:40 +00:00
Pradeep Kilambi
142b5a2889 Disable swift middleware ceilometer pipeline by default
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-28 07:55:05 -04:00
Itzik Brown
b5379845d9 Exposing the ability to enable/disable the repository
The opendaylight-puppet module is exposing the manage_repositories variable
to add or not the RPM repository for OpenDaylight.
Adding this option to the Tripleo Heat templates.

Change-Id: I4b5a32baa3fa8c85d72dce9d537eed4c73d42589
Closes-bug: #1679456
2017-06-27 16:37:57 -04:00
Jenkins
41f0472c22 Merge "Adds service for OVS and enables ODL DPDK deployments" 2017-06-27 18:09:24 +00:00
Jenkins
86c2e0c0c8 Merge "Add flag to enable/disable the HAProxy stats interface" 2017-06-27 06:01:25 +00:00
Jenkins
e2da9f0338 Merge "Allows use of Mistral workflows during deployment steps" 2017-06-27 02:30:00 +00:00
Jenkins
eaa8092211 Merge "Enable DPDK on boot using PreNetworkConfig" 2017-06-27 02:25:22 +00:00
Jenkins
d24690765c Merge "Add VipMap output" 2017-06-26 23:59:14 +00:00
Jenkins
8c778263a8 Merge "Add split-stack environments" 2017-06-26 23:59:05 +00:00
Jenkins
5dc466725b Merge "Add DeploymentSwiftDataMap parameter" 2017-06-26 23:58:58 +00:00
Jenkins
eda12ae632 Merge "Add os-collect-config data as an output" 2017-06-26 23:58:51 +00:00
Giulio Fidente
71f1338816 Allows use of Mistral workflows during deployment steps
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-26 16:28:23 +02:00
Juan Antonio Osorio Robles
b515698767 Add flag to enable/disable the HAProxy stats interface
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-26 14:13:36 +03:00
Jenkins
439505deea Merge "Enable periodic task to discover cell hosts when ironic is used" 2017-06-23 21:52:40 +00:00
Jenkins
ffcc946a6b Merge "Fix rpms being installed via DeployArtifactURLs" 2017-06-23 17:05:14 +00:00
Dmitry Tantsur
f0807b535b Enable periodic task to discover cell hosts when ironic is used
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-23 18:13:52 +02:00
Tim Rozet
b30bdb6f8e Adds service for OVS and enables ODL DPDK deployments
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-23 09:31:53 -04:00
Saravanan KR
4e19c7a13e Enable DPDK on boot using PreNetworkConfig
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-23 11:19:23 +05:30
Tim Rozet
efefc09118 Fixes incorrect glance api network
The glance API network was being set to storage and it should be
internal_api.

Closes-Bug: 1699535

Change-Id: I75bc05aeab999f0e3eb3f4ebaceb276e888addc9
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-21 11:41:09 -04:00
Ben Nemec
2cd328d79d Add release note for generated sample environments
This was missed in the original patch series, but this is a
significant enough change that it needs to be communicated to users.

Change-Id: Ibcfdde3cc544d152e78529fc57a63c7dc6592c4f
2017-06-20 15:53:17 -05:00
Jenkins
4aa02454f3 Merge "Add an example IronicConductor role" 2017-06-19 15:26:20 +00:00
Jenkins
d10741e526 Merge "Make fernet max active keys configurable" 2017-06-16 16:34:53 +00:00
Jenkins
6faea7a26b Merge "Add templates to configure Ironic inspector" 2017-06-16 15:48:15 +00:00