sqlalchemy.exc.ProgrammingError: (ProgrammingError) relation "ix_image_properties_image_id_get" does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
J. Daniel Schmidt |
Bug Description
Will attempting to test glance and pgsql (I'm adding dbconfig-common support) I get the following exception from glance-manage:
---
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
dispatch_
File "/usr/bin/
cmd_func(conf, args)
File "/usr/bin/
glance.
File "/usr/lib/
upgrade(conf, version=version)
File "/usr/lib/
return versioning_
File "/usr/lib/
return _migrate(url, repository, version, upgrade=True, err=err, **opts)
File "<string>", line 2, in _migrate
File "/usr/lib/
return f(*a, **kw)
File "/usr/lib/
schema.
File "/usr/lib/
change.
File "/usr/lib/
script_
File "/usr/lib/
index.
File "/usr/lib/
engine.
File "/usr/lib/
conn.
File "/usr/lib/
**kwargs)
File "/usr/lib/
ret = super(AlterTabl
File "/usr/lib/
return meth(obj, **kw)
File "/usr/lib/
self.execute()
File "/usr/lib/
return self.connection
File "/usr/lib/
params)
File "/usr/lib/
statement, parameters
File "/usr/lib/
context)
File "/usr/lib/
context)
File "/usr/lib/
cursor.
sqlalchemy.
'ALTER INDEX ix_image_
Changed in glance: | |
importance: | Undecided → High |
tags: | added: essex-rc-potential |
Changed in glance: | |
milestone: | none → essex-rc3 |
tags: | removed: essex-rc-potential |
Changed in glance: | |
milestone: | essex-rc3 → 2012.1 |
At this point, we don't officially support pgsql. We've got several bugs filed related to the issue: https:/ /bugs.launchpad .net/glance/ +bugs?field. tag=postgresql. I am interested if you ran into any of the other bugs filed.
As for this specific issue: it appears that we simply need to look up the index name before attempting to rename it.