[ovirt-users] Local Storage issue

2015-12-09 Thread Maksim Naumov
Hello

I have a local data center and local storage on the host. From time to time
storage became unavailable. All the VM on this host lose information about
an ip address, fqdn and other (but they still running).

I've checked the logs and everything that I found is:

2015-12-09 11:28:48,533 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler_Worker-65) []
IrsBroker::Failed::GetStoragePoolInfoVDS: IRSGenericException:
IRSErrorException: IRSNonOperationalException: Could not connect host to
Data Center(Storage issue)

How can I fix it?

-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-23 Thread Maksim Naumov
I've created one https://bugzilla.redhat.com/show_bug.cgi?id=1284472

On Mon, Nov 23, 2015 at 11:14 AM, Eli Mesika <emes...@redhat.com> wrote:

>
>
> - Original Message -----
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "users" <users@ovirt.org>
> > Sent: Monday, November 23, 2015 11:18:09 AM
> > Subject: Re: [ovirt-users] [3.6] User can't create a VM. No permission
> forEDIT_ADMIN_VM_PROPERTIES
> >
> > CPU pinning topology is also not used in this template. And even there
> is no
> > settings in the user interface to change it.
> >
> > So, currently no one user is able to create new VM.
>
> Seems to me as a bug
> Can you please open a bug, attach all relevant logs and also fully
> describe the template that you attempt to use to create the VM?
>
> >
> > On Mon, Nov 23, 2015 at 8:54 AM, Maksim Naumov <
> maksim.nau...@hitmeister.de
> > > wrote:
> >
> >
> >
> > As I was able to understand this error mean that user tried to rewrite
> the
> > destination host of VM. But the problem is that there is no setting like
> > this in the user interface. User can't change the destination 100%. It is
> > not hardcoded in the template settings because he was trying to run Base
> > template (which is not attached to any host).
> >
> > On Mon, Nov 23, 2015 at 8:36 AM, Maksim Naumov <
> maksim.nau...@hitmeister.de
> > > wrote:
> >
> >
> >
> > Hello
> >
> > I faced with the problem. The user can;t create a VM. The user has
> > PowerUserRole on Cluster. He tried to create a VM with a base template
> and
> > had no success.
> >
> > Here some lines from log. Have no idea why it wants for
> > EDIT_ADMIN_VM_PROPERTIES permission for user?
> >
> > 2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Checking whether user
> > 'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
> of,
> > have the following permissions: ID: a303bbca-af20-4de5-9eff-01c52d3bf615
> > Type: VdsGroupsAction group CREATE_VM with role type USER, ID:
> > ---- Type: VmTemplateAction group
> CREATE_VM
> > with role type USER, ID: a303bbca-af20-4de5-9eff-01c52d3bf615 Type:
> > VdsGroupsAction group EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
> > 2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Found permission
> > '129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
> > 'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
> > 2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] Found permission
> > '0004-0004-0004-0004-0355' for user when running 'AddVm', on
> > 'Template' with id '----'
> > 2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] No permission found for user when running
> > action 'AddVm', on object 'Cluster' for action group
> > 'EDIT_ADMIN_VM_PROPERTIES' with id
> 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
> > 2015-11-20 16:42:10,894 WARN [org.ovirt.engine.core.bll.AddVmCommand]
> > (default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for
> user
> > vincent.en...@hitmeister.de@ hitmeister.de . Reasons:
> > VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> >
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> >
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-22 Thread Maksim Naumov
As I was able to understand this error mean that user tried to rewrite the
destination host of VM. But the problem is that there is no setting like
this in the user interface. User can't change the destination 100%. It is
not hardcoded in the template settings because he was trying to run Base
template (which is not attached to any host).

On Mon, Nov 23, 2015 at 8:36 AM, Maksim Naumov <maksim.nau...@hitmeister.de>
wrote:

> Hello
>
> I faced with the problem. The user can;t create a VM. The user has
> PowerUserRole on Cluster. He tried to create a VM with a base template and
> had no success.
>
> Here some lines from log. Have no idea why it wants
> for EDIT_ADMIN_VM_PROPERTIES permission for user?
>
> 2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Checking whether user
> 'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
> of, have the following permissions:  ID:
> a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group CREATE_VM
> with role type USER,  ID: ---- Type:
> VmTemplateAction group CREATE_VM with role type USER,  ID:
> a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group
> EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
> 2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Found permission
> '129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
> 'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
> 2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] Found permission
> '0004-0004-0004-0004-0355' for user when running 'AddVm', on
> 'Template' with id '----'
> 2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] No permission found for user when running
> action 'AddVm', on object 'Cluster' for action group
> 'EDIT_ADMIN_VM_PROPERTIES' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
> 2015-11-20 16:42:10,894 WARN  [org.ovirt.engine.core.bll.AddVmCommand]
> (default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for user
> vincent.en...@hitmeister.de@hitmeister.de. Reasons:
> VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
>
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
>
> Habsburgerring 2
> 50674 Köln
>
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
>
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [3.6] User can't create a VM. No permission for EDIT_ADMIN_VM_PROPERTIES

2015-11-22 Thread Maksim Naumov
Hello

I faced with the problem. The user can;t create a VM. The user has
PowerUserRole on Cluster. He tried to create a VM with a base template and
had no success.

Here some lines from log. Have no idea why it wants
for EDIT_ADMIN_VM_PROPERTIES permission for user?

2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Checking whether user
'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
of, have the following permissions:  ID:
a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group CREATE_VM
with role type USER,  ID: ---- Type:
VmTemplateAction group CREATE_VM with role type USER,  ID:
a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group
EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Found permission
'129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Found permission
'0004-0004-0004-0004-0355' for user when running 'AddVm', on
'Template' with id '----'
2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] No permission found for user when running
action 'AddVm', on object 'Cluster' for action group
'EDIT_ADMIN_VM_PROPERTIES' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
2015-11-20 16:42:10,894 WARN  [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for user
vincent.en...@hitmeister.de@hitmeister.de. Reasons:
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION

-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-20 Thread Maksim Naumov
Thank you. Hope we will have the fix soon.

On Fri, Nov 20, 2015 at 11:45 AM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> database connections in aaa-jdbc extension are not closed properly,
> I've created following bug [1] to track this issue.
>
> Thanks
>
> Martin Perina
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1283936
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "Martin Perina" <mper...@redhat.com>
> > Cc: "users" <users@ovirt.org>
> > Sent: Thursday, November 19, 2015 3:52:57 PM
> > Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> >
> > Here is the new log entries:
> >
> >
> > 2015-11-19 15:51:05,453 ERROR
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-285) [] Unexpected Exception invoking:
> > AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> > 2015-11-19 15:51:05,453 DEBUG
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-285) [] Exception:: org.postgresql.util.PSQLException: FATAL:
> > remaining connection slots are reserved for non-replication superuser
> > connections
> > at
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:32)
> > [postgresql.jar:]
> > at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
> > [postgresql.jar:]
> > at org.postgresql.Driver.makeConnection(Driver.java:393)
> [postgresql.jar:]
> > at org.postgresql.Driver.connect(Driver.java:267) [postgresql.jar:]
> > at java.sql.DriverManager.getConnection(DriverManager.java:571)
> > [rt.jar:1.7.0_91]
> > at java.sql.DriverManager.getConnection(DriverManager.java:215)
> > [rt.jar:1.7.0_91]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.DataSourceProvider$1.invoke(DataSourceProvider.java:86)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at com.sun.proxy.$Proxy162.getConnection(Unknown Source)
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.SchemaAwareDataSource.getConnection(SchemaAwareDataSource.java:40)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:298)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:285)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at org.ovirt.engine.extension.aaa.jdbc.core.Schema.get(Schema.java:743)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at org.ovirt.engine.extension.aaa.jdbc.core.Tasks.execute(Tasks.java:49)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension.invoke(AuthnExtension.java:50)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:49)
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:73)
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)
> > at
> >
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134)
> > at
> >
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84)
> > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> > at
> >
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> > at
> >
> org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.j

