Make create_stemcell work, set agentId in the vm metadata, better error handling and ip discovering in create_vm