apex-tripleo-heat-templates.git
7 years agoAdd heat api container to run cron purge_deleted
Dan Prince [Fri, 21 Jul 2017 00:03:18 +0000 (20:03 -0400)]
Add heat api container to run cron purge_deleted

The purge-deleted cron job is created by puppet in
/var/spool/cron/heat. This creates a cron container
to run that in an environment where it has access to the
heat.conf and heat-manage binaries.

Change-Id: Ib9fe8e4f6dbd41021df7cf152fd18569c189d2e2
Partial-bug: #1701254

7 years agoMerge "Add validation task in docker services"
Jenkins [Thu, 20 Jul 2017 20:10:25 +0000 (20:10 +0000)]
Merge "Add validation task in docker services"

7 years agoUpdated from global requirements
OpenStack Proposal Bot [Wed, 19 Jul 2017 22:32:37 +0000 (22:32 +0000)]
Updated from global requirements

Change-Id: I097c141e4bf9d681d1f3484fea0bce1fac7646c9

7 years agoMerge "Wrap ceilometer-upgrade in boostrap_host_exec"
Jenkins [Wed, 19 Jul 2017 21:25:09 +0000 (21:25 +0000)]
Merge "Wrap ceilometer-upgrade in boostrap_host_exec"

7 years agoMerge "Fixing a bug when setting a password for ODL controller"
Jenkins [Wed, 19 Jul 2017 21:24:49 +0000 (21:24 +0000)]
Merge "Fixing a bug when setting a password for ODL controller"

7 years agoMerge "Use optimal (instead of default) tunables for Ceph on upgrade"
Jenkins [Wed, 19 Jul 2017 18:09:32 +0000 (18:09 +0000)]
Merge "Use optimal (instead of default) tunables for Ceph on upgrade"

7 years agoMerge "Allow modprobing from cinder-volume container"
Jenkins [Tue, 18 Jul 2017 17:19:19 +0000 (17:19 +0000)]
Merge "Allow modprobing from cinder-volume container"

7 years agoMerge "LVM in cinder-volume container without udev"
Jenkins [Tue, 18 Jul 2017 17:18:18 +0000 (17:18 +0000)]
Merge "LVM in cinder-volume container without udev"

7 years agoMerge "Ensure yum cache is ready before update"
Jenkins [Tue, 18 Jul 2017 11:51:07 +0000 (11:51 +0000)]
Merge "Ensure yum cache is ready before update"

7 years agoUse optimal (instead of default) tunables for Ceph on upgrade
Giulio Fidente [Tue, 18 Jul 2017 09:03:35 +0000 (11:03 +0200)]
Use optimal (instead of default) tunables for Ceph on upgrade

With the default setting, after the majority of the monitors have
been upgraded the cluster will go in WARN state because of legacy
tunables. This changes the tunables we set after each monitor is
upgraded from 'default' to 'optimal' [1].

1. http://docs.ceph.com/docs/master/rados/operations/crush-map/#warning-when-tunables-are-non-optimal

Change-Id: I0f16c29cc200d762f0c4acfd87ba7d1adb5c1eeb
Closes-Bug: #1704959

7 years agoMerge "Enable Neutron LBaaS Integration"
Jenkins [Tue, 18 Jul 2017 06:29:58 +0000 (06:29 +0000)]
Merge "Enable Neutron LBaaS Integration"

7 years agoMerge "Corrected wrong os_region_name in glance-api conf file"
Jenkins [Tue, 18 Jul 2017 05:01:52 +0000 (05:01 +0000)]
Merge "Corrected wrong os_region_name in glance-api conf file"

7 years agoMerge "Improve logs from ansible, puppet, docker-puppet.py"
Jenkins [Tue, 18 Jul 2017 02:45:56 +0000 (02:45 +0000)]
Merge "Improve logs from ansible, puppet, docker-puppet.py"

7 years agoMerge "Handles {controller,NovaCompute}ExtraConfig deprecation in ovecloud.j2"
Jenkins [Tue, 18 Jul 2017 02:45:49 +0000 (02:45 +0000)]
Merge "Handles {controller,NovaCompute}ExtraConfig deprecation in ovecloud.j2"

