Add validation to disallow OVS round-robin bonding
Bug #1612786 reported by
Assaf Muller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
OVS balance-tcp mode bonding is known to cause packet loss issues in modern versions of OVS. More information may be found here: https:/
This request is for TripleO, perhaps os-net-config to validate input so that this particular bonding mode is forbidden, and that TripleO will throw an error instead of configuring it having users complain of connectivity issues much later.
summary: |
- Add validation to disallow OVS round-robin bonding + Add validation to disallow OVS balance-tcp bonding |
summary: |
- Add validation to disallow OVS balance-tcp bonding + Add validation to disallow OVS round-robin bonding |
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → newton-3 |
Changed in tripleo: | |
milestone: | newton-3 → newton-rc1 |
Changed in tripleo: | |
assignee: | Brent Eagles (beagles) → Emilien Macchi (emilienm) |
Changed in tripleo: | |
milestone: | ocata-1 → ocata-2 |
Changed in tripleo: | |
milestone: | ocata-2 → ocata-3 |
Changed in tripleo: | |
milestone: | ocata-3 → ocata-rc1 |
Changed in tripleo: | |
milestone: | ocata-rc1 → ocata-rc2 |
Changed in tripleo: | |
milestone: | ocata-rc2 → pike-1 |
Changed in tripleo: | |
milestone: | pike-1 → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → queens-1 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
To post a comment you must log in.
The applicable resource is the BondInterfaceOv sOptions parameter. When this is set to configure OVS for "balance-tcp" mode, a packet-loss bug is triggered in OVS 2.4.
Today this data is usually set in the parameter_defaults section of the network- environment. yaml, and that parameter is used in the various NIC config templates that are assigned to each role.
There is no handling of this parameter within the TripleO Heat Templates, except to pass that parameter to the NetworkConfig stack. The value is not written to /etc/puppet/ hieradata, nor is it used by Puppet, so the validation can't happen within Puppet.
Since this is a freeform string parameter, we will need to use a regular expression or simple pattern match for "balance-tcp" in this parameter. We might be able to include this in the TripleO validations. I hesitate to add a check within os-net-config, simply because by the time os-net-config has run the deployment is already more than halfway done. We should ideally do this validation before kicking off the node deployments.