Bug 1260866

Summary: rhcert listener doesn't start for tool which is used for Citrix LBaas agent certificartion
Product: Red Hat Certification Program Reporter: Deepika Khairnar <deepika.khairnar>
Component: redhat-certificationAssignee: Greg Nichols <gnichols>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.0CC: brose, gnichols, ndahiya
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 13:17:52 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:
Attachments:
Description Flags
Attached file contains all steps followed while installation of tool none

Description Deepika Khairnar 2015-09-08 06:00:21 UTC
Created attachment 1071199 [details]
Attached file contains all steps followed while installation of tool

Description of problem:
rhcert listener daemon does not  start


Version-Release number of selected component (if applicable):
redhat-certification-openstack-1.0.0-1.el7.noarch

How reproducible:
Every time getting same issue 

Steps to Reproduce:
1.install redhat-certification
2.rhcert-backend server start --debug=high
 rhcert-backend server listener --debug=high
3. Check logs 

Actual results:


Expected results:
listener starts instead of resulting in a traceback.

Additional info:
# rhcert-backend server status
registered Test from rhcert.test
The rhcert daemon is running
The rhcert listener is NOT running

Additional info:
Searching /usr/lib/python2.7/site-packages/rhcert/suites...
sys.path:
['/usr/bin', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages/rhcert/suites']
importing suite openstack as module
Skipping class <class 'rhcert.test.Test'> - constructor takes 2 args
Skipping class <class 'rhcert.test.UnitTest'> - constructor takes 5 args
Skipping class <class 'openstack.base.OpenStackTest'> - constructor takes 2 args
Instantiated test class <class 'openstack.verify.OpenStackVerifyTest'>

Starting RedHatCertDaemon at 2015-09-07 11:47:52
The rhcert daemon is already started
The rhcert listener is running
Stopping rhcert listener
Starting listener
Traceback (most recent call last):
  File "/usr/bin/rhcert-backend", line 37, in <module>
    success = rhcertBackend.do(args)
  File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 180, in do
    return self.doServer(args)
  File "/usr/lib/python2.7/site-packages/rhcert/client/backend.py", line 224, in doServer
    return listener.run()
  File "/usr/lib/python2.7/site-packages/rhcert/listener/listen.py", line 123, in run
    allow_none=True)
  File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 593, in __init__
    SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
  File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

Comment 4 Greg Nichols 2015-10-28 13:17:52 UTC

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