Bug 1322336 - IPv6 overcloud deployment fails
Summary: IPv6 overcloud deployment fails
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: ga
: 8.0 (Liberty)
Assignee: Giulio Fidente
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-30 10:31 UTC by Marius Cornea
Modified: 2016-04-15 14:31 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.14-4.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-15 14:31:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 297222 0 None None None 2016-03-30 11:07:56 UTC
OpenStack gerrit 298827 0 None None None 2016-03-30 14:09:30 UTC
Red Hat Product Errata RHBA-2016:0637 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director release candidate Bug Fix Advisory 2016-04-15 18:28:05 UTC

Description Marius Cornea 2016-03-30 10:31:46 UTC
Description of problem:
IPv6 overcloud deployment fails with the following error:

[root@overcloud-controller-0 hieradata]# FACTER_heat_outputs_path="/var/run/heat-config/heat-config-puppet/4d333b62-073d-4209-a95a-0fc499d14655"  FACTER_fqdn="overcloud-controller-0.localdomain"  FACTER_deploy_config_name="ControllerLoadBalancerDeployment_Step1"  puppet apply --detailed-exitcodes /var/lib/heat-config/heat-config-puppet/4d333b62-073d-4209-a95a-0fc499d14655.pp 
Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass
Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass
Error: Error from DataBinding 'hiera' while looking up 'tripleo::packages::enable_install': (<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27 on node overcloud-controller-0.localdomain
Wrapped exception:
(<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27
Wrapped exception:
(<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27
Error: Error from DataBinding 'hiera' while looking up 'tripleo::packages::enable_install': (<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27 on node overcloud-controller-0.localdomain


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.8.14-1.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Deploy IPv6 enabled overcloud
export THT=/usr/share/openstack-tripleo-heat-templates
openstack overcloud deploy --templates \
-e $THT/environments/network-isolation-v6.yaml \
-e ~/templates/network-environment-v6.yaml \
-e $THT/environments/storage-environment.yaml \
-e ~/templates/enable-tls.yaml \
-e ~/templates/inject-trust-anchor.yaml \
--control-scale 3 \
--compute-scale 1 \
--ceph-storage-scale 2 \
--ntp-server clock.redhat.com \
--libvirt-type qemu


Actual results:
Deployment fails:

    "deploy_stderr": "Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\nCould not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\n\u001b[1;31mError: Error from DataBinding 'hiera' while looking up 'tripleo::packages::enable_install': (<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27 on node overcloud-controller-2.localdomain\nWrapped exception:\n(<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27\nWrapped exception:\n(<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27\u001b[0m\n\u001b[1;31mError: Error from DataBinding 'hiera' while looking up 'tripleo::packages::enable_install': (<unknown>): found unexpected ':' while scanning a plain scalar at line 296 column 27 on node overcloud-controller-2.localdomain\u001b[0m\n", 
    "deploy_status_code": 1


Expected results:
Deployment succeeds.

Additional info:

If I comment out the following value in hiera then running puppet manually works:

awk '{ if (NR==296) print $0 }' /etc/puppet/hieradata/controller.yaml

cinder_iscsi_ip_address: [fd00:fd00:fd00:3000::15]

Comment 2 Attila Darazs 2016-03-31 11:58:27 UTC
Another data point: I manually modified the tripleo-heat-templates to include the changes from 297222 and the deployment succeeded with IPv6. It failed without. Latest poodle.

Comment 7 errata-xmlrpc 2016-04-15 14:31:41 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/RHBA-2016-0637.html


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