apex-tripleo-heat-templates.git
7 years agoMerge "Remove not-working all-in-one upgrade environment"
Jenkins [Tue, 4 Apr 2017 15:06:50 +0000 (15:06 +0000)]
Merge "Remove not-working all-in-one upgrade environment"

7 years agoMerge "Purge initial firewall for deployed-server's"
Jenkins [Tue, 4 Apr 2017 14:33:32 +0000 (14:33 +0000)]
Merge "Purge initial firewall for deployed-server's"

7 years agoMerge "Add ceilometer ipmi agent"
Jenkins [Tue, 4 Apr 2017 01:59:11 +0000 (01:59 +0000)]
Merge "Add ceilometer ipmi agent"

7 years agoPurge initial firewall for deployed-server's
James Slagle [Mon, 3 Apr 2017 16:50:45 +0000 (12:50 -0400)]
Purge initial firewall for deployed-server's

We need to purge the initial firewall for deployed-server's, otherwise
if you have a default REJECT rule, the pacemaker cluster will fail to
initialize. This matches the behavior done when using images, see:
Iddc21316a1a3d42a1a43cbb4b9c178adba8f8db3
I0dee5ff045fbfe7b55d078583e16b107eec534aa

Change-Id: Ia83d17b609e4f737074482a980689cc57c3ad911
Closes-Bug: #1679234

7 years agoRemove not-working all-in-one upgrade environment
Steven Hardy [Mon, 3 Apr 2017 15:18:16 +0000 (16:18 +0100)]
Remove not-working all-in-one upgrade environment

This won't work because we need to change the state of UpgradeLevelNovaCompute
and EnableConfigPurge during the upgrade - it should have been removed
before release, which was an oversight.

Removing this now to avoid further confusion in future.

Change-Id: I16853cdec6c8fe6ad54f17ae2ad1e0460f1574ea
Closes-Bug: #1679214

7 years agoMerge "Qpid dispatch router composable role"
Jenkins [Mon, 3 Apr 2017 14:54:18 +0000 (14:54 +0000)]
Merge "Qpid dispatch router composable role"

7 years agoMerge "Remove useless trailing '\n' in /etc/hosts file."
Jenkins [Mon, 3 Apr 2017 14:54:11 +0000 (14:54 +0000)]
Merge "Remove useless trailing '\n' in /etc/hosts file."

7 years agoMerge "Remove EC2 endpoint from EndpointMap"
Jenkins [Mon, 3 Apr 2017 14:23:51 +0000 (14:23 +0000)]
Merge "Remove EC2 endpoint from EndpointMap"

7 years agoMerge "Change heat and mistral to use v3/ec2tokens url"
Jenkins [Mon, 3 Apr 2017 10:34:16 +0000 (10:34 +0000)]
Merge "Change heat and mistral to use v3/ec2tokens url"

7 years agoMerge "Fixes port binding controller for OpenDaylight"
Jenkins [Mon, 3 Apr 2017 10:11:16 +0000 (10:11 +0000)]
Merge "Fixes port binding controller for OpenDaylight"

7 years agoMerge "Setting keystone region for tacker"
Jenkins [Sun, 2 Apr 2017 09:09:09 +0000 (09:09 +0000)]
Merge "Setting keystone region for tacker"

7 years agoMerge "Set auth flag so ceilometer auth is enabled"
Jenkins [Sun, 2 Apr 2017 03:53:13 +0000 (03:53 +0000)]
Merge "Set auth flag so ceilometer auth is enabled"

7 years agoMerge "Add special case upgrade from openvswitch 2.5.0-14"
Jenkins [Sat, 1 Apr 2017 16:28:19 +0000 (16:28 +0000)]
Merge "Add special case upgrade from openvswitch 2.5.0-14"

7 years agoMerge "Don't check haproxy if external load-balancer is used."
Jenkins [Fri, 31 Mar 2017 22:53:10 +0000 (22:53 +0000)]
Merge "Don't check haproxy if external load-balancer is used."

7 years agoSet auth flag so ceilometer auth is enabled
Pradeep Kilambi [Wed, 29 Mar 2017 19:20:40 +0000 (15:20 -0400)]
Set auth flag so ceilometer auth is enabled

Ceilometer Auth should be enabled even if ceilometer api
is not. Lets decouple these, this flag will be used in
puppet-tripleo where ceilometer::keystone::auth class
is initialized.

Change-Id: Iffebd40752eafb1d30b5962da8b5624fb9df7d48
Closes-bug: #1677354

