Bug 1155522
| Summary: | Restarting supervdsm service also restart vdsm service when using HOST with RHEL7 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Gal Amado <gamado> | ||||
| Component: | vdsm | Assignee: | Nobody <nobody> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.5.0 | CC: | bazulay, danken, ecohen, gamado, gklein, iheim, lpeer, lsurette, ybronhei, yeylon | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 3.5.0 | Flags: | gamado:
needinfo-
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-22 09:58:52 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Gal Amado
2014-10-22 09:46:27 UTC
Created attachment 949325 [details]
relevant logs
That's not a bug. In el6 vdsm kills itself only when it needs to use supervdsmd, and finds out that it was restarted. In el7, systemd takes care of that dependency. ok, maybe for 3.5 -
JsonRpc (StompReactor)::DEBUG::2014-10-22 12:32:24,803::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'>
Thread-15::DEBUG::2014-10-22 12:32:24,806::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpcServer::DEBUG::2014-10-22 12:32:24,804::__init__::504::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request
MainThread::DEBUG::2014-10-22 12:32:40,166::vdsm::58::vds::(sigtermHandler) Received signal 15
MainThread::DEBUG::2014-10-22 12:32:40,167::protocoldetector::135::vds.MultiProtocolAcceptor::(stop) Stopping Acceptor
MainThread::INFO::2014-10-22 12:32:40,167::__init__::563::jsonrpc.JsonRpcServer::(stop) Stopping JsonRPC Server
Detector thread::DEBUG::2014-10-22 12:32:40,171::protocoldetector::106::vds.MultiProtocolAcceptor::(_cleanup) Cleaning Acceptor
MainThread::INFO::2014-10-22 12:32:40,174::vmchannels::188::vds::(stop) VM channels listener was stopped.
we get the sigterm and restarted.
but i noticed with 3.4 over rhel7 that when supervdsmd is restart we get -
VM Channels Listener::INFO::2014-10-22 12:18:39,822::vmChannels::174::vds::(run) Starting VM channels listener thread.
storageRefresh::DEBUG::2014-10-22 12:18:39,854::multipath::110::Storage.Misc.excCmd::(rescan) '/usr/bin/sudo -n /sbin/multipath' (cwd None)
MainThread::WARNING::2014-10-22 12:18:39,995::BindingJsonRpc::107::BindingJsonRpc::(start) Could not listen on reactor 'AsyncoreReactor'
Traceback (most recent call last):
File "/usr/share/vdsm/BindingJsonRpc.py", line 101, in start
self._createTcpListener(cfg)
File "/usr/share/vdsm/BindingJsonRpc.py", line 69, in _createTcpListener
self._onAccept)
File "/usr/lib/python2.7/site-packages/yajsonrpc/asyncoreReactor.py", line 196, in createListener
l = AsyncoreListener(self, address, acceptHandler)
File "/usr/lib/python2.7/site-packages/yajsonrpc/asyncoreReactor.py", line 125, in __init__
self.listen(5)
File "/usr/lib64/python2.7/asyncore.py", line 338, in listen
return self.socket.listen(num)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
File "/usr/lib64/python2.7/socket.py", line 170, in _dummy
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
storageRefresh::DEBUG::2014-10-22 12:18:40,064::multipath::110::Storage.Misc.excCmd::(rescan) SUCCESS: <err> = ''; <rc> = 0
storageRefresh::DEBUG::2014-10-22 12:18:40,076::lvm::497::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the
I wonder if its related..
ok.. the sigterm from systemd leaded to close the fd and back then (3.4) we didn't catch the exception. so as far as it looks, its actually notabug, just different behavior which requires to change the test case. |