You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/11/05 18:31:44 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5667: KVM: No network throttling on additional VM NICs

weizhouapache opened a new issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667


   When create a vm with 1 NIC. it has network bandwidth setting.
   
   ```
       <interface type='bridge'>
         <mac address='02:00:48:f7:00:01'/>
         <source bridge='breth1-2052'/>
         <bandwidth>
           <inbound average='25600' peak='25600'/>
           <outbound average='25600' peak='25600'/>
         </bandwidth>
         <target dev='vnet0'/>
         <model type='virtio'/>
         <link state='up'/>
         <alias name='net0'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
       </interface>
   ```
   
   however, when add vm to another network, the new NIC does not have bandwidth setting.
   
   ```
       <interface type='bridge'>
         <mac address='02:00:6e:be:00:0c'/>
         <source bridge='breth1-2050'/>
         <target dev='vnet21'/>
         <model type='virtio'/>
         <link state='up'/>
         <alias name='net1'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
       </interface>
   ```
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   VM
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.16.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   advanced zone
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   KVM
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache closed issue #5667: KVM: No network throttling on additional VM NICs

Posted by GitBox <gi...@apache.org>.
weizhouapache closed issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5667: KVM: No network throttling on additional VM NICs

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667#issuecomment-1016155213


   @DaanHoogland 
   yes, you are right. 
   I checked it just now, the second network is created from a new network offering without network rate.
   
   global settings:
   network.throttling.rate = 200
   vm.network.throttling.rate = 200


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #5667: KVM: No network throttling on additional VM NICs

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667#issuecomment-1016192822


   ok, @weizhouapache ,
   So if i understand correctly, this is still a valid bug but the issue is that: the throttling values are not taken from global settings are not set on the net-offer.
   is that correct?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5667: KVM: No network throttling on additional VM NICs

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667#issuecomment-1016326851


   I was not able to reproduce the issue. 
   closing this ticket


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #5667: KVM: No network throttling on additional VM NICs

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #5667:
URL: https://github.com/apache/cloudstack/issues/5667#issuecomment-1015436153


   @weizhouapache , you probably have some extra requirements as for me both interfaces have throthling data:
   ```
       <interface type='bridge'>
         <mac address='02:00:57:0e:00:01'/>
         <source bridge='breth1-2375'/>
         <bandwidth>
           <inbound average='25600' peak='25600'/>
           <outbound average='25600' peak='25600'/>
         </bandwidth>
         <target dev='vnet3'/>
         <model type='e1000'/>
         <link state='up'/>
         <alias name='net0'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
       </interface>
       <interface type='bridge'>
         <mac address='02:00:7b:df:00:01'/>
         <source bridge='breth1-2362'/>
         <bandwidth>
           <inbound average='25600' peak='25600'/>
           <outbound average='25600' peak='25600'/>
         </bandwidth>
         <target dev='vnet4'/>
         <model type='virtio'/>
         <link state='up'/>
         <alias name='net1'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
       </interface>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org