[ovirt-users] Adding new Host - Connection to localhost:54321 refused

Udaya Kiran P ukiran770 at yahoo.in
Wed Jul 23 06:11:22 EDT 2014


Hi David,

I see vdsm log is empty.

supervdsm.log has below messages.

MainThread::DEBUG::2014-07-23 03:00:42,250::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:00:42,251::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:00:42,282::supervdsmServer::384::SuperVdsm.Server::(main) Making sure I'm root - SuperVdsm
MainThread::DEBUG::2014-07-23 03:00:42,282::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd args
MainThread::DEBUG::2014-07-23 03:00:42,283::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-07-23 03:00:42,283::supervdsmServer::400::SuperVdsm.Server::(main) Setting up keep alive thread
MainThread::DEBUG::2014-07-23 03:00:42,283::supervdsmServer::406::SuperVdsm.Server::(main) Creating remote object manager
MainThread::DEBUG::2014-07-23 03:00:42,287::supervdsmServer::417::SuperVdsm.Server::(main) Started serving super vdsm object
sourceRoute::DEBUG::2014-07-23 03:00:42,288::sourceRouteThread::56::root::(_subscribeToInotifyLoop) sourceRouteThread.subscribeToInotifyLoop started
MainThread::DEBUG::2014-07-23 03:04:41,997::supervdsmServer::424::SuperVdsm.Server::(main) Terminated normally
MainThread::DEBUG::2014-07-23 03:09:00,245::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:09:00,253::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:09:00,344::supervdsmServer::384::SuperVdsm.Server::(main) Making sure I'm root - SuperVdsm
MainThread::DEBUG::2014-07-23 03:09:00,344::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd args
MainThread::DEBUG::2014-07-23 03:09:00,344::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-07-23 03:09:00,345::supervdsmServer::400::SuperVdsm.Server::(main) Setting up keep alive thread
MainThread::DEBUG::2014-07-23 03:09:00,345::supervdsmServer::406::SuperVdsm.Server::(main) Creating remote object manager
MainThread::DEBUG::2014-07-23 03:09:00,348::supervdsmServer::417::SuperVdsm.Server::(main) Started serving super vdsm object
sourceRoute::DEBUG::2014-07-23 03:09:00,348::sourceRouteThread::56::root::(_subscribeToInotifyLoop) sourceRouteThread.subscribeToInotifyLoop started
MainThread::DEBUG::2014-07-23 03:20:29,425::supervdsmServer::424::SuperVdsm.Server::(main) Terminated normally
MainThread::DEBUG::2014-07-23 03:35:47,876::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:35:48,002::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 03:35:48,033::supervdsmServer::384::SuperVdsm.Server::(main) Making sure I'm root - SuperVdsm
MainThread::DEBUG::2014-07-23 03:35:48,034::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd args
MainThread::DEBUG::2014-07-23 03:35:48,034::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-07-23 03:35:48,034::supervdsmServer::400::SuperVdsm.Server::(main) Setting up keep alive thread
MainThread::DEBUG::2014-07-23 03:35:48,035::supervdsmServer::406::SuperVdsm.Server::(main) Creating remote object manager
MainThread::DEBUG::2014-07-23 03:35:48,037::supervdsmServer::417::SuperVdsm.Server::(main) Started serving super vdsm object
sourceRoute::DEBUG::2014-07-23 03:35:48,038::sourceRouteThread::56::root::(_subscribeToInotifyLoop) sourceRouteThread.subscribeToInotifyLoop started
MainThread::DEBUG::2014-07-23 03:52:19,564::supervdsmServer::424::SuperVdsm.Server::(main) Terminated normally
MainThread::DEBUG::2014-07-23 04:15:34,269::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 04:15:34,269::netconfpersistence::134::root::(_getConfigs) Non-existing config set.
MainThread::DEBUG::2014-07-23 04:15:34,300::supervdsmServer::384::SuperVdsm.Server::(main) Making sure I'm root - SuperVdsm
MainThread::DEBUG::2014-07-23 04:15:34,300::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd args
MainThread::DEBUG::2014-07-23 04:15:34,301::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-07-23 04:15:34,301::supervdsmServer::400::SuperVdsm.Server::(main) Setting up keep alive thread
MainThread::DEBUG::2014-07-23 04:15:34,301::supervdsmServer::406::SuperVdsm.Server::(main) Creating remote object manager
MainThread::DEBUG::2014-07-23 04:15:34,304::supervdsmServer::417::SuperVdsm.Server::(main) Started serving super vdsm object
sourceRoute::DEBUG::2014-07-23 04:15:34,305::sourceRouteThread::56::root::(_subscribeToInotifyLoop) sourceRouteThread.subscribeToInotifyLoop started


vdsmd status gives below message after starting it.

$systemctl start vdsmd.service

$systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
   Active: activating (start-pre) since Wed 2014-07-23 06:32:24 EDT; 4s ago
  Process: 20871 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh --post-stop (code=exited, status=0/SUCCESS)
  Process: 20861 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1 /dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE)
  Control: 20874 (vdsmd_init_comm)
   CGroup: name=systemd:/system/vdsmd.service
           └─control
             ├─20874 /bin/sh /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
             └─20937 /usr/bin/python /usr/bin/vdsm-tool upgrade-3.0.0-networks

Jul 23 06:32:27 test-1010120208.pulsar.hp.com python[20926]: DIGEST-MD5 ask_user_info()
Jul 23 06:32:27 test-1010120208.pulsar.hp.com python[20926]: DIGEST-MD5 make_client_response()
Jul 23 06:32:27 test-1010120208.pulsar.hp.com python[20926]: DIGEST-MD5 client step 3
Jul 23 06:32:27 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running load_needed_modules
Jul 23 06:32:27 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running tune_system
Jul 23 06:32:27 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running test_space
Jul 23 06:32:27 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running test_lo
Jul 23 06:32:27 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running unified_network_persistence_upgrade
Jul 23 06:32:28 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running restore_nets
Jul 23 06:32:28 test-1010120208.pulsar.hp.com vdsmd_init_common.sh[20874]: vdsm: Running upgrade_300_nets

Thank you for your help.

Regards,
Udaya Kiran


On Wednesday, 23 July 2014 2:34 PM, Yedidyah Bar David <didi at redhat.com> wrote:
 


----- Original Message -----

> From: "Udaya Kiran P" <ukiran770 at yahoo.in>
> To: "users" <users at ovirt.org>
> Sent: Wednesday, July 23, 2014 11:11:49 AM
> Subject: [ovirt-users] Adding new Host - Connection to localhost:54321    refused
> 
> Hi Everyone,
> 
> I am trying to add a new fedora host to the oVirt Engine 3.4.0-1.fc19. It
> fails with below error in event list,
> 
> " Host Bay9 installation failed. Network error during communication with the
> host "
> 
> Host-deploy log doesn't have any errors logged.
> 
> Below error logged in engine.log
> 
> 2014-07-23 13:49:21,445 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> (DefaultQuartzScheduler_Worker-6) Command GetCapabilitiesVDSCommand(HostName
> = Bay9, HostId = f508a64b-6a2f-41a6-8a3c-4de4ed22747c, vds=Host[Bay9])
> execution failed. Exception: VDSNetworkException: java.net.ConnectException:
> Connection refused
> 
> On the Host,
> 
> vdsClient -s localhost getVdsCaps
> Connection to localhost:54321 refused
> 
> Please help me resolve this,

Perhaps vdsm is down? What do you see in its logs? Did you try to start it?
-- 
Didi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140723/836800ed/attachment-0001.html>


More information about the Users mailing list