Issues

Select view

Select search mode

 
50 of 107

the restore script is not able to capture the error because the file ignores the error

Description

if pgrestore fails to start postgress, the restore script is not able to capture the error because the file (/opt/bahmni-installer/bahmni-playbooks/roles/pgbackrest-restore/tasks/main.yml) ignores the error. It should not ignore errors.

see below code ignore_errors is set true still it ignores errors

  • name: Start PostgreSQL
    systemd:
    name=postgresql-{{ postgres_version }}
    state=started
    ignore_errors: true

Attachments

2
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Priority

Created July 1, 2020 at 11:23 AM
Updated May 9, 2022 at 8:49 AM

Activity

Show:

Ramashish JoshiJuly 17, 2020 at 6:35 PM

Flag notifications