wire-server-deploy icon indicating copy to clipboard operation
wire-server-deploy copied to clipboard

Bug: Unable to install kubernetes on wire-server-deploy using ansible

Open DenisVASI9 opened this issue 1 year ago • 2 comments

Basic information

  • On-premises: yes
  • Installation type: production
  • Kubernetes version:
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.6
  • Helm version:
version.BuildInfo{Version:"v3.14.0", GitCommit:"3fc9f4b2638e76f26739cd77c7017139be81d0ea", GitTreeState:"clean", GoVersion:"go1.21.5"}
  • Installed with Kubespray:
  • (Helm) Charts version 4.41.0
  • List of installed top-level charts: database-ephemeral, demo-smtp

I can't install wire-server because the migration hangs and the container crashes.

helm upgrade --install wire-server wire/wire-server -f ~/my-wire-server/values.yaml -f ~/my-wire-server/secrets.yaml --debug
history.go:56: [debug] getting history for release wire-server
upgrade.go:155: [debug] preparing upgrade for wire-server
upgrade.go:163: [debug] performing update for wire-server
upgrade.go:356: [debug] creating upgraded release for wire-server
client.go:486: [debug] Starting delete for "elasticsearch-index-create" Job
wait.go:66: [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: [debug] creating 1 resource(s)
client.go:712: [debug] Watching for changes to Job elasticsearch-index-create with timeout of 5m0s
client.go:740: [debug] Add/Modify event for elasticsearch-index-create: ADDED
client.go:779: [debug] elasticsearch-index-create: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:740: [debug] Add/Modify event for elasticsearch-index-create: MODIFIED
client.go:779: [debug] elasticsearch-index-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:740: [debug] Add/Modify event for elasticsearch-index-create: MODIFIED
client.go:779: [debug] elasticsearch-index-create: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:740: [debug] Add/Modify event for elasticsearch-index-create: MODIFIED
client.go:486: [debug] Starting delete for "cassandra-migrations" Job
wait.go:66: [debug] beginning wait for 1 resources to be deleted with timeout of 5m0s
client.go:142: [debug] creating 1 resource(s)
client.go:712: [debug] Watching for changes to Job cassandra-migrations with timeout of 5m0s
client.go:740: [debug] Add/Modify event for cassandra-migrations: ADDED
client.go:779: [debug] cassandra-migrations: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:740: [debug] Add/Modify event for cassandra-migrations: MODIFIED
client.go:779: [debug] cassandra-migrations: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
upgrade.go:468: [debug] warning: Upgrade "wire-server" failed: pre-upgrade hooks failed: 1 error occurred:
	* timed out waiting for the condition


Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred:
	* timed out waiting for the condition


helm.go:84: [debug] pre-upgrade hooks failed: 1 error occurred:
	* timed out waiting for the condition

I just followed all the steps of the documentation as written.

DenisVASI9 avatar Feb 20 '24 22:02 DenisVASI9

I, [47] Create and populate prefix table
W, cql-io: response timeout: 10.20.2.101:9042
I, Monitoring: datacenter1:rack1:10.20.2.101:9042
brig-schema: cql-io: response timeout: 10.20.2.101:9042

what?

DenisVASI9 avatar Feb 23 '24 23:02 DenisVASI9

I, [47] Create and populate prefix table
W, cql-io: response timeout: 10.20.2.101:9042
I, Monitoring: datacenter1:rack1:10.20.2.101:9042
brig-schema: cql-io: response timeout: 10.20.2.101:9042

what?

Hey @DenisVASI9 ,

This error message reads like: Database not accessible.

You may want to check if

  • The Cassandra database is up and ready.
  • It can be accessed with the config values you provided.

supersven avatar Feb 26 '24 09:02 supersven