[openstack-dev] [Nova][Docker] What are the plans or thoughts about providing volumes aka folder mounts

Daniel Kuffner daniel.kuffner at gmail.com
Sun Dec 8 13:52:16 UTC 2013


Yes agree it not very cloud like. Thanks for pointing out the Manila
project, didn't know about it.





On Fri, Dec 6, 2013 at 5:25 PM, Russell Bryant <rbryant at redhat.com> wrote:
> On 12/06/2013 10:54 AM, Daniel Kuffner wrote:
>> Hi All,
>>
>> We are using in our company for a prototype the docker hypervisor on
>> openstack.  We have the need to mount a folder inside of a container.
>> To achieve this goal I have implemented a hack which allows to specify
>> a folder mount via nova metadata. For example a heat template could
>> look like:
>>
>>  my-container:
>>     Type: OS::Nova::Server
>>     Properties:
>>       flavor: m1.large
>>       image: my-image:latest
>>       metadata:
>>          Volumes: "/host/path:/guest/path"
>>
>> This approach is of course not perfect and even a security risk (which
>> is in our case no issue since we are not going to provide a public
>> cloud).
>> Any other ideas or plans how to provide the volume/folder mount in the future?
>
> I think *directly* specifying a host path isn't very cloudy.  We don't
> really have an abstraction appropriate for this yet.  Manila [1]
> (filesystem aaS) seems to be the closest thing.  Perhaps some work in
> Manila and some Nova+Manila integration would be the right direction here.
>
> Thoughts?
>
> [1] https://wiki.openstack.org/wiki/Manila_Overview
>
> --
> Russell Bryant
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list