In addition to previously written I found a problem with nova_sudoers:
I was trying to delete volumes and I always got an error and volumes change to error_deleting staus. Looking at nova-volume log I found the error happened while trying to run:
sudo dd if=/dev/zero of=/dev/mapper/nova--volumes-volume--00000005 count=1024 bs=1M
Getting:
no tty present and no askpass program specified
I solved this adding:
/bin/dd, \
to nova_sudoers, but this should be included by default.
In addition to previously written I found a problem with nova_sudoers:
I was trying to delete volumes and I always got an error and volumes change to error_deleting staus. Looking at nova-volume log I found the error happened while trying to run:
sudo dd if=/dev/zero of=/dev/ mapper/ nova--volumes- volume- -00000005 count=1024 bs=1M
Getting:
no tty present and no askpass program specified
I solved this adding:
/bin/dd, \
to nova_sudoers, but this should be included by default.