7 years agoAdd special case upgrade from openvswitch 2.5.0-14
marios [Tue, 28 Mar 2017 07:44:41 +0000 (10:44 +0300)]
Add special case upgrade from openvswitch 2.5.0-14

In [1] we removed the previously used special case upgrade code.
However we have since discovered that for openvswitch 2.5.0-14
the special case is still required with an extra flag to prevent
the restart.  This adds the upgrade code back into the minor
update and 'manual upgrade' scripts for compute/swift. The
review at If998704b3c4199bbae8a1d068c31a71763f5c8a2 is adding
this logic for the ansible upgrade steps.

Related-Bug: 1669714
[1] https://review.openstack.org/#/q/59e5f9597eb37f69045e470eb457b878728477d7
Change-Id: I3e5899e2d831b89745b2f37e61ff69dbf83ff595

7 years agoMerge "Add missing ec2api::api::keystone_ec2_tokens_url config"
Jenkins [Fri, 31 Mar 2017 12:40:11 +0000 (12:40 +0000)]
Merge "Add missing ec2api::api::keystone_ec2_tokens_url config"

7 years agoSetting keystone region for tacker
Dan Radez [Mon, 20 Mar 2017 15:41:36 +0000 (11:41 -0400)]
Setting keystone region for tacker

Change-Id: I170b7e4cff66f0a4b1b6d5735f93c9f0295a5ac5

7 years agoRemove EC2 endpoint from EndpointMap
Juan Antonio Osorio Robles [Fri, 31 Mar 2017 11:15:02 +0000 (14:15 +0300)]
Remove EC2 endpoint from EndpointMap

We are removing this in favor of just using the keystone uri and
appending /ec2tokens

Change-Id: Idab78d61f3931818aa91faad2d68c1fe20f68db6

7 years agoChange heat and mistral to use v3/ec2tokens url
Juan Antonio Osorio Robles [Fri, 31 Mar 2017 11:14:01 +0000 (14:14 +0300)]
Change heat and mistral to use v3/ec2tokens url

They were using v2.0 and we're getting rid of v2.0/ec2tokens in the
EndpointMap.

Change-Id: Ib9fbbdb0144bb4e250c561613bba6219506ff30f

7 years agoMerge "Re-Add bigswitch agent support"
Jenkins [Thu, 30 Mar 2017 22:04:37 +0000 (22:04 +0000)]
Merge "Re-Add bigswitch agent support"

7 years agoMerge "Output service_metadata_settings in docker services.yaml"
Jenkins [Thu, 30 Mar 2017 15:11:03 +0000 (15:11 +0000)]
Merge "Output service_metadata_settings in docker services.yaml"

7 years agoMerge "Do not install openstack-heat-agents"
Jenkins [Thu, 30 Mar 2017 14:06:13 +0000 (14:06 +0000)]
Merge "Do not install openstack-heat-agents"

7 years agoMerge "[N->O] Fix wrong database connection for cell0 during upgrade."
Jenkins [Thu, 30 Mar 2017 11:51:22 +0000 (11:51 +0000)]
Merge "[N->O] Fix wrong database connection for cell0 during upgrade."

7 years agoMerge "[N->O] is creating 2 default cell_v2 cells"
Jenkins [Thu, 30 Mar 2017 11:51:07 +0000 (11:51 +0000)]
Merge "[N->O] is creating 2 default cell_v2 cells"

7 years agoMerge "Add NodeCreateBatchSize parameter"
Jenkins [Thu, 30 Mar 2017 11:51:00 +0000 (11:51 +0000)]
Merge "Add NodeCreateBatchSize parameter"

7 years agoDon't check haproxy if external load-balancer is used.
Sofer Athlan-Guyot [Thu, 30 Mar 2017 10:06:13 +0000 (12:06 +0200)]
Don't check haproxy if external load-balancer is used.

Change-Id: Ia65796b04be9f7cadc57af30ef66788dd8cb7de8
Closes-Bug: 1677539

7 years agoMerge "Run cluster check on nodes configured in wsrep_cluster_address."
Jenkins [Thu, 30 Mar 2017 09:03:54 +0000 (09:03 +0000)]
Merge "Run cluster check on nodes configured in wsrep_cluster_address."

7 years agoOutput service_metadata_settings in docker services.yaml
Juan Antonio Osorio Robles [Thu, 30 Mar 2017 08:50:48 +0000 (11:50 +0300)]
Output service_metadata_settings in docker services.yaml

This output gets nova metadata into the servers this is deployed to and
is necessary for the TLS-everywhere work.

bp tls-via-certmonger-containers

Change-Id: Iff54f7af9c63a529f88c6455047f6584d29154b4

7 years agoMerge "Include panko in the default dispatcher"
Jenkins [Thu, 30 Mar 2017 07:38:25 +0000 (07:38 +0000)]
Merge "Include panko in the default dispatcher"

7 years agoMerge "Allow to configure policy.json for OpenStack projects"
Jenkins [Thu, 30 Mar 2017 05:29:22 +0000 (05:29 +0000)]
Merge "Allow to configure policy.json for OpenStack projects"

7 years agoDo not install openstack-heat-agents
Steve Baker [Wed, 29 Mar 2017 22:23:01 +0000 (11:23 +1300)]
Do not install openstack-heat-agents

Installing openstack-heat-agents is unnecessary since it has the same
effect as installing python-heat-agent-* which happens on the next
line.

Installing openstack-heat-agents is causing issues when mixing ocata
and master repos, since there hasn't been a release on master since
ocata was branched.

Change-Id: I1a75e16810b6a89cf1dd9ff4f4b3b5dccfc0466e
Closes-Bug: #1677278

7 years agoAdd ceilometer ipmi agent
Pradeep Kilambi [Tue, 7 Feb 2017 21:37:35 +0000 (16:37 -0500)]
Add ceilometer ipmi agent

Closes-Bug: #1662679

Change-Id: I3446d59b89d43859caedd2be4583099374944379

7 years agoQpid dispatch router composable role
John Eckersberg [Thu, 3 Nov 2016 17:54:18 +0000 (13:54 -0400)]
Qpid dispatch router composable role

Note: since it replaces rabbitmq, in order to aim for the smallest
amount of changes the service_name is called 'rabbitmq' so all the
other services do not need additional logic to use qdr.

Depends-On: Idecbbabdd4f06a37ff0cfb34dc23732b1176a608
Change-Id: I27f01d2570fa32de91ffe1991dc873cdf2293dbc

7 years agoMerge "Modify pci_passthrough hiera value as string"
Jenkins [Wed, 29 Mar 2017 02:47:59 +0000 (02:47 +0000)]
Merge "Modify pci_passthrough hiera value as string"

7 years agoAllow to configure policy.json for OpenStack projects
Emilien Macchi [Wed, 15 Mar 2017 01:09:11 +0000 (21:09 -0400)]
Allow to configure policy.json for OpenStack projects

For both containers and classic deployments, allow to configure
policy.json for all OpenStack APIs with new parameters (hash,
empty by default).

Example of new parameter: NovaApiPolicies.
See environments/nova-api-policy.yaml for how the feature can be used.

Note: use it with extreme caution.

Partial-implement: blueprint modify-policy-json
Change-Id: I1144f339da3836c3e8c8ae4e5567afc4d1a83e95

7 years agoInclude panko in the default dispatcher
Pradeep Kilambi [Tue, 28 Mar 2017 12:04:21 +0000 (08:04 -0400)]
Include panko in the default dispatcher

panko is enabled by default, we might as well make it
the default dispatcher along with gnocchi.

Closes-bug: #1676900

Change-Id: Icb6c98ed0810724e4445d78f3d34d8b71db826ae

7 years agoMerge "Remove 'Controller' role references from overcloud.j2.yaml"
Jenkins [Tue, 28 Mar 2017 18:57:42 +0000 (18:57 +0000)]
Merge "Remove 'Controller' role references from overcloud.j2.yaml"

7 years agoMerge "N->O upgrade, blanks ipv6 rules before activating it."
Jenkins [Tue, 28 Mar 2017 17:46:08 +0000 (17:46 +0000)]
Merge "N->O upgrade, blanks ipv6 rules before activating it."

7 years agoMerge "N->O Upgrade, make sure all nova placement parameter properly set."
Jenkins [Tue, 28 Mar 2017 17:44:49 +0000 (17:44 +0000)]
Merge "N->O Upgrade, make sure all nova placement parameter properly set."

7 years agoMerge "Stop openstack-nova-compute during nova-ironic upgrade"
Jenkins [Tue, 28 Mar 2017 17:44:18 +0000 (17:44 +0000)]
Merge "Stop openstack-nova-compute during nova-ironic upgrade"

