[Ovirt-devel] Re: Fw: Install problems on fresh F10

daniel at sml.se daniel at sml.se
Fri Dec 26 09:11:21 UTC 2008


I did post to ovirt-devel but I am not a registered user, so a moderator need to review my posting before it becomes available.

I will register, but right now I only have a few seconds to spare.

I try to add use "Add Virtual Machine" but the "Storage" is empty. My iSCSI and NFS storage says "State: pending_setup". What am I doing wrong?

Sincerely,
/bs66

----------------------------------------
From: Perry Myers <pmyers at redhat.com>
Sent: Friday, December 26, 2008 5:01 AM
To: daniel at sml.se, ovirt-devel at redhat.com
Subject: Re: Fw: Install problems on fresh F10 

daniel at sml.se wrote:
> Thank you for your help.

No problem.  Can you email ovirt-devel at redhat.com instead of me 
individually?  I don't mind getting the emails at all :)  But it is better 
if we keep discussions like this on the list, since there may be others 
that could benefit from what we're discussing/figuring out.

> I got no errors issuing the commands, and I can now reach 
> http://192.168.50.2/ovirt
> 
> I am pretty sure I followed the install instructions, so I guess 
> something more should be changed in there to get the install working 
> smoothly.

The issues you were having had to do with the fact that you had to disable 
NetworkManager.  This is covered in the install instructions in the 
section "Installing and Running the Appliance":
> NOTE: Fedora 10 uses NetworkManager by default to configure network interfaces. We recommend disabling NetworkManager and using the standard network scripts and network service. However, if you want to try running with NetworkManager enabled you can override the check with the -f flag to the create-ovirt-network script

We didn't explicitly list the instructions for disabling NetworkManager in 
Fedora as there are plenty of resources for Fedora users in regards to 
network configuration.  For example, a quick Google search found this as 
the #1 link when searching for "Fedora 10 disable NetworkManager":

http://www.mjmwired.net/resources/mjm-fedora-f10.html#network

But since this will probably be a common case for users of oVirt, I'll 
incorporate the steps described in the above link into our Wiki and 
provide a link to the Wiki page from the install instructions page.

The other problem you had was that libvirtd service was not started 
properly.  This is handled in the installation instructions under the 
section "Getting oVirt RPMs" in step 4.  That step should ensure that 
libvirtd is running properly after upgrading/installing the daemon.

Thanks,

Perry

> Please find below the console output fyi.
> 
> Thanks again.
> bs66
> 
> 
> 
> 
> [root at localhost network-scripts]# sudo service network restart
> Shutting down loopback interface:                          [  OK  ]
> Disabling IPv4 packet forwarding:  net.ipv4.ip_forward = 0
>                                                            [  OK  ]
> Bringing up loopback interface:                            [  OK  ]
> Bringing up interface eth0: 
> Determining IP information for eth0... done.
>                                                            [  OK  ]
> [root at localhost network-scripts]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:17:31:3F:20:85 
>           inet addr:192.168.0.205  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::217:31ff:fe3f:2085/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1028 (1.0 KiB)  TX bytes:5223 (5.1 KiB)
>           Interrupt:19
> 
> 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:40 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:11587 (11.3 KiB)  TX bytes:11587 (11.3 KiB)
> 
> ovirtbr0  Link encap:Ethernet  HWaddr CE:86:E6:CF:A4:B5 
>           inet addr:192.168.50.1  Bcast:192.168.50.255  Mask:255.255.255.0
>           inet6 addr: fe80::cc86:e6ff:fecf:a4b5/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:5324 (5.1 KiB)
> 
> virbr0    Link encap:Ethernet  HWaddr FE:72:75:99:D3:E3 
>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>           inet6 addr: fe80::fc72:75ff:fe99:d3e3/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:5122 (5.0 KiB)
> 
> [root at localhost network-scripts]# sudo service libvirtd restart
> Stopping libvirtd daemon:                                  [  OK  ]
> Starting libvirtd daemon:                                  [  OK  ]
> [root at localhost network-scripts]# sudo virsh net-list --all
> Name                 State      Autostart
> -----------------------------------------
> default              active     yes      
> ovirtbr0             active     yes      
> 
> [root at localhost network-scripts]# sudo create-ovirt-network
> Currently active bridges:
> -------------------------
> bridge name    bridge id        STP enabled    interfaces
> ovirtbr0        8000.000000000000    no       
> pan0        8000.000000000000    no       
> virbr0        8000.000000000000    yes       
> 
> Currently defined libvirt networks:
> -----------------------------------
> Name                 State      Autostart
> -----------------------------------------
> default              active     yes      
> ovirtbr0             active     yes      
> 
> 
> Removing ovirtbr0
> Network ovirtbr0 destroyed
> 
> Network ovirtbr0 has been undefined
> 
> Done Removing ovirtbr0
> Network ovirtbr0 defined from /tmp/tmp.mYuVHglF21
> 
> Network ovirtbr0 started
> 
> Network ovirtbr0 marked as autostarted
> 
> net.ipv4.ip_forward = 1
> augtool> set /files/etc/sysctl.conf/net.ipv4.ip_forward 1
> augtool> save
> augtool>
> Shutting down dnsmasq:                                     [  OK  ]
> Starting dnsmasq:                                          [  OK  ]
> Currently active bridges:
> -------------------------
> bridge name    bridge id        STP enabled    interfaces
> ovirtbr0        8000.000000000000    no       
> pan0        8000.000000000000    no       
> virbr0        8000.000000000000    yes       
> 
> Currently defined libvirt networks:
> -----------------------------------
> Name                 State      Autostart
> -----------------------------------------
> default              active     yes      
> ovirtbr0             active     yes      
> 
> 
> [root at localhost network-scripts]#
> 

-- 
|=-        Red Hat, Engineering, Emerging Technologies, Boston        -=|
|=-                     Email: pmyers at redhat.com                      -=|
|=-         Office: +1 412 474 3552   Mobile: +1 703 362 9622         -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20081226/fef06f49/attachment.htm>


More information about the ovirt-devel mailing list