"nova rebuild" fails because there is a mismatch between what is sent by the api (int) and what the libvirt connection expects (string)
in nova.virt.libvirt.connection there is a call to sha1(), which passes as parameter disk_images['image_id]. If this parameter is a int (this is the case when we execute nova rebuild), sha1 throws an exception, and the rebuild command fails.
"nova rebuild" fails because there is a mismatch between what is sent by the api (int) and what the libvirt connection expects (string)
in nova.virt. libvirt. connection there is a call to sha1(), which passes as parameter disk_images[ 'image_ id]. If this parameter is a int (this is the case when we execute nova rebuild), sha1 throws an exception, and the rebuild command fails.