-
Notifications
You must be signed in to change notification settings - Fork 355
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
Add ansible delfin installer #942
Add ansible delfin installer #942
Conversation
e7830b1
to
ee4a41b
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #942 +/- ##
==========================================
- Coverage 71.36% 71.35% -0.01%
==========================================
Files 187 187
Lines 23067 23067
Branches 3508 3508
==========================================
- Hits 16462 16460 -2
- Misses 5490 5491 +1
- Partials 1115 1116 +1
|
e296889
to
b3f6dc8
Compare
b3f6dc8
to
216aae3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be gelato related term we can remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls check the comments
installer/README.md
Outdated
|
||
The SODA Delfin supports two types of installation | ||
* Installation using Ansible for user experiance with Dashboard | ||
* Installation using scripts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using scripts? Or Installation with Dashboard and Installation with CLI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed dashboard, srm_toolchain and auth install files. Updated banner and documentation.
installer/README.md
Outdated
|
||
|
||
|
||
## Bash installer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the installer names consistently in the beginning also? Or please say Installation option 1 : Ansible...and Installation option 2: Bash Script installer in the title. Also use consistently across the doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,38 @@ | |||
# Copyright 2019 The OpenSDS Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SODA Authors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need all these files for single project installer also...(separate files in group_vars)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
@@ -0,0 +1,60 @@ | |||
# Copyright 2019 The OpenSDS Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SODA Authors (all occurrences, pls check)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,46 @@ | |||
# Copyright 2020 The SODA Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for 2020 ? (For all occurrences)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
OPENSDS_GELATO_URL: "http://{{ host_ip }}:8089" | ||
SODA_DELFIN_URL: "{{ soda_delfin_url }}" | ||
OPENSDS_ORCHESTRATION_URL: "http://{{ host_ip }}:5000" | ||
OPENSDS_S3_URL: "http://{{ host_ip }}:8090" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the env are needed for Delfin?!
Why should it be called OpenSDS or SODA ?
Any env variable at SODA level should be part of SODA installer / dashboard not delfin.
Delfin should handle delfin env vars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
- name: build and configure opensds dashboard | ||
shell: "{{ item }}" | ||
with_items: | ||
- service apache2 stop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do this way, will it not affect the dashboard of any other existing instance of the dashboard?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
openssl version >& /dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed for delfin?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
installer/ansible/script/keystone.sh
Outdated
@@ -0,0 +1,279 @@ | |||
#!/usr/bin/env bash | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keystone for delfin?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
import json | ||
|
||
|
||
def token_issue(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed for delfin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
72500f7
to
69c7f83
Compare
69c7f83
to
881db73
Compare
installer/README.md
Outdated
|
||
# Supported OS | ||
Ubuntu 16.04, Ubuntu 18.04 | ||
## Ansible installer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installation using Ansible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
installer/README.md
Outdated
|
||
|
||
|
||
## Bash script installer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installation using Bash Scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
installer/README.md
Outdated
``` | ||
|
||
# Logs | ||
### Logs | ||
All the installer logs are stored in the /var/log/sodafoundation directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change the directory name from sodafoundation to soda?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it:
Add standalone ansible install for delfin
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: