LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-05-2008, 06:19 AM   #1
BigRedBall
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
RHEL 5: Xen domains unresponsive after login


Hi all,
Having a little experiment with virtualised services. I'm running RHEL5 on a HP Xeon server (a relatively old one, without Vanderpool), and I've created a Xen virtual domain using paravirtualisation and a filesystem created inside a file on disk. I generated it using the GUI virt-manager app, and the install process went smoothly.

I installed Fedora 9, which initially worked fine. However, now once I start up the VM domain, it gets to the login screen, and it crashes if I attempt to log in. The VNC connection goes dead and I can't reconnect to the VM domain.

The odd thing is that I can't then reconnect to the VM domain. The virt-manager app shows CPU utilisation of 99% for the virtualised domain, and the only thing I can think to do is to run 'xm destroy VMNAME' to shut the thing off. 'xm shutdown' is ineffective.

I've also tried restarting xend and libvirtd, to no avail.

I got this error via the local mail system:
Code:
Message 656:
From root@blueridge.gcal.ac.uk  Wed Jun  4 16:42:02 2008
X-Original-To: root
Delivered-To: root@HOST
From: root@ HOST (Cron Daemon)
To: root@ HOST
Subject: Cron <root@ HOST > python /usr/share/rhn/virtualization/poller.py
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Date: Wed,  4 Jun 2008 16:42:02 +0100 (BST)

libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
Traceback (most recent call last):
  File "/usr/share/rhn/virtualization/poller.py", line 202, in ?
    domain_list = poll_hypervisor()
  File "/usr/share/rhn/virtualization/poller.py", line 81, in poll_hypervisor
    raise VirtualizationException, \
virtualization.errors.VirtualizationException: Failed to obtain handle to domain 1: <libvirt.libvirtError instance at 0xb7d466cc>
And also this one:
Code:
From root@HOST  Wed Jun  4 16:44:02 2008
X-Original-To: root
Delivered-To: root@HOST
From: root@HOST (Cron Daemon)
To: root@HOST
Subject: Cron <root@HOST> python /usr/share/rhn/virtualization/poller.py
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Date: Wed,  4 Jun 2008 16:44:02 +0100 (BST)

libvir: Xen error : Domain not found: xenUnifiedDomainLookupByID
Traceback (most recent call last):
  File "/usr/share/rhn/virtualization/poller.py", line 202, in ?
    domain_list = poll_hypervisor()
  File "/usr/share/rhn/virtualization/poller.py", line 81, in poll_hypervisor
    raise VirtualizationException, \
virtualization.errors.VirtualizationException: Failed to obtain handle to domain 1: <libvirt.libvirtError instance at 0xb7d146cc>
Does anyone know what's causing these errors and how I can fix them?

Also, after the VM has crashed, the only way of getting it back seems to be restarting the physical machine. Any other way to do it?

I'm running RHEL with the 2.6.18-92.el5xen kernel and all latest updates.

Thanks.
 
Old 06-05-2008, 11:11 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have you tried using any other distros for the virtualisation (RHEL 5 for example since you have it)? Given the cutting edgeness of F9, it may well be a Fedora issue
 
  


Reply

Tags
error, rhel, rhel5, virtualization, xen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAN Setup for migration of Xen Domains dmpatra Red Hat 0 07-10-2007 03:45 PM
LXer: Live migration of Xen domains LXer Syndicated Linux News 0 07-25-2006 08:54 PM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM
Xen: Booting Additional Domains Under Domain 0 debloxie Linux - Software 0 03-04-2006 01:52 AM
Xen: Booting Additional Domains Under Domain 0 debloxie Linux - Software 0 03-01-2006 04:36 AM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration