[openstack-dev] Attach an USB disk to VM [nova]
Denis Makogon
dmakogon at mirantis.com
Mon Sep 15 06:20:58 UTC 2014
Agreed with Max.
With nova you can use file injection mechanism. You just need to build a
dictionary of file paths and file content. But I do agree that it's not the
same as you want. But it's more than
valid way to inject files.
Best regards,
Denis Makogon
понедельник, 15 сентября 2014 г. пользователь Maksym Lobur написал:
> Try to use Nova Metadata Serivce [1] or Nova Config Drive [2]. There are
> options to pass Key-Value data as well as whole files during VM boot.
>
> [1]
> http://docs.openstack.org/grizzly/openstack-compute/admin/content/metadata-service.html
> [2]
> http://docs.openstack.org/grizzly/openstack-compute/admin/content/config-drive.html
>
> Best regards,
> Max Lobur,
> OpenStack Developer, Mirantis, Inc.
>
> Mobile: +38 (093) 665 14 28
> Skype: max_lobur
>
> 38, Lenina ave. Kharkov, Ukraine
> www.mirantis.com
> www.mirantis.ru
>
> On Sun, Sep 14, 2014 at 10:21 PM, pratik maru <fipuzzles at gmail.com
> <javascript:_e(%7B%7D,'cvml','fipuzzles at gmail.com');>> wrote:
>
>> Hi Xian,
>>
>> Thanks for replying.
>>
>> I have some data which i wants to be passed to VM. To pass this data, I
>> have planned this to attach as an usb disk and this disk will be used
>> inside the vm to read the data.
>>
>> What I am looking is for the functionality similar to "-usb" option with
>> qemu.kvm command.
>>
>> Please let me know, how it can be achieved in openstack environment.
>>
>> Thanks
>> fipuzzles
>>
>> On Mon, Sep 15, 2014 at 8:14 AM, Xiandong Meng <mengxiandong at gmail.com
>> <javascript:_e(%7B%7D,'cvml','mengxiandong at gmail.com');>> wrote:
>>
>>> What is your concrete user scenario for this request?
>>> Where do you expect to plugin the USB disk? On the compute node that
>>> hosts the VM or from somewhere else?
>>>
>>> On Mon, Sep 15, 2014 at 3:01 AM, pratik maru <fipuzzles at gmail.com
>>> <javascript:_e(%7B%7D,'cvml','fipuzzles at gmail.com');>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there any way to attach an USB disk as an external disk to VM while
>>>> booting up the VM ?
>>>>
>>>> Any help in this respect will be really helpful.
>>>>
>>>>
>>>> Thanks
>>>> fipuzzles
>>>>
>>>> _______________________________________________
>>>> OpenStack-dev mailing list
>>>> OpenStack-dev at lists.openstack.org
>>>> <javascript:_e(%7B%7D,'cvml','OpenStack-dev at lists.openstack.org');>
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Xiandong Meng <javascript:_e(%7B%7D,'cvml','mengxiandong at gmail.com');>
>>> mengxiandong at gmail.com
>>> <javascript:_e(%7B%7D,'cvml','mengxiandong at gmail.com');>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> <javascript:_e(%7B%7D,'cvml','OpenStack-dev at lists.openstack.org');>
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> <javascript:_e(%7B%7D,'cvml','OpenStack-dev at lists.openstack.org');>
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140915/bf3b925e/attachment.html>
More information about the OpenStack-dev
mailing list