cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne wei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-2015) CS3.0.2 VR is pending in starting state,when VR is recreated.
Date Fri, 12 Apr 2013 08:21:16 GMT

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

Wayne wei updated CLOUDSTACK-2015:
----------------------------------

    Description: 
When the VR was destoryed, and it was recreated, the VR is pending in starting state,the log
show the follwoing exceptions,I restart the agent in the host of VR,the VR state is normal.

1.
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected
EOF near 
        at com.google.gson.Gson.assertFullConsumption(Gson.java:478)
        at com.google.gson.Gson.fromJson(Gson.java:468)
        at com.google.gson.Gson.fromJson(Gson.java:417)
        at com.google.gson.Gson.fromJson(Gson.java:389)
Caused by: com.google.gson.stream.MalformedJsonException: Expected EOF near 
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1111)
        at com.google.gson.stream.JsonReader.quickPeek(JsonReader.java:386)
        at com.google.gson.stream.JsonReader.peek(JsonReader.java:340)
        at com.google.gson.Gson.assertFullConsumption(Gson.java:474)

2.ERROR [agent.transport.Request] (AgentManager-Handler-41:null) Unable to convert to json:
[{"StartAnswer":{"

vm":{"id":789,"name":"r-789-VM","type":"DomainRouter","cpus":2,"speed":1500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os

":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template\u003ddomP type\u003ddhcpsrvr  name\u003dr-789-VM
eth0ip\u003d10.208.169.39 e

th0mask\u003d255.255.0.0 gateway\u003d10.208.1.1 eth1ip\u003d169.254.2.8 eth1mask\u003d255.255.0.0
dhcprange\u003d10.208.0.1 domain\

u003dcs1cloud.internal dns1\u003d10.208.20.103 dns2\u003d10.208.101.82","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"v

ncPassword":"4a44616708f844dc","params":{},"disks":[{"id":1059,"name":"ROOT-789","mountPoint":"/var/lib/libvirt/images/","path":"c47

357ad-f1e2-4a22-bc31-87ad7c7bc6de","size":143360,"type":"ROOT","storagePoolType":"Filesystem","storagePoolUuid":"2745df5e-a354-42fd-

a34b-7146689170e8","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":true,"ip":"10.208.169.39","netmask":"255.2

55.0.0","gateway":"10.208.1.1","mac":"06:17:c4:00:00:6e","dns1":"10.208.20.103","dns2":"10.208.101.82","broadcastType":"Vlan","type"

:"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":1,"networkRate

Mbps":-1,"defaultNic":false,"ip":"169.254.2.8","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:02:08","broadcastT

ype":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"contextMap":{},"wait":0}},{"check.CheckSshAnswer"

:{"result":true,"contextMap":{},"wait":0}},{"GetDomRVersionAnswer":{"templateVersion":"Cloudstack
Release 3.0 Mon Feb 6 15:10:04 PST

 2012","scriptsVersion":"42ec62e621062be2d729c6b26c6e42b6","

  was:
When the VR was destoryed, and it was recreated, the VR is pending in starting state,the log
show the follwoing exceptions,I restart the agent in the host of VR,the VR state is normal.

1.
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected
EOF near 
        at com.google.gson.Gson.assertFullConsumption(Gson.java:478)
        at com.google.gson.Gson.fromJson(Gson.java:468)
        at com.google.gson.Gson.fromJson(Gson.java:417)
        at com.google.gson.Gson.fromJson(Gson.java:389)
Caused by: com.google.gson.stream.MalformedJsonException: Expected EOF near 
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1111)
        at com.google.gson.stream.JsonReader.quickPeek(JsonReader.java:386)
        at com.google.gson.stream.JsonReader.peek(JsonReader.java:340)
        at com.google.gson.Gson.assertFullConsumption(Gson.java:474)

2.ERROR [agent.transport.Request] (AgentManager-Handler-41:null) Unable to convert to json:
[{"StartAnswer":{"

vm":{"id":789,"name":"r-789-VM","type":"DomainRouter","cpus":1,"speed":500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os

":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template\u003ddomP type\u003ddhcpsrvr  name\u003dr-789-VM
eth0ip\u003d10.208.169.39 e

th0mask\u003d255.255.0.0 gateway\u003d10.208.1.1 eth1ip\u003d169.254.2.8 eth1mask\u003d255.255.0.0
dhcprange\u003d10.208.0.1 domain\

u003dcs1cloud.internal dns1\u003d10.208.20.103 dns2\u003d10.208.101.82","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"v

ncPassword":"4a44616708f844dc","params":{},"disks":[{"id":1059,"name":"ROOT-789","mountPoint":"/var/lib/libvirt/images/","path":"c47

357ad-f1e2-4a22-bc31-87ad7c7bc6de","size":143360,"type":"ROOT","storagePoolType":"Filesystem","storagePoolUuid":"2745df5e-a354-42fd-

a34b-7146689170e8","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":true,"ip":"10.208.169.39","netmask":"255.2

55.0.0","gateway":"10.208.1.1","mac":"06:17:c4:00:00:6e","dns1":"10.208.20.103","dns2":"10.208.101.82","broadcastType":"Vlan","type"

:"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":1,"networkRate

Mbps":-1,"defaultNic":false,"ip":"169.254.2.8","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:02:08","broadcastT

ype":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"contextMap":{},"wait":0}},{"check.CheckSshAnswer"

:{"result":true,"contextMap":{},"wait":0}},{"GetDomRVersionAnswer":{"templateVersion":"Cloudstack
Release 3.0 Mon Feb 6 15:10:04 PST

 2012","scriptsVersion":"42ec62e621062be2d729c6b26c6e42b6","

    
> CS3.0.2 VR is pending in starting state,when VR  is recreated.
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2015
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2015
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: pre-4.0.0
>         Environment: CS 3.0.2
> KVM
> redhat 6.2
>            Reporter: Wayne wei
>            Priority: Blocker
>              Labels: patch
>             Fix For: 4.0.0
>
>
> When the VR was destoryed, and it was recreated, the VR is pending in starting state,the
log show the follwoing exceptions,I restart the agent in the host of VR,the VR state is normal.
> 1.
> com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected
EOF near 
>         at com.google.gson.Gson.assertFullConsumption(Gson.java:478)
>         at com.google.gson.Gson.fromJson(Gson.java:468)
>         at com.google.gson.Gson.fromJson(Gson.java:417)
>         at com.google.gson.Gson.fromJson(Gson.java:389)
> Caused by: com.google.gson.stream.MalformedJsonException: Expected EOF near 
>         at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1111)
>         at com.google.gson.stream.JsonReader.quickPeek(JsonReader.java:386)
>         at com.google.gson.stream.JsonReader.peek(JsonReader.java:340)
>         at com.google.gson.Gson.assertFullConsumption(Gson.java:474)
> 2.ERROR [agent.transport.Request] (AgentManager-Handler-41:null) Unable to convert to
json: [{"StartAnswer":{"
> vm":{"id":789,"name":"r-789-VM","type":"DomainRouter","cpus":2,"speed":1500,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os
> ":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template\u003ddomP type\u003ddhcpsrvr
 name\u003dr-789-VM eth0ip\u003d10.208.169.39 e
> th0mask\u003d255.255.0.0 gateway\u003d10.208.1.1 eth1ip\u003d169.254.2.8 eth1mask\u003d255.255.0.0
dhcprange\u003d10.208.0.1 domain\
> u003dcs1cloud.internal dns1\u003d10.208.20.103 dns2\u003d10.208.101.82","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"v
> ncPassword":"4a44616708f844dc","params":{},"disks":[{"id":1059,"name":"ROOT-789","mountPoint":"/var/lib/libvirt/images/","path":"c47
> 357ad-f1e2-4a22-bc31-87ad7c7bc6de","size":143360,"type":"ROOT","storagePoolType":"Filesystem","storagePoolUuid":"2745df5e-a354-42fd-
> a34b-7146689170e8","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":true,"ip":"10.208.169.39","netmask":"255.2
> 55.0.0","gateway":"10.208.1.1","mac":"06:17:c4:00:00:6e","dns1":"10.208.20.103","dns2":"10.208.101.82","broadcastType":"Vlan","type"
> :"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":1,"networkRate
> Mbps":-1,"defaultNic":false,"ip":"169.254.2.8","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:02:08","broadcastT
> ype":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"contextMap":{},"wait":0}},{"check.CheckSshAnswer"
> :{"result":true,"contextMap":{},"wait":0}},{"GetDomRVersionAnswer":{"templateVersion":"Cloudstack
Release 3.0 Mon Feb 6 15:10:04 PST
>  2012","scriptsVersion":"42ec62e621062be2d729c6b26c6e42b6","

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