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
0
votes
0 answers

What logs to check if snapshot for instance get deleted as soon it gets queued in Openstack

I have tried creating a snapshot for the running instance in our openstack setup. Upon clicking, create snapshot creation gets queued but after few minutes it is getting deleted. Not sure what logs to check. I have gone through glance-all.log in…
0
votes
1 answer

cant' make openstack image using packer

I'm trying to build a centos image on openstack with packer. For some reason, the build is terminated in the middle of the script and I can't figure out problems. Additionally, I can't find out any logs in glance. Here is my packer script and error…
0
votes
1 answer

openstack ocata glance creating 0 sized image

When I create new image using glance does not matter if using cli or gui I am getting returned code 0 and image is created but its size is zero. The behavior is slightly different as from GUI my browser crushes but stil image is created from cli I…
0
votes
0 answers

Can't upload data image in OpenStack using curl

After i create an image, i'd want to upload a cirros.img image that i download from http://download.cirros-cloud.net/0.3.5/ I try with the PUT api request like openstack documentation says but it returns me always an error and the image has 0 MB…
Tatta
  • 21
  • 4
0
votes
0 answers

openstack: Failed to launch instance from the glance

We have setup OpenStack using conjure-up on a (Ubuntu LTS server 16.04.3) single machine. All are services are up and running, and successfully I am able to upload images to the glance. We wanted to save these glance images created by "glance…
0
votes
2 answers

Permissions for glance user in Ceph

I use ceph as glance backend but very often i'm not able to delete an image. In my logs I have this error : PermissionError: error unprotecting snapshot So I tried to change user's permissions from: ceph auth caps client.glance mon 'allow r' osd…
Vender Aeloth
  • 690
  • 1
  • 12
  • 27
0
votes
1 answer

Openstack glance sync error

I am working on the OpenStack glance. after I entered the command su -s /bin/sh -c "glance-manage db_sync" glance beside the deprecated messages, I get lots of other errors that are relevant to python errors and *Access denied for user…
Ashkan
  • 11
  • 5
0
votes
1 answer

My image status in the Dashbord always is already line up

My image status in the Dashbord always is already line up. In the VM I use command to list it, it is exists: [root@ha-node1 neutron]# glance image-list +--------------------------------------+---------------------+ | ID …
aircraft
  • 25,146
  • 28
  • 91
  • 166
0
votes
1 answer

Why the `memcached_servers ` do not have `http://` in front of the address?

In the /etc/glance/glance-api.conf, why the memcached_servers do not have http:// in front of the address, you see the auth_uri and auth_url all have. [keystone_authtoken] #... auth_uri = http:// controller:5000 auth_url = http://…
aircraft
  • 25,146
  • 28
  • 91
  • 166
0
votes
1 answer

Create an Open stack Instance or Image from .VMDK file in a volume

I have a bootable raw Volume (myVolume1) with .VMDK file in it. myVolume1 in not mounted to any instance. I would like to create an Instance or an Image from this .VMDK file. I already try to create an Instance from myVolume1 but it say OS not…
user3784080
  • 97
  • 2
  • 13
0
votes
1 answer

glance doesn't work due to authentication fail

I'm setting up Openstack on some machines. I was following this guide http://docs.openstack.org/liberty/install-guide-ubuntu/ until I ran into this problem: When I'm verifying Image service (Glance), I got the following problem: $ cat…
Oriki
  • 1
  • 1
0
votes
1 answer

OpenStack SDK - How to create image with Kernel id and Ramdisk parameters?

I've been trying to create an OpenStack image informing the Kernel Id and Ramdisk Id, using the OpenStack Unified SDK (https://github.com/openstack/python-openstacksdk), but without success. I know this is possible, because the OpenStack CLI have…
0
votes
1 answer

Openstack Python SDK - Glance does not return image MD5

I'm trying to download an OpenStack image from glance using only the Openstack Python SDK, but I only get this error: Traceback (most recent call last): File "/home/openstack/discovery/discovery.py", line 222, in main(sys.argv[1:]) …
Vini.g.fer
  • 11,639
  • 16
  • 61
  • 90
0
votes
1 answer

define keystone_user from openstack/puppet-keystone via hiera?

I am using https://github.com/openstack/puppet-keystone to set up an OpenStack management/controller node. I need to add the 'glance' user to keystone. I want to try and do as much as I can in my hiera data so my manifest will be simple. Here is…
Red Cricket
  • 9,762
  • 21
  • 81
  • 166
0
votes
1 answer

Libcloud: how to upload an image?

I've looked through libcloud docs about OpenStack (https://libcloud.readthedocs.org/en/latest/compute/drivers/openstack.html), but couldn't find any method to upload a new image. Is it possible to just upload a new image, or I can only create an…
Vini.g.fer
  • 11,639
  • 16
  • 61
  • 90