Re: RE: RE: Unable to authenticate in UI

2020-01-21 Thread Andrija Panic
Great to see it solved and thanks for the feedback!

On Tue, 21 Jan 2020, 20:29 Ioan Marginean, 
wrote:

> @Sean,
>
> You're right, after downgrade the java connector as you pointed out, I
> re-gain my UI  !!!
> Thank you so much!
>
> @Andrija,
> You also were right, look what where updated on 15th...
>
> Jan 15 11:44:08 Updated: mysql-community-common-5.6.47-2.el7.x86_64
> Jan 15 11:44:09 Updated: mysql-community-libs-5.6.47-2.el7.x86_64
> Jan 15 11:44:15 Updated: mysql-community-client-5.6.47-2.el7.x86_64
> Jan 15 11:44:27 Updated: mysql-community-server-5.6.47-2.el7.x86_64
> Jan 15 11:44:27 Updated: mysql-connector-python-8.0.19-1.el7.x86_64
> Jan 15 11:44:27 Updated: 1:mysql-connector-java-8.0.19-1.el7.noarch
>
> So , related to your second point I didn't had this version before. I had
> installed CS on September last year.
> Even better, I can confirm that I had
> mysql-connector-java-5.1.25-3.el7.noarch installed.
>
> On 2020/01/21 18:02:37, Sean Lair  wrote:
> > Yea- that's the issue.  We hit it also, you need to downgrade to the
> non-8.x version...  run this command to downgrade, note, you need to use
> "yum upgrade" since it has a different epoc:
> >
> > yum upgrade mysql-connector-java-5.1.25
> >
> > That will put you back on version 5.1.25
> >
> > If this helps, could you please comment on this Issue ID?  It is good to
> track the details in the Issue in GitHub:
> >
> > https://github.com/apache/cloudstack/issues/3826
> >
> >
> >
> > -Original Message-
> > From: Ioan Marginean 
> > Sent: Tuesday, January 21, 2020 11:55 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: RE: Unable to authenticate in UI
> >
> > Hi Sean,
> >
> > I have the following output:
> >
> > mysql-connector-java.noarch  1:8.0.19-1.el7
> @mysql-connectors-community
> >
> > On 2020/01/21 17:41:44, Sean Lair  wrote:
> > > We are hitting a similar error message when doing other functions.
> What version of the mysql-connector-java are you running?
> > >
> > > yum list installed mysql-connector-java
> > >
> > >
> > > -Original Message-
> > > From: Ioan Marginean 
> > > Sent: Tuesday, January 21, 2020 7:46 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Unable to authenticate in UI
> > >
> > > Is it possible to reset password directly into the database?
> > > Thank you.
> > >
> > > On 2020/01/21 11:55:18, Ioan Marginean 
> wrote:
> > > > Hello,
> > > >
> > > > I facing a strange situation related to UI authentication. After
> restart cloudstack-management I can't authenticate. The restart was needed
> because I change settings related to e-mail notifications.
> > > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > > >
> > > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106
> -- POST
> > > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user:
> alex in domain 1
> > > > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account
> 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API
> calls: 0.0.0.0/0,::/0
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has
> successfully logged in
> > > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the
> transaction: Time = 1 Name =  qtp504527234-32; called by
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing
> api response
> > > > com.cloud.utils.exception.CloudRuntimeException: Problem with
> getting the ec attribute
> > > >   at
> com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > > >   at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > > >   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > >   at java.lang.reflect.Method.invoke(Method.java:498)
> > > >   at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > > >   at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > > >   at
> org.springframework.aop

Migrate XenServer VMs to KVM CloudStack

2020-01-21 Thread Felipe Rossi
Hi All,

We deploy new zone on ACS but we need migrate old Zone that are running
with XenServer to new Zone with KVM hypervisor.

I would like know if some one have solution for this situation.

Att / Regards
Felipe Rossi | BRASCLOUD
Founder - Diretor de Negócios e Inovação
Cloud Architect
fel...@brascloud.com.br | www.brascloud.com.br
Contact + 55 45 99116-0094


Re: RE: RE: Unable to authenticate in UI

2020-01-21 Thread Ioan Marginean
@Sean, 

You're right, after downgrade the java connector as you pointed out, I re-gain 
my UI  !!!
Thank you so much!

@Andrija,
You also were right, look what where updated on 15th...

Jan 15 11:44:08 Updated: mysql-community-common-5.6.47-2.el7.x86_64
Jan 15 11:44:09 Updated: mysql-community-libs-5.6.47-2.el7.x86_64
Jan 15 11:44:15 Updated: mysql-community-client-5.6.47-2.el7.x86_64
Jan 15 11:44:27 Updated: mysql-community-server-5.6.47-2.el7.x86_64
Jan 15 11:44:27 Updated: mysql-connector-python-8.0.19-1.el7.x86_64
Jan 15 11:44:27 Updated: 1:mysql-connector-java-8.0.19-1.el7.noarch

So , related to your second point I didn't had this version before. I had 
installed CS on September last year.
Even better, I can confirm that I had mysql-connector-java-5.1.25-3.el7.noarch 
installed.

