You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Anshul Gangwar <an...@citrix.com> on 2015/05/05 13:27:22 UTC

router VM not coming up in Hyper-V on current master

Router VM is not coming up on Hyper-V setup in current master. Its failing wile executing update_config script. What are these changes meant for? And how to deal with them in Hyper-V?

{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack Release 4.5.1 Mon Apr 13 10:23:48 UTC 2015","scriptsVersion":"36ad6233696e2f7bb93a0456eccbb6d7\n","result":true,"details":"Cloudstack Release 4.5.1 Mon Apr 13 10:23:48 UTC 2015&36ad6233696e2f7bb93a0456eccbb6d7\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-4-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"true","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command aggregation started","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VR config: execution failed: \"/opt/cloud/bin/update_config.py ip_associations.json\", check /var/log/cloud.log in VR for details \n","wait":0}}] }
2015-05-05 14:38:21,209 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852490: Received:  { Ans: , MgmtId: 279486982248022, via: 2, Ver: v1, Flags: 10, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer, NetworkUsageAnswer, Answer, Answer, Answer, Answer, Answer } }
2015-05-05 14:38:21,216 WARN  [o.a.c.alerts] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c)  alertType:: 9 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command: com.cloud.agent.api.Command failed while starting virtual router
2015-05-05 14:38:21,231 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) VR config: execution failed: "/opt/cloud/bin/update_config.py ip_associations.json", check /var/log/cloud.log in VR for details

2015-05-05 14:38:21,231 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Command: com.cloud.agent.api.Command failed while starting virtual router
2015-05-05 14:38:21,231 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) The guru did not like the answers so stopping VM[DomainRouter|r-4-VM]
2015-05-05 14:38:21,237 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852493: Sending  { Cmd , MgmtId: 279486982248022, via: 2(10.102.244.8), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}] }
2015-05-05 14:38:21,238 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852493: Executing:  { Cmd , MgmtId: 279486982248022, via: 2(10.102.244.8), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}] }


Thanks,
Anshul


Re: router VM not coming up in Hyper-V on current master

Posted by Mike Tutkowski <mi...@solidfire.com>.
Related issue here:

It sounds like some people are not having trouble with this, but I still
have to manually restart networking on my VR when running it on XenServer
(otherwise the VR gets rebooted a few times and eventually is just shut
down).

On Tue, May 5, 2015 at 10:34 PM, Anshul Gangwar <an...@citrix.com>
wrote:

> Wilder,
>  I see there are some changes made by you around this. Can you elaborate
> on those changes so that I can figure out the error?
>
> Regards,
> Anshul
>
> On 05-May-2015, at 4:57 pm, Anshul Gangwar <anshul.gangwar@citrix.com
> <ma...@citrix.com>> wrote:
>
> Router VM is not coming up on Hyper-V setup in current master. Its failing
> wile executing update_config script. What are these changes meant for? And
> how to deal with them in Hyper-V?
>
> {"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack
> Release 4.5.1 Mon Apr 13 10:23:48 UTC
> 2015","scriptsVersion":"36ad6233696e2f7bb93a0456eccbb6d7\n","result":true,"details":"Cloudstack
> Release 4.5.1 Mon Apr 13 10:23:48 UTC
> 2015&36ad6233696e2f7bb93a0456eccbb6d7\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-4-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"true","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command
> aggregation
> started","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VR
> config: execution failed: \"/opt/cloud/bin/update_config.py
> ip_associations.json\", check /var/log/cloud.log in VR for details
> \n","wait":0}}] }
> 2015-05-05 14:38:21,209 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq
> 2-22517998136852490: Received:  { Ans: , MgmtId: 279486982248022, via: 2,
> Ver: v1, Flags: 10, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer,
> NetworkUsageAnswer, Answer, Answer, Answer, Answer, Answer } }
> 2015-05-05 14:38:21,216 WARN  [o.a.c.alerts]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c)  alertType::
> 9 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message::
> Command: com.cloud.agent.api.Command failed while starting virtual router
> 2015-05-05 14:38:21,231 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) VR config:
> execution failed: "/opt/cloud/bin/update_config.py ip_associations.json",
> check /var/log/cloud.log in VR for details
>
> 2015-05-05 14:38:21,231 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Command:
> com.cloud.agent.api.Command failed while starting virtual router
> 2015-05-05 14:38:21,231 INFO  [c.c.v.VirtualMachineManagerImpl]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) The guru did
> not like the answers so stopping VM[DomainRouter|r-4-VM]
> 2015-05-05 14:38:21,237 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq
> 2-22517998136852493: Sending  { Cmd , MgmtId: 279486982248022, via:
> 2(10.102.244.8), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}]
> }
> 2015-05-05 14:38:21,238 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq
> 2-22517998136852493: Executing:  { Cmd , MgmtId: 279486982248022, via:
> 2(10.102.244.8), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}]
> }
>
>
> Thanks,
> Anshul
>
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Re: router VM not coming up in Hyper-V on current master

Posted by Anshul Gangwar <an...@citrix.com>.
Wilder,
 I see there are some changes made by you around this. Can you elaborate on those changes so that I can figure out the error?

Regards,
Anshul

On 05-May-2015, at 4:57 pm, Anshul Gangwar <an...@citrix.com>> wrote:

Router VM is not coming up on Hyper-V setup in current master. Its failing wile executing update_config script. What are these changes meant for? And how to deal with them in Hyper-V?

{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack Release 4.5.1 Mon Apr 13 10:23:48 UTC 2015","scriptsVersion":"36ad6233696e2f7bb93a0456eccbb6d7\n","result":true,"details":"Cloudstack Release 4.5.1 Mon Apr 13 10:23:48 UTC 2015&36ad6233696e2f7bb93a0456eccbb6d7\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-4-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"true","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command aggregation started","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":false,"details":"VR config: execution failed: \"/opt/cloud/bin/update_config.py ip_associations.json\", check /var/log/cloud.log in VR for details \n","wait":0}}] }
2015-05-05 14:38:21,209 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852490: Received:  { Ans: , MgmtId: 279486982248022, via: 2, Ver: v1, Flags: 10, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer, NetworkUsageAnswer, Answer, Answer, Answer, Answer, Answer } }
2015-05-05 14:38:21,216 WARN  [o.a.c.alerts] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c)  alertType:: 9 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command: com.cloud.agent.api.Command failed while starting virtual router
2015-05-05 14:38:21,231 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) VR config: execution failed: "/opt/cloud/bin/update_config.py ip_associations.json", check /var/log/cloud.log in VR for details

2015-05-05 14:38:21,231 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Command: com.cloud.agent.api.Command failed while starting virtual router
2015-05-05 14:38:21,231 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) The guru did not like the answers so stopping VM[DomainRouter|r-4-VM]
2015-05-05 14:38:21,237 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852493: Sending  { Cmd , MgmtId: 279486982248022, via: 2(10.102.244.8), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}] }
2015-05-05 14:38:21,238 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-5d9df616 job-34/job-35 ctx-96f4339c) Seq 2-22517998136852493: Executing:  { Cmd , MgmtId: 279486982248022, via: 2(10.102.244.8), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"r-4-VM","wait":0}}] }


Thanks,
Anshul