7 years agoMerge "Add ComputeHCI role and related validations"
Jenkins [Tue, 18 Jul 2017 02:14:48 +0000 (02:14 +0000)]
Merge "Add ComputeHCI role and related validations"

7 years agoMerge "CI/scenarios: set NotificationDriver to 'noop'"
Jenkins [Mon, 17 Jul 2017 22:27:45 +0000 (22:27 +0000)]
Merge "CI/scenarios: set NotificationDriver to 'noop'"

7 years agoHandles {controller,NovaCompute}ExtraConfig deprecation in ovecloud.j2
Giulio Fidente [Mon, 17 Jul 2017 08:15:13 +0000 (10:15 +0200)]
Handles {controller,NovaCompute}ExtraConfig deprecation in ovecloud.j2

We missed to parse and merge {controller,NovaCompute}ExtraConfig data
in change [1].

Also fixes whitespaces handling in docker-steps.j2 and
puppet-steps.j2 previously updated by [2].

1. Id37de5864138edd5476c097a8a1f0763faeaf768
2. I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a

Change-Id: Ia9983bc991eb79e479855993c1c8819ddfb52e38

7 years agoMerge "Add role_merged_configs into workflow executions environmentxi"
Jenkins [Mon, 17 Jul 2017 09:07:48 +0000 (09:07 +0000)]
Merge "Add role_merged_configs into workflow executions environmentxi"

7 years agoMerge "Workflow input parameter update in plan-environment"
Jenkins [Sun, 16 Jul 2017 11:22:58 +0000 (11:22 +0000)]
Merge "Workflow input parameter update in plan-environment"

7 years agoMerge "Use a single configuration file for specifying docker containers."
Jenkins [Sat, 15 Jul 2017 06:19:13 +0000 (06:19 +0000)]
Merge "Use a single configuration file for specifying docker containers."

7 years agoMerge "Adds network/cidr mapping into a new service property"
Jenkins [Fri, 14 Jul 2017 23:11:34 +0000 (23:11 +0000)]
Merge "Adds network/cidr mapping into a new service property"

7 years agoUse a single configuration file for specifying docker containers.
Ian Main [Tue, 11 Jul 2017 23:41:57 +0000 (11:41 +1200)]
Use a single configuration file for specifying docker containers.

This removes the default container names from all the templates
and uses a single environment file to specify the full container
name and registry from which to pull.  Also does away with most
of DockerNamespace.

Change-Id: Ieaedac33f0a25a352ab432cdb00b5c888be4ba27
Depends-On: Ibc108871ebc2beb1baae437105b2da1d0123ba60
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Steve Baker <sbaker@redhat.com>
7 years agoCI/scenarios: set NotificationDriver to 'noop'
Emilien Macchi [Thu, 13 Jul 2017 18:58:05 +0000 (11:58 -0700)]
CI/scenarios: set NotificationDriver to 'noop'

So we don't waste RabbitMQ resources since nothing will actually consume
the messages sent on the queue.

Note: we don't change scenario001, since it's a Telemetry scenario and
the services require notifications enabled.

Change-Id: I7d1d80da4eda7c0385461fe62b1d3038022973c6

7 years agoMerge "Support deprecated controllerExtraConfig naming in role template"
Jenkins [Fri, 14 Jul 2017 17:10:17 +0000 (17:10 +0000)]
Merge "Support deprecated controllerExtraConfig naming in role template"

7 years agoAdd role_merged_configs into workflow executions environmentxi
Giulio Fidente [Fri, 14 Jul 2017 11:38:47 +0000 (13:38 +0200)]
Add role_merged_configs into workflow executions environmentxi

Merges per-role config settings into merged_config_settings which
is wired into the workflow executions environment.

Useful to consume role config settings from within a workflow.

Change-Id: Id37de5864138edd5476c097a8a1f0763faeaf768

7 years agoEnable Neutron LBaaS Integration
Andrew Toth [Thu, 13 Jul 2017 18:17:37 +0000 (14:17 -0400)]
Enable Neutron LBaaS Integration

Allows the configuration of the Neutron LBaaS agent.

Change-Id: I4c29ece765ec9147cef9b4d74d30e3c4483c48ab
Implements: blueprint lbaasv2-service-integration

