bahmni install-certs command failing because of the old agreement file

Description

bahmni install-certs command is failing with the below error because the agreement file has changed. Its picking the old agreement file instead of https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
We can overwrite the agreement file by specifying it as a parameter.
Failed task details
TASK [send request to LetsEncrypt server to get dns-01 challege] ********************************************************************************************************************
task path: /opt/bahmni-installer/bahmni-playbooks/letsencrypt.yml:44
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Error registering: 400 {\n \"type\": \"urn:acme:error:malformed\",\n \"detail\": \"Provided agreement URL https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf does not match current agreement URL https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf\",\n \"status\": 400\n}"}

Activity

Show:
Himabindu Akkinepalli
April 8, 2019, 11:52 AM

Overriding the default agreement value by passing agreement variable as "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf". Below are the commit details. Pushed the changes to release-0.92 branch and cherry-picked the changes to master branch.
master -> https://github.com/Bahmni/bahmni-playbooks/commit/4ab8d8e61bc081f53173c90ef3d68a90535b7e80
release-0.92 -> https://github.com/Bahmni/bahmni-playbooks/commit/26a3f546ef51dc6760731672198c039e1168cb19

Himabindu Akkinepalli
April 16, 2019, 10:03 AM

Tested it on qa03 env for bahmni 0.92. The task which was failing as mentioned in the description has passed.

Need to be tested the same for bahmni 0.93

Angshuman Sarkar
August 27, 2019, 5:33 AM

QA03 and QA08 - Needs fix in the pipeline definition for r0.93.

Angshuman Sarkar
September 24, 2019, 11:36 AM

for 0.93 - master - we are using QA03 - it is already resolved.

for 0.92 - release - we are using QA04 - it is already resolved.

for QA08 - we need to check. probably another deployment would fix it.

Fixed

Assignee

Unassigned

Reporter

Himabindu Akkinepalli

Labels

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

Himabindu Akkinepalli

Reviewer

None

Components

Sprint

0.93 Product M2

Fix versions

Configure