wireapp / wireapp/wire-server-deploy

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

Open
#686 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
113
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported helm upgrade --install wire-server command and inspect the elasticsearch-index-create and cassandra-migrations pre-upgrade jobs. Done means the migration completes without the timeout or container crash and the wire-server installation succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.