Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge OCI changes to release-5.2.0 branch #1631

Merged
merged 227 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 225 commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
12de5e6
added artifact upload role for oci oss
ddevadat Dec 22, 2022
ea2c778
overwrite file in oss if the file exists
ddevadat Dec 22, 2022
852a610
added artifact download for oci role
ddevadat Dec 22, 2022
3ee3b85
added role to install oci-cli
ddevadat Dec 23, 2022
3ee652e
added csp choice based cloud cli installation
ddevadat Dec 23, 2022
4ffea4d
added env variables for oci cli for analytics user
ddevadat Dec 23, 2022
8a70a47
install oci cli as analytics user
ddevadat Dec 23, 2022
69f2e83
adding oci cli in PATH variable for analytics user
ddevadat Dec 23, 2022
4ce637d
install oci-cli in analytics home location
ddevadat Dec 23, 2022
2733374
disabled cloud cli temporarlily
ddevadat Dec 23, 2022
2e4cf61
setting env variable with double quotes
ddevadat Dec 23, 2022
2bbab17
placed oci cli env variables in /etc/environment file
ddevadat Dec 23, 2022
d0d1b1d
added jinja2 template for oci cli config
ddevadat Dec 23, 2022
cc11113
renamed dir templates to template
ddevadat Dec 23, 2022
2e11eaf
disabled only oci cli temporarily
ddevadat Dec 23, 2022
054d9db
testing idempotency for oci cli
ddevadat Dec 23, 2022
b1de737
change Spark provision task with Ruby 2.6
heungheung Dec 25, 2022
07d4e5e
added apiversion selector
ddevadat Dec 27, 2022
17de1fa
Merge branch 'oci-5.1.0' of https://github.com/ocisunbird/sunbird-dat…
ddevadat Dec 27, 2022
9ba6497
added the oci oss bucket upload
ddevadat Dec 29, 2022
5fa0e00
added full path of oci from analaytics home
ddevadat Dec 29, 2022
329e820
correction in oci cli location
ddevadat Dec 29, 2022
86b024d
check bucket existence before creating
ddevadat Dec 29, 2022
51894db
testing the logic for register variable
ddevadat Dec 29, 2022
cbb93c1
using full path for oci cli
ddevadat Dec 29, 2022
47ccff0
testing the bucket check
ddevadat Dec 29, 2022
d3b24a9
added the always tag individually
ddevadat Dec 29, 2022
3c79310
place an oci os upload command for every upload
ddevadat Dec 29, 2022
5e4749e
corrected typo for oci cli command
ddevadat Dec 29, 2022
b7daec6
corrected typo for oci cli command
ddevadat Dec 29, 2022
1c56877
Update ES roles
santhosh-tg Dec 30, 2022
4a154e8
Add gcp vars for service accounts
santhosh-tg Dec 30, 2022
37a8f0a
Merge pull request #1595 from santhosh-tg/release-5.1.0
manjudr Dec 30, 2022
4dbefc9
testing secor changes for oci oss
ddevadat Dec 30, 2022
7b7854d
added oci-bv as the storage class
ddevadat Dec 30, 2022
8fd5084
added storageclass selection
ddevadat Dec 30, 2022
6a4f551
added a condition to include secor.azure.properties
ddevadat Dec 30, 2022
ea1e665
using S3UploadManager in common.properties
ddevadat Dec 30, 2022
b80f4d0
update flink-conf for telemetry-extractor
ddevadat Jan 1, 2023
e46a818
hardcoding base.url
ddevadat Jan 1, 2023
0ec7478
hardcode base.url with double quotes
ddevadat Jan 1, 2023
61c4c17
updated flink-conf for telemetry extractor
ddevadat Jan 1, 2023
b9ddecd
removed changes from flink-conf
ddevadat Jan 1, 2023
e83136b
temporary change
ddevadat Jan 1, 2023
5ced039
temporary change
ddevadat Jan 1, 2023
426036f
temporary change
ddevadat Jan 1, 2023
3ffd0e4
added hard code value for region
ddevadat Jan 1, 2023
9a8e39f
removed the hardcode region for flink
ddevadat Jan 1, 2023
6d0fb19
added a trailing /
ddevadat Jan 1, 2023
4f6a9b0
removed trailing slash
ddevadat Jan 1, 2023
7c24828
changed base.url for s3
ddevadat Jan 1, 2023
d149abc
hardcode base.url
ddevadat Jan 1, 2023
3b55ac1
debug level only for hadoop
ddevadat Jan 1, 2023
ac6d377
using s3a
ddevadat Jan 2, 2023
60a50c3
using s3 url
ddevadat Jan 2, 2023
033b160
removed hadoop logging
ddevadat Jan 2, 2023
2a5050f
testing with sse-c values
ddevadat Jan 2, 2023
58dec82
corrected the typo
ddevadat Jan 2, 2023
f53d043
hardcoded endpoint
ddevadat Jan 2, 2023
898177c
hard coded endpoint url
ddevadat Jan 2, 2023
8a64d3e
endpoint as variable
ddevadat Jan 2, 2023
f451d45
removed hadoop specific logging
ddevadat Jan 2, 2023
0a4380a
added explicit region
ddevadat Jan 2, 2023
06a5bad
removed region flag
ddevadat Jan 2, 2023
bb5fa35
changed oci specific end point for s3
ddevadat Jan 2, 2023
0394d1b
removed customization from flink-conf.yaml
ddevadat Jan 2, 2023
fb8f586
Issue #000: Fix ruby version for spark provisioning script
anandp504 Jan 6, 2023
e7d0f2b
Merge pull request #1599 from anandp504/release-5.1.0
manjudr Jan 11, 2023
bf7d6b6
Merge pull request #2 from ocisunbird/oci-5.1.0-secor
heungheung Jan 12, 2023
746aada
Merge pull request #1 from ocisunbird/oci-5.1.0-dp-flinkpipeline-jobs
heungheung Jan 12, 2023
21f1a85
added variable for endpoint for esclouduploader
ddevadat Jan 24, 2023
673d2f1
added variable for etljob endpoint
ddevadat Jan 24, 2023
214ee74
Merge remote-tracking branch 'upstream/release-5.1.0' into oci-5.1.0-…
ddevadat Jan 31, 2023
f808208
templated jinja templates
ddevadat Feb 1, 2023
7eff73f
updated storage type info
ddevadat Feb 1, 2023
6910f88
updated the store type as template value
ddevadat Feb 1, 2023
24ab958
added the endpoint variable for jobmanager
ddevadat Feb 1, 2023
458acc4
updated the condition of oss upload
ddevadat Feb 1, 2023
14f2a40
Added oci instance prinicipal env var
subhashchandrab Feb 13, 2023
24920cc
Added oci instance prinicipal env var
subhashchandrab Feb 14, 2023
4bddaab
Merge pull request #3 from ocisunbird/oci-5.1.0-JAPACCOE-2924
ddevadat Feb 19, 2023
f546aea
added oci instance principal variable
ddevadat Feb 22, 2023
6813a3b
python version upgrade for Ubuntu 22.04
subhashchandrab Feb 23, 2023
3970257
python version upgrade for Ubuntu 22.04
subhashchandrab Feb 23, 2023
e743f81
python version upgrade for Ubuntu 22.04
subhashchandrab Feb 23, 2023
0cd35ac
removing virtualenv_python value in install package to pick the defau…
subhashchandrab Feb 23, 2023
8de25b9
added postgres ssl mode
ddevadat Mar 19, 2023
b4e61c6
added ssl property for pg connection
ddevadat Mar 23, 2023
5515f77
added conditional selection of pg db name
ddevadat Mar 23, 2023
b21d7d2
update the condtion check
ddevadat Mar 23, 2023
419f9f4
changed the condition
ddevadat Mar 23, 2023
ddadf4c
bring bds changes from local repository
Apr 7, 2023
84b1b85
v2 base changes
ddevadat Apr 7, 2023
f779811
reverted data-products-deploy role
ddevadat Apr 7, 2023
230b286
removed unwanted env
ddevadat Apr 7, 2023
04bf9d4
Removed Restrat Cluster Logic - Done from Ambari
Apr 7, 2023
6604a0b
Handled Ambari Restart logic
Apr 8, 2023
366ad61
Merge branch 'oci-5.1.0-JAPACCOE-2839-release-5.1.0-bds' into oci-5.1…
ddevadat Apr 9, 2023
8e1f04a
updated jenkins.bds to consume credential from credstore
ddevadat Apr 9, 2023
00eef69
parametrized create cluster
ddevadat Apr 9, 2023
6c76fbf
corrected syntax
ddevadat Apr 9, 2023
cc12811
disabled delete playbook for testing
ddevadat Apr 9, 2023
ce11e92
removed workernode parameter redundant
ddevadat Apr 9, 2023
21b8166
testing create spark cluster
ddevadat Apr 9, 2023
15832a5
updated delete cluster jenkins
ddevadat Apr 9, 2023
20ca43d
updated the spark deploy job for bds
ddevadat Apr 10, 2023
e278a68
removed redundant role
ddevadat Apr 10, 2023
5ebf329
updated spark env
ddevadat Apr 10, 2023
d584d8f
python debug
ddevadat Apr 10, 2023
4c152bd
updated model to include storege keys
ddevadat Apr 10, 2023
6ae6963
updated spark db name
ddevadat Apr 10, 2023
47946eb
disabled verbose logging for ansible
ddevadat Apr 10, 2023
341ef4f
updated model parameters for userinfo-exhaust
ddevadat Apr 11, 2023
11d111c
added storage key and secret for response-exhaust-v2
ddevadat Apr 11, 2023
dfde179
added bucket as a parameter
ddevadat Apr 13, 2023
4a4de7e
added the bucket name to the sprk provisioning script
ddevadat Apr 13, 2023
640ff44
for testing added batchmodel in jars list
ddevadat Apr 13, 2023
36d96d5
testing change
ddevadat Apr 14, 2023
2fa3df1
corrected json
ddevadat Apr 14, 2023
444108d
removed the classpath params
subhashchandrab Apr 14, 2023
d53cdbd
added model params storageContainer for progress exhaust
ddevadat Apr 15, 2023
de04dd9
added store as s3 for testing
ddevadat Apr 15, 2023
3be2530
corrected json syntax for progress exhaust
ddevadat Apr 15, 2023
4325d72
removed store from model params for progress exhust
ddevadat Apr 15, 2023
3df3cbc
added store as s3 for progress exhaust
ddevadat Apr 16, 2023
70fc149
added store key and secret placeholders
ddevadat Apr 16, 2023
afec78c
updated model-config for endpoint addition
ddevadat Apr 16, 2023
9367598
variablized store type
ddevadat Apr 16, 2023
7f717db
updated model config for progress exhaust
ddevadat Apr 16, 2023
71531b4
changed the report container
ddevadat Apr 17, 2023
f63f5b9
updated progress-exhaust config
ddevadat Apr 18, 2023
eb653b2
updated model config for userinfo
ddevadat Apr 18, 2023
8ffb87f
added jets3t properties
ddevadat Apr 18, 2023
46f5d8a
updated the list of files
ddevadat Apr 18, 2023
729f6fa
added local jets3t files
ddevadat Apr 18, 2023
7cb0be4
added files for jets3t
ddevadat Apr 18, 2023
988b7bb
updated model config for userinfo-exhaust
ddevadat Apr 18, 2023
b84e7ea
updated for flexible sizing
ddevadat Apr 19, 2023
054e5c4
added jets3t properties for spark cluster run
ddevadat Apr 19, 2023
37ed411
corrected jinja syntax
ddevadat Apr 19, 2023
021c239
added download jets3t properties
ddevadat Apr 19, 2023
e823083
added additional jar download
ddevadat Apr 19, 2023
21c1327
corrected jinja
ddevadat Apr 19, 2023
223af2d
s3service.https-only to true for jets3t
ddevadat Apr 19, 2023
1d19f60
updated report bucket name
ddevadat Apr 25, 2023
8f99438
updated report verifiction bucket
ddevadat Apr 25, 2023
4399d57
updated jets3t prop
ddevadat Apr 25, 2023
fe2d983
updated upload.stream buffer value
ddevadat Apr 25, 2023
a0c9134
testing with added parameter to reset mark error
ddevadat Apr 25, 2023
5c70881
changed buffer size
ddevadat Apr 25, 2023
057b7d7
updated model-config for druid-dataset
ddevadat Apr 26, 2023
fe245ea
updated the model-config params
ddevadat Apr 26, 2023
0166b61
updted to replace the temp dir when run on spark bds cluster
ddevadat Apr 26, 2023
c4ca689
updated variable for analytics db name
ddevadat Apr 26, 2023
678b01d
added the properties fs.s3.buffer.dir
ddevadat Apr 27, 2023
d595656
updated the pg db name varible
ddevadat Apr 27, 2023
26838b5
added default value
ddevadat Apr 27, 2023
1f144b7
updated the python variable
ddevadat Apr 27, 2023
ed19234
testing pg ssl mode connection
ddevadat May 2, 2023
d1341c6
removed ssl and added test data
ddevadat May 2, 2023
2b63792
removed database from test data
ddevadat May 2, 2023
f69fd40
added ssl config for pg ssl
ddevadat May 2, 2023
596869e
testing with sslmode true
ddevadat May 2, 2023
5a379ba
Updated the storage config for admin reports
subhashchandrab May 2, 2023
4f9883f
added templates for ingestion spec for collection and sourcing
ddevadat May 4, 2023
64a720e
used template command instead of copy
ddevadat May 4, 2023
039499c
copying as json file
ddevadat May 4, 2023
896410c
updated model-config.json.j2
ddevadat May 4, 2023
9418fb9
Updated model params
subhashchandrab May 4, 2023
8458fa9
Updated storage config
subhashchandrab May 4, 2023
e16a826
updated the right db name for druid rollup
ddevadat May 5, 2023
6091d89
Merge branch 'oci-5.1.0-JAPACCOE-2839-release-5.1.0-bds-v2' of https:…
ddevadat May 5, 2023
86d5bbd
testing with pgssl mode false
ddevadat May 14, 2023
5963a78
added debug lines
ddevadat May 15, 2023
1785ad9
closing source on non null
ddevadat May 15, 2023
9e7973d
overriding connection source close for testing
ddevadat May 15, 2023
5548d42
corrected the missing comma
ddevadat May 15, 2023
0e37e58
testing non null source before closing
ddevadat May 15, 2023
81181d0
checking with isempty
ddevadat May 15, 2023
2083d15
#0 feat: Testcase bug fixes
manjudr May 17, 2023
6919778
#0 feat: Testcase bug fixes
manjudr May 17, 2023
e3cc9bd
Merge pull request #1612 from manjudr/assessment-agg
anandp504 May 17, 2023
0f1f32c
testing ci build
ddevadat May 18, 2023
b437737
Merge remote-tracking branch 'upstream/release-5.1.1' into oci-5.1.0-…
ddevadat May 18, 2023
c8539ad
Merge pull request #8 from ocisunbird/oci-5.1.0-gthub-99-release-4.9.…
ddevadat May 18, 2023
8594c4b
Merge remote-tracking branch 'upstream/release-5.1.1' into oci-5.1.0-…
ddevadat May 18, 2023
659d56a
Merge remote-tracking branch 'upstream/release-5.1.1' into oci-5.1.0-…
ddevadat May 18, 2023
6a58691
Merge remote-tracking branch 'upstream/release-5.1.1' into oci-5.1.0-…
ddevadat May 18, 2023
7bc050f
Merge remote-tracking branch 'upstream/release-5.1.1' into oci-5.1.0-…
ddevadat May 19, 2023
8776207
added the varible for sslmode for postgres
ddevadat May 19, 2023
0f302d7
Merge pull request #9 from ocisunbird/oci-5.1.0-github-99-deploy-job-PR
ddevadat May 19, 2023
a33d716
changing the document overlay structure
ddevadat May 24, 2023
d473b14
Merge pull request #10 from ocisunbird/oci-5.1.0-github-99-deploy-job-s3
ddevadat May 24, 2023
2a22b19
removed virtualenv_python version
ddevadat May 24, 2023
81de8ec
Merge branch 'test-oci-5.1.0-JAPACCOE-2839-release-5.1.0-bds-v2' into…
ddevadat Jun 22, 2023
2e6a5aa
Merge branch 'test-oci-5.1.0-github-issue-33' into test-oci-5.1.0-git…
ddevadat Jun 22, 2023
907dc00
Merge branch 'test-oci-5.1.0-JAPACCOE-2858-release-5.1.0' into test-o…
ddevadat Jun 22, 2023
497f5cb
Merge pull request #1606 from dicdiksha/oci-5.1.0-gthub-99-release-4.…
manjudr Aug 3, 2023
150cd65
spark provisioning version 3.2.1
ddevadat Aug 11, 2023
c62af7b
removed unwanted file
ddevadat Oct 16, 2023
7e5427b
removed unwanted oci cli steps
ddevadat Oct 17, 2023
aafe835
Merge pull request #1620 from dicdiksha/test-oci-5.1.0-github-99-depl…
manjudr Oct 18, 2023
850ffac
Added cloud storage services AWS and GCP
SadanandGowda Nov 17, 2022
3fa4da9
Added cloud storage services AWS and GCP
SadanandGowda Nov 17, 2022
63679d5
updated common vars
SadanandGowda Nov 28, 2022
9d36568
common variable changes in data-pipeline
SadanandGowda Dec 15, 2022
75b971d
updated secor csp variables
SadanandGowda Dec 19, 2022
6df2fa0
updated analytics spark csp variables
SadanandGowda Dec 19, 2022
a599296
common variable changes in datapipeline/flink-jobs
SadanandGowda Dec 19, 2022
93e5207
common variable changes in datapipeline/flink-jobs
SadanandGowda Dec 21, 2022
76bcf5d
csp migration variables update
SadanandGowda Dec 23, 2022
0a613c7
csp migration variables update
SadanandGowda Dec 23, 2022
f8a9f23
csp migration variables update
SadanandGowda Dec 26, 2022
a3a4b59
certjob-workflow update
SadanandGowda Nov 10, 2023
d797623
oci changes merge update
SadanandGowda Nov 10, 2023
4f06f64
csp migration variables update
SadanandGowda Dec 30, 2022
3d2cb95
csp migration variables update
SadanandGowda Jan 17, 2023
e2101ac
csp migration variables update
SadanandGowda Jan 18, 2023
1b5ebb8
csp migration variables update
SadanandGowda Jan 18, 2023
7874a2e
Update main.yml
SadanandGowda Jan 18, 2023
9c66a1b
Merge branch 'csp_changes' into HEAD
SadanandGowda Nov 10, 2023
700eb68
oci changes merge update
SadanandGowda Nov 10, 2023
dccad63
LR-539 | Encryption key length update added
kumarks1122 May 17, 2023
b152a29
LR-539 | Encryption key length update added
kumarks1122 Sep 14, 2023
7680ec6
oci changes merge update
SadanandGowda Nov 12, 2023
e9335af
Update common.conf.j2
SadanandGowda Nov 14, 2023
11d0d0b
added cloud_storage_telemetry_type variable
SadanandGowda Nov 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ target/
*.iml
**/.settings
dependency-reduced-pom.xml
.vscode
16 changes: 16 additions & 0 deletions ansible/artifacts-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
name: gcp-cloud-storage
tasks_from: download.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
Expand All @@ -38,3 +40,17 @@
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"