Re: [ovirt-users] [3.6] Unable to create VM in user portal

2015-11-20 Thread Maksim Naumov
I found the following LOG entrie

What is this EDIT_ADMIN_VM_PROPERTIES ?


2015-11-20 16:42:10,888 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Checking whether user
'acc9ced5-a764-4d60-84d7-db4b4a498a18' or one of the groups he is member
of, have the following permissions:  ID:
a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group CREATE_VM
with role type USER,  ID: ---- Type:
VmTemplateAction group CREATE_VM with role type USER,  ID:
a303bbca-af20-4de5-9eff-01c52d3bf615 Type: VdsGroupsAction group
EDIT_ADMIN_VM_PROPERTIES with role type ADMIN
2015-11-20 16:42:10,890 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Found permission
'129c57bb-df56-4529-93d9-52db0265263f' for user when running 'AddVm', on
'Cluster' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'
2015-11-20 16:42:10,893 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] Found permission
'0004-0004-0004-0004-0355' for user when running 'AddVm', on
'Template' with id '----'
2015-11-20 16:42:10,894 DEBUG [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] No permission found for user when running
action 'AddVm', on object 'Cluster' for action group
'EDIT_ADMIN_VM_PROPERTIES' with id 'a303bbca-af20-4de5-9eff-01c52d3bf615'.
2015-11-20 16:42:10,894 WARN  [org.ovirt.engine.core.bll.AddVmCommand]
(default task-160) [2f0eb905] CanDoAction of action 'AddVm' failed for user
vincent.en...@hitmeister.de@hitmeister.de. Reasons:
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION



