[openstack-dev] extracting nbd support to an oslo module?
    Thierry Carrez 
    thierry at openstack.org
       
    Tue Dec 11 11:22:50 UTC 2012
    
    
  
Robert Collins wrote:
> I'd like to be able to nbd from Python for part of diskimage-builder,
> and the needed code for that is neatly in nova; but installing nova on
> sysadmin workstations just to get at that code is a little... ugly.
> 
> Would there be any objections to moving the nbd code to an oslo
> module, and if not, whats the process for that? [possibly more than
> the nbd code - basically enough to get qcow2 images mounted :)].
I'll let markmc reply on that, but oslo tends to be oriented towards
reusing common code between openstack core projects, not to extract
generally reusable pieces of code out of core projects for potential
reuse elsewhere... I feel like it's a slippery slope that could make us
lose our focus.
As a sidenote, I suspect the nbd/qcow2-mounting code makes use of
rootwrap to elevate privileges, so this would need to be done after
migration of rootwrap to oslo as well (planned for as soon as
https://review.openstack.org/#/c/17672/ lands, hint, hint).
Cheers,
-- 
Thierry Carrez (ttx)
Release Manager, OpenStack
    
    
More information about the OpenStack-dev
mailing list