Skip to content

Failed to install opensds local cluster #1236

Open

Description

@hirokikmr

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:

Activity

  1. hirokikmr commented on Feb 12, 2020

    @hirokikmr
    ContributorAuthor

    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

  2. himanshuvar commented on Feb 12, 2020

    @himanshuvar
    Member
  3. hirokikmr commented on Feb 12, 2020

    @hirokikmr
    ContributorAuthor

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

  4. PravinRanjan10 commented on Jun 18, 2020

    @PravinRanjan10
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions