daniel at sml.se
2008-Dec-26 09:11 UTC
[Ovirt-devel] Re: Fw: Install problems on fresh F10
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 scriptWe 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-0001.htm>
daniel at sml.se wrote:> 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?Ok. Do you have a working oVirt Node running? Either one of nodeX.priv.ovirt.org or physical.priv.ovirt.org? They should show up in the default hardware pool under the Hosts tab. If they are working properly they should show up as "available (enabled)" In order to add storage to the storage pool you need to have a Node available to query the storage to make sure it is accessible. If the Node you are relying on is physical.priv.ovirt.org did you follow the multiple reboot instructions for getting this node to work properly? In short you needed to: 1. shutdown the appliance 2. on host run ovirt-install-node-stateful 3. boot appliance 4. shutdown appliance 5. sudo service libvirtd restart 6. start appliance 7. physical should show up as available (enabled) now and you should be able to run: virsh -c qemu+tcp://physical.priv.ovirt.org/system --list from the appliance. If you do have one or more Nodes listed as available (enabled) in the Hosts tab but still see the problem with storage in pending_setup, do the following: ssh to the appliance (user:ovirt pass:ovirt) klist virsh -c qemu+tcp://nodeX.priv.ovirt.org/system list --all virsh -c qemu+tcp://physical.priv.ovirt.org/system list --all Let me know what the output of the above commands is. Also, please tar up the logs on the appliance in: /var/log/ovirt-server /var/log/ovirt*.log /var/log/ace/* And send them to me so I can see if there are any errors. Thanks, Perry
Daniel Galeus wrote:> rehi, > > i made a new fresh f10 install, updated with latest fixes, and then > tried again to install. > > i suggest that you first take a look at the attached console.txt to see > what i did, and if i made any obvious errors.Sure thing. I'll put some comments inline below...> i still had the network problem, as you can see in console.txt line 292 > i also had the libvirt-sock error at line 322 > i did get-ovirt-appliance using a local file at line 369, and you see > the filenames just above. > > will send ovirt-host.log and logs from appliance in separate mails. > > ciao, > bs66 > > ----- Original Message ----- From: "Perry Myers" <pmyers at redhat.com> > To: "Daniel Galeus" <daniel at sml.se> > Sent: Friday, December 26, 2008 8:21 PM > Subject: SPAM(6.1) Re: Fw: Install problems on fresh F10 > > >> Daniel Galeus wrote: >>> i have and had physical.priv.ovirt.org in Hosts, but it's >>> "unavailable (enabled)". >>> please find attached the log files. i hope i got it right. >>> >>> unfortunatelly i'm a windows guy trying to convert to linux and open >>> source, which makes me ask a lot of basic questions. but i hope i >>> learn quick while doing. >> >> No problem. I'll try to help as much as I can. :) >> >> The logs for the most part look ok. The only thing odd that I saw is >> that you have a few instances in the taskomatic.log where it says it >> can't connect to the database. That is a little weird... if you're >> going to reinstall send me the logs right after the appliance boots >> the first time so I can see how the install went. >> >> And then run the virsh commands from the appliance to physical.priv as >> I suggested in the earlier email... That'll give me an idea of what >> might be going on. Also on the host, grab /var/log/ovirt*.log as well. >> >> Thanks, >> >> Perry >> > [sysuser at localhost ~]$ su > Password: > [root at localhost sysuser]# sudo rpm -ivh > http://ovirt.org/repos/ovirt/ovirt-release-LATEST.noarch.rpm > Retrieving http://ovirt.org/repos/ovirt/ovirt-release-LATEST.noarch.rpm > Preparing... ########################################### > [100%] > 1:ovirt-release ########################################### > [100%] > > [root at localhost sysuser]# sudo yum update --enablerepo=ovirt > Loaded plugins: refresh-packagekit > ovirt | 951 B > 00:00 ovirt/primary | 7.7 > kB 00:01 > ovirt > 26/26 > Setting up Update Process > No Packages marked for Update > > [root at localhost sysuser]# sudo yum install --enablerepo=ovirt > ovirt-appliance python-virtinst > Loaded plugins: refresh-packagekit > Setting up Install Process > Parsing package install arguments > Resolving Dependencies > --> Running transaction check > ---> Package ovirt-appliance.noarch 0:0.96-1.fc10 set to be updated > --> Processing Dependency: libvirt >= 0.4.6-2 for package: ovirt-appliance > --> Processing Dependency: kvm >= 78-4 for package: ovirt-appliance > --> Processing Dependency: qemu-img for package: ovirt-appliance > --> Processing Dependency: virt-viewer-plugin for package: ovirt-appliance > --> Processing Dependency: augeas for package: ovirt-appliance > ---> Package python-virtinst.noarch 0:0.400.0-5.fc10 set to be updated > --> Processing Dependency: libvirt-python >= 0.4.5-2.fc10 for package: > python-virtinst > --> Running transaction check > ---> Package kvm.x86_64 0:78-4.1ovirt.fc10 set to be updated > --> Processing Dependency: etherboot-roms-kvm for package: kvm > ---> Package libvirt-python.x86_64 0:0.5.1-2.fc10 set to be updated > ---> Package qemu-img.x86_64 0:0.9.1-10.fc10 set to be updated > ---> Package augeas.x86_64 0:0.3.5-1.fc10 set to be updated > --> Processing Dependency: augeas-libs = 0.3.5-1.fc10 for package: augeas > --> Processing Dependency: libfa.so.0()(64bit) for package: augeas > --> Processing Dependency: libaugeas.so.0()(64bit) for package: augeas > ---> Package libvirt.x86_64 0:0.5.1-2.fc10 set to be updated > --> Processing Dependency: iscsi-initiator-utils for package: libvirt > --> Processing Dependency: bridge-utils for package: libvirt > --> Processing Dependency: libxenstore.so.3.0()(64bit) for package: libvirt > ---> Package virt-viewer-plugin.x86_64 0:0.0.3-3ovirt1.fc9 set to be > updated > --> Processing Dependency: vinagre for package: virt-viewer-plugin > --> Running transaction check > ---> Package augeas-libs.x86_64 0:0.3.5-1.fc10 set to be updated > ---> Package iscsi-initiator-utils.x86_64 0:6.2.0.870-1.0.fc10 set to be > updated > ---> Package bridge-utils.x86_64 0:1.2-6.fc10 set to be updated > ---> Package xen-libs.x86_64 0:3.3.0-1.fc10 set to be updated > ---> Package vinagre.x86_64 0:2.24.2-1.fc10 set to be updated > --> Processing Dependency: libavahi-gobject.so.0()(64bit) for package: > vinagre > --> Processing Dependency: libgtk-vnc-1.0.so.0()(64bit) for package: > vinagre > --> Processing Dependency: libavahi-ui.so.0()(64bit) for package: vinagre > ---> Package etherboot-roms-kvm.x86_64 0:5.4.4-4.fc10 set to be updated > --> Running transaction check > ---> Package gtk-vnc.x86_64 0:0.3.8-1.fc10 set to be updated > ---> Package avahi-ui.x86_64 0:0.6.22-11.fc10 set to be updated > ---> Package avahi-gobject.x86_64 0:0.6.22-11.fc10 set to be updated > --> Finished Dependency Resolution > > Dependencies Resolved > > ================================================================================ > > Package Arch Version > Repository Size > ================================================================================ > > Installing: > ovirt-appliance noarch 0.96-1.fc10 > ovirt 15 k > python-virtinst noarch 0.400.0-5.fc10 updates > 315 k > Installing for dependencies: > augeas x86_64 0.3.5-1.fc10 > ovirt 20 k > augeas-libs x86_64 0.3.5-1.fc10 ovirt > 186 k > avahi-gobject x86_64 0.6.22-11.fc10 > fedora 29 k > avahi-ui x86_64 0.6.22-11.fc10 > fedora 31 k > bridge-utils x86_64 1.2-6.fc10 > fedora 28 k > etherboot-roms-kvm x86_64 5.4.4-4.fc10 fedora > 126 k > gtk-vnc x86_64 0.3.8-1.fc10 > updates 85 k > iscsi-initiator-utils x86_64 6.2.0.870-1.0.fc10 updates > 627 k > kvm x86_64 78-4.1ovirt.fc10 ovirt > 844 k > libvirt x86_64 0.5.1-2.fc10 updates > 1.7 M > libvirt-python x86_64 0.5.1-2.fc10 updates > 103 k > qemu-img x86_64 0.9.1-10.fc10 > fedora 75 k > vinagre x86_64 2.24.2-1.fc10 updates > 1.2 M > virt-viewer-plugin x86_64 0.0.3-3ovirt1.fc9 ovirt > 9.7 k > xen-libs x86_64 3.3.0-1.fc10 fedora > 174 k > > Transaction Summary > ================================================================================ > > Install 17 Package(s) Update 0 Package(s) > Remove 0 Package(s) > Total download size: 5.5 M > Is this ok [y/N]: y > Downloading Packages: > (1/17): virt-viewer-plugin-0.0.3-3ovirt1.fc9.x86_64.rpm | 9.7 kB > 00:04 (2/17): ovirt-appliance-0.96-1.fc10.noarch.rpm | 15 > kB 00:07 (3/17): > augeas-0.3.5-1.fc10.x86_64.rpm | 20 kB 00:10 > ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/10/Everything/x86_64/os/Packages/bridge-utils-1.2-6.fc10.x86_64.rpm: > [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')> > Trying other mirror. > http://mirrors.se.eu.kernel.org/fedora/releases/10/Everything/x86_64/os/Packages/bridge-utils-1.2-6.fc10.x86_64.rpm: > [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name > resolution')> > Trying other mirror. > (4/17): bridge-utils-1.2-6.fc10.x86_64.rpm | 28 kB > 00:06 (5/17): avahi-gobject-0.6.22-11.fc10.x86_64.rpm | 29 > kB 00:08 (6/17): > avahi-ui-0.6.22-11.fc10.x86_64.rpm | 31 kB 00:09 > (7/17): qemu-img-0.9.1-10.fc10.x86_64.rpm | 75 kB > 00:18 > http://mirrors.se.eu.kernel.org/fedora/updates/10/x86_64/gtk-vnc-0.3.8-1.fc10.x86_64.rpm: > [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name > resolution')> > Trying other mirror. > (8/17): gtk-vnc-0.3.8-1.fc10.x86_64.rpm | 85 kB > 00:14 (9/17): libvirt-python-0.5.1-2.fc10.x86_64.rpm | 103 > kB 00:07 (10/17): > etherboot-roms-kvm-5.4.4-4.fc10.x86_64.rpm | 126 kB 00:16 > (11/17): xen-libs-3.3.0-1.fc10.x86_64.rpm | 174 kB > 00:25 (12/17): augeas-libs-0.3.5-1.fc10.x86_64.rpm | 186 > kB 00:23 (13/17): > python-virtinst-0.400.0-5.fc10.noarch.rpm | 315 kB 00:27 > (14/17): iscsi-initiator-utils-6.2.0.870-1.0.fc10.x86_64 | 627 kB > 01:55 (15/17): kvm-78-4.1ovirt.fc10.x86_64.rpm | 844 > kB 00:59 (16/17): > vinagre-2.24.2-1.fc10.x86_64.rpm | 1.2 MB 02:18 > (17/17): libvirt-0.5.1-2.fc10.x86_64.rpm | 1.7 MB > 03:12 > --------------------------------------------------------------------------------Looks like you're having some intermittent mirror issues. You might want to edit your /etc/yum.repos.d/fedora.repo and fedora-updates.repo to use a specific baseurl instead of a mirrorlist. But it looks like all of the packages installed ok so this might be a non-issue.> Total 6.3 kB/s | 5.5 MB > 14:50 ============================== Entering rpm code > ==============================> Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing : > qemu-img 1/17 > Installing : > iscsi-initiator-utils 2/17 > Installing : > avahi-gobject 3/17 > Installing : > xen-libs 4/17 > Installing : > bridge-utils 5/17 > Installing : > libvirt 6/17 > Installing : > libvirt-python 7/17 > Installing : > augeas-libs 8/17 > Installing : > augeas 9/17 > Installing : avahi-ui > 10/17 Installing : > gtk-vnc 11/17 > Installing : vinagre > 12/17 Installing : > virt-viewer-plugin 13/17 > Installing : etherboot-roms-kvm > 14/17 Installing : > kvm 15/17 > Installing : python-virtinst > 16/17 Installing : > ovirt-appliance 17/17 > =============================== Leaving rpm code > ==============================> > Installed: > ovirt-appliance.noarch 0:0.96-1.fc10 python-virtinst.noarch > 0:0.400.0-5.fc10 > Dependency Installed: > augeas.x86_64 > 0:0.3.5-1.fc10 > augeas-libs.x86_64 > 0:0.3.5-1.fc10 > avahi-gobject.x86_64 > 0:0.6.22-11.fc10 > avahi-ui.x86_64 > 0:0.6.22-11.fc10 > bridge-utils.x86_64 > 0:1.2-6.fc10 > etherboot-roms-kvm.x86_64 > 0:5.4.4-4.fc10 gtk-vnc.x86_64 > 0:0.3.8-1.fc10 > iscsi-initiator-utils.x86_64 > 0:6.2.0.870-1.0.fc10 kvm.x86_64 > 0:78-4.1ovirt.fc10 > libvirt.x86_64 > 0:0.5.1-2.fc10 > libvirt-python.x86_64 > 0:0.5.1-2.fc10 qemu-img.x86_64 > 0:0.9.1-10.fc10 > vinagre.x86_64 > 0:2.24.2-1.fc10 > virt-viewer-plugin.x86_64 > 0:0.0.3-3ovirt1.fc9 xen-libs.x86_64 > 0:3.3.0-1.fc10 > Complete! > > [root at localhost sysuser]# cd dgtmp > > [root at localhost dgtmp]# ls -l > total 360704 > -rwxr-xr-x 1 sysuser sysuser 368988893 2008-12-23 21:59 > ovirt-appliance-0.96-x86_64.tar.bz2 > -rwxr-xr-x 1 sysuser sysuser 77 2008-12-23 20:22 > ovirt-appliance-0.96-x86_64.tar.bz2.sha1sum > > [root at localhost dgtmp]# sudo service NetworkManager stop > Stopping NetworkManager daemon: [ OK ] > > [root at localhost dgtmp]# 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 gnome-packagekit.x86_64 0:0.3.12-1.fc10 set to be erased > ---> Package PackageKit-yum-plugin.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 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 PackageKit-yum.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 > --> 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 dgtmp]# sudo chkconfig network on > > [root at localhost dgtmp]# sudo service network stop > Shutting down loopback interface: [ OK ] > > [root at localhost dgtmp]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 > # Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller > DEVICE=eth0 > HWADDR=00:17:31:3f:20:85 > ONBOOT=no > > [root at localhost dgtmp]# gedit /etc/sysconfig/network-scripts/ifcfg-eth0 > > [root at localhost dgtmp]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 > # Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller > DEVICE=eth0 > HWADDR=00:17:31:3f:20:85 > #ONBOOT=no > ONBOOT=yes > BOOTPROTO=dhcp > > [root at localhost dgtmp]# sudo service network start > Bringing up loopback interface: [ OK ] > Bringing up interface eth0: Determining IP information for eth0... done. > [ OK ] > [root at localhost dgtmp]# ping ftp.sunet.se > PING ftp.sunet.se (194.71.11.69) 56(84) bytes of data. > 64 bytes from ftp.sunet.se (194.71.11.69): icmp_seq=1 ttl=57 time=1132 ms > 64 bytes from ftp.sunet.se (194.71.11.69): icmp_seq=2 ttl=57 time=1062 ms > ^C > --- ftp.sunet.se ping statistics --- > 3 packets transmitted, 2 received, 33% packet loss, time 2634ms > rtt min/avg/max/mdev = 1062.122/1097.401/1132.680/35.279 ms, pipe 2Ok, looks good so far.> [root at localhost dgtmp]# 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 hypervisorThe reason you're getting this error is that you didn't start the libvirt daemon after you did the yum install of ovirt-appliance and python-virtinst. The instructions say:> # Install additional RPMs from the oVirt repository: > > sudo yum install --enablerepo=ovirt ovirt-appliance python-virtinst > > # Restart libvirtd to pick up the newer version: > > sudo service libvirtd restartI see in the above console log where you do the yum install command, but you never followed it up with the libvirtd restart. In any case, this error is harmless since we make sure that libvirtd is started later in the create-ovirt-network script. So you can ignore this error.> Removing ovirtbr0 > Done Removing ovirtbr0 > Network ovirtbr0 defined from /tmp/tmp.PDSIWoiFCW > > 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 yesOk this all looks good.> [root at localhost dgtmp]# ls -l > total 360704 > -rwxr-xr-x 1 sysuser sysuser 368988893 2008-12-23 21:59 > ovirt-appliance-0.96-x86_64.tar.bz2 > -rwxr-xr-x 1 sysuser sysuser 77 2008-12-23 20:22 > ovirt-appliance-0.96-x86_64.tar.bz2.sha1sum > > [root at localhost dgtmp]# sudo get-ovirt-appliance -l . > Using local files in . for appliance > performing checksum of ./ovirt-appliance-0.96-x86_64.tar.bz2 > checksum verified > ovirt-appliance/ovirt-appliance.xml > ovirt-appliance/get-ovirt-appliance > ovirt-appliance/create-ovirt-appliance > ovirt-appliance/ovirt-appliance-functions > ovirt-appliance/ovirt-appliance-sda.qcow2 > ovirt-appliance/create-ovirt-nodes > ovirt-appliance/ovirt-appliance-sdb.qcow2 > ovirt-appliance/create-ovirt-network > Appliance Disks installed to /var/lib/libvirt/images > Run create-ovirt-appliance to define and start the appliance > > [root at localhost dgtmp]# sudo create-ovirt-appliance > > > Creating guest ovirt-appliance... > Creating domain... | 0 B > 00:00 Domain ovirt-appliance defined from /tmp/tmp.8HrLyC6qiE > > [root at localhost dgtmp]# sudo virsh start ovirt-appliance > Domain ovirt-appliance started > > [root at localhost dgtmp]# sudo yum install virt-viewer > Setting up Install Process > Parsing package install arguments > Resolving Dependencies > --> Running transaction check > ---> Package virt-viewer.x86_64 0:0.0.3-3.fc10 set to be updated > --> Finished Dependency Resolution > > Dependencies Resolved > > ================================================================================ > > Package Arch Version > Repository Size > ================================================================================ > > Installing: > virt-viewer x86_64 0.0.3-3.fc10 > fedora 29 k > > Transaction Summary > ================================================================================ > > Install 1 Package(s) Update 0 Package(s) > Remove 0 Package(s) > Total download size: 29 k > Is this ok [y/N]: y > Downloading Packages: > virt-viewer-0.0.3-3.fc10.x86_64.rpm | 29 kB > 00:00 ============================== Entering rpm code > ==============================> Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing : > virt-viewer 1/1 > =============================== Leaving rpm code > ==============================> > Installed: > virt-viewer.x86_64 > 0:0.0.3-3.fc10 > Complete! > > [root at localhost dgtmp]# sudo virt-viewer ovirt-appliance > > [root at localhost dgtmp]# sudo virt-viewer ovirt-appliance > > [root at localhost dgtmp]# sudo virsh shutdown ovirt-appliance > Domain ovirt-appliance is being shutdown > > [root at localhost dgtmp]# sudo virt-viewer ovirt-appliance > > [root at localhost dgtmp]# udo yum install --enablerepo=ovirt > ovirt-node-stateful ovirt-node-selinux > bash: udo: command not found > > [root at localhost dgtmp]# sudo yum install --enablerepo=ovirt > ovirt-node-stateful ovirt-node-selinux > fedora | 2.8 kB > 00:00 updates | 2.3 > kB 00:00 Setting up Install Process > Parsing package install arguments > Resolving Dependencies > --> Running transaction check > ---> Package ovirt-node-stateful.x86_64 0:0.96-1.fc10 set to be updated > --> Processing Dependency: ovirt-node = 0.96-1.fc10 for package: > ovirt-node-stateful > ---> Package ovirt-node-selinux.x86_64 0:0.96-1.fc10 set to be updated > --> Running transaction check > ---> Package ovirt-node.x86_64 0:0.96-1.fc10 set to be updated > --> Processing Dependency: libvirt-qpid >= 0.2.3 for package: ovirt-node > --> Processing Dependency: collectd-virt for package: ovirt-node > --> Processing Dependency: cyrus-sasl-gssapi for package: ovirt-node > --> Running transaction check > ---> Package libvirt-qpid.x86_64 0:0.2.9-0 set to be updated > --> Processing Dependency: qmf >= 0.3.722557 for package: libvirt-qpid > --> Processing Dependency: qpidc >= 0.3.722557 for package: libvirt-qpid > --> Processing Dependency: libqpidclient.so.0()(64bit) for package: > libvirt-qpid > --> Processing Dependency: libqpidcommon.so.0()(64bit) for package: > libvirt-qpid > --> Processing Dependency: libqmfagent.so.0()(64bit) for package: > libvirt-qpid > ---> Package collectd-virt.x86_64 0:4.5.1-2.1.fc10 set to be updated > --> Processing Dependency: collectd = 4.5.1-2.1.fc10 for package: > collectd-virt > ---> Package cyrus-sasl-gssapi.x86_64 0:2.1.22-19.fc10 set to be updated > --> Running transaction check > ---> Package collectd.x86_64 0:4.5.1-2.1.fc10 set to be updated > ---> Package qmf.x86_64 0:0.4.728142-1.fc10 set to be updated > ---> Package qpidc.x86_64 0:0.4.728142-1.fc10 set to be updated > --> Finished Dependency Resolution > > Dependencies Resolved > > ================================================================================ > > Package Arch Version > Repository Size > ================================================================================ > > Installing: > ovirt-node-selinux x86_64 0.96-1.fc10 ovirt > 7.5 k > ovirt-node-stateful x86_64 0.96-1.fc10 ovirt > 9.7 k > Installing for dependencies: > collectd x86_64 4.5.1-2.1.fc10 updates > 284 k > collectd-virt x86_64 4.5.1-2.1.fc10 > updates 13 k > cyrus-sasl-gssapi x86_64 2.1.22-19.fc10 > fedora 31 k > libvirt-qpid x86_64 0.2.9-0 > ovirt 70 k > ovirt-node x86_64 0.96-1.fc10 > ovirt 25 k > qmf x86_64 0.4.728142-1.fc10 updates > 137 k > qpidc x86_64 0.4.728142-1.fc10 updates > 809 k > > Transaction Summary > ================================================================================ > > Install 9 Package(s) Update 0 Package(s) > Remove 0 Package(s) > Total download size: 1.4 M > Is this ok [y/N]: y > Downloading Packages: > (1/9): ovirt-node-selinux-0.96-1.fc10.x86_64.rpm | 7.5 kB > 00:00 (2/9): ovirt-node-stateful-0.96-1.fc10.x86_64.rpm | 9.7 > kB 00:00 (3/9): > collectd-virt-4.5.1-2.1.fc10.x86_64.rpm | 13 kB 00:00 > (4/9): ovirt-node-0.96-1.fc10.x86_64.rpm | 25 kB > 00:00 (5/9): cyrus-sasl-gssapi-2.1.22-19.fc10.x86_64.rpm | 31 > kB 00:00 (6/9): > libvirt-qpid-0.2.9-0.x86_64.rpm | 70 kB 00:01 > (7/9): qmf-0.4.728142-1.fc10.x86_64.rpm | 137 kB > 00:01 (8/9): collectd-4.5.1-2.1.fc10.x86_64.rpm | 284 > kB 00:02 (9/9): > qpidc-0.4.728142-1.fc10.x86_64.rpm | 809 kB 00:07 > -------------------------------------------------------------------------------- > > Total 54 kB/s | 1.4 MB > 00:25 ============================== Entering rpm code > ==============================> Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing : > qpidc 1/9 > Installing : > qmf 2/9 > Installing : > libvirt-qpid 3/9 > Installing : > cyrus-sasl-gssapi 4/9 > Installing : > collectd 5/9 > Installing : > collectd-virt 6/9 > Installing : > ovirt-node 7/9 > Installing : > ovirt-node-stateful 8/9 > Installing : > ovirt-node-selinux 9/9 > =============================== Leaving rpm code > ==============================> > Installed: > ovirt-node-selinux.x86_64 > 0:0.96-1.fc10 > ovirt-node-stateful.x86_64 > 0:0.96-1.fc10 > Dependency Installed: > collectd.x86_64 > 0:4.5.1-2.1.fc10 > collectd-virt.x86_64 > 0:4.5.1-2.1.fc10 > cyrus-sasl-gssapi.x86_64 > 0:2.1.22-19.fc10 > libvirt-qpid.x86_64 > 0:0.2.9-0 > ovirt-node.x86_64 > 0:0.96-1.fc10 qmf.x86_64 > 0:0.4.728142-1.fc10 > qpidc.x86_64 > 0:0.4.728142-1.fc10 > Complete! > > [root at localhost dgtmp]# sudo ovirt-install-node-stateful > This script will make a number of changes to your system to enable it > to work as an oVirt node. You can later undo these changes by > running /usr/sbin/ovirt-uninstall-host. Do you want to proceed? [y/N]? > y > iptables: Flushing firewall rules: [ OK ] > iptables: Setting chains to policy ACCEPT: filter [ OK ] > iptables: Unloading modules: [ OK ] > iptables: Applying firewall rules: [ OK ] > Stopping libvirtd daemon: [ OK ] > Starting libvirtd daemon: [ OK ] > Stopping collectd: [FAILED] > Starting collectd: libvir: Remote error : unable to connect to > '/var/run/libvirt/libvirt-sock-ro': Connection refused > [ OK ] > Shutting down ovirt-listen-awake: [FAILED] > Starting ovirt-listen-awake: [ OK ] > Stopping libvirt-qpid daemon: [FAILED] > Starting libvirt-qpid daemon: libvirt-qpid: Symbol > `_ZTVN4qpid10management16ManagementObjectE' has different size in shared > object, consider re-linkingThis error was due to qpid RPMs being updated in Fedora w/o a rebuild of libvirt-qpid package. I've rebuilt this package manually and uploaded it to the ovirt.org repo. You'll need to do the following to get it installed: sudo rpm --erase libvirt-qpid --nodeps sudo yum clean all sudo rm -Rf /var/cache/yum/* sudo yum install libvirt-qpid --enablerepo=ovirt sudo service libvirt-qpid restart That should clear up the issue with libvirt-qpid due to the bad build.> [ OK ] > Shutting down ntpd: [FAILED] > ntpdate: Synchronizing with time server: [ OK ] > Starting ntpd: [ OK ] > > [root at localhost dgtmp]# sudo virsh start ovirt-appliance > Domain ovirt-appliance started > > [root at localhost dgtmp]# # *** physical.priv.ovirt.org status is now > "unavailable (enabled)"This is related to the libvirt-qpid error above... This should go away if you retry things with the newer package.> [root at localhost dgtmp]# > [root at localhost dgtmp]# mkdir log > > [root at localhost dgtmp]# cd log > > [root at localhost log]# ls -l > total 0 > > [root at localhost log]# > [root at localhost log]# sudo service libvirtd restart > Stopping libvirtd daemon: [ OK ] > Starting libvirtd daemon: [ OK ] > > [root at localhost log]# sudo virsh net-list --all > Name State Autostart > ----------------------------------------- > default active yes ovirtbr0 > active yes > [root at localhost log]# 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.J6MFg9rM8s > > 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 yesOk, this may be a problem. I've seen issues with the appliance if you recreate the ovirt-network after booting the appliance the first time... What you'll want to do now is reset your appliance with: sudo get-ovirt-appliance -l . sudo create-ovirt-appliance sudo virsh start ovirt-appliance (wait for the appliance to completely boot) sudo virsh shutdown ovirt-appliance sudo service libvirtd restart sudo virsh start ovirt-appliance Now you should be able to see the physical host come up as available (enabled).> [root at localhost log]# sudo virsh start ovirt-applianceDomain > ovirt-appliance started > > [root at localhost log]# # *** physical.priv.ovirt.org status is now > "unavailable (enabled)" > > [root at localhost log]# sudo virsh shutdown ovirt-applianceDomain > ovirt-appliance is being shutdown > > [root at localhost log]# sudo virt-viewer ovirt-applianceNo protocol specified > > (virt-viewer:7322): Gtk-WARNING **: cannot open display: :0.0 > > [root at localhost log]# sudo ovirt-install-node-statefulThere shouldn't be a need to rerun this script, but it shouldn't hurt anything if you do.> This script will make a number of changes to your system to enable it > to work as an oVirt node. You can later undo these changes by > running /usr/sbin/ovirt-uninstall-host. Do you want to proceed? [y/N]? > y > iptables: Flushing firewall rules: [ OK ] > iptables: Setting chains to policy ACCEPT: filter [ OK ] > iptables: Unloading modules: [ OK ] > iptables: Applying firewall rules: [ OK ] > Stopping libvirtd daemon: [ OK ] > Starting libvirtd daemon: [ OK ] > Stopping collectd: [ OK ] > Starting collectd: libvir: Remote error : unable to connect to > '/var/run/libvirt/libvirt-sock-ro': Connection refused > [ OK ] > Shutting down ovirt-listen-awake: [ OK ] > Starting ovirt-listen-awake: [ OK ] > Stopping libvirt-qpid daemon: [FAILED] > Starting libvirt-qpid daemon: libvirt-qpid: Symbol > `_ZTVN4qpid10management16ManagementObjectE' has different size in shared > object, consider re-linking > [ OK ] > Shutting down ntpd: [ OK ] > ntpdate: Synchronizing with time server: [ OK ] > Starting ntpd: [ OK ] > > [root at localhost log]# sudo virsh start ovirt-applianceDomain > ovirt-appliance started > > [root at localhost log]# sudo virt-viewer ovirt-appliance > No protocol specified > > (virt-viewer:7874): Gtk-WARNING **: cannot open display: :0.0 > [root at localhost log]# sudo virsh shutdown ovirt-appliance > Domain ovirt-appliance is being shutdown > > [root at localhost log]# sudo service libvirtd restart > Stopping libvirtd daemon: [ OK ] > Starting libvirtd daemon: [ OK ] > [root at localhost log]# sudo virsh start ovirt-appliance > Domain ovirt-appliance started > > [root at localhost log]# # *** physical.priv.ovirt.org status is now > "unavailable (enabled)" > > [root at localhost log]# ssh -l root 192.168.50.2 cat /root/otto2.tar.gz > >otto2.tar.gz > The authenticity of host '192.168.50.2 (192.168.50.2)' can't be > established. > RSA key fingerprint is a9:0a:30:13:2a:46:9e:b3:25:dd:0e:07:ae:bb:f2:fe. > Are you sure you want to continue connecting (yes/no)? yes > Warning: Permanently added '192.168.50.2' (RSA) to the list of known hosts. > root at 192.168.50.2's password: > [root at localhost log]# ls -l > total 1444 > -rw-r--r-- 1 root root 1472761 2008-12-27 00:34 otto2.tar.gzI think the core problems above were: 1. libvirtd error was because you didn't do the service libvirtd restart after doing the yum install ovirt-appliance. This is covered in the install instructions 2. libvirt-qpid issues that are now resolved with the new packages on ovirt.org repositories. This should be resolved until the qpid team releases another qpid package that breaks binary compatibility again... (We're working with them to try to limit this but they are still in rapid development so it may happen again) 3. Running create-ovirt-network after booting the appliance. I need to add a note to the install docs that indicates that this is problematic. So follow the instructions I provided for re-installing the libvirt-qpid package and then follow the instructions for redoing the get-ovirt-appliance sequence. That should clear things up. Thanks, Perry
Reasonably Related Threads
- problem with kerberos (I think)
- [PATCH: node 0/3] replace ovirt-identify-node with matahari
- [PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent
- [PATCH node-image] Fix create-ovirt-iso-nodes to allow manual specification of network bridge to use
- Few questions about oVirt install.