LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-29-2012, 03:45 AM   #1
hellmet
Member
 
Registered: May 2006
Location: Hyderabad,India
Distribution: Ubuntu
Posts: 35

Rep: Reputation: Disabled
Trouble activating host on RHEV3.0


Here's the setup:

60day RHEV 3.0 evaluation.
RHEV Virtualization Manager running on a VM
RHEV Hypervisor running on a Dell laptop with virtualization enabled

Trouble:
Adding the host to the Default cluster is not an issue. However, trying to "Activate" the host results in a "Host xxxx is non-responsive" error in the Events tab.

Trouble is that I do not even know where to begin to check for issues.

Can someone here point me to where I can possibly start looking - logs etc - so I can get past this issue?

A bit of search took me to "vdsm" so I started looking...

One thing I noticed in the vdsm log on the RHEV Hypervisor (if of any use) - /var/log/vdsm/vdsm.log - is :
Code:
MainThread::ERROR::2012-03-29 08:16:12,103::vdsm::74::vds::(run) Traceback (most recent call last):
  File "/usr/share/vdsm//vdsm", line 72, in run
    serve_clients(log)
  File "/usr/share/vdsm//vdsm", line 40, in serve_clients
    cif = clientIF.clientIF(log)
  File "/usr/share/vdsm/clientIF.py", line 92, in __init__
  File "/usr/share/vdsm/libvirtconnection.py", line 94, in get
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 102, in openAuth
libvirtError: authentication failed: authentication failed
and trying to start vdsmd results in:

Code:
/etc/init.d/vdsmd start
vdsm: Missing certificates, vdsm not registered            [FAILED]
Starting iscsid: 
Starting up vdsm daemon: 
vdsm start                                                 [  OK  ]

Last edited by hellmet; 03-29-2012 at 03:47 AM.
 
Old 03-29-2012, 05:22 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
First of all, if you want help with RHEV, the best place is the Red Hat User Groups, at https://access.redhat.com/groups/red...virtualization - you get both Red Hat associates helping out with issues, and other users who already have experience working with RHEV in there

Now, about your problem - it's quite obvious, but you need to understand how RHEV Hypervisor is registered to RHEV-Manager first. RHEV-Hypervisor contacts RHEV-Manager, reports its parameters, and receives a signed certificate, which is later on used to encrypt the communication between the two systems. Obviously that didn't happen, hence the missing certificate in the vdsm startup output, and if there's no communication, because encryptions hadn't been set up, the host will be non responsive, as far as RHEV-Manager is concerned.

You need to check why the certificate exchange didn't happen, but before you do that, make sure all the prerequisites are in place - DNS name resolution works in all directions (RHEV-M can lookup RHEV-H and vice versa, and both have PTR records as well), then remove the host, and try to add it again.
 
Old 03-29-2012, 06:16 AM   #3
hellmet
Member
 
Registered: May 2006
Location: Hyderabad,India
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dyasny View Post
First of all, if you want help with RHEV, the best place is the Red Hat User Groups, at https://access.redhat.com/groups/red...virtualization - you get both Red Hat associates helping out with issues, and other users who already have experience working with RHEV in there

Now, about your problem - it's quite obvious, but you need to understand how RHEV Hypervisor is registered to RHEV-Manager first. RHEV-Hypervisor contacts RHEV-Manager, reports its parameters, and receives a signed certificate, which is later on used to encrypt the communication between the two systems. Obviously that didn't happen, hence the missing certificate in the vdsm startup output, and if there's no communication, because encryptions hadn't been set up, the host will be non responsive, as far as RHEV-Manager is concerned.

You need to check why the certificate exchange didn't happen, but before you do that, make sure all the prerequisites are in place - DNS name resolution works in all directions (RHEV-M can lookup RHEV-H and vice versa, and both have PTR records as well), then remove the host, and try to add it again.
Thank you for the link to User Groups.
Coming to DNS resolution, I'm using IP both ways to connect instead of using hostnames. Do you think that would be an issue?
 
Old 03-29-2012, 06:26 AM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by hellmet View Post
Thank you for the link to User Groups.
Coming to DNS resolution, I'm using IP both ways to connect instead of using hostnames. Do you think that would be an issue?
yes, RHEV uses FQDNs almost everywhere, DNS resolution with PTR records in place is a prerequisite
 
Old 04-02-2012, 04:46 AM   #5
hellmet
Member
 
Registered: May 2006
Location: Hyderabad,India
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
IT added the necessary DNS records for both the hypervisor and the RHEV Manager machines. Both machines now talk to each other with FQDNs. However, my issue continues to exist...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Creating Virtual Host for Mindquarry josh9984ako Linux - Software 3 06-18-2007 09:47 AM
LFS install trouble -- using Knoppix 3.6 as host hell_carnage Linux From Scratch 3 11-18-2004 07:09 AM
Trouble activating internet connection for RedHat 8 LkNsngth Linux - Networking 1 10-22-2004 07:21 AM
Having trouble activating DCHP Kyral Retsam Linux - Wireless Networking 1 07-12-2004 08:21 PM
trouble activating subscription rioguia LQ Suggestions & Feedback 1 12-26-2002 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration