Re: Unable to add second host
Hi Jithin, I don’t unfortunately since I did so much tests with just 1 host in adding / removing it, also tried building the cluster in the beginning and ran in some errors because it was the first I worked with Cloudstack. In case a new cloudstack setup is built it is known now how it works, If the same issue appears an issue for it will be created. -- Jimmy Van: Jithin Raju Datum: donderdag, 16 november 2023 om 05:18 Aan: users@cloudstack.apache.org Onderwerp: Re: Unable to add second host If you have the steps to reproduce the issue it might be worth reporting the issue. -Jithin From: Jimmy Huybrechts Date: Wednesday, 15 November 2023 at 3:53 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Jithin, That was it actually, I filled in a guid in that table and now it added it, currently doing tests with it already :) -- Jimmy Van: Jithin Raju Datum: woensdag, 15 november 2023 om 05:15 Aan: users@cloudstack.apache.org Onderwerp: Re: Unable to add second host Hi Jimmy, >Guid is not updated for cluster with specified cluster id Could you verify whether there is any value for the ‘guid’ filed in the ‘cluster’ table for this cluster, if its NULL generate a random UUID and update the field. -Jithin From: Jimmy Huybrechts Date: Tuesday, 14 November 2023 at 10:13 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Gary, I did that doing the fqdn indeed, just like the first host. -- Jimmy Van: Gary Dixon Datum: dinsdag, 14 november 2023 om 17:22 Aan: users@cloudstack.apache.org Onderwerp: RE: Unable to add second host Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN [cid:image195681.png@8AB6B0A1.40521B2B] Gary Dixon Senior Technical Consultant [cid:image607471.png@6EABA39E.15C283A8] 0161 537 4980 +44 7989717661 [cid:image039452.png@587E2583.30F76F95] gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk> [cid:image674966.png@DDFF6C88.15096CB3] www.quadris.com<http://www.quadris.com> [cid:image900790.png@68DA5719.E45F2990] Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManaged
Re: Unable to add second host
If you have the steps to reproduce the issue it might be worth reporting the issue. -Jithin From: Jimmy Huybrechts Date: Wednesday, 15 November 2023 at 3:53 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Jithin, That was it actually, I filled in a guid in that table and now it added it, currently doing tests with it already :) -- Jimmy Van: Jithin Raju Datum: woensdag, 15 november 2023 om 05:15 Aan: users@cloudstack.apache.org Onderwerp: Re: Unable to add second host Hi Jimmy, >Guid is not updated for cluster with specified cluster id Could you verify whether there is any value for the ‘guid’ filed in the ‘cluster’ table for this cluster, if its NULL generate a random UUID and update the field. -Jithin From: Jimmy Huybrechts Date: Tuesday, 14 November 2023 at 10:13 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Gary, I did that doing the fqdn indeed, just like the first host. -- Jimmy Van: Gary Dixon Datum: dinsdag, 14 november 2023 om 17:22 Aan: users@cloudstack.apache.org Onderwerp: RE: Unable to add second host Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN [cid:image195681.png@8AB6B0A1.40521B2B] Gary Dixon Senior Technical Consultant [cid:image607471.png@6EABA39E.15C283A8] 0161 537 4980 +44 7989717661 [cid:image039452.png@587E2583.30F76F95] gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk> [cid:image674966.png@DDFF6C88.15096CB3] www.quadris.com<http://www.quadris.com> [cid:image900790.png@68DA5719.E45F2990] Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletH
Re: Unable to add second host
Hi Jithin, That was it actually, I filled in a guid in that table and now it added it, currently doing tests with it already :) -- Jimmy Van: Jithin Raju Datum: woensdag, 15 november 2023 om 05:15 Aan: users@cloudstack.apache.org Onderwerp: Re: Unable to add second host Hi Jimmy, >Guid is not updated for cluster with specified cluster id Could you verify whether there is any value for the ‘guid’ filed in the ‘cluster’ table for this cluster, if its NULL generate a random UUID and update the field. -Jithin From: Jimmy Huybrechts Date: Tuesday, 14 November 2023 at 10:13 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Gary, I did that doing the fqdn indeed, just like the first host. -- Jimmy Van: Gary Dixon Datum: dinsdag, 14 november 2023 om 17:22 Aan: users@cloudstack.apache.org Onderwerp: RE: Unable to add second host Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN [cid:image195681.png@8AB6B0A1.40521B2B] Gary Dixon Senior Technical Consultant [cid:image607471.png@6EABA39E.15C283A8] 0161 537 4980 +44 7989717661 [cid:image039452.png@587E2583.30F76F95] gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk> [cid:image674966.png@DDFF6C88.15096CB3] www.quadris.com<http://www.quadris.com> [cid:image900790.png@68DA5719.E45F2990] Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerW
Re: Unable to add second host
Hi Jimmy, >Guid is not updated for cluster with specified cluster id Could you verify whether there is any value for the ‘guid’ filed in the ‘cluster’ table for this cluster, if its NULL generate a random UUID and update the field. -Jithin From: Jimmy Huybrechts Date: Tuesday, 14 November 2023 at 10:13 PM To: users@cloudstack.apache.org Subject: Re: Unable to add second host Hi Gary, I did that doing the fqdn indeed, just like the first host. -- Jimmy Van: Gary Dixon Datum: dinsdag, 14 november 2023 om 17:22 Aan: users@cloudstack.apache.org Onderwerp: RE: Unable to add second host Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN [cid:image195681.png@8AB6B0A1.40521B2B] Gary Dixon Senior Technical Consultant [cid:image607471.png@6EABA39E.15C283A8] 0161 537 4980 +44 7989717661 [cid:image039452.png@587E2583.30F76F95] gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk> [cid:image674966.png@DDFF6C88.15096CB3] www.quadris.com<http://www.quadris.com> [cid:image900790.png@68DA5719.E45F2990] Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextH
Re: Unable to add second host
Hi Gary, I did that doing the fqdn indeed, just like the first host. -- Jimmy Van: Gary Dixon Datum: dinsdag, 14 november 2023 om 17:22 Aan: users@cloudstack.apache.org Onderwerp: RE: Unable to add second host Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN [cid:image195681.png@8AB6B0A1.40521B2B] Gary Dixon Senior Technical Consultant [cid:image607471.png@6EABA39E.15C283A8] 0161 537 4980 +44 7989717661 [cid:image039452.png@587E2583.30F76F95] gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk> [cid:image674966.png@DDFF6C88.15096CB3] www.quadris.com [cid:image900790.png@68DA5719.E45F2990] Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.ja
RE: Unable to add second host
Hi Jimmy Did you try to add the host via its IP or FQDN - it looks like you need to add it via FQDN Gary Dixon Senior Technical Consultant 0161 537 4980 +44 7989717661 gary.di...@quadris.co.uk www.quadris.com Innovation House, 12-13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -Original Message- From: Jimmy Huybrechts Sent: Tuesday, November 14, 2023 4:18 PM To: users@cloudstack.apache.org Subject: Unable to add second host I'm trying to add a second host to my cluster now after the tests I did with having only one, however I get a Error 530 in the GUI and the management log says the following: 2023-11-14 17:11:33,491 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) Received unknown parameters for command addHost. Unknown parameters : clustertype 2023-11-14 17:11:33,495 ERROR [c.c.a.ApiServer] (qtp1278852808-495:ctx-1cea20ad ctx-5982a2e5) (logid:d7576e47) unhandled exception executing api command: [Ljava.lang.String;@44dcd5ae com.cloud.utils.exception.CloudRuntimeException: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:640) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy199.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:782) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:603) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)