On Fri, Nov 20, 2015 at 3:29 PM, Maksim Naumov <maksim.nau...@hitmeister.de>
wrote:

> Hello
>
> User in the User portal un able to create virtual machine. Everytime I see
> en error "User is not authorized to perform this action."
> I tried different roles: VmCreator + DiskCreator, PowerUserRole,
> UserVmManager  even a new role with all the permissions - no way!
>
> Can you give a 100% working example how should I setup role for user to be
> abte to create a VM?
>
> Thank you
>
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
>
> Habsburgerring 2
> 50674 Köln
>
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
>
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-19 Thread Maksim Naumov
)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_91]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_91]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]

On Wed, Nov 18, 2015 at 7:51 PM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> I'm sorry, but I'm not able to find out the cause. Could you please
> enable debug log for aaa-jdbc extension using following steps and
> send me logs again?
>
> 1. Edit file
> /usr/share/ovirt-engine/share/ovirt-engine/services/ovirt-engine/
> ovirt-engine.xml.in
>
> 2. Locate line that contains following comment:
>
>  
>
>and append following lines:
>
>  
> 
>   
>
> 3. Restart ovirt-engine service:
>
>EL7/Fedora22:
>  systemctl restart ovirt-engine
>
>EL6:
>  service ovirt-engine restart
>
>
> Thanks
>
> Martin Perina
>
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "Martin Perina" <mper...@redhat.com>
> > Cc: "users" <users@ovirt.org>
> > Sent: Wednesday, November 18, 2015 6:15:35 PM
> > Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> >
> > Here is my versions:
> >
> > Name: ovirt-engine
> > Version : 3.6.0.3
> > Release : 1.el7.centos
> >
> > Name: ovirt-engine-extension-aaa-jdbc
> > Version : 1.0.1
> > Release : 1.el7
> >
> > About the log:
> >
> > engile.log contains only one line related to this error, you can see it
> in
> > the first message. But server.log has a bit more.
> >
> > Currently, I do the following:
> >
> > I am running the script which is asking for API every 10 sec for a list
> of
> > current running VMs.
> > After some hours (1-2 hours) the script reporting that there are no VMs.
> > I went to the API endpoint by myself and everything that I was able to
> see
> > is Internal error.
> > I stopped the script and in a couple of minutes API worked again.
> >
> > Thank you
> >
> > SERVER.LOG
> >
> > 2015-11-18 18:13:40,833 ERROR [io.undertow.request] (default task-291)
> > UT005023: Exception handling request to /api/vms: Class: class
>

[ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Maksim Naumov
After some time, API stopped work.
When I try to run any request I see only "Internal Server Error" and the
log like this:

2015-11-18 17:53:05,634 ERROR
[org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
task-314) [] Unexpected Exception invoking:
AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]

How can fix it?

-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Maksim Naumov
ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
[undertow-servlet.jar:1.1.5.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
[undertow-core.jar:1.1.5.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)
[undertow-core.jar:1.1.5.Final]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_91]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_91]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]



On Wed, Nov 18, 2015 at 6:05 PM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> could you please take a look what versions do you have installed?
>
>   rpm -qi ovirt-engine
>   rpm -qi ovirt-engine-extension-aaa-jdbc
>
> Could you please also send your server.log and engine.log?
>
> Thanks
>
> Martin Perina
>
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "users" <users@ovirt.org>
> > Sent: Wednesday, November 18, 2015 5:56:53 PM
> > Subject: [ovirt-users] [3.6] API - Internal Server Error
> >
> > After some time, API stopped work.
> > When I try to run any request I see only "Internal Server Error" and the
> log
> > like this:
> >
> > 2015-11-18 17:53:05,634 ERROR
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-314) [] Unexpected Exception invoking:
> > AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> >
> > How can fix it?
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] Change admin password

2015-11-13 Thread Maksim Naumov
Thank you guys.
Everything works with valid date ;)

On Fri, Nov 13, 2015 at 8:27 PM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> you changed a password, but it expired at the same moment you have changed
> it. Please execute:
>
>   ovirt-aaa-jdbc-tool user password-reset admin
> --password-valid-to='-MM-dd hh:mm:ssZ'
>
> and set to desired date.
>
> For more info about aaa-jdbc features please take a look at
> http://www.ovirt.org/Features/AAA_JDBC
>
> Thanks
>
> Martin Perina
>
>
>  Maksim Naumov <maksim.nau...@hitmeister.de> wrote:
> > I tried
> >
> > # ovirt-aaa-jdbc-tool user password-reset admin --force
> > --password=pass:XX
> > updating user admin...
> > user updated successfully
> >
> > But then I can't login. Everything that I can see is:
> > Cannot Login. User Account is Disabled or Locked, Please contact your
> > system administrator.
> >
> > # ovirt-aaa-jdbc-tool user show admin
> > -- User admin(02b986a1-9dde-4f2a-b398-941c056c20d0) --
> > Namespace: *
> > Name: admin
> > ID: 02b986a1-9dde-4f2a-b398-941c056c20d0
> > Display Name:
> > Email:
> > First Name: admin
> > Last Name:
> > Department:
> > Title:
> > Description:
> > Account Disabled: false
> > Account Unlocked At: 2015-11-13 15:37:35Z
> > Account Valid From: 2015-11-06 07:09:37Z
> > Account Valid To: 2215-11-06 07:09:37Z
> > Account Without Password: false
> > Last successful Login At: 2015-11-13 14:28:33Z
> > Last unsuccessful Login At: 2015-11-13 14:37:35Z
> > Password Valid To: 2215-09-19 07:09:38Z
> >
> > Ok  how can I set my password ???
> >
> >
> > On Fri, Nov 13, 2015 at 3:30 PM, Ondra Machacek <omach...@redhat.com>
> wrote:
> >
> > > $ ovirt-aaa-jdbc-tool user password-reset admin
> > > --password=pass:YourNewPassword
> > >
> > > Go over it's help to understand all options.
> > >
> > >
> > > On 11/13/2015 03:23 PM, Maksim Naumov wrote:
> > >
> > > Hello
> > >
> > > How can I change admin password?
> > >
> > > I tried
> > >
> > > # engine-config -s AdminPassword=interactive
> > > Error setting AdminPassword's value. No such entry.
> > >
> > > But it doesn't work!
> > >
> > > --
> > > Maksim Naumov
> > >
> > >
> > >
> > > ___
> > > Users mailing listUsers@ovirt.orghttp://
> lists.ovirt.org/mailman/listinfo/users
> > >
> > >
> > >
> >
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
>
>


