cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-4717) associate IP does not work on shared networks with out source NAT service
Date Tue, 22 Oct 2013 05:02:47 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sailaja Mada reopened CLOUDSTACK-4717:
--------------------------------------


Tried to create shared network offering with LB,DNS,DHCP services / 

It failed to create shared network offering saying "Provider VirtualRouter doesn't support
services combination: [Dns, Dhcp, Lb] "

Without offering it does not let you to proceed with the remaining functionality. 

Hence reopening the defect.

2013-10-22 10:06:44,113 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===START===  10.144.6.15
-- GET  command=createNetworkOffering&response=json&sessionkey=1F8Uzv3e8TF1fWbIHH05GLFXDZs%3D&name=sai1&displayText=sai1&guestIpType=Shared&lbType=publicLb&servicecapabilitylist%5B0%5D.service=lb&servicecapabilitylist%5B0%5D.capabilitytype=SupportedLbIsolation&servicecapabilitylist%5B0%5D.capabilityvalue=dedicated&availability=Optional&state=Creating&status=Creating&allocationstate=Creating&supportedServices=Dhcp%2CDns%2CLb&specifyVlan=true&specifyIpRanges=true&isPersistent=false&conservemode=false&serviceProviderList%5B0%5D.service=Dhcp&serviceProviderList%5B0%5D.provider=VirtualRouter&serviceProviderList%5B1%5D.service=Dns&serviceProviderList%5B1%5D.provider=VirtualRouter&serviceProviderList%5B2%5D.service=Lb&serviceProviderList%5B2%5D.provider=VirtualRouter&traffictype=GUEST&_=1382416904971
2013-10-22 10:06:44,120 WARN  [network.element.VirtualRouterElement] (catalina-exec-9:null)
Virtual router can't enable services [Dns Dhcp Lb ] without source NAT service
2013-10-22 10:06:44,131 ERROR [cloud.api.ApiServer] (catalina-exec-9:null) unhandled exception
executing api command: createNetworkOffering
com.cloud.exception.UnsupportedServiceException: Provider VirtualRouter doesn't support services
combination: [Dns, Dhcp, Lb]
        at com.cloud.network.NetworkModelImpl.canProviderSupportServices(NetworkModelImpl.java:1415)
        at com.cloud.configuration.ConfigurationManagerImpl.createNetworkOffering(ConfigurationManagerImpl.java:3992)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.admin.network.CreateNetworkOfferingCmd.execute(CreateNetworkOfferingCmd.java:264)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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)
2013-10-22 10:06:44,134 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===END===  10.144.6.15
-- GET  command=createNetworkOffering&response=json&sessionkey=1F8Uzv3e8TF1fWbIHH05GLFXDZs%3D&name=sai1&displayText=sai1&guestIpType=Shared&lbType=publicLb&servicecapabilitylist%5B0%5D.service=lb&servicecapabilitylist%5B0%5D.capabilitytype=SupportedLbIsolation&servicecapabilitylist%5B0%5D.capabilityvalue=dedicated&availability=Optional&state=Creating&status=Creating&allocationstate=Creating&supportedServices=Dhcp%2CDns%2CLb&specifyVlan=true&specifyIpRanges=true&isPersistent=false&conservemode=false&serviceProviderList%5B0%5D.service=Dhcp&serviceProviderList%5B0%5D.provider=VirtualRouter&serviceProviderList%5B1%5D.service=Dns&serviceProviderList%5B1%5D.provider=VirtualRouter&serviceProviderList%5B2%5D.service=Lb&serviceProviderList%5B2%5D.provider=VirtualRouter&traffictype=GUEST&_=1382416904971
2013-10-22 10:06:44,258 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null)
SeqA 3-8786: Processing Seq 3-8786:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2013-10-22 10:06:44,264 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null)
SeqA 3-8786: Sending Seq 3-8786:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-10-22 10:06:54,260 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null)
SeqA 3-8787: Processing Seq 3-8787:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
2013-10-22 10:06:54,266 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null)
SeqA 3-8787: Sending Seq 3-8787:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }


> associate IP does not work on shared networks with out source NAT service
> -------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4717
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4717
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: Murali Reddy
>            Assignee: Murali Reddy
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> 'shared network' with only DNS, DHCP and LB service provided by CloudStack is a valid
service combination. in this case gateway is defined externally and cloudstack does not provide
any nat service. But currently there is restriction that in order to acquire an IP to a network
source nat service should have been enabled on the network. So effectively IP can not be acquired
and no LB rules can be created.
> Fix should be relax the restriction the source nat ip to enabled on the network on which
ip is being acquired.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message