<div dir="ltr"><div><span style="white-space:nowrap;font-family:arial,sans-serif">Hi,</span><br></div><div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">I'm trying to define config_drive by using volume-id for OS::Nova::Server in a Heat template. </span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server">http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server</a> says that:</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">config_drive : String</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">- value for config drive either boolean, or volume-id.</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">- Updates cause replacement.</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">- Optional property.</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">I'm always getting an error: </span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">Resource create failed: BadRequest: Invalid  config_drive provided. (HTTP 400)</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">I've tried with providing ID of the existing glance image or the ID of the existing Cinder volume (it's a bit unclear what is the volume-id that should be used).</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">The idea for me would be to prepare an image/volume containing configurations needed by the VM beforehand and then when starting VM I would bring this info to VM via config_disk.</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">Any tips?</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><br>
</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">Many thanks,</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">-Juha</span></font></div></div>
<div><br></div><div><dt></dt><dt><span style="font-size:14px;color:rgb(62,67,73);font-family:Arial,sans-serif"><br></span></dt></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div>
<div><br></div><div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div></div>