[Ovirt-devel] problem with kerberos (I think)

sylvain.desbureaux at orange-ftgroup.com sylvain.desbureaux at orange-ftgroup.com
Fri Jul 31 08:19:37 UTC 2009


Hi all,
I've got some problems to make work oVirt.
I've installed a Fedora 10 VM the lightest possible (nothing checked, even based) and installed after some packages (wget, sudo, acpid,...) and updated the system.
By the way, acpid should be a dependency of ovirt-installer because the installation fails if it's not available.
I've then installed ovirt (ovirt-server-installer ovirt-server ovirt-node-image ovirt-node-image-pxe) following the doc.
Everything went well (I've tested last year and the new installer is far better than the previous). The only differences I had to make is to shut down the firewall and comment some lines of ovirt-server.conf in httpd conf (see https://bugzilla.redhat.com/show_bug.cgi?id=514536)

I then looked at the logs and I found errors so I launched db-omatic and taskomatic in debug mode to see what the problem is:
Lauching db-omatic.rb:
[root at management ~]# /usr/share/ovirt-server/db-omatic/db_omatic.rb -n
INFO Fri Jul 31 10:04:31 +0200 2009 (7242) dbomatic started.
INFO Fri Jul 31 10:04:31 +0200 2009 (7242) Connecting to amqp://management.open.net:5672
/usr/share/ovirt-server/db-omatic/db_omatic.rb:252:in `object_props': undefined method `[]' for #<Qpid::Qmf::ClassKey:0x7f2a48ae8e80> (NoMethodError)
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:608:in `handle_content_ind'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1728:in `reply_cb'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1716:in `loop'
        from /usr/lib/ruby/site_ruby/1.8/qpid/qmf.rb:1716:in `reply_cb'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `to_proc'
        from /usr/lib/ruby/site_ruby/1.8/qpid/queue.rb:91:in `call'
        from /usr/lib/ruby/site_ruby/1.8/qpid/queue.rb:91:in `listen'
        from /usr/lib/ruby/site_ruby/1.8/qpid/queue.rb:87:in `loop'
         ... 12 levels...
        from /usr/share/ovirt-server/db-omatic/db_omatic.rb:95:in `initialize'
        from /usr/share/ovirt-server/db-omatic/db_omatic.rb:475:in `new'
        from /usr/share/ovirt-server/db-omatic/db_omatic.rb:475:in `main'
        from /usr/share/ovirt-server/db-omatic/db_omatic.rb:482
ERROR Fri Jul 31 10:04:41 +0200 2009 (7242) Error in db-omatic: #<SystemExit:0x7f2a48a41a90>
ERROR Fri Jul 31 10:04:41 +0200 2009 (7242) /usr/lib/ruby/site_ruby/1.8/qpid/queue.rb:92:in `sleep'/usr/share/ovirt-server/db-omatic/db_omatic.rb:441:in `check_heartbeats'/usr/share/ovirt-server/db-omatic/db_omatic.rb:478:in `main'/usr/share/ovirt-server/db-omatic/db_omatic.rb:482
[root at management ~]#


As you can see db-omatic  fails at start.
Launching taskomatic:
[root at management ~]# /usr/share/ovirt-server/task-omatic/taskomatic.rb -n -d
INFO Fri Jul 31 10:07:18 +0200 2009 (7259) Connecting to amqp://management.open.net:5672
INFO Fri Jul 31 10:07:18 +0200 2009 (7259) Cannot implement tasks, not connected to broker.  Sleeping.


Iptables is shut down, packets are from F10 or Ovirt Repos

Also when I try to launch libvirt-qpid on the physical machine where ovirt management belongs, I have the following error:

[opennet at physical ~]$ export QPID_TRACE=1
[opennet at physical ~]$ sudo libvirt-qpid --broker management.open.net
[sudo] password for opennet: 
libvir: error : this function is not supported by the hypervisor: virNodeGetInfo

Error: virNodeGetInfo Subsystem none: this function is not supported by the hypervisor: virNodeGetInfo in NodeWrap.cpp:NodeWrap:93 code: 3
Creating new pool: default, ptr is 0x1370e00
Syncing volumes.
xml returned device name VolGroup00, path /dev/sda2; volume path is /var/lib/libvirt/images/oVirt_management.img.fresh
libvir: Storage error : invalid storage volume pointer in no storage vol with matching path
adding volume to agent - volume 0x13782a0
done
Created new volume: oVirt_management.img.fresh, ptr is 0x13759c0
xml returned device name VolGroup00, path /dev/sda2; volume path is /var/lib/libvirt/images/oVirt_management.img.old
libvir: Storage error : invalid storage volume pointer in no storage vol with matching path
adding volume to agent - volume 0x13790d0
done
Created new volume: oVirt_management.img.old, ptr is 0x1376c50
xml returned device name VolGroup00, path /dev/sda2; volume path is /var/lib/libvirt/images/oVirt_management.img
libvir: Storage error : invalid storage volume pointer in no storage vol with matching path
adding volume to agent - volume 0x1377ee0
done
Created new volume: oVirt_management.img, ptr is 0x1379a30
xml returned device name VolGroup00, path /dev/sda2; volume path is /var/lib/libvirt/images/oVirt.img
libvir: Storage error : invalid storage volume pointer in no storage vol with matching path
adding volume to agent - volume 0x1378060
done
Created new volume: oVirt.img, ptr is 0x137aa60
Verifying volume oVirt_management.img.fresh
Verifying volume oVirt_management.img.old
Verifying volume oVirt_management.img
Verifying volume oVirt.img
Updating volume info
Updating volume info
Updating volume info
Updating volume info
Created new pool: default, ptr is 0x1370e00
Verifying pool default
Syncing volumes.
Verifying volume oVirt_management.img.fresh
Verifying volume oVirt_management.img.old
Verifying volume oVirt_management.img
Verifying volume oVirt.img
Updating volume info
Updating volume info
Updating volume info
Updating volume info
2009-07-31 10:09:32 warning Closing connection due to internal-error: Sasl error: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No credentials cache found) (qpid/client/SaslFactory.cpp:226)
2009-07-31 10:09:34 warning Closing connection due to internal-error: Sasl error: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (No credentials cache found) (qpid/client/SaslFactory.cpp:226)


