Skip to contentSkip to conversation

Bug: vif-script being called after the domain is destroyed

DISCUSSION Matt Ayres 1 participant 2 messages Feb 5, 2006

lore
Share & tools
lore

Matt Ayres

author
#0 lore raw

Synopsis:
It looks like the vif-script is being called after a domain is destroyed causing the xenstore to be empty. Here is the debugging information from my vif-script that proves this:

Hi I am vif-route and I am being executed with the command offline for vif vif67.0 for domain findip and a XENBUS_PATH of backend/vif/67/0 Hi I am vif-route and I am being executed with the command offline for vif vif67.0 for domain and a XENBUS_PATH of backend/vif/67/0

It reads the domain from backend/vif/67/0/domain and notice when called "offline" the domain name is not being read.

Bug url: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=515

Thank you,
Matt Ayres

author
#1 lore raw
Quoted 6 lines · Matt Ayres

Synopsis:

Hi I am vif-route and I am being executed with the command offline for vif vif67.0 for domain findip and a XENBUS_PATH of backend/vif/67/0 Hi I am vif-route and I am being executed with the command offline for vif vif67.0 for domain and a XENBUS_PATH of backend/vif/67/0

Grr... I had some extra debugging so at first glance it looks like nothing is wrong here (except for calling offline twice). This is what real output looks like (stop/start/stop/start):

Hi I am vif-route and I am being executed with the command offline for vif vif70.0 for domain and a XENBUS_PATH of backend/vif/70/0 Hi I am vif-route and I am being executed with the command online for vif vif71.0 for domain findip and a XENBUS_PATH of backend/vif/71/0 Hi I am vif-route and I am being executed with the command offline for vif vif71.0 for domain and a XENBUS_PATH of backend/vif/71/0 Hi I am vif-route and I am being executed with the command online for vif vif72.0 for domain findip and a XENBUS_PATH of backend/vif/72/0