On 2020/01/21 18:02:37, Sean Lair  wrote: 
> Yea- that's the issue.  We hit it also, you need to downgrade to the non-8.x 
> version...  run this command to downgrade, note, you need to use "yum 
> upgrade" since it has a different epoc:
> 
> yum upgrade mysql-connector-java-5.1.25
> 
> That will put you back on version 5.1.25
> 
> If this helps, could you please comment on this Issue ID?  It is good to 
> track the details in the Issue in GitHub:
> 
> https://github.com/apache/cloudstack/issues/3826
> 
> 
> 
> -Original Message-
> From: Ioan Marginean  
> Sent: Tuesday, January 21, 2020 11:55 AM
> To: users@cloudstack.apache.org
> Subject: Re: RE: Unable to authenticate in UI 
> 
> Hi Sean,
> 
> I have the following output:
> 
> mysql-connector-java.noarch  1:8.0.19-1.el7
> @mysql-connectors-community
> 
> On 2020/01/21 17:41:44, Sean Lair  wrote: 
> > We are hitting a similar error message when doing other functions.  What 
> > version of the mysql-connector-java are you running?
> > 
> > yum list installed mysql-connector-java
> > 
> > 
> > -Original Message-
> > From: Ioan Marginean  
> > Sent: Tuesday, January 21, 2020 7:46 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to authenticate in UI 
> > 
> > Is it possible to reset password directly into the database?
> > Thank you.
> > 
> > On 2020/01/21 11:55:18, Ioan Marginean  wrote: 
> > > Hello,
> > > 
> > > I facing a strange situation related to UI authentication. After restart 
> > > cloudstack-management I can't authenticate. The restart was needed 
> > > because I change settings related to e-mail notifications.
> > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > > 
> > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106 
> > > -- POST  
> > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in 
> > > user: alex in domain 1
> > > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
> > > 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform 
> > > API calls: 0.0.0.0/0,::/0
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 
> > > has successfully logged in
> > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the 
> > > transaction: Time = 1 Name =  qtp504527234-32; called by 
> > > -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] 
> > > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing 
> > > api response
> > > com.cloud.utils.exception.CloudRuntimeException: Problem with getting the 
> > > ec attribute 
> > >   at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > >   at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > >   at 
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > >   at java.lang.reflect.Method.invoke(Method.java:498)
> > >   at 
> > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > >   at 
> > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > >   at 
> > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > >   at 
> > > com.cl

RE: RE: Unable to authenticate in UI

2020-01-21 Thread Sean Lair
We tried 8.0.16 through 8.0.19 and it had the same error regarding Long and 
BigInt.

For some reason when we try 8.0.11 through 8.0.15, we have some other issue 
(shown below) but did not have time to troubleshoot that unless  you know a 
quick fix:

"Failed to load DB driver com.mysql.jdbc.Driver"

-Original Message-
From: Andrija Panic  
Sent: Tuesday, January 21, 2020 12:22 PM
To: users 
Subject: Re: RE: Unable to authenticate in UI

Alright, my bad - so this is a different issue then...but the issue described 
is true with mysql-connector-python (issue with
cloudstack-setup-databases)

Either way, something is broken/different with those 2 in version
8.0.19-1.el7

@Sean did you test with mysql-connector-java 8.0.18 maybe? Is the whole 8.x 
series broken?


Thx

On Tue, 21 Jan 2020 at 19:08, Sean Lair  wrote:

> We actually had to downgrade the mysql-connector-java one - not the 
> mysql-connector-python one
>
> -Original Message-
> From: Andrija Panic 
> Sent: Tuesday, January 21, 2020 11:59 AM
> To: users 
> Subject: Re: RE: Unable to authenticate in UI
>
> broken version - go to the older version.
> yum localinstall
>
> http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/mysql
> -connector-python-8.0.18-1.el7.x86_64.rpm
>
> 1. Did you update your system - can you check yum/apt logs if the 
> connector was upgraded, please?
> 2. When was your system installed - i.e. can you confirm  you have NOT 
> installed it with that version of the connector, since I've seen 
> cloudstack-setup-database failing with that connector version?
>
> If you system got broken due to updating the connector on the existing 
> installation -  then this warrants an email to everyone if that is the 
> case
>
> Please do check and let me know.
>
> Thanks
> Andrija
>
> On Tue, 21 Jan 2020 at 18:54, Ioan Marginean 
> 
> wrote:
>
> > Hi Sean,
> >
> > I have the following output:
> >
> > mysql-connector-java.noarch  1:8.0.19-1.el7 
> > @mysql-connectors-community
> >
> > On 2020/01/21 17:41:44, Sean Lair  wrote:
> > > We are hitting a similar error message when doing other functions.
> > > What
> > version of the mysql-connector-java are you running?
> > >
> > > yum list installed mysql-connector-java
> > >
> > >
> > > -Original Message-
> > > From: Ioan Marginean 
> > > Sent: Tuesday, January 21, 2020 7:46 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Unable to authenticate in UI
> > >
> > > Is it possible to reset password directly into the database?
> > > Thank you.
> > >
> > > On 2020/01/21 11:55:18, Ioan Marginean 
> > > 
> > wrote:
> > > > Hello,
> > > >
> > > > I facing a strange situation related to UI authentication. After
> > restart cloudstack-management I can't authenticate. The restart was 
> > needed because I change settings related to e-mail notifications.
> > > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > > >
> > > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===
> > 172.16.1.106
> > -- POST
> > > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in
> user:
> > alex in domain 1
> > > > 2020-01-21 13:47:04,119 DEBUG 
> > > > [o.a.c.s.a.PBKDF2UserAuthenticator]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: 
> > alex
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which 
> > account 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed 
> > to perform API
> > calls: 0.0.0.0/0,::/0
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 
> > 1 has successfully logged in
> > > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the
> > transaction: Time = 1 Name =  qtp504527234-32; called by 
> > -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-Tra
> > ns 
> > actionLegacy.close:657-TransactionContextInterceptor.invoke:36-Refle
> > ct
> > iveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:9
> > 2- 
> > ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212
> > -$ 
> > Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEv
> > en
> > tUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception 
> > writing api response
> > > > com.cloud.utils.exception.CloudRuntimeException: Problem with 
> > > > getting
> > the ec attribute
> > > > at
> > com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > > > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > > > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat

Re: RE: Unable to authenticate in UI

2020-01-21 Thread Andrija Panic
Alright, my bad - so this is a different issue then...but the issue
described is true with mysql-connector-python (issue with
cloudstack-setup-databases)

Either way, something is broken/different with those 2 in version
8.0.19-1.el7

@Sean did you test with mysql-connector-java 8.0.18 maybe? Is the whole 8.x
series broken?


Thx

On Tue, 21 Jan 2020 at 19:08, Sean Lair  wrote:

