Comment 2 for bug 1940894

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Ironic virt driver generates the config driver here [1] with the networking metadata specific for ironic including the bonding. When the nova-metadata service gathers the metadata for an instance it calls the virt driver agnostic nova.virt.netutils.get_network_metadata()[2] that does not contain any virt driver specific information.

This causing the discrepancy between the content of the config driver and the content of the metadata service.

I'm not sure it is easy to fix but worth a discussion.

[1] https://github.com/openstack/nova/blob/c37a4656bbbf6fca169fb1456912a5020f911698/nova/virt/ironic/driver.py#L1076
[2] https://github.com/openstack/nova/blob/c37a4656bbbf6fca169fb1456912a5020f911698/nova/virt/netutils.py#L168