cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3871) XEN - Unable to deploy VM in guest network VLAN with different subnets
Date Sat, 27 Jul 2013 03:25:48 GMT
angeline shen created CLOUDSTACK-3871:
-----------------------------------------

             Summary: XEN - Unable to deploy VM in guest network  VLAN with different subnets
                 Key: CLOUDSTACK-3871
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3871
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: MS       rhel 6.3   build   CloudPlatform-4.2-275-rhel6.3.tar.gz
host   XS 6.2 
            Reporter: angeline shen
            Assignee: Anthony Xu
            Priority: Blocker
             Fix For: 4.2.0


1. advance zone.  Create guest network with VLAN  with different subnets:

VLAN 1250

gateway                start  IP                 end IP               subnet mask
------------------------------------------------------------------------------------------------------------
10.223.125.1        10.223.125.10     10.223.125.13      255.255.255.192
10.223.125.65      10.223.125.66     10.223.125.68      255.255.255.192

2. Create 3 VMs in this guest network. The 3 VMSs and Virtual Router exhausted the 4 IPs
3. Create 4th VM  failed.  It should have succeeded with IP in the second IP range. 

4. Delete second IP range.   Add new IP range  to first subnet:

gateway                start  IP                 end IP               subnet mask
------------------------------------------------------------------------------------------------------------
10.223.125.1        10.223.125.10     10.223.125.13      255.255.255.192
10.223.125.1        10.223.125.15     10.223.125.16      255.255.255.192

5. Create 5th VM  succeeds with IP allocated in second IP range.

6. Delete 5th VM.   Delete second IP range.
    Add second IP range with different subnets:

gateway                start  IP                 end IP               subnet mask
------------------------------------------------------------------------------------------------------------
10.223.125.1        10.223.125.10     10.223.125.13      255.255.255.192
10.223.125.129    10.223.125.130    10.223.125.133     255.255.255.192

7. Create 6th VM Failed.


2013-07-26 20:15:56,309 DEBUG [agent.transport.Request] (Job-Executor-21:job-21 = [ edb62580-54d8-4dda-8e29-31474c1afdb0
]) Seq 1-858128577: Executing:  { Cmd , MgmtId: 6655051826959, via: 1, Ver: v1, Flags: 100011,
[{"com.c
loud.agent.api.routing.CreateIpAliasCommand":{"routerip":"10.223.125.11","ipAliasTOs":[{"routerip":"10.223.125.131","netmask":"255.255.255.192","alias_count":"37"}],"accessDetails":{"router.guest.ip":"10.223.125.11","zone.ne
twork.type":"Advanced","router.name":"r-4-VM","router.ip":"169.254.3.137"},"wait":0}},{"com.cloud.agent.api.routing.DnsMasqConfigCommand":{"dhcpTOs":[{"routerIp":"10.223.125.11","gateway":"10.223.125.1","netmask":"255.255.25
5.192","startIpOfSubnet":"10.223.125.1"},{"routerIp":"10.223.125.131","gateway":"10.223.125.129","netmask":"255.255.255.192","startIpOfSubnet":"10.223.125.129"}],"accessDetails":{"router.guest.ip":"10.223.125.11","zone.netwo
rk.type":"Advanced","router.name":"r-4-VM","router.ip":"169.254.3.137"},"wait":0}}] }
2013-07-26 20:15:56,309 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null) Seq
1-858128577: Executing request
2013-07-26 20:15:57,052 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-121:null) callHostPlugin
failed for cmd: configdnsmasq with args args: 10.223.125.11:10.223.125.1:255.255.255.192:10.223.125.1-10.223.125.131:10.223.125.129:255.255.255.192:10.223.125.129-,
routerip: 169.254.3.137,  due to There was a failure communicating with the plugin.
2013-07-26 20:15:57,053 WARN  [agent.manager.DirectAgentAttache] (DirectAgent-121:null) Seq
1-858128577: Exception Caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: configdnsmasq
with args args: 10.223.125.11:10.223.125.1:255.255.255.192:10.223.125.1-10.223.125.131:10.223.125.129:255.255.255.192:10.223.125.129-,
routerip: 169.254.3.137,  due to There was a failure communicating with the plugin.
        at com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:4231)
        at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2067)
        at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:487)
        at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
        at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
        at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        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-07-26 20:15:57,054 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-121:null) Seq
1-858128577: Response Received: 
2013-07-26 20:15:57,054 DEBUG [agent.transport.Request] (DirectAgent-121:null) Seq 1-858128577:
Processing:  { Ans: , MgmtId: 6655051826959, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:
callHostPlugin failed for cmd: configdnsmasq with args args: 10.223.125.11:10.223.125.1:255.255.255.192:10.223.125.1-10.223.125.131:10.223.125.129:255.255.255.192:10.223.125.129-,
routerip: 169.254.3.137,  due to There was a failure communicating with the plugin.","wait":0}}]
}
2013-07-26 20:15:57,054 DEBUG [agent.transport.Request] (Job-Executor-21:job-21 = [ edb62580-54d8-4dda-8e29-31474c1afdb0
]) Seq 1-858128577: Received:  { Ans: , MgmtId: 6655051826959, via: 1, Ver: v1, Flags: 10,
{ Answer, Answer } }
2013-07-26 20:15:57,063 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-21:job-21
= [ edb62580-54d8-4dda-8e29-31474c1afdb0 ]) Failed to start instance VM[User|z1admin125010to13V15]
com.cloud.utils.exception.CloudRuntimeException: failed to configure ip alias on the router
as a part of dhcp config
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.configDhcpForSubnet(VirtualNetworkApplianceManagerImpl.java:2847)
        at com.cloud.network.element.VirtualRouterElement.configDhcpSupportForSubnet(VirtualRouterElement.java:873)
        at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:2016)
        at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2132)
        at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2073)
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:911)
        at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:618)
        at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:227)
        at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3335)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2895)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2881)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        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-07-26 20:15:57,069 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-21:job-21
= [ edb62580-54d8-4dda-8e29-31474c1afdb0 ]) Cleaning up resources for the vm VM[User|z1admin125010to13V15]
in Starting state
2013-07-26 20:15:57,071 DEBUG [agent.transport.Request] (Job-Executor-21:job-21 = [ edb62580-54d8-4dda-8e29-31474c1afdb0
]) Seq 1-858128578: Sending  { Cmd , MgmtId: 6655051826959, via: 1, Ver: v1, Flags:




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message