Bug 982097

Summary: vdsm: vdsm is not working if vdsm-gluster packages are not installed
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Timothy Asir <tjeyasin>
Component: vdsmAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: dtsang, knarra, mmahoney, pprakash, rhs-bugs, sdharane, ssampat
Target Milestone: ---   
Target Release: RHGS 2.1.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: vdsm-4.10.2-22.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 22:26:01 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 Timothy Asir 2013-07-08 07:05:20 UTC
Description of problem:

Unable to start vdsm service if vdsm-gluster packages are not installed.
vdsm faild with supervdsm connection error during any vdsm command execution

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


How reproducible: Always

Steps to Reproduce:
1. install vdsm packages except vdsm-gluster rpm
2. start the vdsm service
3. try any vdsm command 

Expected results:
it shoud work without any issue

Additional info:


MainThread::ERROR::2013-07-08 10:49:52,607::misc::173::Storage.Misc::(panic) Panic: Couldn't connect to supervdsm
Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsm.py", line 195, in launch
    utils.retry(self._connect, Exception, timeout=60, tries=3)
  File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 935, in retry
    return func()
  File "/usr/share/vdsm/supervdsm.py", line 181, in _connect
    self._manager.connect()
  File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
    conn = Client(self._address, authkey=self._authkey)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
    c = SocketClient(address)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in SocketClient
    s.connect(address)
  File "<string>", line 1, in connect
error: [Errno 2] No such file or directory
MainThread::INFO::2013-07-08 10:49:52,686::vdsm::88::vds::(run) I am the actual vdsm 4.10.2-22.5.el6rhs localhost.localdomain (2.6.32-358.11.1.el6.x86_64)

Comment 2 Timothy Asir 2013-07-09 12:30:21 UTC
There is a bug in VDSM. It's try to fetch gluster public functions without checking its availability, this fails supervdsm to start and vdsm doesn't work.

Comment 3 Prasanth 2013-07-09 12:44:40 UTC
Overwritten due to Mid-air-collision! Reverting he changes.

Comment 4 Prasanth 2013-07-17 10:54:25 UTC
Verified in vdsm-4.10.2-22.6

Comment 5 Scott Haines 2013-09-23 22:26:01 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html