Ask Your Question
0

Create Instance on Canonical Distribution of OpenStack Autopilot

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

Riccardo M. 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

Comments

Can you check if the image exists?

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

yes, https://pasteboard.co/2vBQsrGUs.png (look here) and the error is the https://pasteboard.co/2vDMzXUyQ.png (following). I've also open a post https://askubuntu.com/questions/929630/create-instance-on-canonical-distribution-of-openstack-autopilot (here)

Riccardo M. gravatar imageRiccardo M. ( 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.

Riccardo M. gravatar imageRiccardo M. ( 2017-06-28 08:00:05 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

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

Comments

Hello Antonio this is my juju status https://paste.ubuntu.com/24979279/ (here), and here your suggest https://pasteboard.co/2VCJgyfSV.png (here) but same issue. About the logs which one do you need https://pasteboard.co/2V2CcBBEl.png (here) and https://pasteboard.co/2V4xttZV3.png (here)?

Riccardo M. gravatar imageRiccardo M. ( 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 https://askubuntu.com/questions/930191/different-clock-time-on-maas-server-and-its-nodes (here), I hope that is not tied to issue above.

Riccardo M. gravatar imageRiccardo M. ( 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

Riccardo M. gravatar imageRiccardo M. ( 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 105 times

Last updated: Jun 28 '17