- name: download artifact from oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: download.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_object_name: "{{ artifact }}"
when: cloud_service_provider == "oci"
15 changes: 15 additions & 0 deletions ansible/artifacts-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
name: gcp-cloud-storage
tasks_from: upload.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
Expand All @@ -39,3 +41,16 @@
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"

- name: upload artifact to oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: upload.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_path: "{{ artifact }}"
when: cloud_service_provider == "oci"
2 changes: 1 addition & 1 deletion ansible/lpa_data-products_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
AZURE_STORAGE_ACCOUNT: "{{cloud_private_storage_accountname}}"
AZURE_STORAGE_KEY: "{{cloud_private_storage_secret}}"
roles:
- data-products-deploy
- data-products-deploy
18 changes: 18 additions & 0 deletions ansible/oci-bds-spark.provision.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- hosts: local
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- oci-bds-spark-cluster
tags:
- copy-script

- hosts: bds-livy-node
become: yes
gather_facts: no
vars_files:
- "{{inventory_dir}}/secrets.yml"
roles:
- provision-oci-spark-cluster
tags:
- spark-provision
3 changes: 2 additions & 1 deletion ansible/roles/analytics-bootstrap-always/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
dependencies:
- { role: jdk11 , become: yes }
- { role: azure-cli , become: yes }
- { role: azure-cli , become: yes, when: cloud_service_provider == "azure" }
- { role: oci-cli , become: yes, when: cloud_service_provider == "oci" }


8 changes: 4 additions & 4 deletions ansible/roles/analytics-bootstrap-spark/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
become: yes
become_user: "{{ analytics_user }}"
lineinfile:
path: '{{ analytics_user_home }}/.bashrc'
line: 'export {{item.var}}={{item.value}}'
path: "{{ analytics_user_home }}/.bashrc"
line: "export {{item.var}}={{item.value}}"
regexp: "export {{ item.var }}.*"
with_items:
- {var: 'azure_storage_key', value: '{{ cloud_private_storage_accountname }}'}
Expand All @@ -14,8 +14,8 @@
- name: Adding ENV Vars to spark servers environment.
become: yes
lineinfile:
path: '/etc/environment'
line: '{{item.var}}={{item.value}}'
path: "/etc/environment"
line: "{{item.var}}={{item.value}}"
regexp: "{{ item.var }}.*"
with_items:
- {var: 'azure_storage_key', value: '{{ cloud_private_storage_accountname }}'}
Expand Down
Loading
Loading