Questions tagged [openstack-glance]

The Glance project provides a service where users can upload and discover data assets that are meant to be used with other services. This currently includes images and metadata definitions.

Glance image services include discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.

The Glance architecture consists of several components:

  • A client - any application that uses Glance server.
  • REST API - exposes Glance functionality via REST.
  • Database Abstraction Layer (DAL) - an application programming interface which unifies the communication between Glance and databases.
  • Glance Domain Controller - middleware that implements the main Glance functionalities: authorization, notifications, policies, database connections.
  • Glance Store - organizes interactions between Glance and various data stores.
  • Registry Layer - optional layer organizing secure communication between the domain and the DAL by using a separate service.

Source

52 questions
7
votes
2 answers

Openstack python API: how to download image from glance using the python api

I am trying to write a python program to download images from glance service. However, I could not find a way to download images from the cloud using the API. In the documentation which can be found here:…
user2521791
  • 1,621
  • 2
  • 14
  • 13
4
votes
3 answers

devstack glance error at installation

+functions:wait_for_service:407 +lib/glance:start_glance:355 +functions-common:die:186 [Call Trace] ./stack.sh:1275:start_glance /opt/stack/devstack/lib/glance:355:die [ERROR] /opt/stack/devstack/lib/glance:355 g-api did not start Error on exit OS…
sung-il
  • 151
  • 1
  • 2
  • 7
4
votes
3 answers

Convert .iso to .qcow2

I would like to convert windows .iso to .qcow2 format and use in openstack. Tried using vbox: https://www.virtualbox.org/ Not sure how to add cloud-init package to the OS, configure grub (steps 11&12) Also tried using qemu-img commands in windows…
Stark
  • 61
  • 1
  • 1
  • 6
3
votes
5 answers

Failed to discover available identity versions when contacting http://controller:5000/v3

When trying to setup a controller node for openstack USSURI version. I'm asked to setup glance service as VM images management sub-service. As of requirement : article (under ubuntu 18.04) : I created a file named : admin-openrc.sh , under location…
CloudRock
  • 159
  • 2
  • 5
  • 14
3
votes
2 answers

Instead of Glances, I installed openstack-glance by mistake

First of all, I know nothing about openstack, keystone, glance ... But, I made a mistake when I install Glances in my Debian server. I tried to install glances following this link I have done this : sudo apt-get install glances In fact, Instead of…
孙悟空
  • 1,215
  • 1
  • 11
  • 26
2
votes
3 answers

Failed to create openStack instance

I'm new to open stack , and when I try to create instance it gives me this error: [Error : Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 57100c2f-a290-4165-b4c0-ba2202cfb728.]
Samaha Oum
  • 23
  • 1
  • 5
2
votes
1 answer

Openstack Devstack installation error : g-api did not start in ubuntu 18.04

I'm installing openstack using All-In-One Single Machine setup, I run stack.sh script for devstack setup. On starting glance service I'm getting following error on my console: ++:: curl -g -k --noproxy '*' -s…
bhushna
  • 21
  • 2
2
votes
1 answer

"Error: No valid host was found. There are not enough hosts available"+Newton

I have installed openstack (Newton release) on Ubuntu 16.04 (all in one). every service is running well, but when I try to launch an instance, an error occurs: Error: Failed to perform requested operation on instance "test1", the instance has an…
2
votes
0 answers

Warning: Couldn't read data from file

When i try to do an HTTP PUT request to upload a data file .img on image OpenStack like this: curl -i -X PUT -H "X-Auth-Token: $Token" -H "Content-Type: application/octet-stream" -d "@/home/nic/cirros-0.3.5-x86_64-disk.img"…
Tatta
  • 21
  • 4
1
vote
0 answers

Weird behavior of Openstack SDK for java: PATCH calls with incorrect headers

Environment Java 17 + Spring com.github.openstack4j.core openstack4j 3.10 Call String imageId =
1
vote
0 answers

Openstack Image create fails "ConflictException: 409: Client Error for url: https://x.x.x.x:9292/v2/images/8f78f59e-0b60-477e-aec6-810af4646c69/file

I just upgraded from OSA-Rocky to OSA-Stein and everything seems to work fine except when I try and upload an image via the python-openstackclient CLI. We are running ceph nautilus as our storage. Running the --debug option on the command gives…
rkruck
  • 11
  • 1
1
vote
1 answer

Cinder volumes fail to create when using a qcow2 image. Openstack/Packstack

We are using a packstack installation of Openstack-Train with NFS as the backend driver for Cinder. We are unable to create VMs using qcow2 images which were built from a cinder volume. Message Build of instance…
1
vote
0 answers

Error while listing or creating an image in Openstack

I have a fresh installation of Openstack on Ubuntu 16.04, through Devstack. I run glance image-list But i get this error : An auth plugin is required to determine endpoint URL PS : the error persists even when i run the openrc-admin.sh file.…
1
vote
1 answer

Openstack : Can't create volume from image (Space issue)

I'm trying to convert a CentOS7 image to a volume, the volume is create but it's empty and i get this error ==> /var/log/cinder/volume.log <== 2018-02-26 21:37:10.359 4488 ERROR cinder.volume.flows.manager.create_volume…
makz
  • 51
  • 9
1
vote
0 answers

glance image-create fails with error Unable to establish connection

I installed openstack using conjure-up(single node installation - all services of openstack on one server, this is for experimental purposes) and then was able to upload couple of sample images as follows glance image-create --name "xenial-cloud1"…
Abbas
  • 3,144
  • 2
  • 25
  • 45
1
2 3 4