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

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

Open
DenisVASI9 opened this issue Feb 20, 2024 · 2 comments
Open

Comments

@DenisVASI9
Copy link

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
Copy link
Author

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?

@supersven
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants