2891 Commits

Author SHA1 Message Date
Saravanan KR
1884d2a01c Modify the constraint to allow single quote for DPDK core list param
DPDK core list has to be give a string. For multiple cores, it
be given as "'1,2'". But the constraint does not allow ' (single
quote) to be set in the string. Modifying the constraint pattern.
Closes-Bug: #1633433

Change-Id: Ide2194d9ef5c10e276fa1a634919dfb286e483d6
2016-10-14 16:46:50 +05:30
Jenkins
1753b19a08 Merge "Fix default Swift ring partition power" 2016-10-14 10:21:35 +00:00
Jenkins
9d01feaf7a Merge "Enable Glance multiple locations when using Ceph" 2016-10-14 08:12:08 +00:00
Jenkins
ceb30c9946 Merge "Split out hosts config deployment" 2016-10-14 02:18:56 +00:00
Giulio Fidente
4794154d71 Enable Glance multiple locations when using Ceph
Currently Glance v2 doesn't allow to specify custom locations for
images by default, it returns 403. To enable this, the
'show_multiple_locations' param must be set to True.

Also see similar change introduced in devstack [1].

1. Id0f1c398b8b48f2ffc2488b29bc7cbd279069337

Change-Id: Ia7e0558e4f318640981abb44d188e3479b5eae69
Closes-Bug: 1632285
2016-10-13 22:47:07 +02:00
Jenkins
a1b7af553d Merge "Enable object versioning in Swift proxy" 2016-10-13 20:17:15 +00:00
Dan Prince
9f8944111c Split out hosts config deployment
This patch moves the hosts configuration into its own deployment.
It will continue to use os-apply-config as something that is
required early on in the bootstrapping (it needs to be
configured before puppet runs for example).

The motivation here is so we can refactor all-nodes-config.yaml to use a
new hiera hook that that avoids os-apply-config entirely.

Change-Id: Ib3e4380f205358b27d22a1102b663cf300b1ed86
Partial-bug: #1596373
2016-10-13 14:15:54 -04:00
Jenkins
8f5ebd08c4 Merge "Enable proxy headers parsing for Aodh" 2016-10-13 16:35:02 +00:00
Jenkins
a0779c57e7 Merge "Enable proxy headers parsing for Gnocchi" 2016-10-13 16:34:55 +00:00
Jenkins
630ad61c09 Merge "Enable proxy headers parsing for Ceilometer" 2016-10-13 16:31:56 +00:00
Jenkins
2485366158 Merge "Only set NovaWorkers in the non-default case" 2016-10-13 14:21:06 +00:00
Brent Eagles
7b047949b4 Move trunk service plugin to the proper list
The trunk plugin required for trunk port support in neutron was added to
the incorrect plugin list.

Change-Id: I8d424d6a6045e07d9fbab1a864470ceefdb1ad8e
Closes-Bug: #1633079
2016-10-13 10:55:55 -02:30
Jenkins
6d72ac41c0 Merge "Be more inclusive in insecure registry regex" 2016-10-13 12:57:38 +00:00
Jenkins
8b9e9ff4cc Merge "Add flag for internal TLS" 2016-10-13 11:42:23 +00:00
Jenkins
a3f9cf1314 Merge "Add HAProxy TLS handled by certmonger as composable service" 2016-10-13 11:41:20 +00:00
Martin Mágr
9d9eecea56 Prefill Sensu client custom config
- Custom config has to contain OpenStack auth information,
  so it has to be generated for user during deployment.
  This patch maintains the ability to provide a custom
  configuration for the Sensu client.

Change-Id: If449642c4bbad683421e1f461b8721e655db0c45
2016-10-13 11:53:58 +02:00
Juan Antonio Osorio Robles
dd14a8c490 Enable proxy headers parsing for Ceilometer
http_proxy_to_wsgi middleware was recently added to Ceilometer [1] and
in order to take it into use, we need to enable it via hiera.

[1] I24f16dda49bd9e7930ca9f0d32bf0793463aff03
Depends-On: I1812a27202ba3714b354aeb27611d38def87a7fc
Related-Bug: #1590608

Change-Id: If8de25afa13de6797895f36c98ffdde8cf3e8656
2016-10-13 11:55:29 +03:00
Jenkins
3c438851e7 Merge "Disable IPv6 RAs & Autoconf For All (Not Just Default)" 2016-10-13 08:49:30 +00:00
Juan Antonio Osorio Robles
81576e9dd9 Enable proxy headers parsing for Aodh
http_proxy_to_wsgi middleware was recently added to Aodh [1] and
in order to take it into use, we need to enable it via hiera.

[1] If2ada8a94c8e1ceacd4509605b4cd766a78f71d5
Depends-On: I0981e152700ed4511b797011ebe18e857c1fed71
Related-Bug: #1590608

