Bug 1115283 - VDSM fail to start after upgrade from VDSM 3.4
Summary: VDSM fail to start after upgrade from VDSM 3.4
Keywords:
Status: CLOSED DUPLICATE of bug 1114993
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.5
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Douglas Schilling Landgraf
QA Contact: Gil Klein
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-02 06:36 UTC by Meni Yakove
Modified: 2016-02-10 19:40 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-15 02:16:16 UTC
oVirt Team: Node
Embargoed:


Attachments (Terms of Use)

Description Meni Yakove 2014-07-02 06:36:54 UTC
Description of problem:
VDSM fail to set libvirt password and then fail to start VDSM service.

Checking configuration status...


Running configure...
Reconfiguration of sanlock is done.

Done configuring modules to VDSM.
Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 154, in main
    return tool_command[cmd]["command"](*args)
  File "/usr/lib64/python2.6/site-packages/vdsm/tool/passwd.py", line 50, in set_saslpasswd
    stderr=subprocess.PIPE, close_fds=True)
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

vdsm-tool configure --force is not solve this issue


WA is to set libvirt passwork manually:
saslpasswd2 -a libvirt vdsm@ovirt


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


How reproducible:


Steps to Reproduce:
1. Install VDSM 3.4 
2. Upgrade to VDSM 3.5



Additional info:

/etc/init.d/vdsmd start
initctl: Job is already running: libvirtd
vdsm: Running mkdirs
vdsm: Running configure_coredump
vdsm: Running configure_vdsm_logs
vdsm: Running run_init_hooks
vdsm: Running gencerts
vdsm: Running check_is_configured
libvirt is already configured for vdsm
vdsm: Running validate_configuration
SUCCESS: ssl configured to true. No conflicts
vdsm: Running prepare_transient_repository
vdsm: Running syslog_available
vdsm: Running nwfilter
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
libvir: XML-RPC error : authentication failed: authentication failed
Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 154, in main
    return tool_command[cmd]["command"](*args)
  File "/usr/lib64/python2.6/site-packages/vdsm/tool/nwfilter.py", line 37, in main
    conn = libvirtconnection.get(None, False)
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 151, in get
    conn = _open_qemu_connection()
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 95, in _open_qemu_connection
    return utils.retry(libvirtOpen, timeout=10, sleep=0.2)
  File "/usr/lib64/python2.6/site-packages/vdsm/utils.py", line 1086, in retry
    return func()
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed: authentication failed
vdsm: stopped during execute nwfilter task (task returned with error code 1).
vdsm start                                                 [FAILED]

Comment 1 Oved Ourfali 2014-07-03 12:36:32 UTC
Meni - why opening on ovirt-node? Does it happen only on ovirt-node?

Comment 2 Barak 2014-07-06 12:21:04 UTC
Meni,

 According to the bug description the vdsm upgrade is manual.
 How can this happen on ovirt-node ?

Comment 3 Barak 2014-07-06 12:22:29 UTC
Yaniv,

Please take a look it looks like NOTABUG ... as long as this is a manual upgrade than it could be simply rerun vdsm-tool ?

Comment 4 Yaniv Bronhaim 2014-07-06 13:29:44 UTC
I'm not sure its not a bug . ""VDSM fail to set libvirt password and then fail to start VDSM service."" in that case means that /etc/pki/vdsm/keys/libvirt_password wasn't exist after the upgrade.


is it reproducible ? can you describe the steps that lead to that? I upgraded many time 3.4 to 3.5 and never encounter such issue.

Comment 5 Douglas Schilling Landgraf 2014-07-08 03:09:09 UTC
Hi Yaniv,

Doesn't it duplicates BZ#1114993? At least the symptom/traceback/ovirt version seems the same.

Comment 6 Fabian Deutsch 2014-07-08 14:41:51 UTC
Meni, to help to identify where the problem lies.
Please state the exact steps you took (how you deployed the iso, how you ran the upgrade).
And what - if - oVirt Node ISO you used.

Comment 7 Fabian Deutsch 2014-07-08 14:44:31 UTC
Douglas, here you go, your first Node bug :)

Comment 8 Meni Yakove 2014-07-13 11:19:42 UTC
Sorry it's was on VDSM.
and I think it's duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1114993

Comment 9 Douglas Schilling Landgraf 2014-07-15 02:16:16 UTC
Marking as duplicate, fell free to re-open anytime if the error persist.

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


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