<html><body><p><font size="2">Thanks a lot for your sharing, that's good info, just curious why [1] need zip and base64 encode if my understand is correct</font><br><font size="2">I was told nova need format should be pure vfat or iso9660, I assume it's because actually the config drive itself is making by iso by default</font><br><font size="2">then wrap a zip/base64 format ... thanks</font><br><br><font size="2">[1]</font><a href="https://github.com/openstack/nova/blob/324899c621ee02d877122ba3412712ebb92831f2/nova/virt/ironic/driver.py#L977"><font size="2">https://github.com/openstack/nova/blob/324899c621ee02d877122ba3412712ebb92831f2/nova/virt/ironic/driver.py#L977</font></a><br><br><font size="2">Best Regards! <br><br>Kevin (Chen) Ji 纪 晨<br><br>Engineer, zVM Development, CSTL<br>Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br>Phone: +86-10-82451493<br>Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC </font><br><br><img width="16" height="16" src="cid:1__=8FBB08E6DFB87FF98f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Jim Rollenhagen ---04/19/2018 12:02:20 AM---On Wed, Apr 18, 2018 at 10:56 AM, Matthew Booth <mbooth@r"><font size="2" color="#424282">Jim Rollenhagen ---04/19/2018 12:02:20 AM---On Wed, Apr 18, 2018 at 10:56 AM, Matthew Booth <mbooth@redhat.com> wrote: ></font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Jim Rollenhagen <jim@jimrollenhagen.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">04/19/2018 12:02 AM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [openstack-dev] [Nova] z/VM introducing a new config driveformat</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>On Wed, Apr 18, 2018 at 10:56 AM, Matthew Booth <<a href="mailto:mbooth@redhat.com" target="_blank"><u><font color="#0000FF">mbooth@redhat.com</font></u></a>> wrote:
<ul><br>> I agree with Mikal that needing more agent behavior than cloud-init does<br>> a disservice to the users.<br>><br>> I feel like we get a lot of "but no, my hypervisor is special!"<br>> reasoning when people go to add a driver to nova. So far, I think<br>> they're a lot more similar than people think. Ironic is the weirdest one<br>> we have (IMHO and no offense to the ironic folks) and it can support<br>> configdrive properly.<br><br>I was going to ask this. Even if the contents of the disk can't be<br>transferred in advance... how does ironic do this? There must be a<br>way.</ul><br>I'm not sure if this is a rhetorical question, so I'll just answer it. :) We basically build the configdrive in nova-compute, then gzip and base64 it, and send it to ironic with the deploy request. On the ironic side, we unpack it and write it to the end of the boot disk.<br><br><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_nova_blob_324899c621ee02d877122ba3412712ebb92831f2_nova_virt_ironic_driver.py-23L952-2DL985&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=oGbSbjsg1aTX1kg1lAQIkEY8abfQ9632w8YmP3Lrt-U&s=cZvrTKUUTeRG2-ML9vvzkqbt1WK6uVDfvFMHCLgJM8Q&e="><u><font color="#0000FF">https://github.com/openstack/nova/blob/324899c621ee02d877122ba3412712ebb92831f2/nova/virt/ironic/driver.py#L952-L985</font></u></a> <br><br>// jim<tt><font size="2">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br></font></tt><tt><font size="2"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=oGbSbjsg1aTX1kg1lAQIkEY8abfQ9632w8YmP3Lrt-U&s=Q8_XusVUibDx7ee5WguroOVm00Fl4rw2XSNEHIVOGb0&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=oGbSbjsg1aTX1kg1lAQIkEY8abfQ9632w8YmP3Lrt-U&s=Q8_XusVUibDx7ee5WguroOVm00Fl4rw2XSNEHIVOGb0&e=</a></font></tt><tt><font size="2"><br></font></tt><br><br><BR>
</body></html>