-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] Change admin password

2015-11-13 Thread Maksim Naumov
I tried

# ovirt-aaa-jdbc-tool user password-reset admin --force
--password=pass:XX
updating user admin...
user updated successfully

But then I can't login. Everything that I can see is:
Cannot Login. User Account is Disabled or Locked, Please contact your
system administrator.

# ovirt-aaa-jdbc-tool user show admin
-- User admin(02b986a1-9dde-4f2a-b398-941c056c20d0) --
Namespace: *
Name: admin
ID: 02b986a1-9dde-4f2a-b398-941c056c20d0
Display Name:
Email:
First Name: admin
Last Name:
Department:
Title:
Description:
Account Disabled: false
Account Unlocked At: 2015-11-13 15:37:35Z
Account Valid From: 2015-11-06 07:09:37Z
Account Valid To: 2215-11-06 07:09:37Z
Account Without Password: false
Last successful Login At: 2015-11-13 14:28:33Z
Last unsuccessful Login At: 2015-11-13 14:37:35Z
Password Valid To: 2215-09-19 07:09:38Z

Ok  how can I set my password ???


On Fri, Nov 13, 2015 at 3:30 PM, Ondra Machacek <omach...@redhat.com> wrote:

> $ ovirt-aaa-jdbc-tool user password-reset admin
> --password=pass:YourNewPassword
>
> Go over it's help to understand all options.
>
>
> On 11/13/2015 03:23 PM, Maksim Naumov wrote:
>
> Hello
>
> How can I change admin password?
>
> I tried
>
> # engine-config -s AdminPassword=interactive
> Error setting AdminPassword's value. No such entry.
>
> But it doesn't work!
>
> --
> Maksim Naumov
>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>


-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [3.6] Change admin password

2015-11-13 Thread Maksim Naumov
Hello

How can I change admin password?

I tried

# engine-config -s AdminPassword=interactive
Error setting AdminPassword's value. No such entry.

But it doesn't work!

-- 
Maksim Naumov
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ubuntu guest public template?

2015-11-13 Thread Maksim Naumov
Hello

Looks like I have one working prototype. I can share it.
But, I made some changes in cloud-init code to get this done. Have no idea
is it OK or not ;)

On Thu, Nov 12, 2015 at 3:24 PM, Sandro Bonazzola <sbona...@redhat.com>
wrote:

>
>
> On Wed, Nov 11, 2015 at 11:44 PM, Maksim Naumov <
> maksim.nau...@hitmeister.de> wrote:
>
>> Hello Guys!
>>
>> First of all, I would like to thank you for your amazing product. And I
>> have one question ;)
>>
>> Do you have any plans to create guest ubuntu template in the public
>> repository? I am wondering because I had no chance to run clound_init -
>> there is too many errors.
>>
>>
> No plans right now but in case you succeed creating one we can host it on
> glance.ovirt.org.
> Adding Oved.
>
>
>> Thank you
>>
>> --
>> Maksim Naumov
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ubuntu guest public template?

2015-11-11 Thread Maksim Naumov
Hello Guys!

First of all, I would like to thank you for your amazing product. And I
have one question ;)

Do you have any plans to create guest ubuntu template in the public
repository? I am wondering because I had no chance to run clound_init -
there is too many errors.

Thank you

-- 
Maksim Naumov
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users