7 years agoMerge "Disable systemd-networkd & systemd-resolved"
Jenkins [Fri, 14 Jul 2017 12:52:46 +0000 (12:52 +0000)]
Merge "Disable systemd-networkd & systemd-resolved"

7 years agoAdd validation task in docker services
Jose Luis Franco Arza [Fri, 14 Jul 2017 07:50:58 +0000 (09:50 +0200)]
Add validation task in docker services

Docker services are missing the pre-upgrade validation task
in the upgrade_tasks section which verifies if the service
is running before stopping it.

Change-Id: Ia8c25827d0d6f34e0345c3946dfd6839a7116e04
Partial-Bug: #1704389

7 years agoAdds network/cidr mapping into a new service property
Giulio Fidente [Thu, 22 Jun 2017 15:25:03 +0000 (17:25 +0200)]
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

7 years agoMerge "Move services.yaml to common directory"
Jenkins [Fri, 14 Jul 2017 10:50:17 +0000 (10:50 +0000)]
Merge "Move services.yaml to common directory"

7 years agoMerge "Remove special-case of memcache node ips for ipv6"
Jenkins [Fri, 14 Jul 2017 10:30:25 +0000 (10:30 +0000)]
Merge "Remove special-case of memcache node ips for ipv6"

7 years agoImprove logs from ansible, puppet, docker-puppet.py
Bogdan Dobrelya [Fri, 9 Jun 2017 16:03:50 +0000 (18:03 +0200)]
Improve logs from ansible, puppet, docker-puppet.py

* Debug ansible 'puppet apply' stderr joined stdout, split
  by lines.
* Do 'puppet apply' w/o colors, logdest syslog, and given a wanted
  modulepath instead of the module puppet, that can't support those
  options.
* Bind-mount syslog socket for docker-puppet.py to pass puppet logs
  to host OS syslog.
* Fix logging handlers for multiprocess workers in docker-puppet.py.

Related-bug: #1698172
Closes-bug: #1700086

Change-Id: I84112a836e968aa5c3596a6544e0392980529963
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
7 years agoDisable systemd-networkd & systemd-resolved
Emilien Macchi [Fri, 14 Jul 2017 04:09:38 +0000 (21:09 -0700)]
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

7 years agoMerge "Adds check for existing yum process during the legacy minor update"
Jenkins [Fri, 14 Jul 2017 00:33:58 +0000 (00:33 +0000)]
Merge "Adds check for existing yum process during the legacy minor update"

7 years agoSupport deprecated controllerExtraConfig naming in role template
Steven Hardy [Tue, 11 Jul 2017 13:37:36 +0000 (14:37 +0100)]
Support deprecated controllerExtraConfig naming in role template

To enable backwards compatibility with rendering the controler-role
template add this deprecated parameter for all roles - we should
remove this in a future release after the tripleoclient warnings re
deprecated parameters are available.

Change-Id: Icce93a4109191609848ca216c946a32663753b93

7 years agoRemove special-case of memcache node ips for ipv6
Steven Hardy [Thu, 6 Jul 2017 13:37:31 +0000 (14:37 +0100)]
Remove special-case of memcache node ips for ipv6

This should be handled in puppet-tripleo, as is done for some other
services e.g ceph.  This has also been identified as a possible
performance problem due to the nested get_attr calls.

Change-Id: I7e14f0219c28c023c4e8e1d4693f0bfa9674d801
Related-Bug: #1684272
Depends-On: Iccb9089db4b382db3adb9340f18f6d2364ca7f58

7 years agoMerge "Remove hardcoded enable_load_balancer from Controller role"
Jenkins [Thu, 13 Jul 2017 18:38:39 +0000 (18:38 +0000)]
Merge "Remove hardcoded enable_load_balancer from Controller role"

7 years agoMerge "Make NeutronEnableDVR parameter consistent"
Jenkins [Thu, 13 Jul 2017 18:38:02 +0000 (18:38 +0000)]
Merge "Make NeutronEnableDVR parameter consistent"

7 years agoMerge "Added OvS permission workaround for enabling DPDK"
Jenkins [Thu, 13 Jul 2017 18:33:29 +0000 (18:33 +0000)]
Merge "Added OvS permission workaround for enabling DPDK"

