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

Replaced 1077 occurrences of 'opensds. across 182 files with 'soda'. #491

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion CHANGELOG/CHANGELOG-v1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

**Closed issues:**

- Dashboard installation fails when opensds\_auth\_strategy is set to noauth [\#419](https://github.com/sodafoundation/installer/issues/419)
- Dashboard installation fails when soda\_auth\_strategy is set to noauth [\#419](https://github.com/sodafoundation/installer/issues/419)
- Uninstalll of SODA fails because it cannot find srm-toolchain installation [\#417](https://github.com/sodafoundation/installer/issues/417)
- Installation fails at Delfin installer with error "Could not get output from /usr/local/bin/virtualenv --help: AttributeError: module 'os' has no attribute 'PathLike'\n" [\#405](https://github.com/sodafoundation/installer/issues/405)

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions ansible/clean.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,7 @@
---
# Defines some clean processes when banishing the cluster.

- name: destory an opensds cluster
- name: destory an soda cluster
hosts:
- controllers
- worker-nodes
Expand Down
26 changes: 13 additions & 13 deletions ansible/docs/OpenSDS Multi-nodes installation using Ansible.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# OpenSDS Multi-nodes installation using Ansible #
This document explain steps for a sample OpenSDS multi-node installation with three nodes (Eg. node-1, node-2 and node-3). First node is configured as Controller and other two nodes are configured as dock backends.
# soda Multi-nodes installation using Ansible #
This document explain steps for a sample soda multi-node installation with three nodes (Eg. node-1, node-2 and node-3). First node is configured as Controller and other two nodes are configured as dock backends.
## 1. Installation ##
Installation steps for OpenSDS Multi-nodes is similar to wiki page 'OpenSDS Cluster Installation through Ansible' https://github.com/opensds/opensds/wiki/OpenSDS-Cluster-Installation-through-Ansible
Installation steps for soda Multi-nodes is similar to wiki page 'soda Cluster Installation through Ansible' https://github.com/soda/soda/wiki/soda-Cluster-Installation-through-Ansible

Difference in steps for OpenSDS multi-nodes will be documented here.
Difference in steps for soda multi-nodes will be documented here.
### Pre-config (Ubuntu 16.04)
#### Setup SSH Connection (Needed on ALL Nodes)
* Set password for root:
Expand Down Expand Up @@ -84,12 +84,12 @@ If you are running all nodes inside VMware, you need to install this virtualizat
ssh-copy-id node-3
```
#### Install following packages (Needed on ALL Nodes):
Please refer OpenSDS Cluster installation steps in [wiki.](https://github.com/opensds/opensds/wiki/OpenSDS-Cluster-Installation-through-Ansible)
Please refer soda Cluster installation steps in [wiki.](https://github.com/soda/soda/wiki/soda-Cluster-Installation-through-Ansible)
* docker & docker-compose
* golang
* opensds-installer code
* soda-installer code
* ansible tool
### Configure opensds install variables (On Controllers node ONLY):
### Configure soda install variables (On Controllers node ONLY):
##### System environment:
Firstly you need to modify `host_ip` in `group_vars/common.yml`, and you can specify which project (hotpot or gelato) to be deployed:
```yaml
Expand All @@ -100,7 +100,7 @@ host_ip: 127.0.0.1
# 'hotpot', 'gelato' or 'all'
deploy_project: all
```
If you want to integrate OpenSDS with k8s csi, please modify `nbp_plugin_type` to `csi` in `group_vars/sushi.yml`:
If you want to integrate soda with k8s csi, please modify `nbp_plugin_type` to `csi` in `group_vars/sushi.yml`:
```yaml
# 'hotpot_only' is the default integration way, but you can change it to 'csi'
# or 'flexvolume'
Expand Down Expand Up @@ -173,11 +173,11 @@ Configure the auth and pool options to access cinder in `group_vars/cinder/cinde
export HOST_IP={your_real_host_ip}
ansible all -m ping -i local.hosts
```
### Run opensds-ansible playbook to start deploy
### Run soda-ansible playbook to start deploy
```bash
ansible-playbook site.yml -i local.hosts
```
## 2. How to test opensds cluster
Please refer OpenSDS Cluster installation steps in [wiki.](https://github.com/opensds/opensds/wiki/OpenSDS-Cluster-Installation-through-Ansible)
## 3. How to purge and clean opensds cluster
Please refer OpenSDS Cluster installation steps in [wiki.](https://github.com/opensds/opensds/wiki/OpenSDS-Cluster-Installation-through-Ansible)
## 2. How to test soda cluster
Please refer soda Cluster installation steps in [wiki.](https://github.com/soda/soda/wiki/soda-Cluster-Installation-through-Ansible)
## 3. How to purge and clean soda cluster
Please refer soda Cluster installation steps in [wiki.](https://github.com/soda/soda/wiki/soda-Cluster-Installation-through-Ansible)
8 changes: 4 additions & 4 deletions ansible/group_vars/auth.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -22,8 +22,8 @@ dummy:
# GENERAL #
###########

# OpenSDS authentication strategy, support 'noauth' and 'keystone'.
opensds_auth_strategy: keystone
# soda authentication strategy, support 'noauth' and 'keystone'.
soda_auth_strategy: keystone

# Install keystone with docker
install_keystone_with_docker: true
Expand All @@ -35,4 +35,4 @@ keystone_os_auth_url: "http://{{ host_ip }}/identity"
keystone_uninstall_purge: false

# Certs dir
opensds_certs_dir: "/opt/opensds-security/"
soda_certs_dir: "/opt/soda-security/"
2 changes: 1 addition & 1 deletion ansible/group_vars/ceph/all.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/ceph/ceph.hosts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/ceph/ceph.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/ceph/conf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/cinder/cinder.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions ansible/group_vars/common.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -60,8 +60,8 @@ source_purge: true
# delete database
database_purge: true

# OpenSDS configuration file
opensds_conf_file: /etc/opensds/opensds.conf
# soda configuration file
soda_conf_file: /etc/soda/soda.conf

###############
# Respective projects release versions
Expand Down
6 changes: 3 additions & 3 deletions ansible/group_vars/dashboard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -26,7 +26,7 @@ dummy:
dashboard_installation_type: container

# These fields are NOT suggested to be modified
dashboard_work_dir: /opt/opensds-dashboard-linux-amd64
dashboard_work_dir: /opt/soda-dashboard-linux-amd64

#Dashboard Console Login Address
console_login_url: "{{ host_ip }}:8088"
Expand All @@ -49,4 +49,4 @@ dashboard_docker_image: sodafoundation/dashboard:{{ dashboard_release_version }}
dashboard_repo_branch: "{{ repo_branch }}"

# These fields are NOT suggested to be modified
dashboard_remote_url: https://github.com/opensds/opensds-dashboard.git
dashboard_remote_url: https://github.com/soda/soda-dashboard.git
2 changes: 1 addition & 1 deletion ansible/group_vars/gelato-ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gelato_ha_s3_ip: 0.0.0.0
gelato_ha_s3_port: 30090

# These fields are NOT suggested to be modifie
gelato_work_dir: /opt/opensds-gelato-linux-amd64
gelato_work_dir: /opt/soda-gelato-linux-amd64

# The installation type of gelato-ha is container, both REPOSITORY and RELEASE will
# use gelato image to deploy.
Expand Down
4 changes: 2 additions & 2 deletions ansible/group_vars/gelato.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@ dummy:
###########

# These fields are NOT suggested to be modifie
gelato_work_dir: /opt/opensds-gelato-linux-amd64
gelato_work_dir: /opt/soda-gelato-linux-amd64

# The installation type of gelato is container, both REPOSITORY and RELEASE will
# use gelato image to deploy.
Expand Down
16 changes: 8 additions & 8 deletions ansible/group_vars/hotpot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,13 +27,13 @@ controller_endpoint: "{{ host_ip }}:50049"


# These fields are NOT suggested to be modified
hotpot_work_dir: /opt/opensds-hotpot-linux-amd64
opensds_config_dir: /etc/opensds
opensds_driver_config_dir: "{{ opensds_config_dir }}/driver"
opensds_log_dir: /var/log/opensds
apiserver_log_file: "{{ opensds_log_dir }}/osdsapiserver.log"
controller_log_file: "{{ opensds_log_dir }}/osdslet.log"
dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"
hotpot_work_dir: /opt/soda-hotpot-linux-amd64
soda_config_dir: /etc/soda
soda_driver_config_dir: "{{ soda_config_dir }}/driver"
soda_log_dir: /var/log/soda
apiserver_log_file: "{{ soda_log_dir }}/osdsapiserver.log"
controller_log_file: "{{ soda_log_dir }}/osdslet.log"
dock_log_file: "{{ soda_log_dir }}/osdsdock.log"


##############
Expand Down
4 changes: 2 additions & 2 deletions ansible/group_vars/lvm/lvm.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The OpenSDS Authors.
# Copyright 2018 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,7 @@
tgtBindIp: 127.0.0.1 # change tgtBindIp to your real host ip, run 'ifconfig' to check
tgtConfDir: /etc/tgt/conf.d
pool:
opensds-volumes: # change pool name same to vg_name, but don't change it if you choose ceph backend
soda-volumes: # change pool name same to vg_name, but don't change it if you choose ceph backend
storageType: block
availabilityZone: default
extras:
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/netapp/ontap/ontap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ backendOptions:
managementLIF: "127.0.0.1"
dataLIF: "127.0.0.1"
svm: "vserver"
igroupName: "opensds"
igroupName: "soda"
pool:
ontap-pool:
storageType: block
Expand Down
4 changes: 2 additions & 2 deletions ansible/group_vars/nfs/nfs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,7 @@
tgtBindIp: 127.0.0.1 # change tgtBindIp to your real host ip, run 'ifconfig' to check
tgtConfDir: /etc/tgt/conf.d
pool:
opensds-nfs:
soda-nfs:
storageType: file
availabilityZone: default
extras:
Expand Down
4 changes: 2 additions & 2 deletions ansible/group_vars/orchestration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -69,4 +69,4 @@ orchestration_release: "{{ orchestration_release_version }}" #The version should

# These fields are NOT suggested to be modified
orchestration_download_url: https://github.com/sodafoundation/orchestration/archive/{{ orchestration_release }}.tar.gz
orchestration_tarball_dir: /tmp/opensds-orchestration-{{ orchestration_release }}-linux-amd64
orchestration_tarball_dir: /tmp/soda-orchestration-{{ orchestration_release }}-linux-amd64
2 changes: 1 addition & 1 deletion ansible/group_vars/osdsdb.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
22 changes: 11 additions & 11 deletions ansible/group_vars/osdsdock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -43,11 +43,11 @@ dock_type: provisioner
lvm_name: lvm backend
lvm_description: This is a lvm backend service
lvm_driver_name: lvm
lvm_config_path: "{{ opensds_driver_config_dir }}/lvm.yaml"
lvm_config_path: "{{ soda_driver_config_dir }}/lvm.yaml"
lvm_nvme_device: "/dev/nvme0n1"
opensds_volume_group: opensds-volumes
opensds_volume_group_nvme: opensds-volumes-nvme
opensds_volume_group_nvme_size: 10G
soda_volume_group: soda-volumes
soda_volume_group_nvme: soda-volumes-nvme
soda_volume_group_nvme_size: 10G


###########
Expand All @@ -63,7 +63,7 @@ ceph_pools: # Specify pool name randomly
ceph_name: ceph backend
ceph_description: This is a ceph backend service
ceph_driver_name: ceph
ceph_config_path: "{{ opensds_driver_config_dir }}/ceph.yaml"
ceph_config_path: "{{ soda_driver_config_dir }}/ceph.yaml"

# ceph-ansible playbook branch to be checked out from:
# https://github.com/ceph/ceph-ansible
Expand Down Expand Up @@ -100,7 +100,7 @@ cinder_data_dir: "/opt/cinder_data_dir"
cinder_name: cinder backend
cinder_description: This is a cinder backend service
cinder_driver_name: cinder
cinder_config_path: "{{ opensds_driver_config_dir }}/cinder.yaml"
cinder_config_path: "{{ soda_driver_config_dir }}/cinder.yaml"


###########
Expand All @@ -111,8 +111,8 @@ cinder_config_path: "{{ opensds_driver_config_dir }}/cinder.yaml"
nfs_name: nfs backend
nfs_description: This is a nfs backend service
nfs_driver_name: nfs
nfs_config_path: "{{ opensds_driver_config_dir }}/nfs.yaml"
opensds_nfs_group: opensds-nfs
nfs_config_path: "{{ soda_driver_config_dir }}/nfs.yaml"
soda_nfs_group: soda-nfs

######################
# NetApp ONTAP SAN #
Expand All @@ -123,7 +123,7 @@ opensds_nfs_group: opensds-nfs
ontap_name: netapp ontap backend
ontap_description: This is a netapp ontap san backend service
ontap_driver_name: netapp_ontap_san
ontap_config_path: "{{ opensds_driver_config_dir }}/netapp_ontap_san.yaml"
ontap_config_path: "{{ soda_driver_config_dir }}/netapp_ontap_san.yaml"


#####################
Expand All @@ -135,4 +135,4 @@ ontap_config_path: "{{ opensds_driver_config_dir }}/netapp_ontap_san.yaml"
ontap_nas_name: netapp ontap backend
ontap_nas_description: This is a netapp ontap nas backend service
ontap_nas_driver_name: netapp_ontap_nas
ontap_nas_config_path: "{{ opensds_driver_config_dir }}/netapp_ontap_nas.yaml"
ontap_nas_config_path: "{{ soda_driver_config_dir }}/netapp_ontap_nas.yaml"
14 changes: 7 additions & 7 deletions ansible/group_vars/sushi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The OpenSDS Authors.
# Copyright 2019 The soda Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -25,13 +25,13 @@ dummy:
# 'hotpot_only' is the default integration way, but you can change it to 'csi'
# or 'flexvolume'
sushi_plugin_type: hotpot_only
# The IP (127.0.0.1) should be replaced with the opensds actual endpoint IP
# The IP (127.0.0.1) should be replaced with the soda actual endpoint IP
hotpot_endpoint: "http://{{ host_ip }}:50040"

# These fields are NOT suggested to be modifie
sushi_work_dir: /opt/opensds-sushi-linux-amd64
sushi_work_dir: /opt/soda-sushi-linux-amd64

flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opensds.io~opensds
flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/soda.io~soda


##############
Expand All @@ -43,7 +43,7 @@ flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opens
sushi_repo_branch: "{{ repo_branch }}"

# These fields are NOT suggested to be modified
sushi_remote_url: https://github.com/opensds/nbp.git
sushi_remote_url: https://github.com/soda/nbp.git

###########
# RELEASE #
Expand All @@ -53,5 +53,5 @@ sushi_remote_url: https://github.com/opensds/nbp.git
sushi_release: "{{ sushi_release_version }}" # The version should be at least v0.2.1

# These fields are NOT suggested to be modified
sushi_download_url: https://github.com/opensds/nbp/releases/download/{{ sushi_release }}/opensds-sushi-{{ sushi_release }}-linux-amd64.tar.gz
sushi_tarball_dir: /tmp/opensds-sushi-{{ sushi_release }}-linux-amd64
sushi_download_url: https://github.com/soda/nbp/releases/download/{{ sushi_release }}/soda-sushi-{{ sushi_release }}-linux-amd64.tar.gz
sushi_tarball_dir: /tmp/soda-sushi-{{ sushi_release }}-linux-amd64
Loading