cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Jagirdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5680) Contrail:MS:API: Contrail DHCP fails with exception
Date Mon, 30 Dec 2013 19:19:50 GMT
Parth Jagirdar created CLOUDSTACK-5680:
------------------------------------------

             Summary: Contrail:MS:API: Contrail DHCP fails with exception
                 Key: CLOUDSTACK-5680
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5680
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, Management Server
    Affects Versions: 4.2.0
         Environment: Contrail
            Reporter: Parth Jagirdar
            Priority: Blocker


Instance creation succeeds but IP doesn't get assigned. 

2013-12-27 17:00:53,915 INFO  [contrail.api.ApiConnector] (Job-Executor-24:job-17 = [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9
]) << Response Status: HTTP/1.1 503 Service Unavailable
2013-12-27 17:00:53,915 ERROR [contrail.api.ApiConnector] (Job-Executor-24:job-17 = [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9
]) create api request failed: Service Unavailable
2013-12-27 17:00:53,915 ERROR [contrail.api.ApiConnector] (Job-Executor-24:job-17 = [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9
]) Failure message: Virtual-Network(default-domain:default-project:contrail) has no defined
subnet(s)
2013-12-27 17:00:53,916 WARN  [contrail.management.ContrailGuru] (Job-Executor-24:job-17 =
[ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) virtual-machine update
com.cloud.exception.InternalErrorException: Unable to create instance-ip i-2-3036-VM-0
	at net.juniper.contrail.model.InstanceIpModel.update(InstanceIpModel.java:99)
	at net.juniper.contrail.model.VMInterfaceModel.update(VMInterfaceModel.java:227)
	at net.juniper.contrail.model.VirtualMachineModel.update(VirtualMachineModel.java:327)
	at net.juniper.contrail.management.ContrailGuru.reserve(ContrailGuru.java:228)
	at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2157)
	at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2127)
	at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:886)
	at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:578)
	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:3406)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2966)
	at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2952)
	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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
2013-12-27 17:00:53,920 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-24:job-17 =
[ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) Changing active number of nics for network id=215
on 1
2013-12-27 17:00:53,930 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-24:job-17 =
[ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) Asking ContrailElementImpl_EnhancerByCloudStack_749d004
to prepare for Nic[12138-3036-c0945234-c3a2-451b-ae04-f465478eee1e-null]
2013-12-27 17:00:53,930 DEBUG [contrail.management.ContrailElement] (Job-Executor-24:job-17
= [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) NetworkElement prepare: contrail, traffic type:
Guest
2013-12-27 17:00:53,930 DEBUG [contrail.management.ContrailElement] (Job-Executor-24:job-17
= [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) ignore network contrail
2013-12-27 17:00:53,936 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-24:job-17 = [
5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) Service SecurityGroup is not supported in the network
id=215
2013-12-27 17:00:53,937 DEBUG [contrail.management.ContrailGuru] (Job-Executor-24:job-17 =
[ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) update NicProfile 12138 on contrail
2013-12-27 17:00:53,939 DEBUG [cloud.storage.VolumeManagerImpl] (Job-Executor-24:job-17 =
[ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) Checking if we need to prepare 1 volumes for VM[User|test-vm]
2013-12-27 17:00:53,958 DEBUG [storage.image.TemplateDataFactoryImpl] (Job-Executor-24:job-17
= [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) template 201 is already in store:1, type:Image
2013-12-27 17:00:53,968 DEBUG [storage.image.TemplateDataFactoryImpl] (Job-Executor-24:job-17
= [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) template 201 is already in store:6, type:Primary
2013-12-27 17:00:54,008 DEBUG [storage.motion.AncientDataMotionStrategy] (Job-Executor-24:job-17
= [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9 ]) copyAsync inspecting src type TEMPLATE copyAsync
inspecting dest type VOLUME
2013-12-27 17:00:54,019 DEBUG [agent.transport.Request] (Job-Executor-24:job-17 = [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9
]) Seq 1-712641707: Sending  { Cmd , MgmtId: 86780043846508, via: 1, Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"c9fe58cf-8ae5-45f5-bd55-9172819bc0b0","origUrl":"http://10.223.110.231/parth/cloudstack/vm_templates/centos56-x86_64-xen.vhd.bz2","uuid":"5bbccfb7-aa7c-40fe-a658-22b484651f72","id":201,"format":"VHD","accountId":2,"checksum":"905cec879afd9c9d22ecc8036131a180","hvm":true,"displayText":"CentOS
5.6","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"9fa842f7-d18e-3201-8bf4-13780da95939","id":6,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/parth/contrail/cloudstack_58_70//primary","port":2049}},"name":"201-2-5bbccfb7-aa7c-40fe-a658-22b484651f72","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"d30d4f27-e028-4d04-b3c4-4568c103c0dd","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"9fa842f7-d18e-3201-8bf4-13780da95939","id":6,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/parth/contrail/cloudstack_58_70//primary","port":2049}},"name":"ROOT-3036","size":1758786048,"volumeId":3036,"vmName":"i-2-3036-VM","accountId":2,"format":"VHD","id":3036,"hypervisorType":"XenServer"}},"executeInSequence":true,"wait":0}}]
}
2013-12-27 17:00:54,019 DEBUG [agent.transport.Request] (Job-Executor-24:job-17 = [ 5316fcdb-7550-41ea-94eb-7718d0c80ab9
]) Seq 1-712641707: Executing:  { Cmd , MgmtId: 86780043846508, via: 1, Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"c9fe58cf-8ae5-45f5-bd55-9172819bc0b0","origUrl":"http://10.223.110.231/parth/cloudstack/vm_templates/centos56-x86_64-xen.vhd.bz2","uuid":"5bbccfb7-aa7c-40fe-a658-22b484651f72","id":201,"format":"VHD","accountId":2,"checksum":"905cec879afd9c9d22ecc8036131a180","hvm":true,"displayText":"CentOS
5.6","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"9fa842f7-d18e-3201-8bf4-13780da95939","id":6,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/parth/contrail/cloudstack_58_70//primary","port":2049}},"name":"201-2-5bbccfb7-aa7c-40fe-a658-22b484651f72","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"d30d4f27-e028-4d04-b3c4-4568c103c0dd","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"9fa842f7-d18e-3201-8bf4-13780da95939","id":6,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/parth/contrail/cloudstack_58_70//primary","port":2049}},"name":"ROOT-3036","size":1758786048,"volumeId":3036,"vmName":"i-2-3036-VM","accountId":2,"format":"VHD","id":3036,"hypervisorType":"XenServer"}},"executeInSequence":true,"wait":0}}]
}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message