Bug 1317590

Summary: HA | Extermal LB | Deployment fails when deploying with external load balancer.
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Jiri Stransky <jstransk>
Status: CLOSED NOTABUG QA Contact: Arik Chernetsky <achernet>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: mburns, rhel-osp-director-maint, ushkalim
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-21 13:23:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Leonid Natapov 2016-03-14 15:45:46 UTC
openstack-tripleo-heat-templates-kilo-0.8.10-2.el7ost.noarch
openstack-puppet-modules-7.0.13-1.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.4-1.el7ost.noarch

Description of problem:

I am trying to deploy overcloud with external lb and deployment fails.
It fails after all nodes are installed.

[stack@puma42 ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| ID                                   | Name                    | Status | Task State | Power State | Networks            |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| fb75a9b3-8045-42c3-84c9-e994bfc21b72 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.0.2.14 |
| a94cb453-16df-472d-8308-f6e8bdb1797f | overcloud-controller-1  | ACTIVE | -          | Running     | ctlplane=192.0.2.13 |
| c8ff1fe8-ea26-4269-a3ec-edd4a8b5d831 | overcloud-controller-2  | ACTIVE | -          | Running     | ctlplane=192.0.2.15 |
| 3f3af12f-1e0c-409f-8928-e1653035a497 | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.0.2.12 |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+

Here is the error that I get.

2016-03-14 15:26:35 [ExternalPort]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:36 [ManagementPort]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:36 [StoragePort]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:36 [TenantPort]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:36 [TenantPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:36 [ExternalPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:36 [ManagementPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:37 [InternalApiPort]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:37 [UpdateDeployment]: CREATE_IN_PROGRESS  state changed
2016-03-14 15:26:37 [StoragePort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:37 [StorageMgmtPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:38 [InternalApiPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:39 [ManagementPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:39 [TenantPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:40 [StorageMgmtPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:40 [StoragePort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:40 [InternalApiPort]: CREATE_COMPLETE  state changed
2016-03-14 15:26:41 [ExternalPort]: CREATE_COMPLETE  state changed
2016-03-14 15:28:21 [UpdateDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment succeeded
2016-03-14 15:28:21 [UpdateDeployment]: CREATE_COMPLETE  state changed
2016-03-14 15:28:21 [overcloud-Controller-j3s2i2v2owzf-0-ukrrm45rycr6]: CREATE_FAILED  Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:22 [0]: CREATE_FAILED  resources[0]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:34 [2]: CREATE_FAILED  resources[2]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:34 [UpdateDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment succeeded
2016-03-14 15:28:34 [UpdateDeployment]: CREATE_COMPLETE  state changed
2016-03-14 15:28:34 [overcloud-Controller-j3s2i2v2owzf-2-imhrbrpsthgj]: CREATE_FAILED  Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:34 [2]: CREATE_FAILED  resources[2]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:43 [UpdateDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment succeeded
2016-03-14 15:28:44 [1]: CREATE_FAILED  resources[1]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:44 [UpdateDeployment]: CREATE_COMPLETE  state changed
2016-03-14 15:28:44 [overcloud-Controller-j3s2i2v2owzf-1-ljkpggjqp4a5]: CREATE_FAILED  Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:45 [overcloud-Controller-j3s2i2v2owzf]: UPDATE_FAILED  resources[0]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:46 [Controller]: CREATE_FAILED  resources.Controller: resources[0]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
2016-03-14 15:28:47 [overcloud]: CREATE_FAILED  Resource CREATE failed: resources.Controller: resources[0]: Resource CREATE failed: The Referenced Attribute (ManagementPort ip_subnet) is incorrect.
Stack overcloud CREATE_FAILED
Heat Stack create failed.


Deployment command I use:

openstack overcloud deploy --templates  -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e network-environment.yaml --control-scale 3 --compute-scale 1 --ntp-server 10.11.160.238 -e /usr/share/openstack-tripleo-heat-templates/environments/external-loadbalancer-vip.yaml -e external-lb.yaml


Without external load balancer deployment successfully finishes.

Here is the deployment command that I use when deploying without external lb:

openstack overcloud deploy --templates  -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e network-environment.yaml --control-scale 3 --compute-scale 1 --ntp-server 10.11.160.238


How reproducible:
100%

Steps to Reproduce:
1.Try to deploy overcloud with external lb.
2.
3.

Actual results:
Deployment fails.

Expected results:
Deployment succeeds.