Bug 1298964 - packstack fails with "Nova_config[DEFAULT/auto_assign_floating_ip] is already declared in file"
Summary: packstack fails with "Nova_config[DEFAULT/auto_assign_floating_ip] is already...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Martin Magr
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 14:32 UTC by Jon Schlueter
Modified: 2016-04-15 13:46 UTC (History)
5 users (show)

Fixed In Version: openstack-packstack-7.0.0-0.11.dev1692.g1b5e83b.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-15 13:46:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 268178 0 None None None 2016-01-15 15:04:06 UTC
OpenStack gerrit 273091 0 None None None 2016-01-27 15:04:55 UTC
Red Hat Product Errata RHBA-2016:0636 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 release candidate Bugfix Advisory 2016-04-15 17:45:07 UTC

Description Jon Schlueter 2016-01-15 14:32:09 UTC
Description of problem:

packstack fails with:

Error: Duplicate declaration: Nova_config[DEFAULT/auto_assign_floating_ip] is already declared in file /var/tmp/packstack/b4646346f5d94fbc8b73428a1c5b41f5/manifests/172.16.32.11_nova.pp:257


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


How reproducible:

Always


Steps to Reproduce:
1. packstack install using attached config file
2.
3.

Actual results:

00:13:26.122 
172.16.32.11_nova.pp:                             [ ERROR ]
00:13:26.123 Applying Puppet manifests                         [ ERROR ]
00:13:26.124 
00:13:26.125 ERROR : Error appeared during Puppet run: 172.16.32.11_nova.pp
00:13:26.125 Error: Duplicate declaration: Nova_config[DEFAULT/auto_assign_floating_ip] is already declared in file /var/tmp/packstack/b4646346f5d94fbc8b73428a1c5b41f5/manifests/172.16.32.11_nova.pp:257; cannot redeclare at /var/tmp/packstack/b4646346f5d94fbc8b73428a1c5b41f5/modules/nova/manifests/network.pp:123 on node uk1pr-rhos-ci-20-rh-pud-pksk-controller.novalocal
00:13:26.128 You will find full trace in log /var/tmp/packstack/20160113-010457-xmpT35/manifests/172.16.32.11_nova.pp.log
00:13:26.129 

Expected results:

Install completes

Additional info:

<mmagr> I my guess is that in the past when installing nova-network the puppet modules did not set auto_assign_floating_ip config, so we did workaround for this: https://github.com/openstack/packstack/blob/stable/liberty/packstack/puppet/templates/nova_network.pp#L4

<mmagr> unfortunately current implementation in modules is doing so: https://github.com/redhat-openstack/openstack-puppet-modules/blob/stable/liberty/nova/manifests/network.pp#L122

<mmagr> jschlueter, so we have duplicate declaration

Comment 1 Jon Schlueter 2016-01-15 14:32:55 UTC
Created attachment 1115170 [details]
packstack answer file

Comment 6 Yogev Rabl 2016-04-10 14:25:05 UTC
verified on 
openstack-packstack-2015.1-0.16.dev1589.g1d6372f.el7ost.noarch

Comment 8 errata-xmlrpc 2016-04-15 13:46:44 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-0636.html


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