You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm not able to re-apply configuration after upgrading the cluster from v1.0.x LTS to v1.3.0.
It fails on TASK [postgresql : Extensions | repmgr | Install package(s)]. There is an issue with downgrading repmgr-common package.
Reproduced on Ubuntu.
2022-01-17T19:37:30.2731957Z[38;21m19:37:30 INFO cli.engine.ansible.AnsibleCommand - TASK [postgresql : Extensions | repmgr | Install package(s)] *******************
2022-01-17T19:37:31.2189394Z[31;21m19:37:31 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ci-10to13azubflannel-postgresql-vm-1]: FAILED! => {"cache_update_time": 1642447402, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'repmgr-common=5.2.1-*'' failed: E: Packages were downgraded and -y was used without --allow-downgrades.
", "rc": 100, "stderr": "E: Packages were downgraded and -y was used without --allow-downgrades.
", "stderr_lines": ["E: Packages were downgraded and -y was used without --allow-downgrades."], "stdout": "Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
repmgr-common
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded.
", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be DOWNGRADED:", " repmgr-common", "0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded."]}
2022-01-17T19:37:31.3099865Z[31;21m19:37:31 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ci-10to13azubflannel-postgresql-vm-0]: FAILED! => {"cache_update_time": 1642447402, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'repmgr-common=5.2.1-*'' failed: E: Packages were downgraded and -y was used without --allow-downgrades.
", "rc": 100, "stderr": "E: Packages were downgraded and -y was used without --allow-downgrades.
", "stderr_lines": ["E: Packages were downgraded and -y was used without --allow-downgrades."], "stdout": "Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be DOWNGRADED:
repmgr-common
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded.
", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be DOWNGRADED:", " repmgr-common", "0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded."]}
Describe the bug
I'm not able to re-apply configuration after upgrading the cluster from v1.0.x LTS to v1.3.0.
It fails on
TASK [postgresql : Extensions | repmgr | Install package(s)]
. There is an issue with downgradingrepmgr-common
package.Reproduced on Ubuntu.
EDIT: repmgr-common package in version 5.3.0 is installed as dependency by epicli v1.0 LTS as there is no fixed version (it's been introduced in v1.2: https://github.com/epiphany-platform/epiphany/blob/v1.2/core/src/epicli/data/common/ansible/playbooks/roles/postgresql/tasks/extensions/replication/packages.yml#L10)
How to reproduce
Steps to reproduce the behavior:
apply
(v1.3.0)Expected behavior
The configuration should be applied again with no issues.
Config files
Environment
epicli version: v1.3.0, develop
Additional context
DoD checklist
The text was updated successfully, but these errors were encountered: