Ask Your Question
0

Error accessing Glance images in Kilo: AttributeError at /project/images/instance-id

asked 2015-11-04 05:20:52 -0500

fhussain gravatar image

I have installed OpenStack kilo on a single machine using devstack. When I click at an image (e.g. cirros-0.3.4-x86_64-uec) in the Dashboard, I see this error, due to which I am unable to launch it.

AttributeError at /project/images/d55c2a4c-3c09-4739-b4fb-6965a9112171/

id

Request Method:     GET
Request URL:    http://10.3.212.132/project/images/d55c2a4c-3c09-4739-b4fb-6965a9112171/
Django Version:     1.7.10
Exception Type:     AttributeError
Exception Value:    id

Exception Location:     /usr/local/lib/python2.7/dist-packages/glanceclient/openstack/common/apiclient/base.py in __getattr__, line 494
Python Executable:  /usr/bin/python

Please help me resolve the issue.

edit retag flag offensive close merge delete

Comments

@SGPJ, @dbaxps: could you please help me?..Glance service is working fine i.e. there are no errors in its logs.

fhussain gravatar imagefhussain ( 2015-11-06 02:06:13 -0500 )edit

I have checked that all the services are running perfectly with the exception of cinder-backup(c-bak). It gives this error "Volume group "stack-volumes-lvmdriver-1" not found". Has this anything to do with the above problem in glance?

fhussain gravatar imagefhussain ( 2015-11-06 02:10:27 -0500 )edit
  1. How important is Kilo for you ? I installed Liberty via devstack on 14.04.3 with no problems
  2. Why you need devstack so badly ? If you do need Kilo install via RDO packstack on CentOS 7.1
dbaxps gravatar imagedbaxps ( 2015-11-06 02:25:06 -0500 )edit

I've the same issue. Ubuntu 14.04 + OpenStack Kilo (Multi Node)

KoSuKe gravatar imageKoSuKe ( 2015-11-06 02:48:26 -0500 )edit

Can you use the CLI client? It provides more detail. Or check the glance api log or other glance logs?

Volume group "stack-volumes-lvmdriver-1" not found

Could it be that you rebooted that host? The VG resides on a loopbacked file; you need to run losetup manually after a reboot.

Bernd Bausch gravatar imageBernd Bausch ( 2015-11-08 22:57:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-12 04:40:37 -0500

jokke gravatar image

That error looks like dependency issue. Please make sure that you don't install requests from distribution packages and that it's within the supported versions. (If you install requests from pypi the vendored urllib which is known to work with requests is used and this issue should disappear.)

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

1 follower

Stats

Asked: 2015-11-04 05:20:52 -0500

Seen: 433 times

Last updated: Nov 04 '15