[one-users] ttylinux image from Marketplace fails to boot...

Javier Fontan jfontan at opennebula.org
Wed Nov 13 13:30:56 PST 2013


It seems that ttylinux is not running because you are using virtio
disk (vda). ttylinux is just for testing, it lacks virtio drivers and
other amenities. Use hda for the disk and you should be fine.

Concerning the network I think it is behaving as it should. ebtables
drivers do not let to have connectivity to other networks and this is
done by mac addresses. That is, you can only connect to machines with
MAC 02:00:c0:a8:7a:xx.

You can do two things to try the network is working.

A) Use dummy drivers
B) Fire up two VMs and try to ping between them

After checking whether the network is working you can play a bit more
with network isolation

On Wed, Nov 13, 2013 at 8:31 PM, Mark Biggers <mbiggers at ine.com> wrote:
> ... while a Marketplace "Vyatta V65R1 Router"" (KVM) image, boots just fine.**
>
> Here are the details, below.
>
> ------------ <oneadmin>  onevnet show 8
>
> VIRTUAL NETWORK 8 INFORMATION
> ID             : 8
> NAME           : cloud
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : -
> TYPE           : RANGED
> BRIDGE         : br0
> VLAN           : Yes
> VLAN ID        : vnet_default
> USED LEASES    : 2
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : ---
> OTHER          : ---
>
> VIRTUAL NETWORK TEMPLATE
> DNS="192.168.1.1"
> GATEWAY="192.168.122.1"
> ID="3"
> NETMASK="255.255.255.0"
> NETWORK_ADDRESS="192.168.122.0/24"
> NETWORK_MASK="255.255.255.0"
>
> RANGE
> IP_START       : 192.168.122.1
> IP_END         : 192.168.122.254
>
> USED LEASES
> LEASE=[ MAC="02:00:c0:a8:7a:02", IP="192.168.122.2", IP6_LINK="fe80::400:c0ff:fea8:7a02", USED="1", VID="27" ]
> LEASE=[ MAC="02:00:c0:a8:7a:03", IP="192.168.122.3", IP6_LINK="fe80::400:c0ff:fea8:7a03", USED="1", VID="29" ]
>
> VIRTUAL MACHINES
>
>     ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME
>     27 oneadmin oneadmin vyatta-router   runn    0   1024M host01       0d 02h25
>     29 oneadmin oneadmin TTY Linux NOW   runn   99    256M host01       0d 01h52
>
>
> ---------------- <oneadmin>  onevm show 29
>
> VIRTUAL MACHINE 29 INFORMATION
> ID                  : 29
> NAME                : TTY Linux NOW
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : ACTIVE
> LCM_STATE           : RUNNING
> RESCHED             : No
> HOST                : host01
> START TIME          : 11/13 11:35:22
> END TIME            : -
> DEPLOY ID           : one-29
>
> VIRTUAL MACHINE MONITORING
> USED MEMORY         : 256M
> USED CPU            : 99
> NET_TX              : 0K
> NET_RX              : 0K
>
> PERMISSIONS
> OWNER               : um-
> GROUP               : ---
> OTHER               : ---
>
> VM DISKS
>  ID TARGET IMAGE                               TYPE SAVE SAVE_AS
>   0 vda    ttylinux - kvm                      file   NO       -
>
> VM NICS
>  ID NETWORK              VLAN BRIDGE       IP              MAC
>   0 cloud                 yes br0          192.168.122.3   02:00:c0:a8:7a:03
>                                            fe80::400:c0ff:fea8:7a03
>
> VIRTUAL MACHINE HISTORY
> SEQ HOST            ACTION           REAS           START        TIME     PROLOG
>   0 host01          none             none  11/13 11:35:30   0d 01h49m   0h00m01s
>
> USER TEMPLATE
> SCHED_REQUIREMENTS="ID=\"5\""
>
> VIRTUAL MACHINE TEMPLATE
> CONTEXT=[
>   DISK_ID="1",
>   ETH0_DNS="192.168.1.1",
>   ETH0_GATEWAY="192.168.122.1",
>   ETH0_IP="192.168.122.3",
>   ETH0_MASK="255.255.255.0",
>   ETH0_NETWORK="192.168.122.0/24",
>   NETWORK="YES",
>   SSH_PUBLIC_KEY="ssh-rsa ...
> ",
>   TARGET="vdb" ]
> CPU="0.4"
> GRAPHICS=[
>   LISTEN="0.0.0.0",
>   PORT="5929",
>   TYPE="VNC" ]
> MEMORY="256"
> OS=[
>   ARCH="i686",
>   BOOT="hd" ]
> TEMPLATE_ID="27"
> VMID="29"
>
> --------------------------------
>
> ** That Vyatta VR VM gets no working route to the br0 bridge (another issue), and is not pingable at its address from the ONE host (combined host/node, developer desktop).
>
>   Should I just forget about getting even basic ONE network (ebtables) working, on openSUSE 12.3?  I am getting nowhere with it...  "I Am Not A Network Engineer".
> The ONE docs assume a lot of Linux NetEngr background, and/or have some critical details missing.  -- I will send a follow-up email on this, I need spoon-feeding, sorry.
>
>
> thank you.
>
> Mark Biggers
> mbiggers at ine.com
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list