cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7334) [VMware] AddHost command fails if there is a space in the VMware DC/Cluster name
Date Wed, 13 Aug 2014 09:45:11 GMT
Likitha Shetty created CLOUDSTACK-7334:
------------------------------------------

             Summary: [VMware] AddHost command fails if there is a space in the VMware DC/Cluster
name
                 Key: CLOUDSTACK-7334
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7334
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup, VMware
    Affects Versions: 4.5.0
            Reporter: Likitha Shetty
            Assignee: Likitha Shetty
            Priority: Critical
             Fix For: 4.5.0


If VMware DC contains a space character then adding a host to the corresponding Zone in CCP
fails with the below error - 
{noformat}
2014-08-13 10:39:47,468 DEBUG [c.c.a.ApiServlet] (24967510@qtp-6691912-0:ctx-165190ee) ===START===
 10.252.241.50 -- GET  command=addCluster&zoneId=8fda1cb2-4673-4d65-8b18-d9fae061decb&hypervisor=VMware&clustertype=ExternalManaged&podId=3aa2f52b-5cca-459b-9c30-8af3adb0fbc6&username=administrator&url=http%3A%2F%2F10.102.192.248%2FTest%20Cloud%2FInteractive_Cloud&clustername=10.102.192.248%2FCitrix%20Test%20Cloud%2FInteractive_Cloud&response=json&sessionkey=Zu6EOaK1gAqbBjrM%2Bls%2Fydj7IJU%3D&_=1407907218055
2014-08-13 10:39:47,545 INFO  [c.c.h.v.VmwareServerDiscoverer] (24967510@qtp-6691912-0:ctx-165190ee
ctx-bc3e621b) Discover host. dc: 1, pod: 1, cluster: 1, uri host: 10.102.192.248
2014-08-13 10:39:47,552 ERROR [c.c.h.v.VmwareServerDiscoverer] (24967510@qtp-6691912-0:ctx-165190ee
ctx-bc3e621b) This cluster Interactive_Cloud belongs to VMware DC Test+Cloud .But this zone
is associated with VMware DC Test Cloud. Make sure the cluster being added belongs to VMware
DC Test Cloud in vCenter 10.102.192.248
2014-08-13 10:39:47,553 INFO  [c.c.u.e.CSExceptionErrorCode] (24967510@qtp-6691912-0:ctx-165190ee
ctx-bc3e621b) Could not find exception: com.cloud.exception.DiscoveryException in error code
list for exceptions
2014-08-13 10:39:47,752 WARN  [o.a.c.a.c.a.c.AddClusterCmd] (24967510@qtp-6691912-0:ctx-165190ee
ctx-bc3e621b) Exception:
com.cloud.exception.DiscoveryException: This cluster Interactive_Cloud belongs to VMware DC
Test+Cloud .But this zone is associated with VMware DC Citrix Test Cloud. Make sure the cluster
being added belongs to VMware DC Test Cloud in vCenter 10.102.192.248
        at com.cloud.hypervisor.vmware.VmwareServerDiscoverer.validateCluster(VmwareServerDiscoverer.java:489)
        at com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServerDiscoverer.java:152)
        at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:511)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy163.discoverCluster(Unknown Source)
        at org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClusterCmd.java:196)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
        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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message