Closed
Description
Background: Setup is AWS EKS + Nginx + Crunchy PGO, starting from eoAPI v0.6.0. I had been having issues trying to get to v0.7.0, so the release had been through a few upgrades, downgrades, and failed rollbacks. @emmanuelmathot quickly identified the root cause and was kind enough to jump on a fix.
Database permissions were causing database init to hang (#228) and v1.7.1 enabled a successful upgrade. Wanted to report on a couple of the workarounds I needed in case they weren't unique to my upgrade conditions:
- ✅ Permissions upgrade job completed successfully
- ❌ pgstac-migrate job failed
- Container threw
Could not determine path to get from 0.9.6 to 0.9.5
- I hadn't modified the default 0.9.5 value, but I did have issues that required a fresh install and the pgstac.migrations timestamp lines up. Some background migrate process during init might have bumped it to 0.9.6
- Set
pgstacBootstrap.image.tag = v0.9.6
rather than trying to get back down to 0.9.5
- Container threw
- ✅ pgstac-migrate job succeeded after setting 0.9.6
- ❌ Upgrade failed with ingress path collision
Error: UPGRADE FAILED: failed to create resource: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "_" and path "/raster(/|$)(.*)" is already defined in ingress eoapi/nginx-service-ingress-shared-eoapi
- Deleted eoapi ingress
- ✅ Upgrade succeeded after deleting eoapi ingress
- ❌ Further updates fail without
previousVersion
set- Upgraded using
--set
, as per guidance, so value wasn't set in-file for subsequent config updates
- Upgraded using
I'm working with a temporary preprod cluster, so I had more freedom to brute force it. No live traffic and plenty of tuning still going on. Some of the above may not be applicable/feasible for established setups.
Metadata
Metadata
Assignees
Labels
No labels