7 years agoMerge "Only set EnableConfigPurge on major upgrades"
Jenkins [Tue, 28 Mar 2017 17:38:03 +0000 (17:38 +0000)]
Merge "Only set EnableConfigPurge on major upgrades"

7 years agoMerge "Updated from global requirements"
Jenkins [Tue, 28 Mar 2017 16:35:48 +0000 (16:35 +0000)]
Merge "Updated from global requirements"

7 years agoMerge "Swift auth url should use a suffix"
Jenkins [Tue, 28 Mar 2017 16:35:41 +0000 (16:35 +0000)]
Merge "Swift auth url should use a suffix"

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Tue, 28 Mar 2017 13:03:01 +0000 (13:03 +0000)]
Updated from global requirements

Change-Id: I86fd68da7b2d96590f21a8511fa1a23dcf1a6dda

7 years agoMerge "MySQL: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 12:54:11 +0000 (12:54 +0000)]
Merge "MySQL: Use conditional instead of nested stack for TLS-specific bits"

7 years agoMerge "Apache: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 11:08:34 +0000 (11:08 +0000)]
Merge "Apache: Use conditional instead of nested stack for TLS-specific bits"

7 years agoMerge "Rabbitmq: Use conditional instead of nested stack for TLS-specific bits"
Jenkins [Tue, 28 Mar 2017 11:01:52 +0000 (11:01 +0000)]
Merge "Rabbitmq: Use conditional instead of nested stack for TLS-specific bits"

7 years agoRun cluster check on nodes configured in wsrep_cluster_address.
Yurii Prokulevych [Thu, 23 Mar 2017 13:35:54 +0000 (14:35 +0100)]
Run cluster check on nodes configured in wsrep_cluster_address.

Attempt to check galera's cluster status fails when galera service
is not running on the same node.

Change-Id: I27fb0841d85cd0dc86e92ac2e21eedf5f8f863ab

7 years agoMerge "Remove kolla_config copy from keystone service."
Jenkins [Tue, 28 Mar 2017 09:28:13 +0000 (09:28 +0000)]
Merge "Remove kolla_config copy from keystone service."

7 years agoMerge "Nic config mappings for deployed-server"
Jenkins [Tue, 28 Mar 2017 09:26:31 +0000 (09:26 +0000)]
Merge "Nic config mappings for deployed-server"

7 years agoModify pci_passthrough hiera value as string
Saravanan KR [Wed, 22 Mar 2017 14:10:29 +0000 (19:40 +0530)]
Modify pci_passthrough hiera value as string

Hiera value of nova::compute::pci_passthrough should be a string.
It has been modified to JSON with the heira hook changes. Modifying
it again back to string.
Closes-Bug: #1675036

Change-Id: I441907ff313ecc5b7b4da562c6be195687fc6c76

7 years agoMerge "Restrict Access to Kernel Message Buffer"
Jenkins [Tue, 28 Mar 2017 05:58:06 +0000 (05:58 +0000)]
Merge "Restrict Access to Kernel Message Buffer"

7 years agoAdd missing ec2api::api::keystone_ec2_tokens_url config
Sven Anderson [Mon, 27 Mar 2017 19:39:00 +0000 (21:39 +0200)]
Add missing ec2api::api::keystone_ec2_tokens_url config

Change-Id: I9a19aff24dede2bea3bf2959afa7adde00817ee0
Related-Bug: #1676491

7 years agoFixes port binding controller for OpenDaylight
Tim Rozet [Wed, 22 Mar 2017 23:55:31 +0000 (19:55 -0400)]
Fixes port binding controller for OpenDaylight

In Ocata and later, the port binding controller for ODL was changed by
default to be the pseudo agent controller, which requires a new feature
"host config" for OVS.  This patch modifies the default to use
network-topology, which will work without any new host config features
implemented (previous way of port binding).

Closes-Bug: 1675211

Depends-On: I5004fdeb238dea81bc4f7e9437843a8a080d5b46

Change-Id: I6a6969d1d6b8d8b8ac31fecd57af85eb653245d2
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Sort ResourceGroup resource list"
Jenkins [Mon, 27 Mar 2017 19:59:32 +0000 (19:59 +0000)]
Merge "Sort ResourceGroup resource list"

7 years agoRemove 'Controller' role references from overcloud.j2.yaml
Dan Prince [Mon, 27 Mar 2017 17:57:06 +0000 (13:57 -0400)]
Remove 'Controller' role references from overcloud.j2.yaml

