<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Related to this, how do we in the future stop such code-copying from happening in the first place?</div><div><br></div><div>Is it just that there needs to be a place for this (oslo?) that can be updated more quickly, or something similar?</div><div><br></div><div>I'm always sorta 'weirded out' when people say that they copied some code in the name of 'it was quicker' or we are just 'borrowing it'.</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> John Griffith <<a href="mailto:john.griffith@solidfire.com">john.griffith@solidfire.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, December 11, 2012 3:36 PM<br><span style="font-weight:bold">To: </span> Sam Morrison <<a href="mailto:sorrison@gmail.com">sorrison@gmail.com</a>><br><span style="font-weight:bold">Cc: </span> OpenStack mailing list <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Duplication of code in nova and cinder<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div><br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 4:24 PM, Sam Morrison <span dir="ltr">
<<a href="mailto:sorrison@gmail.com" target="_blank">sorrison@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I attempted to create a volume from an image in cinder and was getting this strange error, turns out it was because I had my glance servers specified as
<a href="https://glanceserver:9292" target="_blank">https://glanceserver:9292</a><br><br>
In cinder the version of images/glance.py is older than the one in nova and is missing the ssl support additions.<br><a href="https://bugs.launchpad.net/cinder/+bug/1089147" target="_blank">https://bugs.launchpad.net/cinder/+bug/1089147</a><br><br>
My real question is why is there one version is nova and one version in cinder. I also think there is quite a bit more unnecessary duplication.<br>
Should it all go into oslo?<br><br>
Cheers,<br>
Sam<br><br><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></blockquote></div>
Hi Sam,
<div><br></div><div>Short answer is "yes".  Need to check scoping etc and make sure that it does in fact fit within the parameters of OSLO.  It's something I thought of a couple weeks ago but to be honest it's been low on my list personally and nobody else that I know of
 has shown an interest in picking it up.</div><div><br></div><div>You'll notice another image related item we're *borrowing* from Nova (cinder.image.image_utils).  In both cases there are slight modifications to fit Cinder's use case that given a bit of work could easily be shared.</div><div><br></div><div>John</div></div></div></span></body></html>