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

Kubernetes Helmchart #74

Open
wkoot opened this issue Apr 3, 2024 · 1 comment · May be fixed by #75
Open

Kubernetes Helmchart #74

wkoot opened this issue Apr 3, 2024 · 1 comment · May be fixed by #75
Assignees

Comments

@wkoot
Copy link
Collaborator

wkoot commented Apr 3, 2024

  • Add a standalone Kubernetes Helmchart
  • Add an integration test for the Helmchart to the CircleCI and/or GitHub Actions

Related issue: ICTU/quality-time#8382

@wkoot wkoot self-assigned this Apr 3, 2024
@wkoot wkoot linked a pull request Apr 12, 2024 that will close this issue
@wkoot
Copy link
Collaborator Author

wkoot commented Oct 3, 2024

NB: helm chart upgrade issues -

  • Waiting for sonar to come up: DB_MIGRATION_NEEDED (needs POST api/system/migrate_db)
  • Stopping cluster due to timeout (needs health check so k8s auto restarts):
ERROR: Failed to start Sonar within 600 seconds
Shutdown
2024.10.03 09:48:04 INFO  app[][o.s.a.SchedulerImpl] Stopping SonarQube
...
2024.10.03 09:48:21 INFO  web[][o.s.s.app.WebServer] Web Server stopped
  • Not killing container while everything was stopped:
2024.10.03 11:55:32 WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@34cdeda2-org.sonar.db.DefaultDatabase': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to connect to database
...
    Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "sonar"
...
2024.10.03 11:55:33 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
...
2024.10.03 11:55:33 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
Waiting for sonar to come up: 
Waiting for sonar to come up: 
Waiting for sonar to come up: 
Waiting for sonar to come up: 

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

Successfully merging a pull request may close this issue.

1 participant