cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-2450) SRX:F5:guestvm deployement with userdata failed with exception
Date Thu, 18 Jul 2013 09:14:48 GMT

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

Murali Reddy reassigned CLOUDSTACK-2450:
----------------------------------------

    Assignee: Murali Reddy
    
> SRX:F5:guestvm deployement with userdata failed with exception
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2450
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2450
>             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
>            Reporter: sadhu suresh
>            Assignee: Murali Reddy
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.rar
>
>
> guest vm deployment with user-data failed where as guestvm deployment without user-data
successful.
> Steps:
> 1.create a network offering with following service capabilities 
> 	Firewall: JuniperSRX, UserData: VirtualRouter, SourceNat: JuniperSRX, Lb: F5BigIp, Dns:
VirtualRouter, Dhcp: VirtualRouter, PortForwarding: JuniperSRX, StaticNat: JuniperSRXr, 
> 2.create shared guest network with scope as account
> 3. deploy a VM without user data
> 4. deploy a vm with user-data
> http://10.147.59.83:8080/client/api?command=deployVirtualMachine&zoneId=80b8c228-7244-40d9-b567-e0c60591a57e&templateId=66b3548a-b702-11e2-bb08-068a7200003b&hypervisor=XenServer&serviceOfferingId=e2fdf625-532b-43c8-80a2-4d232dbdf5da&networkIds=09607cd1-71ff-4d87-90f2-e5d54528ec3c&displayname=guestvm3&name=guestvm3&response=json&userdata=Y3VzdG9tZXJWTQ==&sessionkey=uyRu4Dei1T3VlQOmDFPmI%2BJDWF0%3D&_=1368420957885
> actual result :
> step3:
> uservm deployment was successful
> step4:
> uservm deployment  failed with  below exception:
> 2013-05-13 06:27:37,010 DEBUG [agent.transport.Request] (Job-Executor-4:job-135) Seq
1-1546190956: Sending  { Cmd , MgmtId: 7191687856187, via: 1, Ver: v1, Flags: 100111, [{"routing.SavePasswordCommand":{"password":"fnirq_cnffjbeq","vmIpAddress":"192.168.40.35","vmName":"guestvm3","accessDetails":{"router.guest.ip":"192.168.40.30","zone.network.type":"Advanced","router.ip":"169.254.2.156","router.name":"r-13-VM"},"wait":0}},{"routing.VmDataCommand":{"vmIpAddress":"192.168.40.35","vmName":"guestvm3","accessDetails":{"router.guest.ip":"192.168.40.30","zone.network.type":"Advanced","router.ip":"169.254.2.156","router.name":"r-13-VM"},"wait":0}}]
}
> 2013-05-13 06:27:37,011 DEBUG [agent.transport.Request] (Job-Executor-4:job-135) Seq
1-1546190956: Executing:  { Cmd , MgmtId: 7191687856187, via: 1, Ver: v1, Flags: 100111, [{"routing.SavePasswordCommand":{"password":"fnirq_cnffjbeq","vmIpAddress":"192.168.40.35","vmName":"guestvm3","accessDetails":{"router.guest.ip":"192.168.40.30","zone.network.type":"Advanced","router.ip":"169.254.2.156","router.name":"r-13-VM"},"wait":0}},{"routing.VmDataCommand":{"vmIpAddress":"192.168.40.35","vmName":"guestvm3","accessDetails":{"router.guest.ip":"192.168.40.30","zone.network.type":"Advanced","router.ip":"169.254.2.156","router.name":"r-13-VM"},"wait":0}}]
}
> 2013-05-13 06:27:37,012 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-76:null)
Seq 1-1546190956: Executing request
> 2013-05-13 06:27:47,326 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-76:null)
Seq 1-1546190956: Response Received:
> 2013-05-13 06:27:47,327 DEBUG [agent.transport.Request] (DirectAgent-76:null) Seq 1-1546190956:
Processing:  { Ans: , MgmtId: 7191687856187, via: 1, Ver: v1, Flags: 110, [{"Answer":{"result":true,"wait":0}},{"Answer":{"result":false,"details":"vm_data
failed","wait":0}}] }
> 2013-05-13 06:27:47,327 DEBUG [agent.transport.Request] (Job-Executor-4:job-135) Seq
1-1546190956: Received:  { Ans: , MgmtId: 7191687856187, via: 1, Ver: v1, Flags: 110, { Answer,
Answer } }
> 2013-05-13 06:27:47,328 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-4:job-135)
Unable to contact resource.
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Unable to apply userdata and password entry on router
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3458)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyUserData(VirtualNetworkApplianceManagerImpl.java:2752)
>         at com.cloud.network.element.VirtualRouterElement.addPasswordAndUserdata(VirtualRouterElement.java:860)
>         at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:1616)
>         at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:1721)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:1662)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:810)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:529)
>         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:3082)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2673)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2659)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:413)
>         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:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-05-13 06:27:47,339 DEBUG [agent.manager.AgentAttache] (DirectAgent-76:null) Seq
1-1546190956: No more commands found

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