CI failure due to node drain failure due to harbor-postgres-primary
I looked at https://gitlab.com/sylva-projects/sylva-core/-/jobs/7680896032 with @marc.bailly1
The harbor-postgres-primary-0 PVC is still attached on node cp-2 and it seems that this is what prevents the node drain.
The pod using it is harbor-postrges-primary-0 and is in CrashLoopBackOff,
==== START logs for container postgresql of pod harbor/harbor-postgres-primary-0 ====
[38;5;6mpostgresql [38;5;5m22:42:58.94 [0m[38;5;2mINFO [0m ==>
[38;5;6mpostgresql [38;5;5m22:42:58.94 [0m[38;5;2mINFO [0m ==> [1mWelcome to the Bitnami postgresql container[0m
[38;5;6mpostgresql [38;5;5m22:42:59.04 [0m[38;5;2mINFO [0m ==> Subscribe to project updates by watching [1mhttps://github.com/bitnami/containers[0m
[38;5;6mpostgresql [38;5;5m22:42:59.04 [0m[38;5;2mINFO [0m ==> Submit issues and feature requests at [1mhttps://github.com/bitnami/containers/issues[0m
[38;5;6mpostgresql [38;5;5m22:42:59.04 [0m[38;5;2mINFO [0m ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit [1mhttps://bitnami.com/enterprise[0m
[38;5;6mpostgresql [38;5;5m22:42:59.04 [0m[38;5;2mINFO [0m ==>
[38;5;6mpostgresql [38;5;5m22:42:59.14 [0m[38;5;2mINFO [0m ==> ** Starting PostgreSQL setup **
[38;5;6mpostgresql [38;5;5m22:42:59.24 [0m[38;5;2mINFO [0m ==> Validating settings in POSTGRESQL_* env vars..
[38;5;6mpostgresql [38;5;5m22:42:59.24 [0m[38;5;2mINFO [0m ==> Cleaning stale /bitnami/postgresql/data/postmaster.pid file
rm: cannot remove '/bitnami/postgresql/data/postmaster.pid': Read-only file system
[38;5;6mpostgresql [38;5;5m22:42:59.25 [0m[38;5;2mINFO [0m ==> Stopping PostgreSQL...
pg_ctl: server does not shut down
waiting for server to shut down............................................................... failed
==== END logs for container postgresql of pod harbor/harbor-postgres-primary-0 ====
Edited by Thomas Morin