terryye created CLOUDSTACK-4488:
-----------------------------------

             Summary: There have some error on bandwidth limits. vm's network 
speed is 800kbyte/s.
                 Key: CLOUDSTACK-4488
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4488
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Hypervisor Controller, KVM, Network Controller
    Affects Versions: 4.1.2
         Environment: ubuntu1204 kvm 
            Reporter: terryye


Global configs
network.throttling.rate         40000   
 
vm.network.throttling.rate      40000

rate limits is not set.

But i test the vm to another nfs ,speed is so poor.
Using wget to test ,the speed is similar.

so i edit the global config,but it seems not any role.

when i set it to 100000000,the vm can not be created.
agent log is :

2013-08-25 15:07:54,032 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-3:null) Exception 
org.libvirt.LibvirtException: internal error cannot set bandwidth limits on 
vnet0
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.Connect.processError(Unknown Source)
        at org.libvirt.Connect.domainCreateXML(Unknown Source)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startDomain(LibvirtComputingResource.java:1012)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3148)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1128)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        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-08-25 15:08:05,252 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-1:null) Exception 
org.libvirt.LibvirtException: internal error cannot set bandwidth limits on 
vnet0
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.Connect.processError(Unknown Source)
        at org.libvirt.Connect.domainCreateXML(Unknown Source)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startDomain(LibvirtComputingResource.java:1012)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3148)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1128)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        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)

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

Reply via email to