Nova osapi patch for launchpad bug 1235220