Bug 1022580

Summary: netns.py syntax error
Product: [Community] RDO Reporter: Pádraig Brady <pbrady>
Component: openstack-puppet-modulesAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2013.2.1-0.12.dev835.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:02:22 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 Pádraig Brady 2013-10-23 14:53:53 UTC
With packstack 806 I noticed this in a test run of a RHEL + neutron CI test

======================================================================
04:53:38 ERROR: Exercise the netns functionality required by neutron.
04:53:38 ----------------------------------------------------------------------
04:53:38 Traceback (most recent call last):
04:53:38   File "/usr/lib/python2.6/site-packages/packstack/puppet/modules/packstack/lib/facter/netns.py", line 156, in test_neutron_netns_cmds
04:53:38     e('%(ns1)s ip link delete %(veth1_1)s')
04:53:38   File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
04:53:38     self.gen.throw(type, value, traceback)
04:53:38   File "/usr/lib/python2.6/site-packages/packstack/puppet/modules/packstack/lib/facter/netns.py", line 73, in add_namespaces
04:53:38     yield ns1, ns2
04:53:38   File "/usr/lib/python2.6/site-packages/packstack/puppet/modules/packstack/lib/facter/netns.py", line 122, in test_neutron_netns_cmds
04:53:38     e('%(ns1)s iptables-save > %s' % iptables_filename)
04:53:38 TypeError: format requires a mapping
04:53:38 
04:53:38 ----------------------------------------------------------------------