[ https://issues.apache.org/jira/browse/CLOUDSTACK-5275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sowmya Krishnan closed CLOUDSTACK-5275. --------------------------------------- Verified. > [Hyper-V] Adding host requires an agent restart to be performed for > successful addition > --------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-5275 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5275 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Hypervisor Controller > Affects Versions: 4.3.0 > Environment: Hyper-V, Advanced zone > Reporter: Sowmya Krishnan > Assignee: Devdeep Singh > Priority: Critical > Labels: hyper-V, > Fix For: 4.3.0 > > > Create an advanced zone with single cluster, pod and secondary storage. > Adding host doesn't go through. We need to explicitly restart the hyper v > agent for having the host to get recognized and added. There are no errors or > exceptions thrown, it just stops after the following logs, there's no action > beyond this. > 2013-11-26 12:04:21,395 DEBUG [c.c.a.ApiServlet] > (catalina-exec-3:ctx-0e4961c6) ===START=== 10.104.255.45 -- POST > command=addHost&response=json&sessionkey= > 5DGP7gv1vXNaK35rAxfIEi7256o%3D > 2013-11-26 12:04:21,417 INFO [c.c.r.ResourceManagerImpl] > (catalina-exec-3:ctx-0e4961c6 ctx-2a13907e) Trying to add a new host at > http://10.102.192.39 in dat a center 1 > 2013-11-26 12:04:21,418 INFO [c.c.h.h.d.HypervServerDiscoverer] > (catalina-exec-3:ctx-0e4961c6 ctx-2a13907e) Discover host. dc(zone): 1, pod: > 1, cluster: 1, uri host: 10.102.192.39 > 2013-11-26 12:04:21,424 INFO [c.c.h.h.d.HypervServerDiscoverer] > (catalina-exec-3:ctx-0e4961c6 ctx-2a13907e) > Creatingcom.cloud.hypervisor.hyperv.resource.Hyp > ervDirectConnectResource HypervDummyResourceBase for zone/pod/cluster 1/1/1 > 2013-11-26 12:04:21,428 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > (catalina-exec-3:ctx-0e4961c6 ctx-2a13907e) POST request > tohttp://10.102.192.39:8250/ap > i/HypervResource/com.cloud.agent.api.ReadyCommand with > contents{"contextMap":{},"wait":0} > 2013-11-26 12:04:21,428 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > (catalina-exec-3:ctx-0e4961c6 ctx-2a13907e) Sending cmd to > http://10.102.192.39:8250/api/HypervResource/com.cloud.agent.api.ReadyCommand > cmd data:{"contextMap":{},"wait":0} > Only if agent is restarted, host gets added successfully. -- This message was sent by Atlassian JIRA (v6.1.5#6160)