Bug 982097 - vdsm: vdsm is not working if vdsm-gluster packages are not installed
Summary: vdsm: vdsm is not working if vdsm-gluster packages are not installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: vdsm
Version: 2.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
: RHGS 2.1.0
Assignee: Timothy Asir
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-08 07:05 UTC by Timothy Asir
Modified: 2015-05-15 18:37 UTC (History)
7 users (show)

Fixed In Version: vdsm-4.10.2-22.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 22:26:01 UTC
Embargoed:


Attachments (Terms of Use)

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


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