If boot from image,we must check it. So there is two ways to solve this problem.One is to check whether is boot from volume before _check_requested_image().The other one is to check it in _check_requested_image() to avoid it.
I have submit a patch about this problem with the second way.You can test whether it's solved or not :)
You are right. There is no need to check the disk in flavor if boot from volume.
But in nova code, it is a common function : /github. com/openstack/ nova/blob/ master/ nova/compute/ api.py# L651
https:/
If boot from image,we must check it. So there is two ways to solve this problem.One is to check whether is boot from volume before _check_ requested_ image() .The other one is to check it in _check_ requested_ image() to avoid it.
I have submit a patch about this problem with the second way.You can test whether it's solved or not :)