On Wed, Apr 18, 2018 at 10:56 AM, Matthew Booth <mbo...@redhat.com> wrote:

>
> > I agree with Mikal that needing more agent behavior than cloud-init does
> > a disservice to the users.
> >
> > I feel like we get a lot of "but no, my hypervisor is special!"
> > reasoning when people go to add a driver to nova. So far, I think
> > they're a lot more similar than people think. Ironic is the weirdest one
> > we have (IMHO and no offense to the ironic folks) and it can support
> > configdrive properly.
>
> I was going to ask this. Even if the contents of the disk can't be
> transferred in advance... how does ironic do this? There must be a
> way.
>

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.

https://github.com/openstack/nova/blob/324899c621ee02d877122ba3412712ebb92831f2/nova/virt/ironic/driver.py#L952-L985


// jim
__________________________________________________________________________
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

Reply via email to