POA task 'Turn on traffic shaping on HW Node' fails with the following diagnostics:
4304 : Can not set network configuration: can't restart shaping: Starting Parallels Virtuozzo Containers shaping: vz ERROR: Wrong BANDWIDTH value (no such device eth0 on the node) or device is down. Starting Parallels Virtuozzo Containers shaping [FAILED]
Traffic shaping is disabled on the PVC (Parallels Virtuozzo Containers) hardware node in question and cannot be turned on due to improper configuration of the traffic shaper, in this particular case non-existing network interface eth0 is configured in the traffic shaper.
Check the POA configuration for traffic shaping on the Virtuozzo node in question:
- Log into the POA Provider Control Panel
- Go to Service Director > Virtuozzo Manager > VPS Hardware Nodes
- Click on the required server
- Switch to the Networking > IP addresses tab
- Find the network interface(s) in the Frontnet (external network)
Compare the network interface configured in POA with the corresponding settings in the /etc/vz/vz.conf file on the Virtuozzo hardware node, they look like this:
TRAFFIC_SHAPING=no BANDWIDTH="eth0:100000" TOTALRATE="eth0:1:4000" RATE="eth0:1:8"
In the example above you can see that traffic shaping is disabled (TRAFFIC_SHAPING=no), and it is configured for the interface eth0, which does not match to the settings in POA.
Correct the Virtuozzo configuration file in accordance to the POA settings (enable traffic shaping and specify correct network interface), e.g.:
TRAFFIC_SHAPING=yes BANDWIDTH="eth3.623:100000" TOTALRATE="eth3.623:1:99000" RATE="eth3.623:1:8"
where eth3.623 is the name of the external network interface displayed in the POA Provider Control Panel.
After that restart the failed task in the POA Task Manager.
Refer to the Parallels Virtuozzo Containers documentation for more details about the metnioned above parameters of the PVC traffic shaper: