Issues faced while setting up sunbirdED release-6.0.0 in OCI #646
Unanswered
santhosh-tg
asked this question in
Installation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We will keep updating this thread with the issues faced while setting up sunbirdED release-6.0.0 in Oracle environment
Solution:
Add rules in /etc/iptables/rules.v4 to allow the port 8080
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8080 -j ACCEPT
Solution:
The repo needed for each service should be already created in OCR If the repo needs to in child compartment. By default its pushed to root compartment
solution:
"oci-cli installed in jenkins should be available in $PATH for jenkins user
Add
export PATH=/var/lib/jenkins/bin:$PATH
to /var/lib/jenkins/.bashrc"
Issue 2:
Solution
Jenkins VM should added as instance_principal
https://github.com/Sunbird-Knowlg/sunbird-learning-platform/blob/release-5.5.0/ansible/artifacts-download.yml#L49
https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm#Creating
Create dynamic group and created policies with statement
Example:
Allow dynamic-group jenkins to manage buckets in compartment SunbirdedHotfix
Allow dynamic-group jenkins to manage objects in compartment SunbirdedHotfix
Beta Was this translation helpful? Give feedback.
All reactions