sodafoundation / api

SODA Terra Project API module : is an open source implementation of SODA API connecting storage to platforms like Kubernetes, OpenStack, and VMware
Apache License 2.0
828 stars 314 forks source link

API devsds local cluster installation fails #1288

Closed kumarashit closed 4 years ago

kumarashit commented 4 years ago

Issue/Feature Description: local cluster installation of API fails, using devsds with following error: 2020-06-12 19:09:47.436 | + export OPENSDS_ENDPOINT=http://localhost:50040 2020-06-12 19:09:47.436 | + OPENSDS_ENDPOINT=http://localhost:50040 2020-06-12 19:09:47.436 | + osds::echo_summary 'Ashit: /root/gopath/src/github.com/sodafoundation' 2020-06-12 19:09:47.436 | + echo -e Ashit: /root/gopath/src/github.com/sodafoundation 2020-06-12 19:09:47.436 | + build/out/bin/osdsctl profile create '{"name": "default_block", "description": "default policy", "storageType": "block"}' 2020-06-12 19:09:47.436 | /root/gopath/src/github.com/sodafoundation/api/install/devsds/lib/opensds.sh: line 92: build/out/bin/osdsctl: No such file or directory

Why this issue to fixed / feature is needed(give scenarios or use cases): Install failure. Reason is that the PWD is sodafoundation and it tries to run build/out/bin/osdsctl. It should change the dir to sodafoundation/api How to reproduce, in case of a bug:

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)

kumarashit commented 4 years ago

Fixed