Ok, I know this is Monday and all, but ... I thought I''d take a few minutes to play some with a virtual router on my XCP cloud. I grabbed the Vyatta virtual appliance XenServer xva image. I gunzipped the xva and did an xe vm-import filename=vyatta*.xva sr-uuid=(pool storage repository uuid). vm-import exited without any complaint. The problem was, there was no VM in the list. What I was left with is a VBD that shows up in vbd-list with no vdi (not in database) and a vm uuid that shows in the VBD record but not in the vm list. Any suggestions? Vern -- Vern Burke SwiftWater Telecom http://www.swiftwatertel.com ISP/CLEC Engineering Services Data Center Services Remote Backup Services _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Vern, I don''t suppose it has created a template rather than a VM has it? Have a look in ''xe template-list'' and see if you can spot it.>From the API PoV VMs and templates are the same thing, except for the is_a_template flag. The CLI treats them slightly differently however.Cheers, Dave> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of Vern Burke > Sent: 01 March 2010 21:24 > To: xen-users@lists.xensource.com > Subject: [Xen-users] XCP vm-import fouls up > > Ok, I know this is Monday and all, but ... > > I thought I''d take a few minutes to play some with a virtual router on > my XCP cloud. I grabbed the Vyatta virtual appliance XenServer xva > image. > > I gunzipped the xva and did an xe vm-import filename=vyatta*.xva > sr-uuid=(pool storage repository uuid). vm-import exited without any > complaint. The problem was, there was no VM in the list. > > What I was left with is a VBD that shows up in vbd-list with no vdi > (not > in database) and a vm uuid that shows in the VBD record but not in the > vm list. > > Any suggestions? > > Vern > > -- > Vern Burke > > SwiftWater Telecom > http://www.swiftwatertel.com > ISP/CLEC Engineering Services > Data Center Services > Remote Backup Services > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bingo, that was it (I wish vm-import would flag whether it''s a VM or a template). Now I just have to figure out what to do with it, since it creates a VM that immediately crashes. Vern Burke SwiftWater Telecom http://www.swiftwatertel.com ISP/CLEC Engineering Services Data Center Services Remote Backup Services On 3/1/2010 5:38 PM, Dave Scott wrote:> Hi Vern, > > I don''t suppose it has created a template rather than a VM has it? Have a look in ''xe template-list'' and see if you can spot it. > >> From the API PoV VMs and templates are the same thing, except for the is_a_template flag. The CLI treats them slightly differently however. > > Cheers, > Dave > >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com [mailto:xen-users- >> bounces@lists.xensource.com] On Behalf Of Vern Burke >> Sent: 01 March 2010 21:24 >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] XCP vm-import fouls up >> >> Ok, I know this is Monday and all, but ... >> >> I thought I''d take a few minutes to play some with a virtual router on >> my XCP cloud. I grabbed the Vyatta virtual appliance XenServer xva >> image. >> >> I gunzipped the xva and did an xe vm-import filename=vyatta*.xva >> sr-uuid=(pool storage repository uuid). vm-import exited without any >> complaint. The problem was, there was no VM in the list. >> >> What I was left with is a VBD that shows up in vbd-list with no vdi >> (not >> in database) and a vm uuid that shows in the VBD record but not in the >> vm list. >> >> Any suggestions? >> >> Vern >> >> -- >> Vern Burke >> >> SwiftWater Telecom >> http://www.swiftwatertel.com >> ISP/CLEC Engineering Services >> Data Center Services >> Remote Backup Services >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users