Comment 3 for bug 681774

Revision history for this message
Rafael Durán Castañeda (rafadurancastaneda) wrote : Re: nova_sudoers is brittle, should use proper rootwrap

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.