Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      MS 10.223.195.49 rhel5 build 3.0.5 patch 1
      host 10.223.51.2 ovm 2.2.3

      Description

      MS 10.223.195.49 rhel5 build 3.0.5 patch 1
      host 10.223.51.2 ovm 2.2.3

      1. advance zone> pod> cluster> host
      2. create guest VM FAIL

      2012-10-10 18:28:35,028 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-14:job-14) Unable to start VM on Host[-5-Routing] due to <ShellExceutedFailedException: ERROR: trying to add VLAN #2485 to IF :eth0: error: Invalid argument
      , return code:3>

      StackTrace:
      File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 359, in createVlanBridge
      vlan = network._createVlan(v)
      File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 163, in _createVlan
      doCmd(['vconfig', 'add', vlan.pif, vlan.vid])
      File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 121, in doCmd
      res = runCmd(cmdStr)
      File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 114, in runCmd
      raise ShellExceutedFailedException(stderr, process.returncode)

      2012-10-10 18:28:35,047 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-14:job-14) Cleaning up resources for the vm VM[User|z1d1domainV21] in Starting state
      2012-10-10 18:28:35,049 DEBUG [agent.transport.Request] (Job-Executor-14:job-14) Seq 5-217251909: Waiting for Seq 217251906 Scheduling: { Cmd , MgmtId: 7397376526031, via: 5, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-3-8-VM","wait":0}}] }
      2012-10-10 18:28:35,053 DEBUG [ovm.object.Connection] (DirectAgent-230:null) Ovm call OvmNetwork.getBridgeDetails finished in 0.0 secs
      2012-10-10 18:28:35,054 DEBUG [ovm.object.Connection] (DirectAgent-230:null) Call Ovm agent: ["OvmNetwork.createVlanBridge","

      {\"name\":\"vlan2484\",\"attach\":\"null\",\"interfaces\":[\"eth0\"]}

      ","

      {\"vid\":2484,\"pif\":\"eth0\"}

      "]
      2012-10-10 18:28:35,072 DEBUG [ovm.object.Connection] (DirectAgent-230:null) Ovm call OvmNetwork.createVlanBridge finished in 0.0 secs
      2012-10-10 18:28:35,073 DEBUG [ovm.hypervisor.OvmResourceBase] (DirectAgent-230:null) Start vm i-2-9-VM failed
      org.apache.xmlrpc.XmlRpcException: <ShellExceutedFailedException: ERROR: trying to add VLAN #2484 to IF :eth0: error: Invalid argument
      , return code:3>

      StackTrace:
      File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 359, in createVlanBridge
      vlan = network._createVlan(v)
      File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 163, in _createVlan
      doCmd(['vconfig', 'add', vlan.pif, vlan.vid])
      File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 121, in doCmd
      res = runCmd(cmdStr)
      File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 114, in runCmd
      raise ShellExceutedFailedException(stderr, process.returncode)

      at com.cloud.ovm.object.Connection.callTimeoutInSec(Connection.java:104)
      at com.cloud.ovm.object.Connection.callTimeoutInSec(Connection.java:113)
      at com.cloud.ovm.object.Connection.call(Connection.java:74)
      at com.cloud.ovm.object.OvmBridge.createVlanBridge(OvmBridge.java:53)
      at com.cloud.ovm.hypervisor.OvmResourceBase.createVlanBridge(OvmResourceBase.java:565)
      at com.cloud.ovm.hypervisor.OvmResourceBase.getNetwork(OvmResourceBase.java:581)
      at com.cloud.ovm.hypervisor.OvmResourceBase.createVif(OvmResourceBase.java:601)
      at com.cloud.ovm.hypervisor.OvmResourceBase.createVifs(OvmResourceBase.java:609)
      at com.cloud.ovm.hypervisor.OvmResourceBase.execute(OvmResourceBase.java:651)
      at com.cloud.ovm.hypervisor.OvmResourceBase.executeRequest(OvmResourceBase.java:1335)
      at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
      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:636)
      2012-10-10 18:28:35,073 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-230:null) Seq 5-217251906: Response Received:

        Activity

        Hide
        Chip Childers added a comment -

        closing since 4.1.0 is now released

        Show
        Chip Childers added a comment - closing since 4.1.0 is now released
        Hide
        frank zhang added a comment -

        This is caused by old OVM kernel on R210 hardware.
        CloudStack has nothing to fix

        Show
        frank zhang added a comment - This is caused by old OVM kernel on R210 hardware. CloudStack has nothing to fix
        Hide
        Choonho Son added a comment -

        Possible reasons for failure are case by case.
        The source code for creating VLAN interface is not bug.

        Vlan configuration depends on hardware NIC driver.

        For example,

        • Broadcom BCM5704C chip supports only 64 VLANs.
        • Old bnx2 network driver has bug for creating VLAN interface.

        Check:

        • Network Driver version
          ethtool -i eth0
        • test case
          I have two network cards in my system; intel 1G(eth1) + broadcom 1G(eth2)
          Creating vlan in a intel NIC was successful, but failed in broadcom NIC.
        Show
        Choonho Son added a comment - Possible reasons for failure are case by case. The source code for creating VLAN interface is not bug. Vlan configuration depends on hardware NIC driver. For example, Broadcom BCM5704C chip supports only 64 VLANs. Old bnx2 network driver has bug for creating VLAN interface. Check: Network Driver version ethtool -i eth0 test case I have two network cards in my system; intel 1G(eth1) + broadcom 1G(eth2) Creating vlan in a intel NIC was successful, but failed in broadcom NIC.
        Hide
        angeline shen added a comment -
        Show
        angeline shen added a comment - Reference http://bugs.cloudstack.org/browse/CS-16488

          People

          • Assignee:
            frank zhang
            Reporter:
            angeline shen
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development