Change-Id: Ie9605ae1e5437f488802b03ca23a325866f0ceb5
2016-10-13 11:43:35 +03:00
Juan Antonio Osorio Robles
17c821b071 Enable proxy headers parsing for Gnocchi
http_proxy_to_wsgi middleware was recently added to Gnocchi [1] and
in order to take it into use, we need to enable it via hiera.

[1] Ic5526cf37e70335fa2cc70946a271253f227f129
Related-Bug: #1590608

Change-Id: I145dcfa3455ca1541cbf6b5fc4b601f0813619c0
2016-10-13 08:57:37 +03:00
Jenkins
20eef1b501 Merge "Remove duplicate metadata keys from nova-api.yaml" 2016-10-13 03:22:55 +00:00
Jenkins
75d9057997 Merge "Special case non-matching ObjectStorage role port names" 2016-10-12 23:57:31 +00:00
Dan Sneddon
4eacf4179d Disable IPv6 RAs & Autoconf For All (Not Just Default)
The current kernel sysctl settings modify the
net.ipv6.conf.default.accept_ra and net.ipv6.conf.default.autoconf
to both be '0'. However, this is overridden by the settings in
net.ipv6.conf.all, so no matter what setting is in the ifcfg file
for the IPv6 interface, autoconfiguration and accept_ra will be
enabled. This causes a security vulnerability where rogue RAs
could be used to intercept traffic from the controllers.

This change sets both default and all settings to '0' for IPv6
accept_ra and autoconf.

Closes-Bug: 1632830
Change-Id: I95b86c5c6feed30dfa5103ffbddb9e85ac567bbb
2016-10-12 19:50:35 +00:00
Jenkins
90a450fcd8 Merge "Allow Glance API and Registry to be split" 2016-10-12 19:32:19 +00:00
Dan Prince
38f98383d3 Only set NovaWorkers in the non-default case
This patch updates the t-h-t templates for
nova services so that we only set the value of workers in
the non-default case. TripleO has always defaulted the
workers count to 0 and there was recently a regression in
nova where they treat the default of 0 as invalid (a bug
that may get fixed in nova but we don't want to wait on it)

This patch avoids the issue by allowing the default value
to be unset if the TripleO default of 0 is configured.

Change-Id: I175977b88129d87caeb32332d47eb14816a6d5d4
Closes-bug: #1631133
2016-10-12 14:17:54 -04:00
Dan Prince
a80d13b6e1 Remove duplicate metadata keys from nova-api.yaml
These keys are already specified in nova-metadata.yaml
where they get set correctly per the network management
local IP (based on 'service_name' list).

Depends-On: I94f985e719a3bf7408655fbbb5ab1aeaf15e994e

Change-Id: I5d57561b732783118efd2a637aa137f5f7bcddbc
Partial-bug: #1631133
2016-10-12 14:17:21 -04:00
Jenkins
638da9ae21 Merge "Add parameters to run nova over httpd" 2016-10-12 16:42:24 +00:00
Carlos Camacho
3f842b5314 Add contrail services to the resource registry
Added contrail resource registry entries.

Implements: blueprint contrail-services

Change-Id: I03894bff63d54637ba1b10a279e2d75f97a06b3c
2016-10-12 15:54:04 +00:00
Steven Hardy
29306b7ec0 Special case non-matching ObjectStorage role port names
Unfortunately we use "SwiftStorage" in the ObjectStorage role
template, so we have to special-case this for backwards compatibility
or deployments enabling the ObjectStorage role will fail.

Ideally we'd align the port names in the objectstorage-role.yaml, but we
can't becauuse all the ports would be replaced in existing deployments
on update.

Change-Id: Ia07e193d2b9a4d33c6272c2b4448133584b81350
Closes-Bug: #1632663
2016-10-12 15:42:28 +01:00
Dan Prince
04486223fd Allow Glance API and Registry to be split
The glance-api and glance-registry services are currently coupled
in that some of the hiera settings in the API are required for
the registry to run correctly (the backend settings).

This patch moves some of the common settings into glance-base and
then updates the glance-api and glance-registry services to
supply that service.

Change-Id: Ie3d7e24c7fd475e3f6ad542c1654eb7dbd9d9b35
Closes-bug: #1628582
2016-10-12 08:10:02 -04:00
Jenkins
0baa13790a Merge "Set the notification driver for glance" 2016-10-12 06:58:27 +00:00
Jenkins
c7fd99ce01 Merge "Actually start the systemd services in step3 of the major-upgrade step" 2016-10-11 11:38:21 +00:00
Christian Schwede
28a2a6d56b Enable object versioning in Swift proxy
Tempest expects object versioning to be enabled by default in Swift;
if not it has to be disabled explicitly in the Tempest config.

This is a commonly used middleware, therefore it should be enabled
in the overcloud proxy nodes as well.

Closes-Bug: 1632215
Depends-On: I07a206473ff7939749e3eba1dfe3ea8c4526eb5c
Change-Id: I4eae08ff3f9a3a2f829c3497c1c2aaee8e7f8554
2016-10-11 07:07:04 +00:00
Jenkins
ca91ce746f Merge "Remove unneeded *_enable_backend hiera from Manila backends" 2016-10-10 19:35:57 +00:00
Michele Baldessari
30a570a7f4 Actually start the systemd services in step3 of the major-upgrade step
We have the following function in the upgrade process after we updated
the packages and called the db-sync commands:
services=$(services_to_migrate)
...
for service in $(services); do
    manage_systemd_service start "${service%%-clone}"
    check_resource_systemd "${service%%-clone}" started 600
done

The above is broken because $services contains a list of services to
start, so $(services) will return gibberish and the for loop will never
execute anything.

One of the symptoms for this is the openstack-nova-compute service not
restarting on the compute nodes during the yum -y upgrade. The reason
for this is that during the service restart, nova-compute waits for
nova-conductor to show up in the rabbitmq queues, which cannot happen
since the service was actually never started.

Change-Id: I811ff19d7b44a935b2ec5c5e66e5b5191b259eb3
Closes-Bug: #1630580
2016-10-10 21:18:26 +02:00
Christian Schwede
1c8ef6c5e8 Fix default Swift ring partition power
Looks like swift::ringbuilder::part_power is not used at all; actually
the partition power on the overcloud is 18, which is the default in
puppet-swift if nothing else is defined.

Closes-Bug: 1631926
Depends-On: I78049105adf52226d47cc6764b1ba6c2c06e91e5
Change-Id: I65335c8d31ed1130e71f1e193eb519b9f7f2438e
2016-10-10 16:20:34 +02:00
Pradeep Kilambi
6d9f97f359 Set the notification driver for glance
Need to set the right default notification driver for glance so
telemetry receives them accordingly. Without this tempest tests
fail.

Closes-bug: #1631939

Change-Id: I1cee5467d077eea6142076925646f7d0cdae96c7
2016-10-10 08:46:46 -04:00
Jenkins
f9c48f6d62 Merge "Add new environment for debug" 2016-10-10 09:30:29 +00:00
Jenkins
300ea1eeb2 Merge "Make step an integer on the pacemaker controller" 2016-10-10 09:06:44 +00:00
Jenkins
0fb8e3bddb Merge "Add cloud names to hosts output" 2016-10-07 19:49:46 +00:00
Dan Prince
22ab4a6674 Make step an integer on the pacemaker controller
This resolves the issue causing the 'step' hiera setting
to get written as a string (thus causing puppet failures)
on a pacemaker controller.

Change-Id: I70037889e499846460357928f8637a35ac97bc7a
Closes-bug: #1631488
2016-10-07 15:12:58 -04:00
Wes Hayutin
ff908cc0cc Add new environment for debug
Introduce a new environment template that enables the Debug parameter.
By default the value is set to "true".

Change-Id: Ieac59de42ffef6afa5d8f10ef1925c32c7dc8551
2016-10-07 17:27:22 +00:00
Jenkins
521b8d418f Merge "Renames OpenDaylight to OpenDaylightApi and splits out OVS configuration" 2016-10-07 17:04:12 +00:00
Giulio Fidente
87e83b796d Remove unneeded *_enable_backend hiera from Manila backends
Depends-On: I04e28a95e8d69a24cd3df109bf1802bfcbd941db

Change-Id: I4ada033155e5fde0add08ec9aa8f6af7c31d53f3
2016-10-07 13:58:53 +02:00
Jenkins
b301d5edb7 Merge "Ceilometer Wsgi Mitaka->Newton upgrades" 2016-10-07 11:15:38 +00:00
Juan Antonio Osorio Robles
a6d6acd645 Add cloud names to hosts output
Closes-Bug: #1631277
Change-Id: I126b3ed2afdf03ffabb7e57f8792b9f7ecc06a09
2016-10-07 14:03:44 +03:00
Jenkins
392dd482ee Merge "Serialize AllNodesDeployment and UpdateWorkflow" 2016-10-07 10:38:04 +00:00
Pradeep Kilambi
eaf91da5ef Ceilometer Wsgi Mitaka->Newton upgrades
In Newton, ceilometer api is changed to run under apache wsgi
instead of eventlet. This will require upgrades for mitaka
deployments to switch to wsgi.

Closes-Bug: 1631297
Change-Id: If9d6987cd0a8fc5d3f9de518ba422d97d5149732
2016-10-07 11:43:33 +03:00
Steven Hardy
c70af3e3c3 Serialize AllNodesDeployment and UpdateWorkflow
Otherwise there may be a race between updating the hiera
and running the UpdateWorkflow

Change-Id: I22cd893e0db3df6d39504fbd61d7d9024cebb1c5
Related-Bug: 1631297
2016-10-07 11:39:20 +03:00
Jenkins
60e91d683f Merge "Specify the Ceph packages to be installed" 2016-10-07 00:26:06 +00:00