[one-users] Unable to start opennebula

Daniel Molina dmolina at opennebula.org
Mon Aug 6 23:52:08 PDT 2012


Hi Stephen,

On 4 August 2012 16:40, Stephen Liu <satimis at yahoo.com> wrote:
>
> Hi all,
>
> I followed;
> OpenNebula Sandbox: KVM-based OpenNebula Cloud
> http://opennebula.org/cloud:sandbox:kvm#installation
>
> to learn OpenNebula.  Installation went through w/o much problem.
>
> Steps performed as follows;
>
> $ sudo curl -O http://appliances.c12g.com/one-sandbox-kvm-3.4.1/installer.sh
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100 10366  100 10366    0     0  14415      0 --:--:-- --:--:-- --:--:-- 50565
>
>
>
> $ sudo ./installer.sh frontend 192.168.0.10
> [sudo] password for satimis:
> # Creating group and user...
> groupadd: group 'oneadmin' already exists
> useradd: user 'oneadmin' already exists
> # Installing needed packages...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> nfs-common is already the newest version.
> openssh-client is already the newest version.
> openssh-server is already the newest version.
> ruby is already the newest version.
> wget is already the newest version.
> libvirt-bin is already the newest version.
> qemu-kvm is already the newest version.
> The following packages were automatically installed and are no longer required:
>   libunistring0 dh-apparmor po-debconf intltool-debian gettext libgettextpo0
>   html2text libmail-sendmail-perl libsys-hostname-long-perl
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
> # Loading kvm virtualization modules...
> AMD processor detected
> # Configuring apparmor...
>  * Changing libvirtd apparmor localc config file. A backup is saved as
> /etc/apparmor.d/local/usr.sbin.libvirtd.1344087206
>  * Reloading apparmor.
>  * Reloading AppArmor profiles
> Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
> Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
>    ...done.
> # Configuring libvirt/kvm...
>  * Changing kvm configuration file. A backup is saved as
> /etc/libvirt/qemu.conf.1344087220
>  * Changing libvirt configuration file. A backup is saved as
> /etc/libvirt/libvirtd.conf.1344087220
>  * Restarting libvirt...
> libvirt-bin stop/waiting
> libvirt-bin start/running, process 5875
>  * Adding oneadmin user to kvm group
> private   Link encap:Ethernet  HWaddr 00:0e:a6:f9:a3:5b
>           inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::20e:a6ff:fef9:a35b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:419136 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:243331 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:624792587 (624.7 MB)  TX bytes:17882574 (17.8 MB)
>
> # Bridge already configured
> # Downloading appliance
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
> 100  574M  100  574M    0     0   454k      0  0:21:33  0:21:33 --:--:--  459k
>  * Uncompressing image
> # Starting appliance...
> The appliance is already started. It is called frontend.
>
> A copy of the frontend VM description file is located at
> ~/frontend.xml. You can use it to start the frontend again executing:
>  $ virsh create ~/frontend.xml
>
>
> $ sudo ifconfig
> [sudo] password for satimis:
> eth0      Link encap:Ethernet  HWaddr 00:0e:a6:f9:a3:5b
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:431511 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:252194 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:646987384 (646.9 MB)  TX bytes:18938518 (18.9 MB)
>           Interrupt:46 Base address:0x8000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:840 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:840 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:151020 (151.0 KB)  TX bytes:151020 (151.0 KB)
>
> private   Link encap:Ethernet  HWaddr 00:0e:a6:f9:a3:5b
>           inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::20e:a6ff:fef9:a35b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:419090 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:243248 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:624761705 (624.7 MB)  TX bytes:17873958 (17.8 MB)
>
> virbr0    Link encap:Ethernet  HWaddr 02:b7:94:e5:8f:27
>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> vnet0     Link encap:Ethernet  HWaddr fe:02:c0:a8:00:14
>           inet6 addr: fe80::fc02:c0ff:fea8:14/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:60 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:4216 (4.2 KB)  TX bytes:11383 (11.3 KB)
>
> vnet1     Link encap:Ethernet  HWaddr fe:02:0a:01:01:01
>           inet6 addr: fe80::fc02:aff:fe01:101/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:816 (816.0 B)  TX bytes:11093 (11.0 KB)
>
>
> But I could not start http://@192.168.0.10:@9869 on browser
> nor with
> http://192.168.0.10:9869
>
> Please help.  TIA

I think this could be a network related issue. Could you check if you
can access the new virtual machine or open a VNC session and check if
everything is right

Cheers

>
> $ sudo find / -name frontend.xml
> [sudo] password for satimis:
> /run/libvirt/qemu/frontend.xml
> /root/frontend.xml
> /home/satimis/frontend.xml
>
> B.R.
> Stephen L
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list