Comments (4)
That ceph.conf configuration look pretty simple. How are you connecting (code) and what error are you getting? Did you try the ceph command line tool, are you having problems with these too?
from node-rados.
- How ~ connecting:
The cluster (docker/ceph) is built on 192.168.23.130, and my node-rados is running on another machine. (My node-rados can connect to other normal way built ceph cluster on other IP successfully with their "ceph.conf" file)
I use the connecting method of sample code :
var err = cluster.connect();
And only got the return code (err) with value 2. - What error I got is error code : 2
- Ceph command line tool : I don't know how to connect ceph cluster remotely in my case. I can do this (ceph command line tool) in that target 192.168.23.130, and "chep -s" show its health is ok. I can add pool and put object correctlly.
The IP "192.168.23.130" is public for my intranet, and using docker run with "--net=host" then bind it to ceph mon, so I can ping to it and there's no port relative issue.
from node-rados.
Hi,
The error code 2 should be a "no such file".
Could you verify that you have the rights to read the file /etc/ceph/ceph.client.admin.keyring ?
from node-rados.
It works! Thank you very mush!
So we need two files to build the connection: "ceph.conf" and "ceph.client.admin.keyring".
from node-rados.
Related Issues (12)
- aio_* functions and callback error parameter HOT 2
- aio_read doing synchronous stat when size parameter is null HOT 6
- node_object_wrap.h:71 error HOT 3
- Manage pool HOT 5
- Add list objects in a pool HOT 4
- This package no longer installs because it picks up a newer (incompatible) version of nan.
- expose createReadStream / createWriteStream HOT 2
- Drop node-gyp dependency HOT 1
- Node 7 compatibility? HOT 3
- Fails to connect for limited access user
- Clone in new node versions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-rados.