Bug 1457259

Summary: [OSP 9] Packstack fails to deploy with an error during Puppet run.
Product: Red Hat OpenStack Reporter: Jason Joyce <jjoyce>
Component: openstack-packstackAssignee: Alfredo Moralejo <amoralej>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: urgent Docs Contact:
Priority: high    
Version: 9.0 (Mitaka)CC: amoralej, aortega, apevec, mburns, srevivo
Target Milestone: ---Keywords: Rebase, Triaged, ZStream
Target Release: 9.0 (Mitaka)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-8.0.3-1.el7ost.src.rpm Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 14:49:23 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 Jason Joyce 2017-05-31 12:24:43 UTC
The following error occurred during a packstack deploy:

ERROR : Error appeared during Puppet run: 192.168.1.13_nova.pp
Error: Duplicate declaration: Nova_config[libvirt/live_migration_uri] is already declared in file /var/tmp/packstack/92ea824ab1874b09acf7b7c1d006f3a2/manifests/192.168.1.13_nova.pp:113; cannot redeclare at /var/tmp/packstack/92ea824ab1874b09acf7b7c1d006f3a2/modules/nova/manifests/migration/libvirt.pp:122 on node a1f5ad095f23912684d7246e8f59cbc6aio-1.openstacklocal

Comment 2 Red Hat Bugzilla Rules Engine 2017-05-31 12:25:39 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 3 Alan Pevec 2017-05-31 12:38:59 UTC
This was with openstack-puppet-modules-8.1.13-2.el7ost
* Wed May 10 2017 Alex Schultz <aschultz> 1:8.1.13-2
- Add support for migration over SSH (rhbz#1449324)

which updated puppet-nova, so we need backport of
Adjust live migration config to changes in puppet-nova
https://review.openstack.org/#/q/I43e3a2171981886da5e6c779fd24510540a7c07a,n,z

Comment 4 Alfredo Moralejo 2017-05-31 14:50:22 UTC
I'm getting following error running nova manifest with proposed patch:

Error: Could not apply complete catalog: Found 1 dependency cycle:
(File_line[/etc/libvirt/libvirtd.conf auth_tcp] => Service[libvirt] => Class[Nova::Compute::Libvirt] => Class[Nova::Migration::Libvirt] => File_line[/etc/libvirt/libvirtd.conf auth_tcp])

I'm still investigating it.

Comment 6 Mike Burns 2017-06-09 13:27:55 UTC
CI for packstack is passing, marking verified

Comment 8 errata-xmlrpc 2017-06-19 14: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://access.redhat.com/errata/RHBA-2017:1501