Skip to content

mirror-registry upgrade to version 2.x never finish #182

Open
@indor79

Description

@indor79

I have a problem trying to upgrade mirror-registry from version 1.x to 2.x

It is stuck at the task

TASK [mirror_appliance : Take a pg_dump of the data from running quay-postgres container]

The ansible container is running and it looks like it is doing something but it never finish.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
3841780 openshi+  20   0 2376540   2.0g  11136 R  98.7   8.6 117:26.16 /usr/bin/python3 /home/openshift/.ansible/tmp/ansible-tmp-1741685852.8751273-364-31487022408172/AnsiballZ_command.py

I am starting to think it's a memory issue. Looking at the code it seems it is trying to load everything in memory? Could that be the issue here? I do not have any proof but I do see the memory usage of the ansible container going up and down a lot.

- name: Take a pg_dump of the data from running quay-postgres container
command: >
podman exec -it quay-postgres
pg_dump --data-only --column-inserts --no-owner --no-privileges --disable-triggers
-U user -d quay
register: pg_dump_output

I am trying to upgrade to mirror-registry version 2.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions