You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Olivier GUIN <ol...@ariasnet.com.INVALID> on 2020/02/08 22:45:41 UTC

Error login after upgrade cs 4.10 to 4.11.3 [CLOUDSTACK]

Hello,


After updating CS 4.10 to 4.11.3, I cannot connect to the management 
interface.
Management is on CentOS 7.7.1908
The hypervisors are Xen 6.5
The error message is:
2020-02-08 19: 28: 20,113 DEBUG [ccaApiServer] (qtp1558712965-17: 
ctx-943d6e8c ctx-784cfaa5) (logid: 63246fd1) The given command listIdps 
either does not exist, is not available for user, or not available from 
ip address '200.13.136.119'

In addition and in the link bar I have the display:
https://mycloud.server.net:82/client/?username=administrator&password=mypassword&domain=&language=

Username, password,domain,language are in plain text in the link bar !!

I also have a warning:
2020-02-08 19: 41: 20,771 WARN [c.c.v.SystemVmLoadScanner] 
(secstorage-1: ctx-9bf582a4) (logid: d3c2cdd2) Unexpected exception 
Problem with getting the ec attribute
com.cloud.utils.exception.CloudRuntimeException: Problem with getting 
the ec attribute
         at com.cloud.utils.db.GenericDaoBase.persist 
(GenericDaoBase.java:1439)
         at sun.reflect.GeneratedMethodAccessor128.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. $ Proxy186.persist (Unknown Source)
         at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl.getPseudoJob 
(AsyncJobManagerImpl.java:184)
         at 
org.apache.cloudstack.framework.jobs.AsyncJobExecutionContext.registerPseudoExecutionContext 
(AsyncJobExecutionContext.java:194)
         at com.cloud.vm.SystemVmLoadScanner $ 1.runInContext 
(SystemVmLoadScanner.java:79)
         at org.apache.cloudstack.managed.context.ManagedContextRunnable 
$ 1.run (ManagedContextRunnable.java:49)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext $ 
1.call (DefaultManagedContext.java:56)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext 
(DefaultManagedContext.java:103)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext 
(DefaultManagedContext.java:53)
         at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run 
(ManagedContextRunnable.java:46)
         at java.util.concurrent.Executors $ RunnableAdapter.call 
(Executors.java:511)
         at java.util.concurrent.FutureTask.runAndReset 
(FutureTask.java:308)
         at java.util.concurrent.ScheduledThreadPoolExecutor $ 
ScheduledFutureTask.access $ 301 (ScheduledThreadPoolExecutor.java:180)
         at java.util.concurrent.ScheduledThreadPoolExecutor $ 
ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:294)
         at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1149)
         at java.util.concurrent.ThreadPoolExecutor $ Worker.run 
(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Can not set long field 
org.apache.cloudstack.framework.jobs.impl.AsyncJobVO.id to 
java.math.BigInteger
         at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException 
(UnsafeFieldAccessorImpl.java:167)
         at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException 
(UnsafeFieldAccessorImpl.java:171)
         at sun.reflect.UnsafeLongFieldAccessorImpl.set 
(UnsafeLongFieldAccessorImpl.java:102)
         ... 29 more
2020-02-08 19: 41: 20.828 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1: ctx-7c59a678) (logid: b5c1846b) Zone 1 is not ready to 
launch console proxy yet

Can you help me ?
I did follow the procedure though!

Thank for all,
Regards,
Olivier Guin




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/]


[SOLVE] Re: Error login after upgrade cs 4.10 to 4.11.3 [CLOUDSTACK]

Posted by Olivier GUIN <ol...@ariasnet.com.INVALID>.
SOLVE

downgrade mysql-connector-java from 8.0.X to 5.1.X

Regards,

Olivier

Le 08/02/2020 à 19:45, Olivier GUIN a écrit :
>
> Hello,
>
>
> After updating CS 4.10 to 4.11.3, I cannot connect to the management 
> interface.
> Management is on CentOS 7.7.1908
> The hypervisors are Xen 6.5
> The error message is:
> 2020-02-08 19: 28: 20,113 DEBUG [ccaApiServer] (qtp1558712965-17: 
> ctx-943d6e8c ctx-784cfaa5) (logid: 63246fd1) The given command 
> listIdps either does not exist, is not available for user, or not 
> available from ip address '200.13.136.119'
>
> In addition and in the link bar I have the display:
> https://mycloud.server.net:82/client/?username=administrator&password=mypassword&domain=&language=
>
> Username, password,domain,language are in plain text in the link bar !!
>
> I also have a warning:
> 2020-02-08 19: 41: 20,771 WARN [c.c.v.SystemVmLoadScanner] 
> (secstorage-1: ctx-9bf582a4) (logid: d3c2cdd2) Unexpected exception 
> Problem with getting the ec attribute
> com.cloud.utils.exception.CloudRuntimeException: Problem with getting 
> the ec attribute
>         at com.cloud.utils.db.GenericDaoBase.persist 
> (GenericDaoBase.java:1439)
>         at sun.reflect.GeneratedMethodAccessor128.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. $ Proxy186.persist (Unknown Source)
>         at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl.getPseudoJob 
> (AsyncJobManagerImpl.java:184)
>         at 
> org.apache.cloudstack.framework.jobs.AsyncJobExecutionContext.registerPseudoExecutionContext 
> (AsyncJobExecutionContext.java:194)
>         at com.cloud.vm.SystemVmLoadScanner $ 1.runInContext 
> (SystemVmLoadScanner.java:79)
>         at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable $ 1.run 
> (ManagedContextRunnable.java:49)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext $ 
> 1.call (DefaultManagedContext.java:56)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext 
> (DefaultManagedContext.java:103)
>         at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext 
> (DefaultManagedContext.java:53)
>         at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run 
> (ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors $ RunnableAdapter.call 
> (Executors.java:511)
>         at java.util.concurrent.FutureTask.runAndReset 
> (FutureTask.java:308)
>         at java.util.concurrent.ScheduledThreadPoolExecutor $ 
> ScheduledFutureTask.access $ 301 (ScheduledThreadPoolExecutor.java:180)
>         at java.util.concurrent.ScheduledThreadPoolExecutor $ 
> ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:294)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor $ Worker.run 
> (ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run (Thread.java:748)
> Caused by: java.lang.IllegalArgumentException: Can not set long field 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobVO.id to 
> java.math.BigInteger
>         at 
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException 
> (UnsafeFieldAccessorImpl.java:167)
>         at 
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException 
> (UnsafeFieldAccessorImpl.java:171)
>         at sun.reflect.UnsafeLongFieldAccessorImpl.set 
> (UnsafeLongFieldAccessorImpl.java:102)
>         ... 29 more
> 2020-02-08 19: 41: 20.828 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
> (consoleproxy-1: ctx-7c59a678) (logid: b5c1846b) Zone 1 is not ready 
> to launch console proxy yet
>
> Can you help me ?
> I did follow the procedure though!
>
> Thank for all,
> Regards,
> Olivier Guin
>
>
> *Olivier GUIN*
>
> 	
>
> TL. 0594 31 02 44
>
> ARIAS Informatique 	
>
> 513 ZI Collery 5
> */97300 CAYENNE/*
> *www.ariasnet.com* <http://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.
>