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

Transient error during deployment #63

Open
natalian98 opened this issue Mar 5, 2024 · 1 comment
Open

Transient error during deployment #63

natalian98 opened this issue Mar 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@natalian98
Copy link
Contributor

Bug Description

When oathkeeper is deployed along with a charm requiring oathkeeper-info relation, it temporarily gets into error state before becoming active.
This happens because oathkeeper attempts to start the service when the config file is missing.

To Reproduce

juju deploy traefik-k8s --channel edge --trust
juju deploy postgresql-k8s --channel stable --trust
juju deploy kratos --channel edge --trust
juju deploy hydra --channel edge --trust
juju deploy oathkeeper --channel edge --trust
juju relate kratos postgresql-k8s
juju relate hydra postgresql-k8s
juju relate traefik-k8s hydra:public-ingress
juju deploy openfga-k8s --channel edge --trust
juju relate openfga-k8s postgresql-k8s

juju deploy identity-platform-admin-ui --trust
juju relate kratos identity-platform-admin-ui
juju relate hydra identity-platform-admin-ui
juju relate openfga-k8s identity-platform-admin-ui
juju relate oathkeeper identity-platform-admin-ui

Environment

juju 3.1/stable
microk8s 1.28-strict

Relevant log output

unit-oathkeeper-0: 14:01:33 ERROR unit.oathkeeper/0.juju-log oathkeeper-info:17: cannot perform the following tasks:
- Start service "oathkeeper" (cannot start service: exited quickly with code 1)
----- Logs from task 0 -----
2024-03-05T14:01:33Z INFO Service "oathkeeper" has never been started.
----- Logs from task 1 -----
2024-03-05T14:01:33Z INFO Most recent service output:
    Thank you for using ORY Oathkeeper v0.40.6!
    
    Take security seriously and subscribe to the ORY Security Newsletter. Stay on top of new patches and security insights.                                                                                                
    
    >> Subscribe now: http://eepurl.com/di390P <<
    time=2024-03-05T14:01:33Z level=fatal msg=Failed to initialize configuration audience=application error=map[message:no such file or directory] service_name=ORY Oathkeeper service_version=v0.40.6
2024-03-05T14:01:33Z ERROR cannot start service: exited quickly with code 1
-----
unit-oathkeeper-0: 14:01:35 ERROR juju.worker.uniter pebble poll failed for container "oathkeeper": failed to send pebble-ready event: terminated

Additional context

No response

@natalian98 natalian98 added the bug Something isn't working label Mar 5, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-709.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant