cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-3313) Ipv6 - Not able to deploy VM in IPV6 network.
Date Wed, 17 Jul 2013 04:52:49 GMT

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

Bharat Kumar resolved CLOUDSTACK-3313.
--------------------------------------

    Resolution: Fixed

6b549074fa239af31920b5a8e7112c8f5aa0b782
                
> Ipv6 - Not able to deploy VM in IPV6 network.
> ---------------------------------------------
>
>                 Key: CLOUDSTACK-3313
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3313
>             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: Build from master-6-17-stable
>            Reporter: Sangeetha Hariharan
>            Assignee: Bharat Kumar
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: management-server.rar
>
>
> Ipv6 -N able to deploy a VMs in IPV6 network.
> Steps to reproduce the problem:
> Create a IPV6 enabled shared network by passing only IPV6 related parameters ( No IPV4
parameters).
> Deploy a Vm in this network.
> Vm deployment fails.
> We see the following error in management server logs when executing the routing.DhcpEntryCommand
().
> 2013-07-01 16:59:57,238 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq
1-896860233: Sending  { Cmd ,
> MgmtId: 7261447522054, via: 1, Ver: v1, Flags: 100011, [{"routing.DhcpEntryCommand":{"vmMac":"06:a2:5e:00:00:24","v
> mName":"test-2","vmIp6Address":"fc00:3:1370::dd63","ip6Gateway":"fc00:3:1370::1","duid":"00:03:00:01:06:a2:5e:00:00
> :24","isDefault":true,"executeInSequence":false,"accessDetails":{"zone.network.type":"Advanced","router.name":"r-4-
> VM","router.ip":"169.254.1.51"},"wait":0}}] }
> 2013-07-01 17:03:57,673 DEBUG [agent.transport.Request] (AgentManager-Handler-8:null)
Seq 1-896860239: Processing:  { Ans: , MgmtId: 726144752
> 2054, via: 1, Ver: v1, Flags: 10, [{"Answer":{"result":false,"details":"timeout","wait":0}}]
}
> 2013-07-01 17:03:57,674 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq
1-896860239: Received:  { Ans: , MgmtId: 7261447522054, v
> ia: 1, Ver: v1, Flags: 10, { Answer } }
> 2013-07-01 17:03:57,674 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-14:job-14)
Unable to contact resource.
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Unable to apply dhcp entry on router
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3784)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyDhcpEntry(VirtualNetworkApplianceManagerImpl.java:2903)
>         at com.cloud.network.element.VirtualRouterElement.addDhcpEntry(VirtualRouterElement.java:916)
>         at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:1982)
>         at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2094)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2035)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:848)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:556)
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:243)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3313)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2851)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2837)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.j
> ava:125)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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)
> var/log/dnsmasq.log shows "bad address at /etc/hosts line 5":
> Jul  1 22:55:20 dnsmasq[2645]: started, version 2.62 cachesize 150
> Jul  1 22:55:20 dnsmasq[2645]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP
DHCPv6 no-Lua TFTP conntrack
> Jul  1 22:55:20 dnsmasq-dhcp[2645]: DHCP, static leases only on fc00:3:1370::2, lease
time 1h
> Jul  1 22:55:20 dnsmasq[2645]: using local addresses only for domain test3434
> Jul  1 22:55:20 dnsmasq[2645]: reading /etc/dnsmasq-resolv.conf
> Jul  1 22:55:20 dnsmasq[2645]: using nameserver fc00:3:1373::1#53
> Jul  1 22:55:20 dnsmasq[2645]: using nameserver 72.52.126.11#53
> Jul  1 22:55:20 dnsmasq[2645]: using local addresses only for domain test3434
> Jul  1 22:55:20 dnsmasq[2645]: bad address at /etc/hosts line 5
> Jul  1 22:55:20 dnsmasq[2645]: read /etc/hosts - 5 addresses
> Jul  1 22:55:20 dnsmasq[2645]: cannot read /etc/dhcphosts.txt: No such file or directory
> Jul  1 22:55:20 dnsmasq-dhcp[2645]: read /etc/dhcphosts.txt
> Jul  1 22:57:31 dnsmasq[2645]: bad address at /etc/hosts line 5
> Jul  1 22:57:31 dnsmasq[2645]: read /etc/hosts - 6 addresses
> Jul  1 22:57:31 dnsmasq-dhcp[2645]: read /etc/dhcphosts.txt
> Jul  1 22:59:31 dnsmasq[2645]: bad address at /etc/hosts line 5
> Jul  1 22:59:31 dnsmasq[2645]: read /etc/hosts - 6 addresses
> Jul  1 22:59:31 dnsmasq-dhcp[2645]: read /etc/dhcphosts.txt
> Jul  1 23:09:44 dnsmasq[2645]: bad address at /etc/hosts line 5
> Jul  1 23:09:44 dnsmasq[2645]: read /etc/hosts - 7 addresses
> Jul  1 23:09:44 dnsmasq-dhcp[2645]: read /etc/dhcphosts.txt
> Jul  1 23:11:44 dnsmasq[2645]: bad address at /etc/hosts line 5
> Jul  1 23:11:44 dnsmasq[2645]: read /etc/hosts - 7 addresses
> Jul  1 23:11:44 dnsmasq-dhcp[2645]: read /etc/dhcphosts.txt
> root@r-4-VM:~# cat /etc/hosts
> 127.0.0.1       localhost
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>  data-server
> fc00:3:1370::2 r-4-VM
> fc00:3:1370::3441 test-1
> fc00:3:1370::dd63 test-2
> root@r-4-VM:~#

--
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