Repository navigation
Failed to install opensds local cluster #1236
Copy link
Copy link
Open
Description
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
When I tried to install opensds local cluster by following instruction, compile error happened.
https://github.com/sodafoundation/opensds/wiki/OpenSDS-Local-Cluster-with-Multi-tenants-Installation
librbd-dev (10.2.11-0ubuntu0.16.04.2) を設定しています ...
libc-bin (2.23-0ubuntu11) のトリガを処理しています ...
mkdir -p /root/go/src/github.com/opensds/opensds/build/out
go build -ldflags '-w -s' -o /root/go/src/github.com/opensds/opensds/build/out/bin/osdsdock github.com/opensds/opensds/cmd/osdsdock
# github.com/opensds/opensds/vendor/github.com/netapp/trident/storage_drivers/ontap
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:59:12: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:69:20: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:78:15: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:79:20: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:88:15: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:96:12: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:106:12: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:121:13: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:131:15: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:140:12: undefined: strings.ReplaceAll
vendor/github.com/netapp/trident/storage_drivers/ontap/ontap_san_economy.go:140:12: too many errors
Makefile:37: recipe for target 'osdsdock' failed
make: *** [osdsdock] Error 2
What you expected to happen:
OpenSDS bootstrap successfully.
How to reproduce it (as minimally and precisely as possible):
- install ubuntu 16.04
apt install git make gcccurl -sSL https://raw.githubusercontent.com/opensds/opensds/master/install/devsds/bootstrap.sh | sudo bash
Anything else we need to know?:
Environment:
- Hotpot(release/branch) version: master( d7ab66c )
- OS (e.g. from /etc/os-release): Ubuntu 16.04.6 LTS
- Kernel (e.g.
uname -a): Linux ubuntu-dluc 4.4.0-142-generic Adjust the cli directory structure.Fixed some bug. #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux - Install tools: devsds
- Others:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
hirokikmr commentedon Feb 12, 2020
I modified the golang version of the following source code to
1.12.1and OpenSDS bootstraped successfully.If it is correct way, would you like me to create a pull request?
https://github.com/sodafoundation/opensds/blob/3f1209eedcc632401ef156e315ec386fcec853af/install/devsds/bootstrap.sh#L25
himanshuvar commentedon Feb 12, 2020
hirokikmr commentedon Feb 12, 2020
Hi, thank you @himanshuvar.
I created the PR, please take a look.
PravinRanjan10 commentedon Jun 18, 2020
@hirokikmr The documents has been updated with latest versions. We have tested and installation were success. Plesse try again with latest steos.
I am closing this issue for now, please re-open if you hit this issue again.
Thank you