[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP-1.5-beta-base-53341 "Debian Squeeze 6.0 (64-bit)" "No Ethernet card was detected"



Top posting?  Okay...


Jonathan -- thanks for the reply.  :-)


2012-05-02 15:10:30 root@i72600s ~
# xe network-list
uuid ( RO)                : 7730dfe1-6a93-f262-69b9-9684450bf286
          name-label ( RW): Pool-wide network associated with eth0
    name-description ( RW):
              bridge ( RO): xenbr0


uuid ( RO)                : e85cbf2d-9e24-f500-de62-721ec1cba84e
          name-label ( RW): Host internal management network
name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI
              bridge ( RO): xenapi



It looks like I have two choices.  I'll guess the first one:

2012-05-02 15:12:10 root@i72600s ~
# xe vif-create vm-uuid=876cf211-b265-d485-f7f6-efe5aa1c5c4c network-uuid=7730dfe1-6a93-f262-69b9-9684450bf286 device=0
9345d4b1-9f09-d60b-e501-3d1d8476b279


2012-05-02 15:16:16 root@i72600s ~
# xe vm-start vm=squeeze64
Error code: Traceback (most recent call last):
Error parameters: File "/usr/bin/pygrub", line 808, in ?, fs = fsimage.open(file, part_offs[0], bootfsoptions), IOError: [Errno 95] Operation not supported,


Apparently not.  Guess again:

2012-05-02 15:16:32 root@i72600s ~
# xe vif-destroy uuid=9345d4b1-9f09-d60b-e501-3d1d8476b279

2012-05-02 15:20:07 root@i72600s ~
# xe vif-create vm-uuid=876cf211-b265-d485-f7f6-efe5aa1c5c4c network-uuid=e85cbf2d-9e24-f500-de62-721ec1cba84e device=0
5edfea1a-1fd0-bb02-4d12-c6dd9bd4897d

2012-05-02 15:20:53 root@i72600s ~
# xe vm-start vm=squeeze64Error code: Traceback (most recent call last):
Error parameters: File "/usr/bin/pygrub", line 808, in ?, fs = fsimage.open(file, part_offs[0], bootfsoptions), IOError: [Errno 95] Operation not supported,


Nope.  What's next?


David



On 05/02/2012 02:52 PM, Jonathan Ludlam wrote:
Somewhat counter-intuitively, although you've booted your VM from the network, 
it's not got a network interface. You'll need to add one:

'xe network-list' to find an appropriate network, then
'xe vif-create vm-uuid=â network-uuid=â device=0'

before you start the guest.

The reason you were able to boot the guest at all is that the kernel is 
downloaded by the control domain. Once it has it and the initrd, it then starts 
the guest and the install proceeds from there. However, your guest has no 
network device, so it fails.

Jon

On 2 May 2012, at 22:36, David Christensen wrote:

xen-api:

I'm a Xen newbie who has installed XCP-1.5-beta-base-53341 on a desktop
computer (Intel DQ67SWB3 motherboard, i7-2600S CPU, and 8 GB RAM):

     Enable thin provisioning.

     Don't install any Supplemental Packs (not available for XCP)

     Set hostname to "i72600s".


I then logged into the XCP box via SSH and attempted to create a "Debian
Squeeze 6.0 (64-bit)" virtual machine per "Xen Cloud Platform Virtual
Machine Installation Guide Release 0.1 0.1 Published October 2009 0.1
Edition", "Chapter 4. Install Linux VMs", "Installing Debian Lenny":

        http://xen.org/files/XenCloud/guest.pdf


2012-05-02 12:58:17 root@i72600s ~
# xe template-list | grep name-label | grep Debian
          name-label ( RW): Debian Lenny 5.0 (32-bit)
          name-label ( RW): Debian Squeeze 6.0 (64-bit)
          name-label ( RW): Debian Squeeze 6.0 (32-bit)

2012-05-02 14:03:24 root@i72600s ~
# xe vm-install template="Debian Squeeze 6.0 (64-bit)"
new-name-label=squeeze64
876cf211-b265-d485-f7f6-efe5aa1c5c4c

2012-05-02 14:04:00 root@i72600s ~
# xe vm-param-set uuid=876cf211-b265-d485-f7f6-efe5aa1c5c4c
other-config:install-repository="http://apt:9999/debian";

2012-05-02 14:04:52 root@i72600s ~
# xe vm-list
uuid ( RO)           : 53e98c73-50f7-48ab-a67a-24724660db38
      name-label ( RW): Control domain on host: i72600s
     power-state ( RO): running


uuid ( RO)           : 876cf211-b265-d485-f7f6-efe5aa1c5c4c
      name-label ( RW): squeeze64
     power-state ( RO): halted



2012-05-02 14:05:00 root@i72600s ~
# xe vm-start vm=squeeze64


The above command took a very long time on previous attempts.  I've
since installed an Apt proxy (approx), so this time starting the VM was
much faster (loading kernel image over network?).


Continuing:


2012-05-02 14:05:23 root@i72600s ~
# xe vm-list
uuid ( RO)           : 53e98c73-50f7-48ab-a67a-24724660db38
name-label ( RW): Control domain on host: i72600s
power-state ( RO): running


uuid ( RO)           : 876cf211-b265-d485-f7f6-efe5aa1c5c4c
name-label ( RW): squeeze64
power-state ( RO): running



2012-05-02 14:05:37 root@i72600s ~
# xe console vm=squeeze64
Connecting to console on VM squeeze64. Press Ctrl + ']' to quit.


Pressing<Tab>  and the arrow keys lets me know that ncurses (?) is
running, and paints enough of the screen that I can select "<Go Back>".
This takes me to the "Debian installer main menu".


At the "Select a language" screen, choose "English" .


At the "Select your location" screen, choose "United States".


At the "Configure the keyboard" screen, choose "American English".


At the "Detect network hardware" screen:

     No Ethernet card was detected. If you know the name of the driver
     needed by your Ethernet card, you can select it from the list.

     Driver needed by your Ethernet card:


Scrolling down the list, I see:

     xen-netfront: Xen Virtual Ethernet


But I am unable to select it via<Space>  key.  Pressing<Enter>
repaints the screen.  I'm stuck, and cannot proceed forward in the
installer (?).


Press Ctrl+] to exit VM and shut it down:

2012-05-02 14:18:27 root@i72600s ~
# xe vm-shutdown vm=squeeze64


Any suggestions?


TIA,

David

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api




_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.