7 years agoMerge "Make Rabbit parameters consistent"
Jenkins [Thu, 13 Jul 2017 13:55:43 +0000 (13:55 +0000)]
Merge "Make Rabbit parameters consistent"

7 years agoMerge "Make CephValidationDelay/Retries default consistent"
Jenkins [Thu, 13 Jul 2017 13:55:35 +0000 (13:55 +0000)]
Merge "Make CephValidationDelay/Retries default consistent"

7 years agoMerge "Make *AdminStateUp parameters consistent"
Jenkins [Thu, 13 Jul 2017 13:40:25 +0000 (13:40 +0000)]
Merge "Make *AdminStateUp parameters consistent"

7 years agoAdds check for existing yum process during the legacy minor update
marios [Thu, 13 Jul 2017 13:11:13 +0000 (16:11 +0300)]
Adds check for existing yum process during the legacy minor update

Checks for an existing /var/run/yum.pid and exit 1 with an error
message saying why.

Change-Id: I374eeb4164a8007ae67fea2796eac109fffdef97
Closes-Bug: 1704131

7 years agoMove services.yaml to common directory
Steven Hardy [Thu, 13 Jul 2017 08:30:15 +0000 (09:30 +0100)]
Move services.yaml to common directory

This new directory has now been added to the RDO packaging so we
can move things common to both puppet/container architecture here,
starting with the recently combined services.yaml

Change-Id: If2ce27188c4c15002b3ad830e8d6eb9504d2f3d2

7 years agoMerge "Containerize Manila Share service"
Jenkins [Thu, 13 Jul 2017 11:29:20 +0000 (11:29 +0000)]
Merge "Containerize Manila Share service"

7 years agoMerge "Use ServerOsCollectConfigData value in output"
Jenkins [Thu, 13 Jul 2017 11:28:09 +0000 (11:28 +0000)]
Merge "Use ServerOsCollectConfigData value in output"

7 years agoEnsure yum cache is ready before update
Lukas Bezdicka [Wed, 12 Jul 2017 19:13:28 +0000 (21:13 +0200)]
Ensure yum cache is ready before update

To workaround yum bug with libnss we need to make yum cache
before running update. In fact we should have done this
regardless of the bug.

Change-Id: I5b2355fb8abe3c8d4b9ce9c62b9ffdba8c1e8d9d
Resolves: rhbz#1458841
Closes-Bug: #1703830

7 years agoCorrected wrong os_region_name in glance-api conf file
PranaliD [Thu, 13 Jul 2017 06:38:04 +0000 (12:08 +0530)]
Corrected wrong os_region_name in glance-api conf file

KeystoneRegion value for all endpoints is set as 'regionOne',
it should be same in the configuration file.
In case of Cinder as glance backend the os_region_name should be
"regionOne" instead of "RegionOne".

Currently CI is not failing because cinder backend scenario is not yet added.
But this would definitely fail if os_region_name=RegionOne.

Change-Id: I26811a404a20ea3c55f5b272f86d9269d0f6acec
Closes-Bug: 1704060

7 years agoMerge "Fix ironic-pxe startup issues"
Jenkins [Thu, 13 Jul 2017 06:19:07 +0000 (06:19 +0000)]
Merge "Fix ironic-pxe startup issues"

7 years agoMerge "Tolerate network errors in pingtest retry logic"
Jenkins [Thu, 13 Jul 2017 04:12:40 +0000 (04:12 +0000)]
Merge "Tolerate network errors in pingtest retry logic"

7 years agoMerge "Drop ComputeServices from environments/docker.yaml"
Jenkins [Thu, 13 Jul 2017 04:09:03 +0000 (04:09 +0000)]
Merge "Drop ComputeServices from environments/docker.yaml"

7 years agoMerge "Add support for running crontabs in containers"
Jenkins [Thu, 13 Jul 2017 04:08:40 +0000 (04:08 +0000)]
Merge "Add support for running crontabs in containers"

7 years agoMerge "Revert "Revert "Blacklist support for ExtraConfig"""
Jenkins [Thu, 13 Jul 2017 04:08:29 +0000 (04:08 +0000)]
Merge "Revert "Revert "Blacklist support for ExtraConfig"""

7 years agoMerge "Run rsync for Swift without xinetd"
Jenkins [Thu, 13 Jul 2017 04:07:57 +0000 (04:07 +0000)]
Merge "Run rsync for Swift without xinetd"

