<div dir="ltr">Sure, take a look at Software Configuration feature of Heat <a href="https://wiki.openstack.org/wiki/Heat/Blueprints/hot-software-config-spec">https://wiki.openstack.org/wiki/Heat/Blueprints/hot-software-config-spec</a><br><br>Examples of SoftwareConfiguration usage may be found here: <a href="https://git.openstack.org/cgit/openstack/heat-templates/tree/hot/software-config">https://git.openstack.org/cgit/openstack/heat-templates/tree/hot/software-config</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 1:54 PM, pratik maru <span dir="ltr"><<a href="mailto:fipuzzles@gmail.com" target="_blank">fipuzzles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>Is there any way to do the same using Heat ?</div><div><br></div><div>Thanks</div><div>fipuzzles</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 12:09 PM, Serg Melikyan <span dir="ltr"><<a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Other approach to the way I have described in the mail above is to use <a href="https://github.com/openstack/os-collect-config" target="_blank">openstack/os-collect-config</a> project to handle downloading and running shell script.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 10:35 AM, Serg Melikyan <span dir="ltr"><<a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 10:20 AM, Denis Makogon <span dir="ltr"><<a href="mailto:dmakogon@mirantis.com" target="_blank">dmakogon@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Agreed with Max.<div>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 </div><div>valid way to inject files.<br><br>Best regards,</div><div>Denis Makogon</div><div><br>понедельник, 15 сентября 2014 г. пользователь Maksym Lobur написал:<div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>[1] <a href="http://docs.openstack.org/grizzly/openstack-compute/admin/content/metadata-service.html" target="_blank">http://docs.openstack.org/grizzly/openstack-compute/admin/content/metadata-service.html</a></div><div>[2] <a href="http://docs.openstack.org/grizzly/openstack-compute/admin/content/config-drive.html" target="_blank">http://docs.openstack.org/grizzly/openstack-compute/admin/content/config-drive.html</a></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font color="#444444">Best regards,<br>Max Lobur,<br>OpenStack Developer, Mirantis, Inc.<br></font><div><b><font color="#444444"><br></font></b></div><font color="#444444">Mobile: <a href="tel:%2B38%20%28093%29%20665%2014%2028" value="+380936651428" target="_blank">+38 (093) 665 14 28</a><br>Skype: max_lobur<br></font><div><font color="#444444"><br></font></div><font color="#444444">38, Lenina ave. Kharkov, Ukraine</font><br><a href="http://www.mirantis.com" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru" target="_blank">www.mirantis.ru</a></div></div>
<br><div class="gmail_quote">On Sun, Sep 14, 2014 at 10:21 PM, pratik maru <span dir="ltr"><<a>fipuzzles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Xian,<div><br></div><div>Thanks for replying.</div><div><br></div><div>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.</div><div><br>What I am looking is for the functionality similar to "-usb" option with qemu.kvm command.</div><div><br></div><div>Please let me know, how it can be achieved in openstack environment.</div><div><br></div><div>Thanks</div><div>fipuzzles</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 8:14 AM, Xiandong Meng <span dir="ltr"><<a>mengxiandong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What is your concrete user scenario for this request? <br>Where do you expect to plugin the USB disk? On the compute node that hosts the VM or from somewhere else?<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Sep 15, 2014 at 3:01 AM, pratik maru <span dir="ltr"><<a>fipuzzles@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi, <div><br>Is there any way to attach an USB disk as an external disk to VM while booting up the VM ?</div><div><br></div><div>Any help in this respect will be really helpful.</div><div><br></div><div><br></div><div>Thanks</div><div>fipuzzles</div></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a>OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr"><div>Regards,<br><br>Xiandong Meng<a></a><br></div><div><a>mengxiandong@gmail.com</a><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a>OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a>OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div dir="ltr"><div>Serg Melikyan, Senior Software Engineer at Mirantis, Inc.<br></div><div><a href="http://mirantis.com/" target="_blank">http://mirantis.com</a> | <a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a><br><div><br><a href="tel:%2B7%20%28495%29%C2%A0640-4904" value="+74956404904" target="_blank">+7 (495) 640-4904</a>, 0261</div><div><a href="tel:%2B7%20%28903%29%20156-0836" value="+79031560836" target="_blank">+7 (903) 156-0836</a></div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Serg Melikyan, Senior Software Engineer at Mirantis, Inc.<br></div><div><a href="http://mirantis.com/" target="_blank">http://mirantis.com</a> | <a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a><br><div><br><a href="tel:%2B7%20%28495%29%C2%A0640-4904" value="+74956404904" target="_blank">+7 (495) 640-4904</a>, 0261</div><div><a href="tel:%2B7%20%28903%29%20156-0836" value="+79031560836" target="_blank">+7 (903) 156-0836</a></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Serg Melikyan, Senior Software Engineer at Mirantis, Inc.<br></div><div><a href="http://mirantis.com/" target="_blank">http://mirantis.com</a> | <a href="mailto:smelikyan@mirantis.com" target="_blank">smelikyan@mirantis.com</a><br><div><br>+7 (495) 640-4904, 0261</div><div>+7 (903) 156-0836</div></div></div>
</div>