Giter Site home page Giter Site logo

linbit / openstack-cinder Goto Github PK

View Code? Open in Web Editor NEW
8.0 11.0 5.0 89.82 MB

Openstack Cinder, with DRBD driver included

License: Apache License 2.0

Python 99.64% Shell 0.03% Smarty 0.33% Mako 0.01% Jinja 0.01%
linstor drbd lvm zfsonlinux openstack cinder

openstack-cinder's Introduction

openstack-cinder's People

Contributors

akrog avatar asbishop avatar avishay-traeger avatar dirkmueller avatar e0ne avatar eharney avatar helenwalsh avatar hemna avatar j-griffith avatar kumartin avatar lixiaoy1 avatar mriedem avatar nya17y avatar odonos12 avatar ostackbrian avatar peter-wangxu avatar petrutlucian94 avatar rajathere avatar sdodsley avatar singn avatar stephenfin avatar stmcginnis avatar thingee avatar tombarron avatar tommydell avatar tommylike avatar vbalachandran avatar vstinner avatar wangxiyuan avatar zhufl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openstack-cinder's Issues

cinder-volume uses default URI of localhost despite specific URI in cinder.conf

We are currently using LINSTOR controllers in a HA configuration accessible from a floating IP managed by Corosync+Pacemaker.

Our cinder.conf uses the following configuration (organization specific data obfuscated) for the LINSTOR backend:

. . .
[KALMYK]
iscsi_helper = tgtadm
linstor_controller_diskless = False
linstor_default_resource_size = 1
linstor_default_storage_pool_name = KalmykLINSTOR
linstor_default_uri = linstor://XXX.XXX.XXX.6
linstor_default_volume_group = vg_kalmyk_linstor
linstor_volume_downsize_factor = 4096
volume_backend_name = LINSTOR
volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver
. . .

However, the cinder-volume service ignores the linstor_default_uri specified and defaults to using linstor://localhost, errors-out when unable to do so, and goes into a crash-backoff loop.

We've identified the code responsible for this behavior and prepared a patch/diff file:

linstor.txt

After applying this patch/diff, the cinder-volume service accepts the specified URI and works properly in sending API requests to our controller.

Can these changes be verified?

in-use volume extend support

Hi, it seems that the in-use volume extension doesn't work even though it should work according to docs https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#_using_drbd_as_the_transport_protocol ("Resizing of attached and in-use volumes does not fully work. While the resize itself is successful, the compute service will not propagate it to the VM until after a restart.").

After some digging, it seems it is because you use LocalConnector https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connectors/local.py that doesn't support volume extend.

Are you planning to implement a live extension - possibly in a new connector?

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.