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

[release-4.15] OCPBUGS-32744: Relax requirement to enable topology #165

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 2 additions & 7 deletions pkg/controllers/config/cloudinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ func enableTopologyFeature() (bool, error) {
}
}

// for us to enable the topology feature, we need to have an equal number
// of availability zones for the compute and volume services...
if len(ci.ComputeZones) != len(ci.VolumeZones) {
return false, nil
}

// and these AZs have to have identical names
// for us to enable the topology feature, we need to ensure that for
// every compute zone there is a matching volume zone
for i := range ci.ComputeZones {
if ci.ComputeZones[i] != ci.VolumeZones[i] {
return false, nil
Expand Down