Bug 1317594 - HA | External LB | Deployment fails when deploying with external load balancer.
Summary: HA | External LB | Deployment fails when deploying with external load balancer.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Marius Cornea
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 15:52 UTC by Leonid Natapov
Modified: 2016-04-10 10:17 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.14-1.el7ost
Doc Type: Bug Fix
Doc Text:
Cause: The external-loadbalancer-vip.yaml environment file contained a reference to the Management network which is optional and disabled by default. Consequence: Deployments with external load balancer which did not use the Management network failed. Fix: Comment out the Management network from the external-loadbalancer-vip.yaml environment file. Result: External load balancer deployments succeed and the Management network can be enabled when needed.
Clone Of:
Environment:
Last Closed: 2016-04-07 21:49:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 294607 0 None MERGED Comment out the ManagementPort in external-loadbalancer-vip.yaml 2020-06-09 19:36:38 UTC
OpenStack gerrit 296138 0 None MERGED Comment out the ManagementPort in external-loadbalancer-vip.yaml 2020-06-09 19:36:38 UTC
Red Hat Product Errata RHEA-2016:0604 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director Enhancement Advisory 2016-04-08 01:03:56 UTC

Description Leonid Natapov 2016-03-14 15:52:06 UTC
Description of problem:

Overcloud deployment fails when deploying  with external load balacer templates.
Getting following error:

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.

The 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 deploys fine.
The deployment command I use without ex-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

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1.Deploy overcloud with external load balancer.
2.
3.

Actual results:
Deployment fails.

Expected results:
Deployment succeeds.

Additional info:
openstack-tripleo-heat-templates-0.8.10-2.el7ost.noarch
openstack-tripleo-puppet-elements-0.0.4-1.el7ost.noarch
openstack-puppet-modules-7.0.13-1.el7ost.noarch

Comment 2 Marius Cornea 2016-03-18 13:11:33 UTC
In /usr/share/openstack-tripleo-heat-templates/environments/external-loadbalancer-vip.yaml there is a reference to a ManagementPort which is not activated by default:

OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management_from_pool.yaml

I was able to get past this error by commenting out the line mentioned above.

Comment 3 Giulio Fidente 2016-03-18 13:32:49 UTC
Thanks Marius, as per comment #2 we should indeed comment that line and the sample IPs provided at [1] for consistency.

I think we might also add the commented lines in external-loadbalancer-vip-v6.yaml

https://github.com/openstack/tripleo-heat-templates/blob/master/environments/external-loadbalancer-vip.yaml#L38-L39

Comment 5 Leonid Natapov 2016-04-03 06:49:26 UTC
openstack-tripleo-heat-templates-0.8.14-1.el7ost

problematic lines were commented as requsted in /usr/share/openstack-tripleo-heat-templates/environments/external-loadbalancer-vip

ex-lb can be deployed.


OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt_from_pool.yaml
  OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant_from_pool.yaml
  # Management network is optional and disabled by default
  #OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management_from_pool.yaml

Comment 7 errata-xmlrpc 2016-04-07 21:49:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0604.html


Note You need to log in before you can comment on or make changes to this bug.