> We actually had to downgrade the mysql-connector-java one - not the
> mysql-connector-python one
>
> -Original Message-
> From: Andrija Panic 
> Sent: Tuesday, January 21, 2020 11:59 AM
> To: users 
> Subject: Re: RE: Unable to authenticate in UI
>
> broken version - go to the older version.
> yum localinstall
>
> http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/mysql-connector-python-8.0.18-1.el7.x86_64.rpm
>
> 1. Did you update your system - can you check yum/apt logs if the
> connector was upgraded, please?
> 2. When was your system installed - i.e. can you confirm  you have NOT
> installed it with that version of the connector, since I've seen
> cloudstack-setup-database failing with that connector version?
>
> If you system got broken due to updating the connector on the existing
> installation -  then this warrants an email to everyone if that is the case
>
> Please do check and let me know.
>
> Thanks
> Andrija
>
> On Tue, 21 Jan 2020 at 18:54, Ioan Marginean 
> wrote:
>
> > Hi Sean,
> >
> > I have the following output:
> >
> > mysql-connector-java.noarch  1:8.0.19-1.el7
> > @mysql-connectors-community
> >
> > On 2020/01/21 17:41:44, Sean Lair  wrote:
> > > We are hitting a similar error message when doing other functions.
> > > What
> > version of the mysql-connector-java are you running?
> > >
> > > yum list installed mysql-connector-java
> > >
> > >
> > > -Original Message-
> > > From: Ioan Marginean 
> > > Sent: Tuesday, January 21, 2020 7:46 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Unable to authenticate in UI
> > >
> > > Is it possible to reset password directly into the database?
> > > Thank you.
> > >
> > > On 2020/01/21 11:55:18, Ioan Marginean 
> > wrote:
> > > > Hello,
> > > >
> > > > I facing a strange situation related to UI authentication. After
> > restart cloudstack-management I can't authenticate. The restart was
> > needed because I change settings related to e-mail notifications.
> > > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > > >
> > > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===
> > 172.16.1.106
> > -- POST
> > > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in
> user:
> > alex in domain 1
> > > > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which
> > account 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed
> > to perform API
> > calls: 0.0.0.0/0,::/0
> > > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1
> > has successfully logged in
> > > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the
> > transaction: Time = 1 Name =  qtp504527234-32; called by
> > -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-Trans
> > actionLegacy.close:657-TransactionContextInterceptor.invoke:36-Reflect
> > iveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-
> > ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$
> > Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEven
> > tUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet]
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception
> > writing api response
> > > > com.cloud.utils.exception.CloudRuntimeException: Problem with
> > > > getting
> > the ec attribute
> > > > at
> > com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > > > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > > > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > orImpl.java:43)
> > > > at java.lang.reflect.Method.invoke(Method.java:498)
> > > > at
> > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflectio
> > n(AopUtils.java:338)
> > > > at
> > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoi
> > npoint(ReflectiveMethodInvocation.java:197)
> > > > at
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R
> > eflectiveMethodInvocation.java:163)
> > > > at
> > com.cloud.utils.db.Tr

RE: RE: Unable to authenticate in UI

2020-01-21 Thread Sean Lair
We actually had to downgrade the mysql-connector-java one - not the 
mysql-connector-python one

-Original Message-
From: Andrija Panic  
Sent: Tuesday, January 21, 2020 11:59 AM
To: users 
Subject: Re: RE: Unable to authenticate in UI

broken version - go to the older version.
yum localinstall
http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/mysql-connector-python-8.0.18-1.el7.x86_64.rpm

1. Did you update your system - can you check yum/apt logs if the connector was 
upgraded, please?
2. When was your system installed - i.e. can you confirm  you have NOT 
installed it with that version of the connector, since I've seen 
cloudstack-setup-database failing with that connector version?

If you system got broken due to updating the connector on the existing 
installation -  then this warrants an email to everyone if that is the case

Please do check and let me know.

Thanks
Andrija

On Tue, 21 Jan 2020 at 18:54, Ioan Marginean 
wrote:

> Hi Sean,
>
> I have the following output:
>
> mysql-connector-java.noarch  1:8.0.19-1.el7 
> @mysql-connectors-community
>
> On 2020/01/21 17:41:44, Sean Lair  wrote:
> > We are hitting a similar error message when doing other functions.  
> > What
> version of the mysql-connector-java are you running?
> >
> > yum list installed mysql-connector-java
> >
> >
> > -Original Message-
> > From: Ioan Marginean 
> > Sent: Tuesday, January 21, 2020 7:46 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to authenticate in UI
> >
> > Is it possible to reset password directly into the database?
> > Thank you.
> >
> > On 2020/01/21 11:55:18, Ioan Marginean 
> wrote:
> > > Hello,
> > >
> > > I facing a strange situation related to UI authentication. After
> restart cloudstack-management I can't authenticate. The restart was 
> needed because I change settings related to e-mail notifications.
> > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > >
> > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  
> 172.16.1.106
> -- POST
> > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user:
> alex in domain 1
> > > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which 
> account 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed 
> to perform API
> calls: 0.0.0.0/0,::/0
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 
> has successfully logged in
> > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the
> transaction: Time = 1 Name =  qtp504527234-32; called by
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-Trans
> actionLegacy.close:657-TransactionContextInterceptor.invoke:36-Reflect
> iveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-
> ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$
> Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEven
> tUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception 
> writing api response
> > > com.cloud.utils.exception.CloudRuntimeException: Problem with 
> > > getting
> the ec attribute
> > > at
> com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:498)
> > > at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflectio
> n(AopUtils.java:338)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoi
> npoint(ReflectiveMethodInvocation.java:197)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R
> eflectiveMethodInvocation.java:163)
> > > at
> com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionCon
> textInterceptor.java:34)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R
> eflectiveMethodInvocation.java:174)
> > > at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke
> (ExposeInvocationInterceptor.java:92)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R
> eflectiveMethodInvocation.java:185)
> > > at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamic
> AopProxy.java:212)
> > > at com.sun.proxy.$P

RE: RE: Unable to authenticate in UI

2020-01-21 Thread Sean Lair
Yea- that's the issue.  We hit it also, you need to downgrade to the non-8.x 
version...  run this command to downgrade, note, you need to use "yum upgrade" 
since it has a different epoc:

yum upgrade mysql-connector-java-5.1.25

That will put you back on version 5.1.25

If this helps, could you please comment on this Issue ID?  It is good to track 
the details in the Issue in GitHub:

https://github.com/apache/cloudstack/issues/3826



-Original Message-
From: Ioan Marginean  
Sent: Tuesday, January 21, 2020 11:55 AM
To: users@cloudstack.apache.org
Subject: Re: RE: Unable to authenticate in UI 

Hi Sean,

I have the following output:

mysql-connector-java.noarch  1:8.0.19-1.el7
@mysql-connectors-community

On 2020/01/21 17:41:44, Sean Lair  wrote: 
> We are hitting a similar error message when doing other functions.  What 
> version of the mysql-connector-java are you running?
> 
> yum list installed mysql-connector-java
> 
> 
> -Original Message-
> From: Ioan Marginean  
> Sent: Tuesday, January 21, 2020 7:46 AM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to authenticate in UI 
> 
> Is it possible to reset password directly into the database?
> Thank you.
> 
> On 2020/01/21 11:55:18, Ioan Marginean  wrote: 
> > Hello,
> > 
> > I facing a strange situation related to UI authentication. After restart 
> > cloudstack-management I can't authenticate. The restart was needed because 
> > I change settings related to e-mail notifications.
> > My configuration is: CS version = 4.13, KVM. On error log I got:
> > 
> > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106 
> > -- POST  
> > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user: 
> > alex in domain 1
> > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
> > 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API 
> > calls: 0.0.0.0/0,::/0
> > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has 
> > successfully logged in
> > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the 
> > transaction: Time = 1 Name =  qtp504527234-32; called by 
> > -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing 
> > api response
> > com.cloud.utils.exception.CloudRuntimeException: Problem with getting the 
> > ec attribute 
> > at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > at 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at 
> > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > at 
> > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> > at 
> > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> > at 
> > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> > at com.sun.proxy.$Proxy129.persist(Unknown Source)
> > at 
> > com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
> > at 
> > com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
> > at 
> > com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
> > at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
> > at 
> > sun.reflect.

Re: RE: Unable to authenticate in UI

2020-01-21 Thread Andrija Panic
broken version - go to the older version.
yum localinstall
http://repo.mysql.com/yum/mysql-connectors-community/el/7/x86_64/mysql-connector-python-8.0.18-1.el7.x86_64.rpm

1. Did you update your system - can you check yum/apt logs if the connector
was upgraded, please?
2. When was your system installed - i.e. can you confirm  you have NOT
installed it with that version of the connector, since I've seen
cloudstack-setup-database failing with that connector version?

If you system got broken due to updating the connector on the existing
installation -  then this warrants an email to everyone if that is the case

Please do check and let me know.

Thanks
Andrija

On Tue, 21 Jan 2020 at 18:54, Ioan Marginean 
wrote:

> Hi Sean,
>
> I have the following output:
>
> mysql-connector-java.noarch  1:8.0.19-1.el7
> @mysql-connectors-community
>
> On 2020/01/21 17:41:44, Sean Lair  wrote:
> > We are hitting a similar error message when doing other functions.  What
> version of the mysql-connector-java are you running?
> >
> > yum list installed mysql-connector-java
> >
> >
> > -Original Message-
> > From: Ioan Marginean 
> > Sent: Tuesday, January 21, 2020 7:46 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to authenticate in UI
> >
> > Is it possible to reset password directly into the database?
> > Thank you.
> >
> > On 2020/01/21 11:55:18, Ioan Marginean 
> wrote:
> > > Hello,
> > >
> > > I facing a strange situation related to UI authentication. After
> restart cloudstack-management I can't authenticate. The restart was needed
> because I change settings related to e-mail notifications.
> > > My configuration is: CS version = 4.13, KVM. On error log I got:
> > >
> > > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106
> -- POST
> > > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user:
> alex in domain 1
> > > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account
> 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API
> calls: 0.0.0.0/0,::/0
> > > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has
> successfully logged in
> > > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the
> transaction: Time = 1 Name =  qtp504527234-32; called by
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet]
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing
> api response
> > > com.cloud.utils.exception.CloudRuntimeException: Problem with getting
> the ec attribute
> > > at
> com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:498)
> > > at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > > at
> com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> > > at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> > > at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> > > at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> > > at com.sun.proxy.$Proxy129.persist(Unknown Source)
> > > at
> com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
> > > at
> com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
> > > at
> com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
> > 

Re: RE: Unable to authenticate in UI

2020-01-21 Thread Ioan Marginean
Hi Sean,

I have the following output:

mysql-connector-java.noarch  1:8.0.19-1.el7
@mysql-connectors-community