This patch again removes hard coded role references to
the overcloud.yaml template that was added in
fd15a091f7ab6927833275df17b96ecacc2b1827. This
breaks the composable undercloud work (undercloud-containers ci job as
well).

Change-Id: Ie30b2573dc4d2b45ebc0afc0e0d73bfdf41e4d4b
Closes-bug: #1676528

7 years agoRemove kolla_config copy from keystone service.
Ian Main [Mon, 20 Mar 2017 20:27:06 +0000 (16:27 -0400)]
Remove kolla_config copy from keystone service.

Simplify the config of the keystone service by mounting in the
configurations instead of specifying them all in kolla config.

This is change is useful to limit the side effects of generating the
config files and running the container is two separate steps as config
directories are now bind-mounted inside the container instead of having
files being copied to the container. We've seen examples of Apache's
mod_ssl configuration file present on the container preventing it to
start when puppet configured apache not to load the ssl module (in case
TLS is disabled).

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: Ie33ffc7c2b1acf3e4e505d38efb104bf013f2ce6

7 years agoMerge "Run nova-api hosts discovery after nova-compute start"
Jenkins [Mon, 27 Mar 2017 13:19:13 +0000 (13:19 +0000)]
Merge "Run nova-api hosts discovery after nova-compute start"

7 years agoMerge "docker/keystone: Bind mount entire fernet keys repository"
Jenkins [Mon, 27 Mar 2017 13:06:02 +0000 (13:06 +0000)]
Merge "docker/keystone: Bind mount entire fernet keys repository"

7 years agoSwift auth url should use a suffix
Pradeep Kilambi [Tue, 21 Mar 2017 12:50:07 +0000 (08:50 -0400)]
Swift auth url should use a suffix

gnocchi metricd and statsd are broken due to recent change
to support keystone v3. see I2feed8b1219069128faa1a1e8dcd2ddfbae7e40a
We need swift auth url to have suffix so it knows what endpoint
to use.

Change-Id: I753f37e121b95813e345f200ad3f3e75ec4bd7e1

7 years agoMerge "Pick dynamically the first node for stack validation"
Jenkins [Mon, 27 Mar 2017 12:38:23 +0000 (12:38 +0000)]
Merge "Pick dynamically the first node for stack validation"

7 years agoMySQL: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 11:00:46 +0000 (14:00 +0300)]
MySQL: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ib7151d67982957369f7c139a3b01274a1a746c4a

7 years agoApache: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 10:23:53 +0000 (13:23 +0300)]
Apache: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ia7ee632383542ac012c20448ff1b4435004e57e3

7 years agoRabbitmq: Use conditional instead of nested stack for TLS-specific bits
Juan Antonio Osorio Robles [Mon, 27 Mar 2017 09:11:27 +0000 (12:11 +0300)]
Rabbitmq: Use conditional instead of nested stack for TLS-specific bits

Usually a nested stack is used that contains the TLS-everywhere bits
(config_settings and metadata_settings). Nested stacks are very
resource intensive. So, instead of doing using nested stacks, this patch
changes that to use a conditional, and output the necessary
config_settings  and metadata_settings this way in an attempt to save
resources.

Change-Id: Ic25f84a81aefef91b3ab8db2bc864853ee82c8aa

7 years agoN->O upgrade, blanks ipv6 rules before activating it.
Sofer Athlan-Guyot [Fri, 24 Mar 2017 12:45:10 +0000 (13:45 +0100)]
N->O upgrade, blanks ipv6 rules before activating it.

When the firewall is enabled with ipv6, the default rules set is
taken as not ipv6 firewall was present for Newton.  This make
communication impossible until puppet is run again.

This ensures that no rules are loaded when the firewall is enabled.

This mimic this patch[1]

[1] https://github.com/openstack/tripleo-heat-templates/commit/ae8aac36143d5dadb08af0d275f513678909dcc7

Change-Id: Id878b5caae666a799c89c8466ce46b9ecb86d9f7
Closes-Bug: #1675782

7 years agodocker/keystone: Bind mount entire fernet keys repository
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 11:26:25 +0000 (13:26 +0200)]
docker/keystone: Bind mount entire fernet keys repository

Previously only the first two intial fernet keys were mounted into the
container. This is not practical, however, as doing key rotation will
generate more entries in this repository. So instead we mount the whole
directory, which would allow us to do rotation in the base host and
seamlessly affect the container as well.