Here is the list of installed packages:
ovirt-docs.noarch                                                              0.99-1.fc10                                                           @ovirt
ovirt-node-image.x86_64                                                        1.0.1-1.fc10                                                          @ovirt
ovirt-node-image-pxe.x86_64                                                    1.0.1-1.fc10                                                          @ovirt
ovirt-release.noarch                                                           0.99-1.fc10                                                           installed
ovirt-server.noarch                                                            0.99-1.fc10                                                           @ovirt
ovirt-server-installer.noarch                                                  0.99-1.fc10                                                           @ovirt
libvirt.x86_64                                                                 0.6.3-0.86.git1a9cca4                                                 @ovirt
krb5-libs.x86_64                                                               1.6.3-18.fc10                                                         installed
krb5-server.x86_64                                                             1.6.3-18.fc10                                                         @updates
krb5-server-ldap.x86_64                                                        1.6.3-18.fc10                                                         @updates
krb5-workstation.x86_64                                                        1.6.3-18.fc10                                                         @updates
qpidc.x86_64                                                                   0.5.790661-1.fc10                                                     @updates
qpidd.x86_64                                                                   0.5.790661-1.fc10                                                     @updates

I've seen in the mailing list a post of a guy having a similar problem but there's no answers for resolving it (https://www.redhat.com/archives/ovirt-devel/2009-April/msg00136.html) (I did all the things asked in the mails but I have the good behavior, i.e. time and dns correctly configured)


Thanks in advance for any reply you could make,


 <<Picture (Device Independent Bitmap)>> 
Sylvain Desbureaux
Recherche et Développement, Service aux entreprises
Ingénieur concepteur développeur de services réseaux pour les entreprises
tél. 02 96 05 13 80
sylvain.desbureaux at orange-ftgroup.com
 <<Picture (Device Independent Bitmap)>> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090731/35444c3f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole0.bmp
Type: image/bmp
Size: 2406 bytes
Desc: Picture (Device Independent Bitmap)
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090731/35444c3f/attachment.bmp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole1.bmp
Type: image/bmp
Size: 974 bytes
Desc: Picture (Device Independent Bitmap)
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090731/35444c3f/attachment-0001.bmp>


More information about the ovirt-devel mailing list