7 years agoMerge "Allow to set Notification Driver to 'noop'"
Jenkins [Thu, 13 Jul 2017 04:07:50 +0000 (04:07 +0000)]
Merge "Allow to set Notification Driver to 'noop'"

7 years agoMerge "Add DeployedServerEnvironmentOutput"
Jenkins [Thu, 13 Jul 2017 02:04:21 +0000 (02:04 +0000)]
Merge "Add DeployedServerEnvironmentOutput"

7 years agoMerge "Add missing tags in iscsid upgrade_tasks"
Jenkins [Thu, 13 Jul 2017 01:32:40 +0000 (01:32 +0000)]
Merge "Add missing tags in iscsid upgrade_tasks"

7 years agoMerge "Implement scenario006 with Ironic in overcloud"
Jenkins [Wed, 12 Jul 2017 21:15:24 +0000 (21:15 +0000)]
Merge "Implement scenario006 with Ironic in overcloud"

7 years agoMerge "Remove controller specific bootstack_nodeid"
Jenkins [Wed, 12 Jul 2017 19:39:13 +0000 (19:39 +0000)]
Merge "Remove controller specific bootstack_nodeid"

7 years agoMerge "Add dependency relationship between nested get_attr targets"
Jenkins [Wed, 12 Jul 2017 19:38:02 +0000 (19:38 +0000)]
Merge "Add dependency relationship between nested get_attr targets"

7 years agoFix ironic-pxe startup issues
Dan Prince [Fri, 7 Jul 2017 01:03:30 +0000 (21:03 -0400)]
Fix ironic-pxe startup issues

This patch updates the ironic-api docker service so that it
generates its config files in a unique config root. This
ensures that it doesn't have config files in the httpd
conf.d directory for both the API and PXE services thus
causing the API container to attempt to launch both of them.

This functionally fixes the Ironic API and PXE services with
docker so they once again can bring up an overcloud.

Change-Id: I537cd6a3337bf776ca38a279b7c130b6429eea04
Closes-bug: #1702799

7 years agoMerge "Bind mount needed cert for haproxy for HA too"
Jenkins [Wed, 12 Jul 2017 16:19:06 +0000 (16:19 +0000)]
Merge "Bind mount needed cert for haproxy for HA too"

7 years agoContainerize Manila Share service
Victoria Martinez de la Cruz [Wed, 7 Jun 2017 01:17:30 +0000 (22:17 -0300)]
Containerize Manila Share service

Change-Id: I797eea2f7788f65411964ccb852b5707e916416f
Partial-Bug: #1668922

7 years agoDrop ComputeServices from environments/docker.yaml
Dan Prince [Fri, 7 Jul 2017 20:05:43 +0000 (16:05 -0400)]
Drop ComputeServices from environments/docker.yaml

Change-Id: Ibfc568755764203b68aed524d6f334eeb7cd5da7
Closes-bug: #1703001

7 years agoAdd support for running crontabs in containers
Oliver Walsh [Thu, 29 Jun 2017 12:59:26 +0000 (13:59 +0100)]
Add support for running crontabs in containers

This change enables the puppet cron resource in docker-puppet.py and adds user
crontabs to the paths copied from the config containers.

Only the nova crontab is configured for now. Other services will require
similar changes to run their crontabs.

Partial-Bug: 1701254

Change-Id: I2d1d0f0d77908a132472cf4bc475f8bd526af504
Depends-On: Ie16fb4539481a3c192cff8220a97daa4c70467fc

7 years agoMerge "Remove ceilometer apache files on upgrade"
Jenkins [Wed, 12 Jul 2017 07:39:07 +0000 (07:39 +0000)]
Merge "Remove ceilometer apache files on upgrade"

7 years agoRun rsync for Swift without xinetd
Christian Schwede [Thu, 6 Jul 2017 18:42:40 +0000 (20:42 +0200)]
Run rsync for Swift without xinetd

The default in non-containerized environments is to run rsync within
xinetd for Red Hat-based deployments, however in an containerized
environment this is not really needed. Therefore run rsync directly
without being started by xinetd.

Change-Id: I08abd917eba08d1192437ddf96c71b06d099a3f8

7 years agoMerge "Switch from oslosphinx to openstackdocstheme"
Jenkins [Wed, 12 Jul 2017 03:14:53 +0000 (03:14 +0000)]
Merge "Switch from oslosphinx to openstackdocstheme"

7 years agoAllow to set Notification Driver to 'noop'
Emilien Macchi [Fri, 7 Jul 2017 18:35:28 +0000 (11:35 -0700)]
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

7 years agoAdd dependency relationship between nested get_attr targets
Zane Bitter [Tue, 11 Jul 2017 19:52:37 +0000 (15:52 -0400)]
Add dependency relationship between nested get_attr targets

Starting with Pike, Heat will do attribute resolution in a single pass. A
consequence of this is that when the result of a get_attr is passed to
another get_attr call, there must be a dependency relationship between the
resources so that the inner attribute is resolved first before we try to
determine which attributes are required from the resource in the outer
call.

There are two uses of nested dep_attr in the overcloud template. One (which
hopefully can be removed soon) is in the allNodesConfig resource. In this
case, the {{primary_role_name}}IpListMap already depends on the
ServiceNetMap.

The second is in the KeystoneAdminVip output. This patch makes the VipMap
depend on the ServiceNetMap so that attributes can be resolved in a single
pass in that case.

Change-Id: I438a79748b9b408ec1101271d96c60d84028b57e

7 years agoRemove hardcoded enable_load_balancer from Controller role
Steven Hardy [Thu, 6 Jul 2017 16:39:00 +0000 (17:39 +0100)]
Remove hardcoded enable_load_balancer from Controller role

This is associated with the haproxy service, so set the hieradata there
instead.  This is needed so we can render the controller role template
via j2, and also if anyone ever wants to run haproxy on some role other
then the Controller.

Change-Id: I82b992afe42f6da7788f6efca2366863c3bf68f7
Partially-Implements: blueprint composable-networks

7 years agoRemove controller specific bootstack_nodeid
Steven Hardy [Thu, 6 Jul 2017 16:31:25 +0000 (17:31 +0100)]
Remove controller specific bootstack_nodeid

This has been replaced for some time by bootstrap_nodeid which isn't
hard-coded to the Controller role.

Change-Id: I2c172de13646e5b88cb9930a93ca71fcc990e522
Depends-On: I0a9fced847caf344e5d26b452f1bd40afab8f029

7 years agoAllow modprobing from cinder-volume container
Jiri Stransky [Fri, 30 Jun 2017 09:45:53 +0000 (11:45 +0200)]
Allow modprobing from cinder-volume container

When using LVM/iSCSI backend, cinder-volume tries to modprobe configfs
module. We need the modules dir bind mounted for this to succeed.

Co-Authored-By: Gorka Eguileor <geguileo@redhat.com>
Change-Id: I7bfeaa66915e663726acdf3458db80821fbd3d6b
Closes-Bug: #1701321

7 years agoLVM in cinder-volume container without udev
Jiri Stransky [Tue, 27 Jun 2017 13:48:40 +0000 (15:48 +0200)]
LVM in cinder-volume container without udev

Disabling udev usage from LVM seems to be the only observed working
way of running containerized cinder-volume with local LVM backend.

I didn't come across reports that not using udev would have negative
impact on the functionality.

Additional info at
https://groups.google.com/forum/#!topic/docker-user/n4Xtvsb4RAw

Change-Id: I491795deab0c37d1bad3b50524481e0b76529667
Depends-On: I1bf395a6228dba66fa6bf9b8bcc9f3ac3d922a49
Closes-Bug: #1700982

7 years agoDon't confuse Heat with empty parameter_defaults
Jiri Stransky [Tue, 11 Jul 2017 12:33:57 +0000 (14:33 +0200)]
Don't confuse Heat with empty parameter_defaults

Apparently providing completely empty parameter_defaults in an
environment file can confuse Heat, and it seems like it doesn't try to
deploy any services on the overcloud in the multinode job. See the bug
for more details about the bug symptoms.

Change-Id: Ia9cb01b48087b78f66004263757590877219f743
Closes-Bug: #1703599

7 years agoFixing a bug when setting a password for ODL controller
Itzik Brown [Thu, 6 Jul 2017 10:42:12 +0000 (13:42 +0300)]
Fixing a bug when setting a password for ODL controller

