cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2387) [UI]Addition/Deletion of a VLAN Range from UI calls updateTrafficType API which makes all networklabels as "undefined" which finally results in failure to deploy VMs
Date Wed, 08 May 2013 11:41:15 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651812#comment-13651812
] 

ASF subversion and git services commented on CLOUDSTACK-2387:
-------------------------------------------------------------

Commit 305f3cb8a503df84875fe7e066ca60fe186da22e in branch refs/heads/master from [~pranav.saxena@citrix.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=305f3cb ]

CLOUDSTACK-2387:Addition/Deletion of a VLAN Range from UI calls updateTrafficType API which
makes all networklabels as undefined which finally results in failure to deploy VMs

                
> [UI]Addition/Deletion of a VLAN Range from UI calls updateTrafficType API which makes
all networklabels as "undefined" which finally results in failure to deploy VMs
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2387
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2387
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.2.0
>            Reporter: Abhinav Roy
>            Assignee: Pranav Saxena
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Steps :
> ================================
> 1. Goto Infrastructure -> Zone -> <zone-name> -> Physical Network ->
Guest and add a VLAN range.
> 2. After this try to deploy VMs.
> Expected Behaviour :
> ===============================
> 1. The Vlans should be added successfully and the VMs should be deployed
> Observed Behaviour :
> ==============================
> The VLANs are added successfully but VM deployment fails with 
> 2013-05-07 15:12:03,401 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
VBD 7a04c875-9127-67a0-016e-927a8903ae5c created for Vol[11|ROOT|3191f43c-6814-4524-99aa-c3dcec8264ac|2097152000]
> 2013-05-07 15:12:03,485 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Creating VIF for r-11-VM on nic [Nic:Public-10.102.195.15-vlan://untagged]
> 2013-05-07 15:12:03,555 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Created a vif 8dd4a12b-1dd3-9b1c-0165-c190773b6852 on 2
> 2013-05-07 15:12:03,555 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Creating VIF for r-11-VM on nic [Nic:Guest-10.1.1.1-vlan://808]
> 2013-05-07 15:12:03,562 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Looking for network named undefined
> 2013-05-07 15:12:03,571 ERROR [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Network is not configured on the backend for nic [Nic:Guest-10.1.1.1-vlan://808]
> 2013-05-07 15:12:03,572 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Catch Exception: class com.cloud.utils.exception.CloudRuntimeException due to com.cloud.utils.exception.CloudRuntimeException:
Network for the backend is not configured correctly for network broadcast domain: vlan://808
> com.cloud.utils.exception.CloudRuntimeException: Network for the backend is not configured
correctly for network broadcast domain: vlan://808
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:985)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1038)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1507)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:532)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 2013-05-07 15:12:03,572 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Unable to start r-11-VM due to 
> com.cloud.utils.exception.CloudRuntimeException: Network for the backend is not configured
correctly for network broadcast domain: vlan://808
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:985)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1038)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1507)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:532)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 2013-05-07 15:12:03,689 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Unable to clean up VBD due to 
> You gave an invalid object reference.  The object may have recently been deleted.  The
class parameter gives the type of reference given, and the handle parameter echoes the bad
value given.
>         at com.xensource.xenapi.Types.checkResponse(Types.java:209)
>         at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>         at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.VBD.unplug(VBD.java:1059)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1310)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1584)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:532)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 2013-05-07 15:12:03,721 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Unable to clean up VBD due to 
> You gave an invalid object reference.  The object may have recently been deleted.  The
class parameter gives the type of reference given, and the handle parameter echoes the bad
value given.
>         at com.xensource.xenapi.Types.checkResponse(Types.java:209)
>         at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>         at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.VBD.unplug(VBD.java:1059)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1310)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1584)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:532)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 2013-05-07 15:12:03,747 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
Unable to cleanup VIF
> You gave an invalid object reference.  The object may have recently been deleted.  The
class parameter gives the type of reference given, and the handle parameter echoes the bad
value given.
>         at com.xensource.xenapi.Types.checkResponse(Types.java:209)
>         at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>         at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.VIF.unplug(VIF.java:878)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1318)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1584)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:532)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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)
> 2013-05-07 15:12:03,761 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-27:null)
The VM is in stopped state, detected problem during startup : r-11-VM
> 2013-05-07 15:12:03,762 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-27:null)
Seq 1-339607663: Cancelling because one of the answers is false and it is stop on error.
> Reason :
> =========================================
> The action performed in step 1 invokes 2 APIs , updatePhysicalNetwork and updateTrafficLabel
> now when updateTrafficLabel is invoked it  makes all network labels - undefined
> updateTrafficType&xennetworklabel=undefined&kvmnetworklabel=undefined&vmwarenetworklabel=undefined&ovmnetworklabel=undefined&lxcnetworklabel=undefined&response=json&sessionkey=RZ%2FIil3PucuDolGzQP5NsgMt17Y%3D&id=020f14cb-44e7-4605-baeb-36c185300384&_=1367918791974
200 { "updatetraffictyperesponse" : {"jobid":"5d245eed-d73b-40c1-9deb-0626f222e989"} }
> Now because of this the vm deployment fails.
> Workaround :
> =======================================
> Login to the mysql DB and run the following command
> update physical_network_traffic_types set xen_network_label=NULL; 

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