<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 9:41 PM, Walter A. Boring IV <span dir="ltr"><<a href="mailto:walter.boring@hp.com" target="_blank">walter.boring@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey folks,<br>
I wanted to get some feedback from the Nova folks on using Cinder's Brick library. As some of you<br>
may or may not know, Cinder has an internal module called Brick. It's used for discovering and removing<br>
volumes attached to a host. Most of the code in the Brick module in cinder originated from the Nova libvirt<br>
volume drivers that do the same thing (discover attached volumes and then later remove them).<br>
Cinder uses the brick library for copy volume to image, as well as copy image to volume operations<br>
where the Cinder node needs to attach volumes to itself to do the work. The Brick code inside of Cinder has been<br>
used since the Havana release.<br>
<br>
Our plans in Cinder for the Kilo release is to extract the Brick module into it's own separate library<br>
that is maintained by the Cinder team as a subproject of Cinder and released as a pypi lib. Then for the L release, refactor<br>
Nova's libvirt volume drivers to use the Brick library. This will enable us to eliminate the duplicate<br>
code between Nova's libvirt volume drivers and Cinder's internal brick module. Both projects can benefit<br>
from a shared library.<br>
<br>
So the question I have is, does Nova have an interest in using the code in a pypi brick library? If not, then it doesn't<br>
make any sense for the Cinder team to extract it's brick module into a shared (pypi) library.<br></blockquote><div><br></div><div>Yes, nova is interested in using brick, I'm looking forward to seeing nova use it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The first release of brick will only contain the volume discovery and removal code. This is contained in the<br>
initiator directory of cinder/brick/<br>
<br>
You can view the current brick code in Cinder here:<br>
<a href="https://github.com/openstack/cinder/tree/master/cinder/brick" target="_blank">https://github.com/openstack/<u></u>cinder/tree/master/cinder/<u></u>brick</a><br>
<br>
Thanks for the feedback,<br>
Walt<br>
<br>
<br>
<br>
______________________________<u></u>______________________________<u></u>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.<u></u>openstack.org?subject:<u></u>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br></div></div>