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

Failed to install opensds local cluster #1236

Open
hirokikmr opened this issue Feb 12, 2020 · 4 comments
Open

Failed to install opensds local cluster #1236

hirokikmr opened this issue Feb 12, 2020 · 4 comments

Comments

@hirokikmr
Copy link
Contributor

hirokikmr commented Feb 12, 2020

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):

  1. install ubuntu 16.04
  2. apt install git make gcc
  3. curl -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:
@hirokikmr
Copy link
Contributor Author

I modified the golang version of the following source code to 1.12.1 and 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
Copy link
Member

himanshuvar commented Feb 12, 2020 via email

@hirokikmr
Copy link
Contributor Author

Hi, thank you @himanshuvar.
I created the PR, please take a look.

@PravinRanjan10
Copy link
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants