WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Hotplug scripts not working after today's checkout

To: "Zoltan HERPAI" <wigyori@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Hotplug scripts not working after today's checkout
From: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>
Date: Mon, 25 Sep 2006 06:48:30 -0700
Delivery-date: Tue, 26 Sep 2006 01:30:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbgpdqhiJC3YpgHRfSsiNsvGW9dlwAA0XxQ
Thread-topic: [Xen-users] Hotplug scripts not working after today's checkout
The error is misleading. 
Make sure your vifs are all started up. To isolate the problem comment
out the vif line in the configfile and try again.

- Padma


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zoltan
HERPAI
Sent: Monday, September 25, 2006 6:23 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Hotplug scripts not working after today's checkout

Hi,

I've run into the following error when trying to create a domU:

root@jupiter:/etc/xen# xm create node0-mgmt -c
Using config file "node0-mgmt".
Error: Device 0 (vif) could not be connected. Hotplug scripts not
working.
root@jupiter:/etc/xen#

Excerpt from xend.log:

[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '769', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/769'} to
/local/domain/4/device/vbd/769.
[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:112) DevController:
writing {'domain': 'node0-mgmt', 'frontend': '/local/domain/4/device
/vbd/769', 'dev': 'hda1', 'state': '1', 'params':
'/store/debian.3-1.img', 'mode': 'w', 'online': '1', 'frontend-id': '4',
'type': 'file'} to  /local/domain/0/backend/vbd/4/769.
[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'virtual-device': '770', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/770'} to
/local/domain/4/device/vbd/770.
[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:112) DevController:
writing {'domain': 'node0-mgmt', 'frontend': '/local/domain/4/device
/vbd/770', 'dev': 'hda2', 'state': '1', 'params': '/store/debian.swap',
'mode': 'w'  'online': '1', 'frontend-id': '4', 'type': 'file'} to
/local/domain/0/backend/vbd/4/770.
[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:57:c5:52', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to
/local/domain/4/device/vif/0.
[2006-09-25 14:55:48 xend 2015] DEBUG (DevController:112) DevController:
writing {'domain': 'node0-mgmt', 'handle': '0', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/4/device/vif/0', 'mac':'00:16:3e:57:c5:52', 'online':
'1', 'frontend-id': '4'} to /local/domain/0/backend/vif/4/0.
[2006-09-25 14:55:48 xend.XendDomainInfo 2015] DEBUG
(XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid':
'fb8168a0-a691-73d3-a4d1-285bab6a5493', 'on_reboot': 'restart',
'start_time': '1159188948.21', 'on_poweroff': 'destroy', 'name':
'node0-mgmt', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail':
'1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel
/boot/vmlinuz-2.6.16-xen) (ip
10.1.1.100:1.2.3.4:10.1.1.254:255.255.255.0:node0-mgmt:eth0:off) (root
'/dev/hda1 ro') (args 4))", 'maxmem': '256'}
[2006-09-25 14:55:48 xend.XendDomainInfo 2015] DEBUG
(XendDomainInfo:747) Storing domain details: {'console/ring-ref':
'28930', 'console/port': '2', 'name': 'node0-mgmt', 'console/limit':
'1048576', 'vm':'/vm/fb8168a0-a691-73d3-a4d1-285bab6a5493', 'domid':
'4', 'cpu/0/availability': 'online', 'memory/target': '262144',
'store/ring-ref': '28931', 'store/port': '1'}
[2006-09-25 14:55:48 xend.XendDomainInfo 1221] DEBUG
(XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
[2006-09-25 14:55:48 xend 2021] DEBUG (DevController:143) Waiting for
devices vif.
[2006-09-25 14:55:48 xend 2021] DEBUG (DevController:149) Waiting for 0.
[2006-09-25 14:55:48 xend 1221] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status.
[2006-09-25 14:57:28 xend.XendDomainInfo 2038] DEBUG
(XendDomainInfo:1449) XendDomainInfo.destroy: domid=4
[2006-09-25 14:57:28 xend.XendDomainInfo 2038] DEBUG
(XendDomainInfo:1457) XendDomainInfo.destroyDomain(4)

Where should I start looking at?

Regards,
-w-


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>