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
1
vote
1 answer

Invalid API version parameter. Supported values are [1, 2] in OpenStack Glance

After I install the glance, When I execute the: [root@ha-node1 ~]# glance image-create --name "cirros-0.3.4-x86_64" --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress I get the below…
aircraft
  • 25,146
  • 28
  • 91
  • 166
1
vote
1 answer

Openstack Newton Glance Error during db_sync

During the initial configuration of Glance, while running: su -s /bin/sh -c "glance-manage db_sync" glance` I get the following error: 2017-07-18 12:14:04.381 14001 INFO glance.db.sqlalchemy.migrate_repo.schema [-] creating table…
mctwynne
  • 91
  • 2
  • 5
1
vote
6 answers

openstack CRITICAL keystonemiddleware.auth_token [-] Unable to validate

I'm installing Openstack Newton on Ubuntu 16.04 manually using the install documentation: https://docs.openstack.org/newton/install-guide-ubuntu/glance-install.html I missed a few bits in glance-registry.conf before populating the image service…
KrayzieGSX
  • 11
  • 1
  • 3
1
vote
1 answer

glance image-list with specific image name

I run this command to get specific nova instance.here in my case "MyProxy-VM" nova list --name MyProxy-VM --fields id |grep MyProxy-VM |cut -f 2 -d "|" It works fine and also bit faster I want to list specific glance image say "Ubuntu-14.04" glance…
Vikram Ranabhatt
  • 7,268
  • 15
  • 70
  • 133
1
vote
1 answer

is it possible to call API through Glance apple watch using NSUserActivity

as apple suggested use Handoff in Glance . I wants to call web API in Glance Interface , for this I did following things - (void)awakeWithContext:(id)context { [super awakeWithContext:context]; [self CreateUaerActivity];…
Anupam Mishra
  • 3,408
  • 5
  • 35
  • 63
0
votes
1 answer

Create a VM from snapshot use /dev/VDA instead /dev/SDA

We have an OpenStack instance configured with multiple images, including CentOS, Redhat, and Ubuntu. When creating a new instance, the root partition attaches as SCSI without any issues. All images are correctly set to use the appropriate…
F.Rosado
  • 487
  • 4
  • 20
0
votes
0 answers

OpenStack volum create from image fails and the error is 'qemu_thread_create: Resource temporarily unavailable'. How to fix it?

I am setting the OPENSTACK yoga version. After building all modules, I encountered a problem.In the process of creating a volume, if I do not select the volume source, I can create a blank volume normally. But if I choose a volume source (such as…
lhclhc1231
  • 11
  • 2
0
votes
0 answers

How to change project id of openstack glance images? [Terrafrom]

I would like to connect my glans image to a specific project. How can I do this with terraform? I use openstack_images_image_access_v2 but it does not work resource "openstack_images_image_v2" "upload_amphora_images" { for_each = …
0
votes
2 answers

Openstack Glance image create "The resource could not be found. (HTTP 404)"

When I try to create an image, I encounter a problem - The resource could not be found. (HTTP 404) I do the following steps edit the /etc/glance/glance-api.conf [database] connection =…
And
  • 5
  • 2
0
votes
0 answers

[Openstack]: Upload Image through API using cURL

I have set up Openstack 4.0.2 (Train release). I'm trying to provide APIs to my client for building a web application. Everything works on the command line as well as on Horizon Dashboard. However, through API right from the token generation to…
santhosh j
  • 91
  • 4
0
votes
0 answers

Not able to start OpenStack glance-api

Within the process of installing OpenStack on my servers, I'm at the point to configure and verify the glance service. Everything seems to work, but I'm not able to create an image, caused by an non starting glance-api. The dedicated glance-api.log…
andreas.teich
  • 789
  • 1
  • 12
  • 22
0
votes
1 answer

openstack image create throws BadRequestException

I've installed ussuri version of openstack and everything seems to be fine, but there is a wierd problem in glance. When I use glance image-create command, everything is fine and it works correctly, but, when I use openstack image create command, as…
Milad Yarmohammadi
  • 1,253
  • 2
  • 22
  • 37
0
votes
2 answers

Unable to install Openstack with Devstack on Ubuntu 20

I have been trying to install Openstack on Ubuntu 20 O.S VM in Virtualbox and getting the following error. [Call Trace] ./stack.sh:1311:start_glance /opt/stack/devstack/lib/glance:480:die [ERROR] /opt/stack/devstack/lib/glance:480 g-api did not…
0
votes
1 answer

Openstack Image upload

I'm new to openstack and i'm trying to access openstack services using python SDK . I tried to upload an image to openstack using create function with data (image to be written) of the image included as parameter , the script executed and there…
Nishad guru
  • 33
  • 2
  • 5
0
votes
1 answer

OpenStack multi-node setup doesn't show VM images on Dashboard

I'm new to OpenStack and I used DevStack to configure a multi-node dev environment, currently compound of a controller and two nodes. I followed the official documentation and used the development version of DevStack from the official git repo. The…