Ask Your Question

glance uploadimage HhttpInternalServerError HTTP500

asked 2014-04-24 05:08:35 -0500

New-stack gravatar image

updated 2014-04-24 09:41:18 -0500

hi people, i try to do the verify about glance after installation but this error is on my way!

I have read about this error on , but i not found solution... Post log of: api

Need a log of glance-registry? Beacuse in this log i read a DBerror...

DBError: (ProgrammingError) (1146, "Table 'glance.images' doesn't exist") 'INSERT INTO images (created_at, updated_at, deleted_at, deleted, id, name, disk_format, container_format, size, virtual_size, status, is_public, checksum, min_disk, min_ram, owner, protected) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)' (datetime.datetime(2014, 4, 24, 14, 31, 13, 160593), datetime.datetime(2014, 4, 24, 14, 31, 13, 160608), None, 0, 'f01e6ef7-983c-419c-9fb1-ee3167b28e8a', 'cirros-0.3.2-x86_64', 'qcow2', 'bare', 0, None, 'queued', 1, None, 0, 0, '6a5d9bb49b9a4fc584312fda1f503b80', 0)

I use openstack not devstack installation package...

edit retag flag offensive close merge delete


Duplicate question of link

SGPJ gravatar imageSGPJ ( 2014-04-24 06:24:13 -0500 )edit

I have already read that post, but in the log file there are more rows that may be raised error ! Can you look it please and give me a idea about?

New-stack gravatar imageNew-stack ( 2014-04-24 06:38:04 -0500 )edit

You could try enabling debug and verbose mode in your glance.conf file. Then restart glance services and retry the upload command.

Pastebin your new log file on and post the link here.

Antonio G. gravatar imageAntonio G. ( 2014-04-24 08:52:24 -0500 )edit

i have update the originary question with log

New-stack gravatar imageNew-stack ( 2014-04-24 09:42:30 -0500 )edit

which is the response of:

keystone endpoint-list

what about DB init, did the following command correctly work:

su -s /bin/sh -c "glance-manage db_sync" glance
Antonio G. gravatar imageAntonio G. ( 2014-04-24 10:22:05 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-05-03 13:36:59 -0500

User New-stack solved his problem copying the glance DB structure from a previous DEVSTACK installation. The problem was that the mysql Glance DB was incomplete as it only contained the migration table (and not all other structural tables).

edit flag offensive delete link more

answered 2014-05-04 14:56:54 -0500

New-stack gravatar image

updated 2014-05-04 14:57:54 -0500

Exactly! I have copy only the structure of glance db from mysql server installed on a machine with a previous installation of devstack (grizzly) and import the structure, into new installation of openstack ICEhouse! The db are the same and are 100% compatibility! I'm sorry for the delay to up the 3d.

edit flag offensive delete link more

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


Asked: 2014-04-24 05:08:35 -0500

Seen: 397 times

Last updated: May 04 '14