Handle API errors in VM and SSH key creation

Change-Id: I71c795235d73a29b7ec44d93c77581c8b826d227