Change-Id: I7763a09e57fe6a7867ffd079ab0b9222374c38c8

7 years agoMerge "Remove unused KeystoneRegion parameter from gnocchi-base"
Jenkins [Sun, 26 Mar 2017 12:54:12 +0000 (12:54 +0000)]
Merge "Remove unused KeystoneRegion parameter from gnocchi-base"

7 years agoMerge "Setting keystone region for congress"
Jenkins [Sun, 26 Mar 2017 08:11:47 +0000 (08:11 +0000)]
Merge "Setting keystone region for congress"

7 years agoMerge "docker/keystone: Actually set fernet as the default token provider"
Jenkins [Sun, 26 Mar 2017 04:04:16 +0000 (04:04 +0000)]
Merge "docker/keystone: Actually set fernet as the default token provider"

7 years agoMerge "docker-puppet: skip empty volume entries"
Jenkins [Sun, 26 Mar 2017 04:01:38 +0000 (04:01 +0000)]
Merge "docker-puppet: skip empty volume entries"

7 years agoMerge "Enables increasing mariadb open files for noha deployments"
Jenkins [Sun, 26 Mar 2017 04:01:31 +0000 (04:01 +0000)]
Merge "Enables increasing mariadb open files for noha deployments"

7 years agoMerge "Remove unnecesary code to enable panko-api"
Jenkins [Sun, 26 Mar 2017 01:04:31 +0000 (01:04 +0000)]
Merge "Remove unnecesary code to enable panko-api"

7 years agoMerge "Fixes missing firewall rules for neutron_ovs_dpdk_agent service"
Jenkins [Sat, 25 Mar 2017 20:54:36 +0000 (20:54 +0000)]
Merge "Fixes missing firewall rules for neutron_ovs_dpdk_agent service"

7 years agoMerge "Install openstack-selinux for deployed-server"
Jenkins [Sat, 25 Mar 2017 20:01:17 +0000 (20:01 +0000)]
Merge "Install openstack-selinux for deployed-server"

7 years agoMerge "Fix usage of CinderNfsServers"
Jenkins [Sat, 25 Mar 2017 17:22:01 +0000 (17:22 +0000)]
Merge "Fix usage of CinderNfsServers"

7 years agoMerge "Add missing metadata_settings from neutron-api profile"
Jenkins [Sat, 25 Mar 2017 11:20:35 +0000 (11:20 +0000)]
Merge "Add missing metadata_settings from neutron-api profile"

7 years agoMerge "Rework container volumes as hostpath mounts"
Jenkins [Sat, 25 Mar 2017 06:07:20 +0000 (06:07 +0000)]
Merge "Rework container volumes as hostpath mounts"

7 years agoMerge "Fixes OpenDaylightProviderMappings hiera parsing"
Jenkins [Sat, 25 Mar 2017 01:17:47 +0000 (01:17 +0000)]
Merge "Fixes OpenDaylightProviderMappings hiera parsing"

7 years agoMerge "Clarify Kolla build overrides for tripleo"
Jenkins [Fri, 24 Mar 2017 23:04:25 +0000 (23:04 +0000)]
Merge "Clarify Kolla build overrides for tripleo"

7 years agoStop openstack-nova-compute during nova-ironic upgrade
Marius Cornea [Fri, 24 Mar 2017 12:06:22 +0000 (13:06 +0100)]
Stop openstack-nova-compute during nova-ironic upgrade

This change ensures that that openstack-nova-compute is
stopped and disabled during the upgrade process.

Closes-Bug: 1675814

Change-Id: Ifd2557b11e4317f1e76e459e8de4162116578eff

7 years agoN->O Upgrade, make sure all nova placement parameter properly set.
Sofer Athlan-Guyot [Fri, 24 Mar 2017 11:11:33 +0000 (12:11 +0100)]
N->O Upgrade, make sure all nova placement parameter properly set.

The restart of openstack-nova-compute takes place before crudini set
the password, user_domain and project_name get set.

Change-Id: I57b54d5f59d5803d7ad4e399d598f699785a5825
Closes-Bug: #1675739
Co-Authored-By: Oliver Walsh <owalsh@redhat.com>
7 years agoRework container volumes as hostpath mounts
Bogdan Dobrelya [Wed, 22 Mar 2017 11:10:24 +0000 (12:10 +0100)]
Rework container volumes as hostpath mounts

Also add upgrade_tasks to disable corresponding host
services in order to not data race with containers

