[openstack-dev] Vlan Tenant network

2016-02-27 Thread pratik maru
Hi All,



I would like to to know if it is possible in openstack to configure vlan
network for communication between two VM's data plane nic cards, i.e.
tenant networks.  If yes, can someone please share the configurations and
steps ?

More details : I am trying to launch VM's with 3 nics ( eth0-2), and i want
eth0 to come from a mgmt network, which i have configured as flat type and
I want other two interfaces ( i.e. eth1 and eth2 , which i will be using
for communication between VM instances) to use vlan type network.


Regards

Prati
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to inject files inside VM using Heat [heat]

2014-09-15 Thread pratik maru
Hi

Thanks for your reply.

Can "personality" knob under OS::Nova:Server be used for the same purpose,
if yes, then can you please given an example.

Thanks
Pratik

On Tue, Sep 16, 2014 at 1:09 AM, Denis Makogon 
wrote:

>
>
> On Mon, Sep 15, 2014 at 9:06 PM, pratik maru  wrote:
>
>> Hi All,
>>
>> I am trying to inject a file from outside into a guest using heat, what
>> heat properties can i use for the same ?
>>
>>
> You might take a look at
> https://github.com/openstack/heat-templates/blob/7ec1eb98707dc759c699ad59d46e098e6c06e42c/cfn/F17/PuppetMaster_Single_Instance.template#L80-L156
>
> Also you are able to parametrize file content.
>
>
>> If I am not wrong, there is an option in nova boot "--file" to do the
>> same, do we have an equivalent option in heat also ?
>>
>>
> Correct.
>
>
>> Thanks in advance.
>>
>> Regards
>> Fipuzzles
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> Best regards,
> Denis Makogon
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] How to inject files inside VM using Heat [heat]

2014-09-15 Thread pratik maru
Hi All,

I am trying to inject a file from outside into a guest using heat, what
heat properties can i use for the same ?

If I am not wrong, there is an option in nova boot "--file" to do the same,
do we have an equivalent option in heat also ?

Thanks in advance.

Regards
Fipuzzles
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Attach an USB disk to VM [nova]

2014-09-15 Thread pratik maru
Hi All,

Is there any way to do the same using Heat ?

Thanks
fipuzzles

On Mon, Sep 15, 2014 at 12:09 PM, Serg Melikyan 
wrote:

> Other approach to the way I have described in the mail above is to use
> openstack/os-collect-config
> <https://github.com/openstack/os-collect-config> project to handle
> downloading and running shell script.
>
> On Mon, Sep 15, 2014 at 10:35 AM, Serg Melikyan 
> wrote:
>
>> If data that are you planning to pass to the VM is considerably large
>> Metadata mechanism may be used for passing at least a link to the source of
>> data and simple shell script that will executed on VM with CloudInit right
>> after the boot to obtain data via simple cURL.
>>
>> On Mon, Sep 15, 2014 at 10:20 AM, Denis Makogon 
>> wrote:
>>
>>> 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 
>>>> 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 >>>> > 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 
>>>>>> 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@lists.openstack.org
>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Xiandong Meng
>>>>>> mengxiand...@gmail.com
>>>>>>
>>>>>> ___
>>>>>> OpenStack-dev mailing list
>>>>>> OpenStack-dev@lists.openstack.org
>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> OpenStack-dev mailing list
>>>>> OpenStack-dev@lists.openstack.org
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>>
>>>>>
>>>>
>>> ___
>>> OpenStack-dev mailing list
>>> OpenStack-dev@lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>>
>> --
>> Serg Melikyan, Senior Software Engineer at Mirantis, Inc.
>> http://mirantis.com | smelik...@mirantis.com
>>
>> +7 (495) 640-4904, 0261
>> +7 (903) 156-0836
>>
>
>
>
> --
> Serg Melikyan, Senior Software Engineer at Mirantis, Inc.
> http://mirantis.com | smelik...@mirantis.com
>
> +7 (495) 640-4904, 0261
> +7 (903) 156-0836
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Attach an USB disk to VM [nova]

2014-09-14 Thread pratik maru
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 
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  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@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Regards,
>
> Xiandong Meng 
> mengxiand...@gmail.com
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Attach an USB disk to VM [nova]

2014-09-14 Thread pratik maru
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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev