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

Deployment failed on commit 4939a078fd6e6662cfe7267d689a89d375b6d5ca #92

Closed
Thechi2000 opened this issue Jan 14, 2025 · 0 comments
Closed

Comments

@Thechi2000
Copy link
Collaborator

Deployment for directus failed.
Triggered by the push of 1 commits on https://github.com/clicepfl/directus-config. HEAD after the push is 4939a078fd6e6662cfe7267d689a89d375b6d5ca.

Logs:

2025-01-14T15:57:30.758808Z  INFO webhook::routes: Triggered restart for service directus
2025-01-14T15:57:30.758819Z  INFO service{name="directus"}: webhook::restart: Restarting...
2025-01-14T15:57:30.758824Z DEBUG service{name="directus"}:stop_command: webhook::restart: Command is empty, skipping
2025-01-14T15:57:30.758830Z DEBUG service{name="directus"}:pre_start_command: webhook::restart: Command is empty, skipping
2025-01-14T15:57:30.758833Z DEBUG service{name="directus"}:start_command: webhook::restart: command="ansible-pull -U git@github.com:clicepfl/clic-infra.git -e @/var/secrets.yaml deploy.yaml --extra-vars SERVICE=$SERVICE"
2025-01-14T15:57:42.711263Z ERROR service{name="directus"}:start_command: webhook::restart: Failed with status exit status: 2
2025-01-14T15:57:42.711288Z ERROR service{name="directus"}:start_command: webhook::restart: STDOUT: [WARNING]: Could not match supplied host pattern, ignoring: ov-13b459
localhost | SUCCESS => {
    "after": "a6cc4a93e4738a8537d4ffc82425199fc0b7c987",
    "before": "a6cc4a93e4738a8537d4ffc82425199fc0b7c987",
    "changed": false,
    "remote_url_changed": false
}
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: ov-13b459

PLAY [Deploy all services] *****************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Set full service list] ***************************************************
ok: [localhost]

TASK [Compute list of services to deploy] **************************************
ok: [localhost]

TASK [Deploy] ******************************************************************

TASK [directus : Validating arguments against arg spec 'main'] *****************
ok: [localhost]

TASK [directus : Using default deploy method] **********************************
changed: [localhost]

TASK [directus : Wait for directus to be available] ****************************
ok: [localhost]

TASK [directus : Get container id] *********************************************
ok: [localhost]

TASK [directus : Compute container name] ***************************************
ok: [localhost]

TASK [directus : Download schema] **********************************************
ok: [localhost]

TASK [directus : Copy schema into container] ***********************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find container \"directus_directus.1.\""}

PLAY RECAP *********************************************************************
localhost                  : ok=9    changed=1    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

Starting Ansible Pull at 2025-01-14 15:57:31
/usr/bin/ansible-pull -U git@github.com:clicepfl/clic-infra.git -e @/var/secrets.yaml deploy.yaml --extra-vars SERVICE=directus

2025-01-14T15:57:42.711306Z ERROR service{name="directus"}:start_command: webhook::restart: STDOUT: 

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

1 participant