For this specific bug with kernel_id and ramdisk_id, the easiest fix is to just not provide them if they are not set, so continue here:
https://github.com/openstack/nova/blob/master/nova/image/glance.py#L852
For this specific bug with kernel_id and ramdisk_id, the easiest fix is to just not provide them if they are not set, so continue here:
https:/ /github. com/openstack/ nova/blob/ master/ nova/image/ glance. py#L852