Create Instance on Canonical Distribution of OpenStack Autopilot

asked 2017-06-27 10:29:38 -0500

d@kj gravatar image

My Lab:

  • 1 VM for MAAS
  • 1 VM for JUJU
  • 1 VM for LANDSCAPE
  • 4 VM for OPENSTACK

Canonical Distribution of Openstack is correctly installed on a virtual environment (VMware Esxi), but if I try to create a new instance receive that issue:

Error: Failed to perform requested operation on instance "hubsvr01", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 26ad0d3f-5788-4c74-bd8b-aa114cf56174. Last exception: Image could not be found.].

edit retag flag offensive close merge delete


Can you check if the image exists?

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-28 01:36:02 -0500 )edit

yes, (look here) and the error is the (following). I've also open a post (here)

d@kj gravatar imaged@kj ( 2017-06-28 02:27:19 -0500 )edit

Wow, I didn't know about this compressed tar image format!

You should also check log files, in particular the glance API log and probably the Nova scheduler log.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-28 05:58:49 -0500 )edit

I've also try to create a new image making the upload of ubuntu-16.04-server-cloudimg-amd64-disk1.img, but same error.

d@kj gravatar imaged@kj ( 2017-06-28 08:00:05 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-06-28 15:20:31 -0500

Ciao Riccardo, try uploading the same Ubuntu image as qcow2 disk_format and bare container_format (I noticed you uploaded it as ISO). If it does not work, please paste your controller's glance and nova logs

edit flag offensive delete link more


Hello Antonio this is my juju status (here), and here your suggest (here) but same issue. About the logs which one do you need (here) and (here)?

d@kj gravatar imaged@kj ( 2017-06-29 03:23:14 -0500 )edit

I've found out also an issue about clock time between the Maas server and the nodes used to deploy of Openstack (here), I hope that is not tied to issue above.

d@kj gravatar imaged@kj ( 2017-06-29 03:48:06 -0500 )edit

Try enabling debug for glance and nova services and repeating the test. Interesting logs could be glance-api, nova-scheduler, nova-compute. Are you sure glance backend is working correctly? Try downloading the image with glance --debug image-download <imagename>

Antonio G. gravatar imageAntonio G. ( 2017-06-29 15:38:52 -0500 )edit

I've tried to download that image on glance's node and then run $: glance image-create --name "Ubuntu 16.04LTS Server Image" --disk-format=qcow2 --container-format=ovf --file xenial-server-cloudimg-amd64-disk1.img. The answer: You must provide a username via either --os-username or env[OS_USERNAM

d@kj gravatar imaged@kj ( 2017-07-04 10:43:58 -0500 )edit

You must source your RC file before running the command. You could download your RC file from GUI (Project->Compute->Access&Security->API-Access->Download-RC-file)

Antonio G. gravatar imageAntonio G. ( 2017-07-07 02:02:40 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-06-27 10:29:38 -0500

Seen: 157 times

Last updated: Jun 28 '17