Change-Id: I301f73801e95e607ed28992e68528f17843a0b6c
Closes-Bug: #1702435

7 years agoRevert "Revert "Blacklist support for ExtraConfig""
James Slagle [Mon, 26 Jun 2017 13:48:34 +0000 (09:48 -0400)]
Revert "Revert "Blacklist support for ExtraConfig""

There is a Heat patch posted (via Depends-On) that resolves the issue
that caused this to be reverted. This reverts the revert and we need to
make sure all the upgrades jobs pass before we merge this patch.

This reverts commit 69936229f4def703cd44ab164d8d1989c9fa37cb.
Closes-Bug: #1699463
implements blueprint disable-deployments

Change-Id: Iedf680fddfbfc020d301bec8837a0cb98d481eb5

7 years agoMerge "Copy only generated puppet files into the container"
Jenkins [Mon, 10 Jul 2017 17:20:09 +0000 (17:20 +0000)]
Merge "Copy only generated puppet files into the container"

7 years agoUse ServerOsCollectConfigData value in output
James Slagle [Fri, 7 Jul 2017 11:45:26 +0000 (07:45 -0400)]
Use ServerOsCollectConfigData value in output

Just use the value from the ServerOsCollectConfigData resource in the
output instead of recalculating the value for each role via jinja.

Change-Id: I4e3bf4f25c9a8f677d5d177eb409594193a86405

7 years agoAdd DeployedServerEnvironmentOutput
James Slagle [Fri, 28 Apr 2017 20:01:14 +0000 (16:01 -0400)]
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

7 years agoMerge "Modify generic role template to support custom networks"
Jenkins [Mon, 10 Jul 2017 13:11:52 +0000 (13:11 +0000)]
Merge "Modify generic role template to support custom networks"

7 years agoBind mount needed cert for haproxy for HA too
Martin André [Mon, 10 Jul 2017 11:25:17 +0000 (13:25 +0200)]
Bind mount needed cert for haproxy for HA too

haproxy needs the deployed SSL cert file to function when TLS is
enabled.

It is also required for the docker-puppet haproxy container since the
haproxy puppet module uses a validate_cmd to check the generated config
file is valid that fails when the required SSL cert is not present.
There is no clean way to disable this feature [1] so we need to bind
mount the cert into the container.

This commit applies the same change that was applied in
Id2df144b678769def204961236624091d4e5c457 for the non-ha case.

[1] https://github.com/puppetlabs/puppetlabs-haproxy/blob/4753ea5b2506ee093e9b4c8af6e91201d476d426/manifests/config.pp#L53-L57

Change-Id: I93e1ee86197bcf271f18a62a27c2f350ed3966ea
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
7 years agoAdded OvS permission workaround for enabling DPDK
Saravanan KR [Tue, 27 Jun 2017 13:47:43 +0000 (19:17 +0530)]
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

7 years agoCopy only generated puppet files into the container
Martin André [Wed, 21 Jun 2017 14:02:55 +0000 (16:02 +0200)]
Copy only generated puppet files into the container

This solves a problem with bind-mounts when the containers are holding
files descriptors open.

At the same time this makes the template more robust to puppet changes
since new config files will be available in the containers without
needing to update the templates.

Partial-Bug: #1698323
Change-Id: Ia4ad6d77387e3dc354cd131c2f9756939fb8f736

7 years agoDisable network validation in multinode jobs
Ben Nemec [Fri, 30 Jun 2017 19:04:35 +0000 (14:04 -0500)]
Disable network validation in multinode jobs

Sometimes the infracloud gateway refuses to ping even though
everything else is working fine.  Since we have coverage of this
functionality in the OVB jobs it should be safe to turn it off
here so it stops spuriously failing our jobs.

We can't just set the resource to OS::Heat::None because there
are other resources with dependencies on it.  Instead, this adds
a noop version of the validation software config that always
returns true.

Change-Id: I8361bc8be442b45c3ef6bdccdc53598fcb1d9540
Partial-Bug: 1680167

7 years agoMerge "Add in roles data validation"
Jenkins [Sat, 8 Jul 2017 02:14:13 +0000 (02:14 +0000)]
Merge "Add in roles data validation"

