[Ovirt-devel] Install problems on fresh F10

Perry Myers pmyers at redhat.com
Sat Dec 27 23:57:36 UTC 2008


daniel at sml.se wrote:
> I'm trying to install 0.96 on a fresh install of Fedora 10.
> 
> I follow the install instructions on the web page, and in addition I 
> disable Network Manager with commands provided by pmyers.
> 
> When I run create-ovirt-network I get the following error.
> 
> Currently defined libvirt networks:
> -----------------------------------
> libvir: Remote error : unable to connect to 
> '/var/run/libvirt/libvirt-sock': No such file or directory
> error: failed to connect to the hypervisor
> 
> Please find below the console output during my install.

 From the logs it looks like you never ran:
sudo system-config-network

which is mentioned in the instructions for removing NetworkManager on:
http://ovirt.org/page/Appliance_Installation

The absence of eth0 shouldn't cause a problem with libvirtd, so I think 
this problem is not related to the libvirtd error you saw when running 
create-ovirt-network.

That libvirt error is harmless.  The error occurs because libvirtd is not 
running when the script tries to query to see what networks are defined in 
libvirt.  However, later in the script we restart the livirt daemon and 
the rest of the commands look like they succeed.  So I think you can 
safely ignore that error message.

What else is not working or is it just the libvirt error message you saw 
above?

Thanks,

Perry

