Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network rate on VPC tier network offering are ignored #9763

Open
rajujith opened this issue Oct 3, 2024 · 0 comments
Open

Network rate on VPC tier network offering are ignored #9763

rajujith opened this issue Oct 3, 2024 · 0 comments

Comments

@rajujith
Copy link
Collaborator

rajujith commented Oct 3, 2024

ISSUE TYPE
  • Bug Report
COMPONENT NAME
VPC , VR
CLOUDSTACK VERSION
4.19.1.1
CONFIGURATION

VPC guest network offering with custom network rate defined.
KVM

SUMMARY

While there is a global configuration to set the network throttling for guest networks the more specific value on the offering should take precedence and it should be applied on the VR's guest interface. Instead the the global configuration value 'network.throttling.rate' is applied ignoring the vale in the network offering.

STEPS TO REPRODUCE
1. Create a network offering for VPC and set a custom value for the Network rate.
2. Create a VPC and attach tier using the above network offering.
3. Check the network throttling on the VR. 
EXPECTED RESULTS
Network rate/ network throttling should be taken from the network offering is specified. 
ACTUAL RESULTS
Network rate specified in the network offering is ignored. 

With a 5000 Mbps set on the network offering the VR gets 1000Mbps network rate set from the global configuration.

<interface type='bridge'>
      <mac address='02:01:00:cd:00:02'/>
      <source bridge='breth1-1087'/>
      <bandwidth>
        <inbound average='128000' peak='128000'/>
        <outbound average='128000' peak='128000'/>
      </bandwidth>
      <target dev='vnet7'/>
      <model type='virtio'/>
      <link state='up'/>
      <alias name='net3'/>
      <rom bar='off' file=''/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </interface>
 
tc -p class show dev vnet7
class htb 1:1 root leaf 2: prio 0 rate 1024Mbit ceil 1024Mbit burst 1408b cburst 1408b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant