suse / lrbd Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v2.1
License: GNU Lesser General Public License v2.1
I'm trying to use lrbd to write an openstack cinder driver that exports rbd images as Cinder volumes. I need to be able to create targets and remove them at will. There seems to be no way to remove an existing target with lrbd.
If I edit my config.json and remove an existing TPG entry, and then rerun lrbd, the LUN still exists in targetcli ls.
Would you mind tagging releases in Git? Just a simple annotated tag is fine, like 1.0.2
or 1.0.3
.
It seems the only way to install lrbd on a host is from RPM. since lrbd is a python app, I would like to be able to install it from the standard pip install command line. This enables me to isolate the python dependencies into it's own virtualenv and make the install safe.
I posted up a pull request for a refactoring of lrbd here:
#17
This allows one to push up lrbd into pypi as a standard python application.
The lrbd package doesn't seem to be available on the latest RHEL 7... Is there another repo I should be using?
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No package lrbd available.
Error: Nothing to do
tcm_fabric was part of the old lio-utils package, which is no longer shipped on many distros. With modern targetcli-fb , the clearconfig command should be used instead.
/iscsi/iqn.20...143ed577/tpg1> set parameter FirstBurstLength=262144
Some of the changes in commit f5407a7 caused make tests
to no longer work properly.
The "Disable restart of service during future updates" commit (7385458) is in the 1.0
branch, but it's not in master.
It's typical to have all changes go to the master branch first, and then cherry-pick the specific ones that you want to the stable release branches.
Would you mind cherry-picking that one to master?
Would you mind tagging the tip of the master branch? Maybe you could tag it as "1.1.0" or something?
Currently "git describe master
" prints "1.0.2", whereas "git describe 1.0
" prints "1.0.4", which is confusing.
After adding a new TPG to export a new target, there is no way to collect the Lun IQN, name, and # from the new target with lrbd.
When I create a new TPG target with lrbd, I can't find out what the LUN name or LUN id is for the new target with lrbd.
Custom options such as keyrings can already be added to LRBD_OPTIONS in /etc/sysconfig/lrbd. This works fine for systemd commands.
Running lrbd at the command line can be a little cumbersome having to specify the same options again. These should be pulled into the environment, but still allow command line options to override them. An info/warning should likely inform the user what the real/equivalent command being run is. That likely means we need an option to disable this as well.
The man page will need an update.
Hi team,
Actually, I'm looking for a storage solution for my system kubernetes.
I need authenticate and I have a farm ceph. Because i choose iSCSI and project Lrbd for this solution. I have some questions.
Thanks team <3.
Targetcli is a pretty face (command completion etc) on top of rtslib, which is an actual pythonic api to modify LIO's configuration. You may find that a considerable amount of output parsing and class wrappers in lrbd can be simplified by using rtslib directly.
You may wish to look at my targetd
project, which uses an alternate rtslib than suse likely ships (rtslib-fb instead of rtslib) but its block.py
is a similar example of combining lio configuration with something else, and using rtslib to minimize the extra code users must write to configure lio.
Hello everybody,
I using lrbd deploy 2 gateways iscsi, 1 client iscsi connect to 2 gateways (multipath gateway A and gateway B, use alua active/enable).
I have a question, when i am writing data to iscsi A, A fail, data continue write to iscsi B. Can it possibly lead to data inconsistency?
Sorry i'm bad english.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.