> Ciao,
> bs66
> 
> ***
> 
> 
> [root at localhost sysuser]# sudo service networkmanager stop
> networkmanager: unrecognized service
> [root at localhost sysuser]# sudo service NetworkManager stop
> Stopping NetworkManager daemon:                            [  OK  ]
> [root at localhost sysuser]# sudo yum remove NetworkManager\*
> Loaded plugins: refresh-packagekit
> Setting up Remove Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package NetworkManager-gnome.x86_64 1:0.7.0-0.12.svn4326.fc10 set 
> to be erased
> ---> Package NetworkManager.x86_64 1:0.7.0-0.12.svn4326.fc10 set to be 
> erased
> ---> Package NetworkManager-glib.x86_64 1:0.7.0-0.12.svn4326.fc10 set to 
> be erased
> --> Processing Dependency: libnm_glib.so.0()(64bit) for package: evolution
> --> Processing Dependency: libnm_glib.so.0()(64bit) for package: 
> krb5-auth-dialog
> --> Processing Dependency: libnm_glib.so.0()(64bit) for package: PackageKit
> --> Running transaction check
> ---> Package evolution.x86_64 0:2.24.2-2.fc10 set to be erased
> --> Processing Dependency: evolution = 2.24.2-2.fc10 for package: 
> evolution-help
> --> Processing Dependency: evolution = 2.24.2-2.fc10 for package: 
> evolution-perl
> ---> Package krb5-auth-dialog.x86_64 0:0.7-7.fc9 set to be erased
> ---> Package PackageKit.x86_64 0:0.3.12-1.fc10 set to be erased
> --> Processing Dependency: PackageKit = 0.3.12-1.fc10 for package: 
> PackageKit-yum
> --> Processing Dependency: PackageKit >= 0.3.11 for package: 
> gnome-packagekit
> --> Processing Dependency: PackageKit = 0.3.12-1.fc10 for package: 
> PackageKit-glib
> --> Processing Dependency: PackageKit for package: PackageKit-yum-plugin
> --> Processing Dependency: PackageKit for package: PackageKit-udev-helper
> --> Running transaction check
> ---> Package evolution-help.x86_64 0:2.24.2-2.fc10 set to be erased
> ---> Package PackageKit-glib.x86_64 0:0.3.12-1.fc10 set to be erased
> --> Processing Dependency: PackageKit-glib = 0.3.12-1.fc10 for package: 
> PackageKit-gstreamer-plugin
> ---> Package gnome-packagekit.x86_64 0:0.3.12-1.fc10 set to be erased
> ---> Package PackageKit-udev-helper.x86_64 0:0.3.12-1.fc10 set to be erased
> ---> Package PackageKit-yum.x86_64 0:0.3.12-1.fc10 set to be erased
> ---> Package evolution-perl.x86_64 0:2.24.2-2.fc10 set to be erased
> ---> Package PackageKit-yum-plugin.x86_64 0:0.3.12-1.fc10 set to be erased
> --> Running transaction check
> ---> Package PackageKit-gstreamer-plugin.x86_64 0:0.3.12-1.fc10 set to 
> be erased
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ================================================================================
>  Package                     Arch   Version                     Repository
>                                                                            
> Size
> ================================================================================
> Removing:
>  NetworkManager              x86_64 1:0.7.0-0.12.svn4326.fc10   
> installed 2.9 M
>  NetworkManager-glib         x86_64 1:0.7.0-0.12.svn4326.fc10   
> installed 370 k
>  NetworkManager-gnome        x86_64 1:0.7.0-0.12.svn4326.fc10   
> installed 889 k
> Removing for dependencies:
>  PackageKit                  x86_64 0.3.12-1.fc10               
> installed 1.1 M
>  PackageKit-glib             x86_64 0.3.12-1.fc10               
> installed 321 k
>  PackageKit-gstreamer-plugin x86_64 0.3.12-1.fc10               
> installed 139 k
>  PackageKit-udev-helper      x86_64 0.3.12-1.fc10               
> installed 126 k
>  PackageKit-yum              x86_64 0.3.12-1.fc10               
> installed 334 k
>  PackageKit-yum-plugin       x86_64 0.3.12-1.fc10               
> installed 128 k
>  evolution                   x86_64 2.24.2-2.fc10               
> installed  38 M
>  evolution-help              x86_64 2.24.2-2.fc10               
> installed  53 M
>  evolution-perl              x86_64 2.24.2-2.fc10               
> installed 7.6 k
>  gnome-packagekit            x86_64 0.3.12-1.fc10               
> installed 6.0 M
>  krb5-auth-dialog            x86_64 0.7-7.fc9                   
> installed  56 k
> 
> Transaction Summary
> ================================================================================
> Install      0 Package(s)        
> Update       0 Package(s)        
> Remove      14 Package(s)        
> 
> Is this ok [y/N]: y
> Downloading Packages:
> ============================== Entering rpm code 
> ===============================
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Erasing        : 
> krb5-auth-dialog                                        1/14
>   Erasing        : 
> NetworkManager-glib                                     2/14
>   Erasing        : 
> PackageKit-yum-plugin                                   3/14
>   Erasing        : 
> PackageKit-glib                                         4/14
>   Erasing        : 
> NetworkManager-gnome                                    5/14
>   Erasing        : 
> gnome-packagekit                                        6/14
>   Erasing        : 
> PackageKit                                              7/14
>   Erasing        : 
> NetworkManager                                          8/14
>   Erasing        : 
> evolution-perl                                          9/14
>   Erasing        : 
> PackageKit-udev-helper                                 10/14
>   Erasing        : 
> evolution-help                                         11/14
>   Erasing        : 
> evolution                                              12/14
>   Erasing        : 
> PackageKit-yum                                         13/14
>   Erasing        : 
> PackageKit-gstreamer-plugin                            14/14
> Unable to send message to PackageKit
> =============================== Leaving rpm code 
> ===============================
> 
> Removed:
>   NetworkManager.x86_64 
> 1:0.7.0-0.12.svn4326.fc10                              
>   NetworkManager-glib.x86_64 
> 1:0.7.0-0.12.svn4326.fc10                         
>   NetworkManager-gnome.x86_64 
> 1:0.7.0-0.12.svn4326.fc10                        
> 
> Dependency Removed:
>   PackageKit.x86_64 
> 0:0.3.12-1.fc10                                            
>   PackageKit-glib.x86_64 
> 0:0.3.12-1.fc10                                       
>   PackageKit-gstreamer-plugin.x86_64 
> 0:0.3.12-1.fc10                           
>   PackageKit-udev-helper.x86_64 
> 0:0.3.12-1.fc10                                
>   PackageKit-yum.x86_64 
> 0:0.3.12-1.fc10                                        
>   PackageKit-yum-plugin.x86_64 
> 0:0.3.12-1.fc10                                 
>   evolution.x86_64 
> 0:2.24.2-2.fc10                                             
>   evolution-help.x86_64 
> 0:2.24.2-2.fc10                                        
>   evolution-perl.x86_64 
> 0:2.24.2-2.fc10                                        
>   gnome-packagekit.x86_64 
> 0:0.3.12-1.fc10                                      
>   krb5-auth-dialog.x86_64 
> 0:0.7-7.fc9                                          
> 
> Complete!
> [root at localhost sysuser]# sudo chkconfig network on
> [root at localhost sysuser]# sudo service network stop
> Shutting down loopback interface:                          [  OK  ]
> [root at localhost sysuser]# sudo service network start
> Bringing up loopback interface:                            [  OK  ]
> [root at localhost sysuser]# sudo create-ovirt-network
> Currently active bridges:
> -------------------------
> bridge name    bridge id        STP enabled    interfaces
> pan0        8000.000000000000    no       
> virbr0        8000.000000000000    yes       
> 
> Currently defined libvirt networks:
> -----------------------------------
> libvir: Remote error : unable to connect to 
> '/var/run/libvirt/libvirt-sock': No such file or directory
> error: failed to connect to the hypervisor
> 
> Removing ovirtbr0
> Done Removing ovirtbr0
> Network ovirtbr0 defined from /tmp/tmp.uBtmBwfX65
> 
> 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
> Saved 1 file(s)
> augtool>
> Shutting down dnsmasq:                                     [FAILED]
> 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 sysuser]#
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel


-- 
|=-        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 -=|




More information about the ovirt-devel mailing list