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-bugs

[Xen-bugs] [Bug 512] vif script not run on 'reboot' from within domU

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 512] vif script not run on 'reboot' from within domU
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 03 Feb 2006 17:26:35 +0000
Delivery-date: Fri, 03 Feb 2006 17:45:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=512





------- Additional Comments From matta@xxxxxxxxxxxx  2006-02-03 17:26 -------
The lines from xend.log, it looks like a standard "create" and even references
vif-route, but the script never actually gets executed.

[2006-02-03 12:30:15 xend.XendDomainInfo] INFO (XendDomainInfo:818) Domain has
shutdown: name=findip id=50 reason=reboot.
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1280)
XendDomainInfo.destroyDomain(50)
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
XendDomainInfo.create(['domain', ['domid', 50], ['uuid',
'19ad4f35-920d-3c4d-bb0b-19f2fb6f4036'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 128.0], ['memory', 128], ['maxmem', 128],
['name', 'findip'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'destroy'], ['image', ['linux', ['kernel',
'/xen/kernels/latest-linux-2.6'], ['root', '/dev/sda1 ro'], ['args', '3 ']]],
['device', ['vif', ['backend', 0], ['script', 'vif-route'], ['mac',
'00:16:3e:43:3a:b6']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda1'],
['uname', 'phy:data/findip-root'], ['mode', 'w']]], ['device', ['vbd',
['backend', 0], ['dev', 'sda2'], ['uname', 'phy:data/findip-swap'], ['mode',
'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time',
14.395143213000001], ['online_vcpus', 1], ['up_time', '2258.04376984'],
['start_time', '1138985557.07'], ['store_mfn', 1342115], ['console_mfn', 
1905613]])
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:282)
parseConfig: config is ['domain', ['domid', 50], ['uuid',
'19ad4f35-920d-3c4d-bb0b-19f2fb6f4036'], ['ssidref', 0], ['vcpus', 1],
['vcpu_avail', 1], ['cpu_weight', 128.0], ['memory', 128], ['maxmem', 128],
['name', 'findip'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'],
['on_crash', 'destroy'], ['image', ['linux', ['kernel',
'/xen/kernels/latest-linux-2.6'], ['root', '/dev/sda1 ro'], ['args', '3 ']]],
['device', ['vif', ['backend', 0], ['script', 'vif-route'], ['mac',
'00:16:3e:43:3a:b6']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda1'],
['uname', 'phy:data/findip-root'], ['mode', 'w']]], ['device', ['vbd',
['backend', 0], ['dev', 'sda2'], ['uname', 'phy:data/findip-swap'], ['mode',
'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time',
14.395143213000001], ['online_vcpus', 1], ['up_time', '2258.04376984'],
['start_time', '1138985557.07'], ['store_mfn', 1342115], ['console_mfn', 
1905613]]
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:376)
parseConfig: result is {'ssidref': 0, 'uuid':
'19ad4f35-920d-3c4d-bb0b-19f2fb6f4036', 'on_crash': 'destroy', 'on_reboot':
'restart', 'image': ['linux', ['kernel', '/xen/kernels/latest-linux-2.6'],
['root', '/dev/sda1 ro'], ['args', '3 ']], 'on_poweroff': 'destroy', 'cpus':
None, 'name': 'findip', 'backend': [], 'vcpus': 1, 'cpu_weight': 128.0,
'vcpu_avail': 1, 'memory': 128, 'device': [('vif', ['vif', ['backend', 0],
['script', 'vif-route'], ['mac', '00:16:3e:43:3a:b6']]), ('vbd', ['vbd',
['backend', 0], ['dev', 'sda1'], ['uname', 'phy:data/findip-root'], ['mode',
'w']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'sda2'], ['uname',
'phy:data/findip-swap'], ['mode', 'w']])], 'bootloader': None, 'cpu': None,
'maxmem': 128}
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
XendDomainInfo.construct: None 0
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:1162)
XendDomainInfo.initDomain: 51 128.0
[2006-02-03 12:30:15 xend] DEBUG (balloon:84) Balloon: free 420; need 129; done.
[2006-02-03 12:30:15 xend] INFO (image:133) buildDomain os=linux dom=51 vcpus=1
[2006-02-03 12:30:15 xend] DEBUG (image:171) dom            = 51
[2006-02-03 12:30:15 xend] DEBUG (image:172) image          =
/xen/kernels/latest-linux-2.6
[2006-02-03 12:30:15 xend] DEBUG (image:173) store_evtchn   = 1
[2006-02-03 12:30:15 xend] DEBUG (image:174) console_evtchn = 2
[2006-02-03 12:30:15 xend] DEBUG (image:175) cmdline        =  root=/dev/sda1 
ro 3
[2006-02-03 12:30:15 xend] DEBUG (image:176) ramdisk        =
[2006-02-03 12:30:15 xend] DEBUG (image:177) vcpus          = 1
[2006-02-03 12:30:15 xend] DEBUG (DevController:103) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:43:3a:b6', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/51/0'} to /local/domain/51/device/vif/0.
[2006-02-03 12:30:15 xend] DEBUG (DevController:105) DevController: writing
{'mac': '00:16:3e:43:3a:b6', 'state': '1', 'handle': '0', 'script':
'/etc/xen/scripts/vif-route', 'frontend-id': '51', 'domain': 'findip',
'frontend': '/local/domain/51/device/vif/0'} to 
/local/domain/0/backend/vif/51/0.
[2006-02-03 12:30:15 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/51/2049'} to /local/domain/51/device/vbd/2049.
[2006-02-03 12:30:15 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'findip', 'frontend': '/local/domain/51/device/vbd/2049', 'dev':
'sda1', 'state': '1', 'params': 'data/findip-root', 'mode': 'w', 'frontend-id':
'51', 'type': 'phy'} to /local/domain/0/backend/vbd/51/2049.
[2006-02-03 12:30:15 xend] DEBUG (DevController:103) DevController: writing
{'virtual-device': '2050', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/51/2050'} to /local/domain/51/device/vbd/2050.
[2006-02-03 12:30:15 xend] DEBUG (DevController:105) DevController: writing
{'domain': 'findip', 'frontend': '/local/domain/51/device/vbd/2050', 'dev':
'sda2', 'state': '1', 'params': 'data/findip-swap', 'mode': 'w', 'frontend-id':
'51', 'type': 'phy'} to /local/domain/0/backend/vbd/51/2050.
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:663) Storing VM
details: {'ssidref': '0', 'uuid': '19ad4f35-920d-3c4d-bb0b-19f2fb6f4036',
'on_reboot': 'restart', 'start_time': '1138987815.69', 'on_poweroff': 'destroy',
'name': 'findip', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '128', 'on_crash':
'destroy', 'image': "(linux (kernel /xen/kernels/latest-linux-2.6) (root
'/dev/sda1 ro') (args '3 '))", 'maxmem': '128'}
[2006-02-03 12:30:15 xend.XendDomainInfo] DEBUG (XendDomainInfo:688) Storing
domain details: {'console/ring-ref': '608592', 'console/port': '2', 'name':
'findip', 'console/limit': '1048576', 'vm':
'/vm/19ad4f35-920d-3c4d-bb0b-19f2fb6f4036', 'domid': '51', 'cpu/0/availability':
'online', 'memory/target': '131072', 'store/ring-ref': '598098', 'store/port': 
'1'}


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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