rbd: set env before running sudo

Signed-off-by: Sage Weil <sage@inktank.com>