OpsAdministration > Core > PostInstallScript #112
-
System Configuration Details:
@gandham-santhosh and @keshavprasadms When I run the post-install script, it does nothing. In other words, the role post-install does not get executed. However, when I write a wrong role name in post_install.yml it says that the role does not exist. Not sure what is happening here. Please find the Jenkins logs below: ansible-playbook -i /var/lib/jenkins/workspace/OpsAdministration/dev/Core/PostInstallScript/ansible/inventory/env/hosts /var/lib/jenkins/workspace/OpsAdministration/dev/Core/PostInstallScript/ansible/post-install.yaml --vault-password-file /var/lib/jenkins/secrets/vault-pass --tags null -v PLAY [local] *************************************************************************************************************************************************** [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/OpsAdministration/dev/Core/PostInstallScript/ansible/inventory/env/group_vars/all.yml, [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/OpsAdministration/dev/Core/PostInstallScript/ansible/inventory/env/group_vars/all.yml, TASK [Gathering Facts] ***************************************************************************************************************************************** PLAY RECAP ***************************************************************************************************************************************************** |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
@keshavprasadms: Any idea here? |
Beta Was this translation helpful? Give feedback.
-
@keshavprasadms : As mentioned please find below the error on state that I am getting in the learner service logs: {"timestamp":"2022-08-31T15:09:07.142Z","msg":"{"eid":"LOG","ets":1661958547142,"ver":"3.0","mid":"026426e37505da8cb8f2a83a8bb70103","actor":{"id":"e9991ab1-2369-4081-aae8-247d44ef15c0","type":"User"},"context":{"channel":"0136145521838817284","pdata":{"id":"dev.sunbird.learning.service","pid":"learner-service","ver":"4.6.0"},"env":"Location","cdata":[{"id":"026426e37505da8cb8f2a83a8bb70103","type":"Request"}],"rollup":{}},"edata":{"level":"info","type":"Api_access","message":"{eid='LOG', edata={level=trace, requestid=026426e37505da8cb8f2a83a8bb70103, type=system, message=ENTRY LOG: method : POST, url: /v1/location/create , For Operation : createLocation, params=[{code=KL, name=KERALA, id=null, type=state, userId=null}]}}","params":[]}}","lname":"TelemetryEventLogger","tname":"application-akka.actor.default-dispatcher-5","level":"INFO","HOSTNAME":"learner-6b6f7c58b4-cgtmk","application.home":"/home/sunbird/learner/learning-service-1.0-SNAPSHOT"} |
Beta Was this translation helpful? Give feedback.
-
@shounakacharya I am locking this thread due to inactivity. Kindkly mark it as answered if the input helped you |
Beta Was this translation helpful? Give feedback.
Please check this project-sunbird/sunbird-community#750 (reply in thread)