Bug 1367931

Summary: rhel-osp-director: 9.0 undercloud deployment fails: Error: Duplicate declaration: Sysctl::Value[net.ipv4.ip_nonlocal_bind] is already declared; cannot redeclare at /etc/puppet/modules/tripleo/manifests/loadbalancer.pp:960 on node instack.localdomain
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED DUPLICATE QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 9.0 (Mitaka)CC: dbecker, mburns, morazi, rhel-osp-director-maint
Target Milestone: async   
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 21:24:26 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:
Embargoed:

Description Alexander Chuzhoy 2016-08-17 21:04:56 UTC
rhel-osp-director:   9.0 undercloud deployment fails: Error: Duplicate declaration: Sysctl::Value[net.ipv4.ip_nonlocal_bind] is already declared; cannot redeclare at /etc/puppet/modules/tripleo/manifests/loadbalancer.pp:960 on node instack.localdomain

Environment:
instack-undercloud-4.0.0-12.el7ost.noarch

Steps to reproduce:
1. Attempt to deploy the undercloud.

Result:
The undercloud deployment fails with:

Error: Duplicate declaration: Sysctl::Value[net.ipv4.ip_nonlocal_bind] is already declared; cannot redeclare at /etc/puppet/modules/tripleo/manifests/loadbalancer.pp:960 on node instack.localdomain
Error: Duplicate declaration: Sysctl::Value[net.ipv4.ip_nonlocal_bind] is already declared; cannot redeclare at /etc/puppet/modules/tripleo/manifests/loadbalancer.pp:960 on node instack.localdomain
+ rc=1
+ set -e
+ echo 'puppet apply exited with exit code 1'
puppet apply exited with exit code 1
+ '[' 1 '!=' 2 -a 1 '!=' 0 ']'
+ exit 1
[2016-08-17 16:30:57,400] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

[2016-08-17 16:30:57,400] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 845, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 735, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 406, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1


Expected result:
Successfully deploy undercloud.

Comment 2 Mike Burns 2016-08-17 21:24:26 UTC
This appears to be caused by the fix for bug 1348700 which is being reverted, so closing this a duplicate

*** This bug has been marked as a duplicate of bug 1348700 ***