On 2020/01/21 17:41:44, Sean Lair  wrote: 
> We are hitting a similar error message when doing other functions.  What 
> version of the mysql-connector-java are you running?
> 
> yum list installed mysql-connector-java
> 
> 
> -Original Message-
> From: Ioan Marginean  
> Sent: Tuesday, January 21, 2020 7:46 AM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to authenticate in UI 
> 
> Is it possible to reset password directly into the database?
> Thank you.
> 
> On 2020/01/21 11:55:18, Ioan Marginean  wrote: 
> > Hello,
> > 
> > I facing a strange situation related to UI authentication. After restart 
> > cloudstack-management I can't authenticate. The restart was needed because 
> > I change settings related to e-mail notifications.
> > My configuration is: CS version = 4.13, KVM. On error log I got:
> > 
> > 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106 
> > -- POST  
> > 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user: 
> > alex in domain 1
> > 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
> > 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API 
> > calls: 0.0.0.0/0,::/0
> > 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has 
> > successfully logged in
> > 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the 
> > transaction: Time = 1 Name =  qtp504527234-32; called by 
> > -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> > 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] 
> > (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing 
> > api response
> > com.cloud.utils.exception.CloudRuntimeException: Problem with getting the 
> > ec attribute 
> > at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
> > at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
> > at 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at 
> > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > at 
> > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> > at 
> > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> > at 
> > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> > at com.sun.proxy.$Proxy129.persist(Unknown Source)
> > at 
> > com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
> > at 
> > com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
> > at 
> > com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
> > at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
> > at 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at 
> > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> > at 
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> > at 
> > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:

RE: Cloudstack - Unable to Upgrade database

2020-01-21 Thread Sean Lair
We are hitting a similar error message.  What version of the 
mysql-connector-java are you running?

yum list installed mysql-connector-java


-Original Message-
From: Cloud Udupi  
Sent: Friday, January 17, 2020 4:36 AM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack - Unable to Upgrade database

Hi,

*You have done yum install mysql-connector-python ?*
Yes

We followed the below link for the installation as given in the Apache 
CloudStack link 
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html#mysql-connector-installation

*Which version is installed? (rpm -qa | grep ...)*

*mysql-connector-python*-8.0.19-1.el7.x86_64


*(I've installed it 4-5 days ago and it was fine)*


Yes this *(I've installed it 4-5 days ago and it was fine)* worked for me too.  
Our setup was working fine when we installed on 13th Jan 2020.


Since we are testing for HA we wanted to reinstall and check for final setup 
and we got the error as mentioned in the mail when we tried to install on 15th 
Jan 2020.

Please help,
Thanks,
Mark.

On Fri, Jan 17, 2020 at 2:55 PM Andrija Panic 
wrote:

> You have done yum install mysql-connector-python ?
>
> Which version is installed? (rpm -qa | grep ...) (I've installed it 
> 4-5 days ago and it was fine)
>
> On Fri, 17 Jan 2020 at 07:57, Cloud Udupi  wrote:
>
> > Hi,
> >
> > I am installing Cloudstack-4.13 on 3 node setup, earlier It used to 
> > work without any errors. But from 15th of Jan 2020, I'm facing some 
> > errors
> while
> > setting up Apache Cloudstack-management server.
> >
> > *Using this guide:*
> >
> >
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig
> .html#mysql-connector-installation
> >
> > Following are the errors;
> > *I got this error while running 'cloudstack-setup-management'*
> >
> > [root@cloud1 ~]# *cloudstack-setup-management*
> >
> > Traceback (most recent call last):
> >
> >   File "/usr/bin/cloudstack-setup-management", line 24, in 
> >
> > from cloudutils.serviceConfigServer import cloudManagementConfig
> >
> >   File
> > "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfigServer.p
> > y",
> > line 17, in 
> >
> > from db import Database
> >
> >   File "/usr/lib64/python2.7/site-packages/cloudutils/db.py", line 
> > 20, in 
> >
> > import mysql.connector
> >
> >   File 
> > "/usr/lib64/python2.7/site-packages/mysql/connector/__init__.py",
> > line 41, in 
> >
> > import dns.resolver
> >
> > ImportError: No module named dns.resolver
> >
> >
> >
> > After this I tried Installing python-dns, I was able to run 
> > "cloudstack-setup-management", but had issue with the dashboard not
> coming
> > up. When I checked the log file, I found the below errors.
> >
> >
> > *Error Message from the Apache CloudStack Management server.*
> >
> >
> > 2020-01-17 11:35:05,275 ERROR [c.c.u.DatabaseUpgradeChecker] 
> > (main:null)
> > (logid:) Unable to upgrade the database
> >
> > com.cloud.utils.exception.CloudRuntimeException: Problem with 
> > getting the ec attribute
> >
> > Caused by: java.lang.IllegalArgumentException: Can not set long 
> > field com.cloud.upgrade.dao.VersionVO.id to java.math.BigInteger
> >
> > at 
> > sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException
> > (UnsafeFieldAccessorImpl.java:167)
> >
> > at 
> > sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException
> > (UnsafeFieldAccessorImpl.java:171)
> >
> > 2020-01-17 11:35:05,283 WARN  
> > [o.a.c.s.m.c.ResourceApplicationContext]
> > (main:null) (logid:) Exception encountered during context 
> > initialization
> -
> > cancelling refresh attempt:
> org.springframework.context.ApplicationContext
> > Exception: Failed to start bean 'cloudStackLifeCycle'; nested 
> > exception
> is
> > com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade 
> > the database
> >
> > 2020-01-17 11:35:05,285 WARN  [o.e.j.w.WebAppContext] (main:null)
> (logid:)
> > Failed startup of context o.e.j.w.WebAppContext@6e38921c
> >
> >
> {/client,file:///usr/share/cloudstack-management/webapp/,UNAVAILABLE}{
> /usr/share/cloudstack-management/webapp}
> >
> > org.springframework.context.ApplicationContextException: Failed to 
> > start bean 'cloudStackLifeCycle'; nested exception is 
> > com.cloud.utils.exception
> > .CloudRuntimeException: Unable to upgrade the database
> >
> > Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable 
> > to upgrade the database
> >
> > Caused by: com.cloud.utils.exception.CloudRuntimeException: Problem 
> > with getting the ec attribute
> >
> > Caused by: java.lang.IllegalArgumentException: Can not set long 
> > field com.cloud.upgrade.dao.VersionVO.id to java.math.BigInteger
> >
> > at 
> > sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException
> > (UnsafeFieldAccessorImpl.java:167)
> >
> > at 
> > sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException
> > (UnsafeFieldAccessorImpl.java:171)
> >
> >
> >
> > *This is managemen

RE: Unable to authenticate in UI

2020-01-21 Thread Sean Lair
We are hitting a similar error message when doing other functions.  What 
version of the mysql-connector-java are you running?

yum list installed mysql-connector-java


-Original Message-
From: Ioan Marginean  
Sent: Tuesday, January 21, 2020 7:46 AM
To: users@cloudstack.apache.org
Subject: Re: Unable to authenticate in UI 

Is it possible to reset password directly into the database?
Thank you.

On 2020/01/21 11:55:18, Ioan Marginean  wrote: 
> Hello,
> 
> I facing a strange situation related to UI authentication. After restart 
> cloudstack-management I can't authenticate. The restart was needed because I 
> change settings related to e-mail notifications.
> My configuration is: CS version = 4.13, KVM. On error log I got:
> 
> 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106 -- 
> POST  
> 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user: 
> alex in domain 1
> 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
> 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API 
> calls: 0.0.0.0/0,::/0
> 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has 
> successfully logged in
> 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the transaction: 
> Time = 1 Name =  qtp504527234-32; called by 
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing api 
> response
> com.cloud.utils.exception.CloudRuntimeException: Problem with getting the ec 
> attribute 
>   at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
>   at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>   at 
> com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
>   at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
>   at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
>   at com.sun.proxy.$Proxy129.persist(Unknown Source)
>   at 
> com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
>   at 
> com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
>   at 
> com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
>   at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>   at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
>   at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
>   at com.sun.proxy.$Proxy125.authenticateUser(Unknown Source)
>

Re: Cloudstack - UI for CS 4.10

2020-01-21 Thread Olivier Guin

Like Project Primate

( 
https://www.shapeblue.com/project-primate-a-new-ui-for-apache-cloudstack/ )


Regards,
Olivier

Le 21/01/2020 à 11:51, Olivier Guin a écrit :

Hello,
I would like to change the ui of Cloudstack 4.10 (centos 7) to the new 
interface.

I use Xen server 6.5 for hosts and the advanced network.

Do you have a link and / or tutorial to test the ui?

Regards,
Olivier


*Olivier GUIN*



TL. 0594 31 02 44

ARIAS Informatique  

513 ZI Collery 5
*/97300 CAYENNE/*
*www.ariasnet.com* 

This message and any attachments (the "message") is intended solely 
for the intended addressees and is  confidential.
If you receive this message in error,or are not the intended 
recipient(s), please delete it and any copies from your systems and 
immediately notify the sender. Any unauthorized view, use that does 
not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. 
Since the internet cannot guarantee the integrity of this message 
which may not be reliable, ARIAS Informatique shall not be liable for 
the message if modified, changed or falsified.
Do not print this message unless it is necessary, consider the 
environment.


--

Ce message et toutes les pieces jointes (ci-apres le "message") sont 
etablis a l'intention exclusive de ses destinataires et sont 
confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine, 
merci de le detruire ainsi que toute copie de votre systeme et d'en 
avertir immediatement l'expediteur. Toute lecture non autorisee, toute 
utilisation de ce message qui n'est pas conforme a sa destination, 
toute diffusion ou toute publication, totale ou partielle, est 
interdite. L'Internet ne permettant pas d'assurer l'integrite de ce 
message electronique susceptible d'alteration, ARIAS Informatique 
decline(nt) toute responsabilite au titre de ce message dans 
l'hypothese ou il aurait ete modifie, deforme ou falsifie.

N'imprimez ce message que si necessaire, pensez a l'environnement.



Re: Cloudstack - UI for CS 4.10

2020-01-21 Thread Olivier Guin
Hi,

VueJS UI but with CS 4.10 and XEN ...

Regards

Olivier

Le 21/01/2020 à 12:52, Sven Vogel a écrit :
> Hi Olivier,
>
> What do you want to change? jQuery UI to VueJS UI?
>
> Cheers
>
> Sven
>
>
> __
>
> Sven Vogel
> Teamlead Platform
>
> EWERK DIGITAL GmbH
> Br?hl 24, D-04109 Leipzig
> P +49 341 42649 - 99
> F +49 341 42649 - 98
> s.vo...@ewerk.com
> www.ewerk.com
>
> Gesch?ftsf?hrer:
> Dr. Erik Wende, Hendrik Schubert, Frank Richter
> Registergericht: Leipzig HRB 9065
>
> Support:
> +49 341 42649 555
>
> Zertifiziert nach:
> ISO/IEC 27001:2013
> DIN EN ISO 9001:2015
> DIN ISO/IEC 2-1:2011
>
> ISAE 3402 Typ II Assessed
>
> EWERK-Blog | 
> LinkedIn | 
> Xing | 
> Twitter | 
> Facebook
>
>
> E-World 2020 in Essen. Das EWERK ist dabei!
> Treffen Sie uns vom 11-13.02.20 in Halle 5 am Stand: 
> 5-724, mit spannenden Vortr?gen rund um das Thema 
> Urban Data.
>
>
> Mit Handelsregistereintragung vom 09.07.2019 ist die EWERK RZ GmbH auf die 
> EWERK IT GmbH verschmolzen und firmiert nun gemeinsam unter dem Namen: EWERK 
> DIGITAL GmbH, f?r weitere Informationen klicken Sie 
> hier.
>
> Ausk?nfte und Angebote per Mail sind freibleibend und unverbindlich.
>
> Disclaimer Privacy:
> Der Inhalt dieser E-Mail (einschlie?lich etwaiger beigef?gter Dateien) ist 
> vertraulich und nur f?r den Empf?nger bestimmt. Sollten Sie nicht der 
> bestimmungsgem??e Empf?nger sein, ist Ihnen jegliche Offenlegung, 
> Vervielf?ltigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
> informieren Sie in diesem Fall unverz?glich den Absender und l?schen Sie die 
> E-Mail (einschlie?lich etwaiger beigef?gter Dateien) von Ihrem System. Vielen 
> Dank.
>
> The contents of this e-mail (including any attachments) are confidential and 
> may be legally privileged. If you are not the intended recipient of this 
> e-mail, any disclosure, copying, distribution or use of its contents is 
> strictly prohibited, and you should please notify the sender immediately and 
> then delete it (including any attachments) from your system. Thank you.
>
> Am 21.01.2020 um 15:51 schrieb Olivier Guin 
> mailto:olivier.g...@ariasnet.com.INVALID>>:
>
> Hello,
> I would like to change the ui of Cloudstack 4.10 (centos 7) to the new 
> interface.
> I use Xen server 6.5 for hosts and the advanced network.
>
> Do you have a link and / or tutorial to test the ui?
>
> Regards,
> Olivier
>
>
>
>
> Olivier GUIN
>
>
>
>
> TL. 0594 31 02 44
>
>
> 
>
> 513 ZI Collery 5
> 97300 CAYENNE
> www.ariasnet.com
>
>
> This message and any attachments (the "message") is intended solely for the 
> intended addressees and is  confidential.
> If you receive this message in error,or are not the intended recipient(s), 
> please delete it and any copies from your systems and immediately notify the 
> sender. Any unauthorized view, use that does not comply with its purpose,
> dissemination or disclosure, either whole or partial, is prohibited. Since 
> the internet cannot guarantee the integrity of this message which may not be 
> reliable, ARIAS Informatique shall not be liable for the message if modified, 
> changed or falsified.
> Do not print this message unless it is necessary, consider the environment.
>
> --
>
> Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis 
> a l'intention exclusive de ses  destinataires et sont confidentiels.
> Si vous recevez ce message par erreur ou s'il ne vous est pas destine, merci 
> de le detruire ainsi que toute copie de votre systeme et d'en avertir 
> immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de 
> ce message qui n'est pas conforme a sa destination, toute diffusion ou toute 
> publication, totale ou partielle, est  interdite. L'Internet ne permettant 
> pas d'assurer l'integrite de ce message electronique susceptible 
> d'alteration, ARIAS Informatique decline(nt) toute responsabilite au titre de 
> ce message dans l'hypothese ou il aurait ete modifie, deforme ou falsifie.
> N'imprimez ce message que si necessaire, pensez a l'environnement.
>
>



Olivier GUIN

Direction
05 94 31 02 44


Mobile: 0594 31 02 44

513 ZI Collery 5
97300 CAYENNE
www.ariasnet.com [http://www.ariasnet.com/]



Re: VMs problem

2020-01-21 Thread Philippe Luneau
Thanks

On 2020/01/21 13:18:58, Vivek Kumar  wrote: 
> How many hosts do you have ? is your VR on same host or different host ? If 
> your VR is on different host and your VM is on different then it must be 
> having some issue with guest VLAN ( you need to pass all the guest VLAN on 
> the switch side).  Just try to migrate the router on the same host where your 
> VM is running and then try to restart the network services of VM.
> 
> Vivek Kumar
> Manager - Cloud & DevOps 
> IndiQus Technologies
> 24*7  O +91 11 4055 1411  |   M +91 7503460090 
> www.indiqus.com 
> 
> This message is intended only for the use of the individual or entity to 
> which it is addressed and may contain information that is confidential and/or 
> privileged. If you are not the intended recipient please delete the original 
> message and any copy of it from your computer system. You are hereby notified 
> that any dissemination, distribution or copying of this communication is 
> strictly prohibited unless proper authorization has been obtained for such 
> action. If you have received this communication in error, please notify the 
> sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
> for viruses, it does not guarantee that both are virus-free and accepts no 
> liability for any damage sustained as a result of viruses.
> 
> > On 21-Jan-2020, at 3:44 PM, Philippe Luneau  
> > wrote:
> > 
> > I have a problem when my Vms starts it cannot take an IP address
> 
> 


problem Gateway

2020-01-21 Thread Philippe Luneau
Hello,

How can I recover the gateway of my local network on my VMs.

Thank you in advance.


Re: Cloudstack - UI for CS 4.10

2020-01-21 Thread Sven Vogel
Hi Olivier,

What do you want to change? jQuery UI to VueJS UI?

Cheers

Sven


__

Sven Vogel
Teamlead Platform

EWERK DIGITAL GmbH
Br?hl 24, D-04109 Leipzig
P +49 341 42649 - 99
F +49 341 42649 - 98
s.vo...@ewerk.com
www.ewerk.com

Gesch?ftsf?hrer:
Dr. Erik Wende, Hendrik Schubert, Frank Richter
Registergericht: Leipzig HRB 9065

Support:
+49 341 42649 555

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 2-1:2011

ISAE 3402 Typ II Assessed

EWERK-Blog | 
LinkedIn | 
Xing | 
Twitter | 
Facebook


E-World 2020 in Essen. Das EWERK ist dabei!
Treffen Sie uns vom 11-13.02.20 in Halle 5 am Stand: 
5-724, mit spannenden Vortr?gen rund um das Thema 
Urban Data.


Mit Handelsregistereintragung vom 09.07.2019 ist die EWERK RZ GmbH auf die 
EWERK IT GmbH verschmolzen und firmiert nun gemeinsam unter dem Namen: EWERK 
DIGITAL GmbH, f?r weitere Informationen klicken Sie 
hier.

Ausk?nfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschlie?lich etwaiger beigef?gter Dateien) ist 
vertraulich und nur f?r den Empf?nger bestimmt. Sollten Sie nicht der 
bestimmungsgem??e Empf?nger sein, ist Ihnen jegliche Offenlegung, 
Vervielf?ltigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverz?glich den Absender und l?schen Sie die 
E-Mail (einschlie?lich etwaiger beigef?gter Dateien) von Ihrem System. Vielen 
Dank.

The contents of this e-mail (including any attachments) are confidential and 
may be legally privileged. If you are not the intended recipient of this 
e-mail, any disclosure, copying, distribution or use of its contents is 
strictly prohibited, and you should please notify the sender immediately and 
then delete it (including any attachments) from your system. Thank you.

Am 21.01.2020 um 15:51 schrieb Olivier Guin 
mailto:olivier.g...@ariasnet.com.INVALID>>:

Hello,
I would like to change the ui of Cloudstack 4.10 (centos 7) to the new 
interface.
I use Xen server 6.5 for hosts and the advanced network.

Do you have a link and / or tutorial to test the ui?

Regards,
Olivier




Olivier GUIN




TL. 0594 31 02 44




513 ZI Collery 5
97300 CAYENNE
www.ariasnet.com


This message and any attachments (the "message") is intended solely for the 
intended addressees and is  confidential.
If you receive this message in error,or are not the intended recipient(s), 
please delete it and any copies from your systems and immediately notify the 
sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the 
internet cannot guarantee the integrity of this message which may not be 
reliable, ARIAS Informatique shall not be liable for the message if modified, 
changed or falsified.
Do not print this message unless it is necessary, consider the environment.

--

Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a 
l'intention exclusive de ses  destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine, merci de 
le detruire ainsi que toute copie de votre systeme et d'en avertir 
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de 
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute 
publication, totale ou partielle, est  interdite. L'Internet ne permettant pas 
d'assurer l'integrite de ce message electronique susceptible d'alteration, 
ARIAS Informatique decline(nt) toute responsabilite au titre de ce message dans 
l'hypothese ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.



Call for presentations for ApacheCon North America 2020 now open

2020-01-21 Thread Rich Bowen

Dear Apache enthusiast,

(You’re receiving this message because you are subscribed to one or more 
project mailing lists at the Apache Software Foundation.)


The call for presentations for ApacheCon North America 2020 is now open 
at https://apachecon.com/acna2020/cfp


ApacheCon will be held at the Sheraton, New Orleans, September 28th 
through October 2nd, 2020.


As in past years, ApacheCon will feature tracks focusing on the various 
technologies within the Apache ecosystem, and so the call for 
presentations will ask you to select one of those tracks, or “General” 
if the content falls outside of one of our already-organized tracks. 
These tracks are:


Karaf
Internet of Things
Fineract
Community
Content Delivery
Solr/Lucene (Search)
Gobblin/Big Data Integration
Ignite
Observability
Cloudstack
Geospatial
Graph
Camel/Integration
Flagon
Tomcat
Cassandra
Groovy
Web/httpd
General/Other

The CFP will close Friday, May 1, 2020 8:00 AM (America/New_York time).

Submit early, submit often, at https://apachecon.com/acna2020/cfp

Rich, for the ApacheCon Planners


Cloudstack - UI for CS 4.10

2020-01-21 Thread Olivier Guin
Hello,
I would like to change the ui of Cloudstack 4.10 (centos 7) to the new 
interface.
I use Xen server 6.5 for hosts and the advanced network.

Do you have a link and / or tutorial to test the ui?

Regards,
Olivier




Olivier GUIN

Direction
05 94 31 02 44


Mobile: 0594 31 02 44

513 ZI Collery 5
97300 CAYENNE
www.ariasnet.com [http://www.ariasnet.com/]



Re: Unable to authenticate in UI

2020-01-21 Thread Ioan Marginean
Is it possible to reset password directly into the database?
Thank you.

On 2020/01/21 11:55:18, Ioan Marginean  wrote: 
> Hello,
> 
> I facing a strange situation related to UI authentication. After restart 
> cloudstack-management I can't authenticate. The restart was needed because I 
> change settings related to e-mail notifications.
> My configuration is: CS version = 4.13, KVM. On error log I got:
> 
> 2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) ===START===  172.16.1.106 -- 
> POST  
> 2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user: 
> alex in domain 1
> 2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
> 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
> 'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API 
> calls: 0.0.0.0/0,::/0
> 2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has 
> successfully logged in
> 2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the transaction: 
> Time = 1 Name =  qtp504527234-32; called by 
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
> 2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] 
> (qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) unknown exception writing api 
> response
> com.cloud.utils.exception.CloudRuntimeException: Problem with getting the ec 
> attribute 
>   at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
>   at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>   at 
> com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
>   at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
>   at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
>   at com.sun.proxy.$Proxy129.persist(Unknown Source)
>   at 
> com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
>   at 
> com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
>   at 
> com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
>   at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>   at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>   at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
>   at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
>   at com.sun.proxy.$Proxy125.authenticateUser(Unknown Source)
>   at com.cloud.api.ApiServer.loginUser(ApiServer.java:1073)
>   at 
> com.cloud.api.auth.DefaultLoginAPIAuthenticatorCmd.authenticate(DefaultLoginAPIAuthenticatorCmd.java:172)
>   at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:214)
>   at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
>  

Re: VMs problem

2020-01-21 Thread Vivek Kumar
How many hosts do you have ? is your VR on same host or different host ? If 
your VR is on different host and your VM is on different then it must be having 
some issue with guest VLAN ( you need to pass all the guest VLAN on the switch 
side).  Just try to migrate the router on the same host where your VM is 
running and then try to restart the network services of VM.

Vivek Kumar
Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com 

This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is confidential and/or 
privileged. If you are not the intended recipient please delete the original 
message and any copy of it from your computer system. You are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited unless proper authorization has been obtained for such 
action. If you have received this communication in error, please notify the 
sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
for viruses, it does not guarantee that both are virus-free and accepts no 
liability for any damage sustained as a result of viruses.

> On 21-Jan-2020, at 3:44 PM, Philippe Luneau  
> wrote:
> 
> I have a problem when my Vms starts it cannot take an IP address



VMs problem

2020-01-21 Thread Philippe Luneau
I have a problem when my Vms starts it cannot take an IP address


Unable to authenticate in UI

2020-01-21 Thread Ioan Marginean
Hello,

I facing a strange situation related to UI authentication. After restart 
cloudstack-management I can't authenticate. The restart was needed because I 
change settings related to e-mail notifications.
My configuration is: CS version = 4.13, KVM. On error log I got:

2020-01-21 13:47:04,111 DEBUG [c.c.a.ApiServlet] (qtp504527234-32:ctx-d36239ff) 
(logid:b2b6e874) ===START===  172.16.1.106 -- POST  
2020-01-21 13:47:04,117 DEBUG [c.c.u.AccountManagerImpl] 
(qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Attempting to log in user: alex 
in domain 1
2020-01-21 13:47:04,119 DEBUG [o.a.c.s.a.PBKDF2UserAuthenticator] 
(qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Retrieving user: alex
2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
(qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) CIDRs from which account 
'Acct[95411505-a071-419e-bf6d-65c94971c1ad-alex]' is allowed to perform API 
calls: 0.0.0.0/0,::/0
2020-01-21 13:47:04,556 DEBUG [c.c.u.AccountManagerImpl] 
(qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) User: alex in domain 1 has 
successfully logged in
2020-01-21 13:47:04,557 DEBUG [c.c.u.d.T.Transaction] 
(qtp504527234-32:ctx-d36239ff) (logid:b2b6e874) Rolling back the transaction: 
Time = 1 Name =  qtp504527234-32; called by 
-TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:174-ExposeInvocationInterceptor.invoke:92-ReflectiveMethodInvocation.proceed:185-JdkDynamicAopProxy.invoke:212-$Proxy129.persist:-1-ActionEventUtils.persistActionEvent:186-ActionEventUtils.onActionEvent:98-AccountManagerImpl.authenticateUser:2342
2020-01-21 13:47:04,559 ERROR [c.c.a.ApiServlet] (qtp504527234-32:ctx-d36239ff) 
(logid:b2b6e874) unknown exception writing api response
com.cloud.utils.exception.CloudRuntimeException: Problem with getting the ec 
attribute 
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1454)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy129.persist(Unknown Source)
at 
com.cloud.event.ActionEventUtils.persistActionEvent(ActionEventUtils.java:186)
at 
com.cloud.event.ActionEventUtils.onActionEvent(ActionEventUtils.java:98)
at 
com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:2342)
at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy125.authenticateUser(Unknown Source)
at com.cloud.api.ApiServer.loginUser(ApiServer.java:1073)
at 
com.cloud.api.auth.DefaultLoginAPIAuthenticatorCmd.authenticate(DefaultLoginAPIAuthenticatorCmd.java:172)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:214)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.ja