cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "domino.jiang@gmail.com" <domino.ji...@gmail.com>
Subject Re: Re: Guid is not updated for cluster with specified cluster id; need to wait for hosts in this cluster to come up
Date Tue, 18 Jun 2013 02:58:35 GMT
i had got this error too.i had resolved it.

1、i found the host info in the DB.

 you can find the host's guid in the host server directory  /etc/cloud/agent/agent.properties
 

my file looks like this :
#Storage
#Tue Jun 18 10:50:44 CST 2013
guest.network.device=cloudbr0
workers=5
private.network.device=cloudbr0
port=8250
resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource
pod=pod1
zone=cloud1
guid=d26d0d1f-4767-428c-8d65-28c8661803a4
cluster=kvm1
public.network.device=cloudbr0
local.storage.uuid=41cebcff-2ed1-4d99-b083-0aed94dc4e24
domr.scripts.dir=scripts/network/domr/kvm
host=192.168.100.3
LibvirtComputingResource.id=14

login to the DB cloud,and found the info of this err host:

select * from host where guid like 'd26d0d1f-4767-428c-8d65-28c8661803a4 %'\G

then you will got a row info of the host.

2.delete the row i found .

#before you delete the row ,i suggest to backup the host table use mysqldump

3. restart the management server

4.add the host to cluster

5.the host is added to the cluster.



domino.jiang@gmail.com

From: david van zeebroeck
Date: 2013-06-14 16:38
To: users; aemneina
Subject: Re: Guid is not updated for cluster with specified cluster id; need to wait for hosts
in this cluster to come up
this was due to a missing guid in the cluster table
adding it manualy solved the issue


On Tue, Jun 11, 2013 at 7:00 PM, Ahmad Emneina <aemneina@gmail.com> wrote:

> Your pool master might be hurt, if you're using xenserver...
>
>
> On Tue, Jun 11, 2013 at 9:59 AM, Ahmad Emneina <aemneina@gmail.com> wrote:
>
> > What hypervisor is this with?
> >
> >
> > On Mon, Jun 10, 2013 at 12:06 AM, david van zeebroeck <
> > david@analytics.brusselsairport.be> wrote:
> >
> >> when i try to add a host to a cluster i get following error:
> >>
> >> Guid is not updated for cluster with specified cluster id; need to wait
> >> for
> >> hosts in this cluster to come up
> >>
> >> this is on 3.0.2
> >> (planning upgrade later)
> >>
> >> in the management log is see also following error :
> >>
> >> 2013-06-10 09:05:52,581 ERROR [cloud.api.ApiDispatcher]
> >> (catalina-exec-16:null) Exception while executing AddHostCmd:
> >> 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:624)
> >>         at
> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
> >>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:263)
> >>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:545)
> >>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:429)
> >>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:307)
> >>         at com.cloud.api.ApiServlet.doPost(ApiServlet.java:68)
> >>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> >>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>         at
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>         at
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>         at
> >>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>         at
> >>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>         at
> >>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >>         at
> >>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>         at
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> >>         at
> >>
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>         at
> >>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >>         at
> >>
> >>
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> >>         at
> >>
> >>
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> >>         at
> >>
> >>
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
> >>         at
> >>
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>         at
> >>
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>         at java.lang.Thread.run(Thread.java:679)
> >>
> >
> >
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message