Giter Club home page Giter Club logo

Comments (6)

qrpike avatar qrpike commented on May 25, 2024

Bump? Is there any additional information I can provide to help add context around the issue?

from go-ceph.

dotnwat avatar dotnwat commented on May 25, 2024

@qrpike this is a little strange. can you find out what version of the rados library you are linking to?

from go-ceph.

qrpike avatar qrpike commented on May 25, 2024

@noahdesu Sure, here is the output:

$ apt show libcephfs-dev librados-dev librbd-dev
Package: libcephfs-dev
Version: 12.2.12-1xenial
Priority: optional
Section: libdevel
Source: ceph
Maintainer: Ceph Maintainers <[email protected]>
Installed-Size: 89.1 kB
Depends: libcephfs2 (= 12.2.12-1xenial)
Conflicts: libceph-dev, libceph1-dev, libcephfs2-dev
Replaces: libceph-dev, libceph1-dev, libcephfs2-dev
Homepage: http://ceph.com/
Download-Size: 18.3 kB
APT-Manual-Installed: yes
APT-Sources: https://download.ceph.com/debian-luminous xenial/main amd64 Packages
Description: Ceph distributed file system client library (development files)
 Ceph is a massively scalable, open-source, distributed
 storage system that runs on commodity hardware and delivers object,
 block and file system storage.  This is a
 shared library allowing applications to access a Ceph distributed
 file system via a POSIX-like interface.
 .
 This package contains development files needed for building applications that
 link against libcephfs.

Package: librados-dev
Version: 12.2.12-1xenial
Priority: optional
Section: libdevel
Source: ceph
Maintainer: Ceph Maintainers <[email protected]>
Installed-Size: 2623 kB
Depends: librados2 (= 12.2.12-1xenial), libc6 (>= 2.16), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2)
Conflicts: librados1-dev, librados2-dev
Replaces: librados1-dev, librados2-dev
Homepage: http://ceph.com/
Download-Size: 578 kB
APT-Manual-Installed: yes
APT-Sources: https://download.ceph.com/debian-luminous xenial/main amd64 Packages
Description: RADOS distributed object store client library (development files)
 RADOS is a reliable, autonomic distributed object storage cluster
 developed as part of the Ceph distributed storage system.  This is a
 shared library allowing applications to access the distributed object
 store using a simple file-like interface.
 .
 This package contains development files needed for building applications that
 link against librados.

Package: librbd-dev
Version: 12.2.12-1xenial
Priority: optional
Section: libdevel
Source: ceph
Maintainer: Ceph Maintainers <[email protected]>
Installed-Size: 78.8 kB
Depends: librados-dev (= 12.2.12-1xenial), librbd1 (= 12.2.12-1xenial)
Conflicts: librbd1-dev
Replaces: librbd1-dev
Homepage: http://ceph.com/
Download-Size: 16.3 kB
APT-Manual-Installed: yes
APT-Sources: https://download.ceph.com/debian-luminous xenial/main amd64 Packages
Description: RADOS block device client library (development files)

N: There are 3 additional records. Please use the '-a' switch to see them.

Also, here is the Docker file I'm using to build this image:

FROM golang:1.12.7

RUN apt-get update && apt-get install -y \
  apt-transport-https \
  git \
  software-properties-common \
  uuid-runtime \
  wget

ARG CEPH_REPO_URL=https://download.ceph.com/debian-luminous/
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
RUN apt-add-repository "deb ${CEPH_REPO_URL} xenial main"

RUN apt-get update
RUN apt-get install libcephfs-dev librados-dev librbd-dev -y

RUN go get github.com/ceph/go-ceph

from go-ceph.

dotnwat avatar dotnwat commented on May 25, 2024

what happens if you remove the ParseCmdLineArgs line and get the monitor address from the default ceph.conf file? does the local rados cli tool work for you on the same node by reading the default ceph.conf?

from go-ceph.

gopherunner avatar gopherunner commented on May 25, 2024

I'm also having troubles (same error msg = "Operation not supported") trying to establish a connection while passing one of the MON ip addr:

client, err := NewCephClient(cephConfig.MonHost, cephConfig.MonPort)
	if err != nil {
		fmt.Printf("[ERROR] While trying to establish the connection to the ceph cluster %s\n", err.Error())
	}

	defer client.Destroy()

any ideas?, basically I want to establish a connection to get some space info from the cluster

from go-ceph.

phlogistonjohn avatar phlogistonjohn commented on May 25, 2024

@qrpike and @gopherunner are you still having issues with this topic? If the issues are resolved or no longer relevant to you I'd like to close this issue. If the issue remains idle for a couple of weeks I will also close this issue.

from go-ceph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.