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

Jobs failed with "The running ansible process received a shutdown signal." #1849

Open
3 tasks done
matiasperkins opened this issue May 2, 2024 · 2 comments
Open
3 tasks done

Comments

@matiasperkins
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.

Bug Summary

Hi! Hope you are doing good.

We have a problem on a template that is doing a backup for a DB. When it is doing the backup it suddenly failed with the error "The running ansible process received a shutdown signal.".

The backup was running without any problem some days ago when it was smaller.

We are ruuning AWX on a K8s cluster with version v1.23.8+vmware.3

AWX Operator version

1.0.0

AWX version

21.8.0

Kubernetes platform

kubernetes

Kubernetes/Platform version

v1.23.8+vmware.3

Modifications

no

Steps to reproduce

the task that is crashing is:

  • name: Dump database to a tmp file
    community.postgresql.postgresql_db:
    name: "{{ item }}"
    state: dump
    target: "/tmp/{{ item }}-{{ tsGlobal }}.sql"
    login_user: "{{ db_user }}"
    login_password: "{{ db_password }}"
    login_host: "{{ db_host }}"
    port: "{{ postgres_port }}"
    loop: '{{db_name}}'
    ignore_errors: yes
    register: dbDump

  • name: archive file backup
    archive:
    path: "/tmp/{{ item }}-{{ tsGlobal }}.sql"
    dest: "/tmp/{{ item }}-{{ tsGlobal }}.sql.gz"
    format: gz
    loop: '{{db_name}}'

Expected results

we expected that the backup finish without problems

Actual results

it crash then it is executing with error: "The running ansible process received a shutdown signal."

Additional information

No response

Operator Logs

No response

@YaronL16
Copy link
Contributor

YaronL16 commented May 5, 2024

Hey, what is failing, the job/task or the pod?

If its the job then the issue would be more appropriate for the AWX repo

@matiasperkins
Copy link
Author

Hi! On the output of the job I only see that the job end, but on the error of AWX I see that error. I think is more a problema of the pod, something with the resource o something like that

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

No branches or pull requests

2 participants