[ovirt-users] Have some issues I am hoping to get resolution - farely new to administrating oVirt

Yedidyah Bar David didi at redhat.com
Wed Feb 25 06:58:44 UTC 2015


----- Original Message -----
> From: "George Fleming" <g.fleming at samsung.com>
> To: "Yedidyah Bar David" <didi at redhat.com>
> Cc: users at ovirt.org
> Sent: Tuesday, February 24, 2015 10:39:30 PM
> Subject: RE: [ovirt-users] Have some issues I am hoping to get resolution - farely new to administrating oVirt
> 
> Hi Didi,
> 
> 	Thanks for the response.
> 
> > Can you try vnc?
> > You can also try to configure your browser to not automatically run the
> > spice/vnc client but just download the file you get and look at it. Just
> > try from a machine without vnc/spice clients/plugins.
> > Also check/post logs from /var/log/ovirt-engine .
> 
> Setup one of the VMs for VNC  -->> Native client
> 
> I get the same kind of output a Console window comes up as well as a popup.
> 
> Popup says:  "Unable to connect to libvirt with URI: [none]"  Same as with
> the spice
> 
> 
> .vv file
> 
> [virt-viewer]
> type=vnc
> host=XXX.XXX.XXX.XXX
> port=5900
> password=XXXXXXXXXXXX
> # Password is valid for 120 seconds.
> delete-this-file=1
> title=srad-ad-test:%d - Press SHIFT+F12 to Release Cursor
> toggle-fullscreen=shift+f11
> release-cursor=shift+f12
> secure-attention=ctrl+alt+end

Seems ok to me, assuming that you obfuscated the host above after verifying
that it's correct - i.e. that the client can connect there.

Perhaps your client is too old? Which client/os? Is it the same machine that
used to work?

For vnc you can try to use some variation (might add debugging stuff) of the
script from [1].

[1] http://lists.ovirt.org/pipermail/users/2014-February/021236.html

> 
> Spice from earlier:
> 
> [virt-viewer]
> type=spice
> host=XXX.XXX.XXX.XXX
> port=5906
> password=XXXXXXXXXXXX
> # Password is valid for 120 seconds.
> tls-port=5907
> fullscreen=0
> title=srad-twiki:%d - Press SHIFT+F12 to Release Cursor
> enable-smartcard=0
> enable-usb-autoshare=1
> delete-this-file=1
> usb-filter=-1,-1,-1,-1,0
> tls-ciphers=DEFAULT
> host-subject=O=srad.samsung.com,CN=XXX.XXX.XXX.XXX
> ca=-----BEGIN
>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i4t3ghqrWzbuLKAgS7PUJBn3zyAtROKI7ol+hOADh\nvhKsjkG3TLG7KUhWOo8A3gF75ZU0Qs/qElUgLd1uwcMXzUNuQJ3Vc6cxW46U+A1LbK6ukilNeYX+\nguZhugFAS4l+zj94FDOoqJ0XtiYBD+z77cPfLe3f6uqhN/S38f+ktF16BW816xSofseIc40mbZel\nUfcCcYc7+ZH84qQCXIy61aLB8mKSP9dWe5f/86Ur4qVO6H1WGLtwC7YlWSefe2ty8r9ghKLTsN5l\n/flyYiUpI35izZuNXsE8Rt+e4MQVZEwrRSNIgf2McB92i1OI+HQ=\n-----END
> CERTIFICATE-----\n
> toggle-fullscreen=shift+f11
> release-cursor=shift+f12
> secure-attention=ctrl+alt+end
> secure-channels=main;inputs;cursor;playback;record;display;usbredir;smartcard
> 
> server.log
> 
> 2015-02-24 11:26:11,817 ERROR
> [org.apache.catalina.core.ContainerBase.[default-host]]
> (ajp--127.0.0.1-8702-8) Exception sending request destroyed lifecycle event
> to listener instance of class org.jboss.weld.servlet.WeldListener:
> java.lang.NullPointerException
>         at
>         org.jboss.weld.context.AbstractBoundContext.deactivate(AbstractBoundContext.java:71)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.jboss.weld.context.http.HttpRequestContextImpl.deactivate(HttpRequestContextImpl.java:86)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:103)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         [jbossweb-7.0.13.Final.jar:]
>         at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>         [jbossweb-7.0.13.Final.jar:]
>         at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>         [jbossweb-7.0.13.Final.jar:]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
> 
> 2015-02-24 13:18:43,991 ERROR
> [org.apache.catalina.core.ContainerBase.[default-host]]
> (ajp--127.0.0.1-8702-3) Exception sending request destroyed lifecycle event
> to listener instance of class org.jboss.weld.servlet.WeldListener:
> java.lang.NullPointerException
>         at
>         org.jboss.weld.context.AbstractBoundContext.deactivate(AbstractBoundContext.java:71)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.jboss.weld.context.http.HttpRequestContextImpl.deactivate(HttpRequestContextImpl.java:86)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:103)
>         [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         [jbossweb-7.0.13.Final.jar:]
>         at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>         [jbossweb-7.0.13.Final.jar:]
>         at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
>         [jbossweb-7.0.13.Final.jar:]
>         at
>         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>         [jbossweb-7.0.13.Final.jar:]
>         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
> 
> Entry in engine.log
> 
> 2015-02-24 14:28:39,951 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-4) [59bfbeae] Correlation ID: 59bfbeae, Call Stack:
> null, Custom Event ID: -1, Message: user g.fleming-admin at sisa.samsung.com
> initiated console session for VM srad-ad-test

Not sure any of them are related. Are these the only errors? Are they from the
exact time you try to connect to the console?

If you still suspect a problem on the server, and since the engine did send
you (what seems to be) a good vv file, you might check libvirt/qemu logs on
the host.

> 
> >> I started seeing this after adding a new host to my oVirt Cluster.

There was something I did not understand: With which hosts does this happen?
Old/New/Both? Which OS and relevant package (libvirt*/vdsm*/qemu*) versions
do you have there?

> 
> > How did you add it with no admin password?
> 
> Integrated with AD, my AD account has Admin.
> 
> I don't know how to use that account to reset the internal -> admin account,
> didn't see a way from the GUI.

No idea either. I hope engine-config worked for you.

> > I have taken over management of this cluster, while I have root to the
> > host, vms, and engine – I don’t have the admin password to oVirt
> > Engine, I would like to correct this as well.
> 
> http://www.ovirt.org/Engine_config_examples#Changing_admin_user_password

Best,
-- 
Didi



More information about the Users mailing list