7 years agoMerge "Rename CongressApi to Congress (docker)"
Jenkins [Fri, 7 Jul 2017 19:05:08 +0000 (19:05 +0000)]
Merge "Rename CongressApi to Congress (docker)"

7 years agoMerge "Create NIC templates for Neutron Networker composable role"
Jenkins [Fri, 7 Jul 2017 18:39:04 +0000 (18:39 +0000)]
Merge "Create NIC templates for Neutron Networker composable role"

7 years agoMerge "Add sample usage of StorageMgmt network for compute nodes"
Jenkins [Fri, 7 Jul 2017 18:22:23 +0000 (18:22 +0000)]
Merge "Add sample usage of StorageMgmt network for compute nodes"

7 years agoRemove ceilometer apache files on upgrade
Pradeep Kilambi [Wed, 24 May 2017 17:52:21 +0000 (13:52 -0400)]
Remove ceilometer apache files on upgrade

Ceilometer API runs under apache. Since this service is
deprecated and disabled in pike, we need to ensure the
apache files are removed during upgrade.

Change-Id: I0c0913e74396bd463f5a6da46f83512bab77b75e

7 years agoAdd in roles data validation
Alex Schultz [Fri, 9 Jun 2017 14:59:51 +0000 (08:59 -0600)]
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

7 years agoRename CongressApi to Congress (docker)
Emilien Macchi [Thu, 22 Jun 2017 20:21:49 +0000 (16:21 -0400)]
Rename CongressApi to Congress (docker)

Before it was Congress, let's stay consistent and stop using CongressApi
in Docker service, because we release.

Change-Id: Id939b3d70e185da4279f3860812fa5dce27d64dd

7 years agoWrap ceilometer-upgrade in boostrap_host_exec
Martin André [Fri, 7 Jul 2017 13:58:08 +0000 (15:58 +0200)]
Wrap ceilometer-upgrade in boostrap_host_exec

This ensures the update only occures on the primary node.

Change-Id: Id58eb9dac65dc178fa863c9bc44b1ed440e26a77

7 years agoSwitch from oslosphinx to openstackdocstheme
Emilien Macchi [Tue, 27 Jun 2017 13:21:59 +0000 (09:21 -0400)]
Switch from oslosphinx to openstackdocstheme

As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0] https://review.openstack.org/#/c/472275/

Change-Id: Ib2b6afb7075c68fecf1fbeaf650a31a7494af49f

7 years agoMerge "Enable Neutron LBaaS Integration"
Jenkins [Thu, 6 Jul 2017 10:54:32 +0000 (10:54 +0000)]
Merge "Enable Neutron LBaaS Integration"

7 years agoMerge "Update cinder-netapp-config environment"
Jenkins [Wed, 5 Jul 2017 21:23:47 +0000 (21:23 +0000)]
Merge "Update cinder-netapp-config environment"

7 years agoMerge "Fix typo in roles/Networker.yaml"
Jenkins [Wed, 5 Jul 2017 20:28:55 +0000 (20:28 +0000)]
Merge "Fix typo in roles/Networker.yaml"

7 years agoModify generic role template to support custom networks
Steven Hardy [Thu, 1 Jun 2017 10:25:06 +0000 (11:25 +0100)]
Modify generic role template to support custom networks

Render all per-network resources and interfaces via j2 to enable
future support for custom networks via network_data.yaml

Note this doesn't enable custom networks for the built-in roles
as we skip j2 rendering for them, this will be resolved by converting
them to use the generic role template instead of the hard-coded
ones listed in the j2_excludes.yaml.

Depends-On: I18fa3829ff38ac200550d8e36bbe334c0005da22
Change-Id: I49565f9389f3ec9aef4861e23a3bed64a85501e6
Partially-Implements: blueprint composable-networks

7 years agoMerge "Adds docker OpenDaylight"
Jenkins [Wed, 5 Jul 2017 13:57:43 +0000 (13:57 +0000)]
Merge "Adds docker OpenDaylight"

7 years agoMerge "Update NovaCompute to consume CephClientKey"
Jenkins [Wed, 5 Jul 2017 13:40:07 +0000 (13:40 +0000)]
Merge "Update NovaCompute to consume CephClientKey"