[one-users] Sunstone image upload to Ceph

Jaime Melis jmelis at opennebula.org
Fri Feb 21 04:06:47 PST 2014


Hi Stuart,

the patch is written for a bash file, since the final driver actions
are generally written in bash (with a few exceptions). Anyways, lots
of Rubyists around in this list so if you bump into Ruby problems it's
a good place to be :-)

cheers,
Jaime

On Fri, Feb 21, 2014 at 12:58 PM, Stuart Longland <stuartl at vrt.com.au> wrote:
> Hi Jaime,
> On 21/02/14 20:01, Jaime Melis wrote:
>> Hi Stuart,
>>
>> no, it doesn't support this feature. To be honest, I don't think
>> removing that ssh connection will actually be that much of a
>> performance gain, especially since registering images is not a very
>> frequent operation.
>
> Well, I guess it depends on the scenario.  I noticed on a 16GB image the
> ssh-to-self process took a few minutes.
>
>> However, that being said, one of the great things about OpenNebula is
>> that you can hack to make it work like you expect/want it to. I've
>> written a small patch that will make the image creation script work as
>> you propose:
>>
>> https://gist.github.com/9131673 (Apply that patch to
>> /var/lib/one/remotes/datastore/ceph/cp)
>>
>> Please keep in mind that I have *not* tested this, so use it with
>> caution, but I think it's what you want.
>
> This is true, and one of the reasons we choose it over something
> off-the-shelf like VMWare.  Ruby isn't my forté, but nothing stops me
> from learning and getting my hands dirty.
>
> I'll have a look at that patch on Monday when I'm next at work.
>
> Thanks.
> Regards,
> --
> Stuart Longland
> Contractor
>      _ ___
> \  /|_) |                           T: +61 7 3535 9619
>  \/ | \ |     38b Douglas Street    F: +61 7 3535 9699
>    SYSTEMS    Milton QLD 4064       http://www.vrt.com.au
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org



More information about the Users mailing list