Commit b177be3
fix(catalogd): follow-up fixes after HA PR merge (#2679)
Two fixes on top of the catalogd HA work (#2674):
1. serverutil: wrap http.Server.Serve error with the catalog listen address
so the failure message is self-diagnosing in aggregated manager logs.
2. e2e: fix CatalogdHA gate to override node-count check with actual
catalogd replica count. The node-count heuristic fires on any multi-node
cluster (e.g. OpenShift standard e2e on AWS), causing the @CatalogdHA
scenario to run even when catalogd has only 1 replica, which makes the
step "catalogd is ready to reconcile resources" fail with exit status 1.
After olmNamespace is populated, query the catalogd deployment's
spec.replicas and set the gate unconditionally to (replicas >= 2),
overriding the earlier node-count result. For upgrade scenarios the
detectOLMDeployment early-return keeps the node-count value intact.
Signed-off-by: Todd Short <tshort@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 74e39f5 commit b177be3
2 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
151 | 168 | | |
152 | 169 | | |
153 | 170 | | |
| |||
0 commit comments