Change-Id: I19c16aaa3e5a73436ca7aa7d06facf64feee2327
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years ago[N->O] Fix wrong database connection for cell0 during upgrade.
Sofer Athlan-Guyot [Thu, 23 Mar 2017 11:10:48 +0000 (12:10 +0100)]
[N->O] Fix wrong database connection for cell0 during upgrade.

During upgrade the cell0 database has the connection pointing to

   mysql+pymysql://nova:c2cdagE8PyAbnpers3AD88Hge@10.0.0.19/nova_cell0?bind_address=10.0.0.20

where 10.0.0.20 was the ip of the bootstrap node.  This makes the
nova-api fails on 2/3 node at the end of the
major-upgrade-composable-steps.yaml step.

We do have the right value in the hiera database so make sure we use
it for cell0 creation and not the nova.conf file which hasn't been
updated yet.

Change-Id: I09775206cb8fc5e15934f7e4475506a7fe17271e
Closes-Bug: #1675359

7 years agoFixes OpenDaylightProviderMappings hiera parsing
Tim Rozet [Thu, 23 Mar 2017 14:24:38 +0000 (10:24 -0400)]
Fixes OpenDaylightProviderMappings hiera parsing

The str_replace conversion used previously is no longer needed and
breaks the hieradata value.

Closes-Bug: 1675426

Change-Id: I7a052d1757efe36daf6ed47e55598ca3c2ee9055
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years ago[N->O] is creating 2 default cell_v2 cells
Oliver Walsh [Thu, 23 Mar 2017 13:50:55 +0000 (13:50 +0000)]
[N->O] is creating 2 default cell_v2 cells

A side-effect of running map_cell_and_hosts is that a default cell is created
(unless host mappings already exists).
As we are explicitly creating the default cell we need to run discover_hosts
to create the host mappings.

Change-Id: I1a28e9b85a7c43561700faf692248c5fc06b8ad8
Closes-Bug: #1675418

7 years agoMerge "Keep existing data for containerized Libvirt"
Jenkins [Thu, 23 Mar 2017 13:51:51 +0000 (13:51 +0000)]
Merge "Keep existing data for containerized Libvirt"

7 years agoAdd missing metadata_settings from neutron-api profile
Juan Antonio Osorio Robles [Thu, 23 Mar 2017 13:07:08 +0000 (15:07 +0200)]
Add missing metadata_settings from neutron-api profile

This is needed for the TLS everywhere work. This will break on
TLS-everywhere setups where neutron would be deployed in its own role.
So we need to add the metadata_settings.

bp tls-via-certmonger

Change-Id: I7934a258e032d8eaa6f07c0e48b3fbdb1f8c6a06

7 years agoFix usage of CinderNfsServers
Christian Schwede [Tue, 21 Mar 2017 17:28:34 +0000 (18:28 +0100)]
Fix usage of CinderNfsServers

This feature stopped working somewhere along the lines. In the past it
was working with parameter_defaults like this:

 CinderNfsServers: '10.0.0.254:/srv/nfs/cinder'

or

 CinderNfsServers: "[fd00:fd00:fd00:3000::1]:/srv/nfs/cinder"

The problem was that the templating escaped these strings, and
puppet-tripleo didn't receive a proper array, but a string.

This patch fixes this. It accepts strings as above as well as
comma-delimited lists of Nfs Servers.

Closes-Bug: 1671153
Change-Id: I89439c1d969e92cb8e0503de561e22409deafdfc

7 years agoInstall openstack-selinux for deployed-server
James Slagle [Wed, 22 Mar 2017 21:04:50 +0000 (17:04 -0400)]
Install openstack-selinux for deployed-server

No other packages actually require openstack-selinux, so it must be
explicity installed.

Change-Id: Ic7b39ddfc4cfb28b8a08e9b02043211e4ca4a39a
Closes-Bug: #1675170

7 years agoNic config mappings for deployed-server
James Slagle [Mon, 6 Mar 2017 21:29:43 +0000 (16:29 -0500)]
Nic config mappings for deployed-server

Adds default nic config mappings when using the deployed-server custom
roles data at deployed-server/deployed-server-roles-data.yaml.
Previously there were no default mappings as the hardcoded mapping for
the Controller role from overcloud-resource-registry-puppet.j2.yaml
would not be used since there is no Controller role when using
deployed-server.

The default mapping is net-config-static.yaml instead of
net-config-noop.yaml, since there is no requirement of a L2 domain for
dhcp between undercloud and overcloud nodes when using deployed-server.

