oVirt 3.5 ovirt-image-repository (Glance)

--Apple-Mail=_EBDA20E9-F991-4C67-ADDB-9D76725127D0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Short background, I own a startup company that have been used VMware = ESXi for a year and are trying oVirt to see if that can be a replacement = for us. I have just installed oVirt 3.5, but have trouble accessing = ovirt-image-repository,Glance (http://glance.ovirt.org:9292). In the admin console it just says: =E2=80=9DError while executing = action: A Request to the server failed with the following Status Code: = 500=E2=80=9D In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR = [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt= -engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching = incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: = Service method 'public abstract = org.ovirt.engine.core.common.action.VdcReturnValueBase = org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(or= g.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.comm= on.action.VdcActionParametersBase)' threw an unexpected exception: = javax.ejb.EJBException: java.lang.RuntimeException: = java.lang.NoClassDefFoundError: Could not initialize class = com.woorea.openstack.glance.Glance =E2=80=A6. I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong? Regards, Staffan =C3=96hrberg= --Apple-Mail=_EBDA20E9-F991-4C67-ADDB-9D76725127D0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Hi,<div class=3D"">Short background, I own a startup company = that have been used VMware ESXi for a year and are trying oVirt to see = if that can be a replacement for us.<br class=3D""><div class=3D"">I = have just installed oVirt 3.5, but have trouble = accessing ovirt-image-repository,Glance (<a = href=3D"http://glance.ovirt.org:9292" = class=3D"">http://glance.ovirt.org:9292</a>).</div><div class=3D"">In = the admin console it just says: =E2=80=9DError while executing action: A = Request to the server failed with the following Status Code: = 500=E2=80=9D</div><div class=3D""><br class=3D""></div><div class=3D"">In = the server.log I got a lot of errors:</div><div class=3D""><div = style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" = class=3D"">2015-01-05 16:57:01,881 ERROR = [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt= -engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching = incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: = Service method 'public abstract = org.ovirt.engine.core.common.action.VdcReturnValueBase = org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(or= g.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.comm= on.action.VdcActionParametersBase)' threw an unexpected exception: = javax.ejb.EJBException: java.lang.RuntimeException: = java.lang.NoClassDefFoundError: Could not initialize class = com.woorea.openstack.glance.Glance</div></div><div style=3D"margin: 0px; = font-size: 11px; font-family: Menlo;" class=3D""><br class=3D""></div><div= style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" = class=3D"">=E2=80=A6.</div><div class=3D""><br class=3D""></div><div = class=3D"">I have search for an answer, but have not found = one.</div><div class=3D"">Anyone in this forum have any idea of whats = wrong?</div><div class=3D""><br class=3D""></div><div = class=3D"">Regards,</div><div class=3D"">Staffan = =C3=96hrberg</div></div></body></html>= --Apple-Mail=_EBDA20E9-F991-4C67-ADDB-9D76725127D0--

Hi Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log? What's the operating system of your engine server? Thanks, Oved ----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07.01.2015 09:06, Oved Ourfali wrote:
It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? afaik this is not about a "class" but about the ovirt image repo (glance) at the mentioned URL: http://glance.ovirt.org:9292
which was unavailable/not configured correctly at the time of installation resulting in http 500 error. HTH Sven -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQGcBAEBAgAGBQJUrS7OAAoJEAq0kGAWDrql0IwL+wZEcIvXoY0dvCgkLPbFkXuM gWMS9sHcMVvpv1Tf+OkVbiVKqjfMAqwNk7pkHK2G8G/giEzY2NsYJ7dIsfWgMzfB 0hp8CjLoV/O6EiPEvYNrLytThAzP/umrPvk4OiEczRB/AX+83A0V6jHcZLQKzQrE Q4RXxWIPey7MW4wxwomuX+gUAq6b4Oopu7SZGPc1qvKDDgfdms85WGqlObo5B4Ff NMfCe0jntjhRX/LFAjXycWJXxLfrGHfFOHl3ndWszEqT0Wy3POpXb+bLoKQ6bDD5 TG1+IABLEMGGyTgOL5LRu5VZKyS+cw7zNAHM3SaG3blPhQL3cRwhScoBFGzxWILs ULmryOBQYiDuqyzryQBA/BzAqhxG7XHO1Gr+qAd/XKby9hLw+Yxmdufco86TSLZI WeTg44ZPj7Ie5jz1yUPAmh+QQmVeRtDE85RBwe6EoS3POc1qREP9NOOAmbkfhOcd xLZ+jRAe+/DrzUDKCy3huDO7swoP3qoZRjENPfrBBw== =LWU8 -----END PGP SIGNATURE-----

----- Original Message -----
From: "Sven Kieske" <svenkieske@gmail.com> To: users@ovirt.org Sent: Wednesday, January 7, 2015 3:04:14 PM Subject: Re: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07.01.2015 09:06, Oved Ourfali wrote:
It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? afaik this is not about a "class" but about the ovirt image repo (glance) at the mentioned URL: http://glance.ovirt.org:9292
which was unavailable/not configured correctly at the time of installation resulting in http 500 error.
The error was NoClassDefFound. The glance repo is available now, and should work, so I don't think it was caused by short-term unavailability.
HTH
Sven -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQGcBAEBAgAGBQJUrS7OAAoJEAq0kGAWDrql0IwL+wZEcIvXoY0dvCgkLPbFkXuM gWMS9sHcMVvpv1Tf+OkVbiVKqjfMAqwNk7pkHK2G8G/giEzY2NsYJ7dIsfWgMzfB 0hp8CjLoV/O6EiPEvYNrLytThAzP/umrPvk4OiEczRB/AX+83A0V6jHcZLQKzQrE Q4RXxWIPey7MW4wxwomuX+gUAq6b4Oopu7SZGPc1qvKDDgfdms85WGqlObo5B4Ff NMfCe0jntjhRX/LFAjXycWJXxLfrGHfFOHl3ndWszEqT0Wy3POpXb+bLoKQ6bDD5 TG1+IABLEMGGyTgOL5LRu5VZKyS+cw7zNAHM3SaG3blPhQL3cRwhScoBFGzxWILs ULmryOBQYiDuqyzryQBA/BzAqhxG7XHO1Gr+qAd/XKby9hLw+Yxmdufco86TSLZI WeTg44ZPj7Ie5jz1yUPAmh+QQmVeRtDE85RBwe6EoS3POc1qREP9NOOAmbkfhOcd xLZ+jRAe+/DrzUDKCy3huDO7swoP3qoZRjENPfrBBw== =LWU8 -----END PGP SIGNATURE----- _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, I will do the installation again, and send you the log files. Thanks for responding, Staffan Öhrberg
7 jan 2015 kl. 09:06 skrev Oved Ourfali <ovedo@redhat.com>:
Hi
Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log?
What's the operating system of your engine server?
Thanks, Oved
----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, Just want you to know that I managed to get it to work. I did the same installation, but using an external NAS instead of GlusterFS. Regards, Staffan Öhrberg
7 jan 2015 kl. 09:06 skrev Oved Ourfali <ovedo@redhat.com>:
Hi
Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log?
What's the operating system of your engine server?
Thanks, Oved
----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, I’m very impressed with oVirt, but I have one small problem. When I’d the installation of hosted-engine I only had one NIC configured, now I want to activate the other NIC (eno2), but according to the install instructions I disabled the NetworkManager, and now I do not know how to activate the second NIC. Do I have to reinstall everything and activate the two NICs during OS install, or can I do it in another way? Regards, Staffan Öhrberg
26 jan 2015 kl. 17:37 skrev Staffan Öhrberg <sohrberg@gmail.com>:
Hi, Just want you to know that I managed to get it to work. I did the same installation, but using an external NAS instead of GlusterFS.
Regards, Staffan Öhrberg
7 jan 2015 kl. 09:06 skrev Oved Ourfali <ovedo@redhat.com>:
Hi
Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log?
What's the operating system of your engine server?
Thanks, Oved
----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

No you just need to create the network in the networks tab, then click on the newly created network and then look at the hosts tab that appears on the bottom of the screen. Click the unattached radio button and pick a host. then you can click setup host networks. drag the new network to and interface and click ok. Then you wait for the network config to be available on the host. Cheers Donny D -----Original Message----- From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Staffan Öhrberg Sent: Wednesday, February 4, 2015 10:29 AM To: Oved Ourfali Cc: users@ovirt.org Subject: Re: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance) Hi, I’m very impressed with oVirt, but I have one small problem. When I’d the installation of hosted-engine I only had one NIC configured, now I want to activate the other NIC (eno2), but according to the install instructions I disabled the NetworkManager, and now I do not know how to activate the second NIC. Do I have to reinstall everything and activate the two NICs during OS install, or can I do it in another way? Regards, Staffan Öhrberg
26 jan 2015 kl. 17:37 skrev Staffan Öhrberg <sohrberg@gmail.com>:
Hi, Just want you to know that I managed to get it to work. I did the same installation, but using an external NAS instead of GlusterFS.
Regards, Staffan Öhrberg
7 jan 2015 kl. 09:06 skrev Oved Ourfali <ovedo@redhat.com>:
Hi
Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log?
What's the operating system of your engine server?
Thanks, Oved
----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[ /ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Thank you very much, it is simple when you know how to do it :) I will try to add some vLANs and install OPNsense or pfSense (we have that in our vmWare environment)... //Staffan
4 feb 2015 kl. 18:45 skrev Donny Davis <donny@cloudspin.me>:
No you just need to create the network in the networks tab, then click on the newly created network and then look at the hosts tab that appears on the bottom of the screen. Click the unattached radio button and pick a host. then you can click setup host networks. drag the new network to and interface and click ok. Then you wait for the network config to be available on the host.
Cheers
Donny D
-----Original Message----- From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Staffan Öhrberg Sent: Wednesday, February 4, 2015 10:29 AM To: Oved Ourfali Cc: users@ovirt.org Subject: Re: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, I’m very impressed with oVirt, but I have one small problem. When I’d the installation of hosted-engine I only had one NIC configured, now I want to activate the other NIC (eno2), but according to the install instructions I disabled the NetworkManager, and now I do not know how to activate the second NIC.
Do I have to reinstall everything and activate the two NICs during OS install, or can I do it in another way?
Regards, Staffan Öhrberg
26 jan 2015 kl. 17:37 skrev Staffan Öhrberg <sohrberg@gmail.com>:
Hi, Just want you to know that I managed to get it to work. I did the same installation, but using an external NAS instead of GlusterFS.
Regards, Staffan Öhrberg
7 jan 2015 kl. 09:06 skrev Oved Ourfali <ovedo@redhat.com>:
Hi
Was the installation of the engine successful? It is a bit weird that it doesn't find this class, so perhaps it is some packaging issue? Can you attach the complete engine.log and server.log?
What's the operating system of your engine server?
Thanks, Oved
----- Original Message -----
From: "Staffan Öhrberg" <sohrberg@gmail.com> To: users@ovirt.org Sent: Monday, January 5, 2015 6:03:46 PM Subject: [ovirt-users] oVirt 3.5 ovirt-image-repository (Glance)
Hi, Short background, I own a startup company that have been used VMware ESXi for a year and are trying oVirt to see if that can be a replacement for us. I have just installed oVirt 3.5, but have trouble accessing ovirt-image-repository,Glance ( http://glance.ovirt.org:9292 ). In the admin console it just says: ”Error while executing action: A Request to the server failed with the following Status Code: 500”
In the server.log I got a lot of errors: 2015-01-05 16:57:01,881 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[ /ovirt-engine/webadmin]] (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.ovirt.engine.core.common.action.VdcReturnValueBase org.ovirt.engine.ui.frontend.gwtservices.GenericApiGWTService.runAction(org.ovirt.engine.core.common.action.VdcActionType,org.ovirt.engine.core.common.action.VdcActionParametersBase)' threw an unexpected exception: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.woorea.openstack.glance.Glance
….
I have search for an answer, but have not found one. Anyone in this forum have any idea of whats wrong?
Regards, Staffan Öhrberg
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Donny Davis
-
Oved Ourfali
-
Staffan Öhrberg
-
Sven Kieske