The convenience mapping of ControllerDeployedServer to
net-config-static-bridge.yaml is also added so that out of the box the
roles with controller services will get the right bridge created.

The mappings can always be overridden in later environment files if
needed.

Change-Id: I581fec99b459a12512686e47b10b962756652eb3
Closes-Bug: #1670493
Depends-On: Ib681729cc2728ca4b0486c14166b6b702edfcaab

7 years agoFixes missing firewall rules for neutron_ovs_dpdk_agent service
Tim Rozet [Wed, 22 Mar 2017 14:52:03 +0000 (10:52 -0400)]
Fixes missing firewall rules for neutron_ovs_dpdk_agent service

Firewall config was being inherited by the dpdk service, however
since the firewall service name was the parent (neutron_ovs_agent)
and technically that service was not enabled - the rules were never
applied.  This modifies the service name as it is inherited using
map_replace.

Closes-Bug: 1674689

Change-Id: I6676205b8fc1fd578cb2435ad97fe577a9e81d95
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoRun nova-api hosts discovery after nova-compute start
Martin André [Wed, 22 Mar 2017 13:31:36 +0000 (14:31 +0100)]
Run nova-api hosts discovery after nova-compute start

The previous code had a race condition where nova-api host discovery
and nova-compute where run at the same step. This commit ensures host
discovery happens after nova-compute has started.

Change-Id: Id2fc795a64783d958d98d4ac523a19079e8a4fab
Closes-Bug: #1675011

7 years agoRemove unused KeystoneRegion parameter from gnocchi-base
Juan Antonio Osorio Robles [Wed, 22 Mar 2017 12:06:41 +0000 (14:06 +0200)]
Remove unused KeystoneRegion parameter from gnocchi-base

This is used in gnocchi-api.yaml and is not needed on the base template.

Change-Id: I5ebd27dff3dca7053647a57eb4cdef56d38526c6

7 years agoOnly set EnableConfigPurge on major upgrades
Steven Hardy [Wed, 22 Mar 2017 09:18:29 +0000 (09:18 +0000)]
Only set EnableConfigPurge on major upgrades

Bug #1611800 fixed an upgrade issue by enabling purging configs for
some services, but this causes issues such as longer updates and
restarting services in the minor update case, so only do this for
major upgrades, and default to false.

Related-Bug: #1611800
Closes-Bug: #1674858
Change-Id: Iff7d715f6730c5633f1146008504b4309ef3133d

7 years agoRemove useless trailing '\n' in /etc/hosts file.
Gael Chamoulaud [Tue, 21 Mar 2017 15:08:59 +0000 (16:08 +0100)]
Remove useless trailing '\n' in /etc/hosts file.

In HA deployment mode, we've got some trailing '\n' generated at the beginning
of each controller role nodes line in the undercloud /etc/hosts [1].

[1] - http://paste.openstack.org/show/603721/

Closes-Bug: #1674697

Change-Id: Ic38bc2a5df79dadf72025f207e91a38cc0ab0a92
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
7 years agodocker/keystone: Actually set fernet as the default token provider
Juan Antonio Osorio Robles [Tue, 21 Mar 2017 09:29:19 +0000 (11:29 +0200)]
docker/keystone: Actually set fernet as the default token provider

A previous commit [1] added support for fernet in the keystone docker
service; however, this was not set as the default token provider. This
patch makes it the default.

[1] Id92039b3bad9ecda169323e01de7bebae70f2ba0

Change-Id: Ib44ab61eba0be8ba54bc7d0bdb22437d769cb960

7 years agodocker-puppet: skip empty volume entries
Juan Antonio Osorio Robles [Thu, 16 Mar 2017 11:20:41 +0000 (13:20 +0200)]
docker-puppet: skip empty volume entries

This allows to optionally add volumes, where we could use a heat
conditional to either put the volume path we want or put an empty string
which should be safely skipped.

Change-Id: I68f91ffdd8ceb14735adad1322fcf124c47b160c

7 years agoMerge "Enables OpenDaylight clustering in HA deployments"
Jenkins [Wed, 22 Mar 2017 03:55:50 +0000 (03:55 +0000)]
Merge "Enables OpenDaylight clustering in HA deployments"

7 years agoMerge "Change kolla_config from required to optional in pep8."
Jenkins [Wed, 22 Mar 2017 03:27:55 +0000 (03:27 +0000)]
Merge "Change kolla_config from required to optional in pep8."