Zun

"zun list" command shows "Internal Server Error"

Bug #1691084 reported by Ashi Kansal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Incomplete
Undecided
Ashi Kansal

Bug Description

Getting below error message, under the screen logs of zun-api:

DBError: (pymysql.err.InternalError) (1054, u"Unknown column 'container.websocket_url' in 'field list'") [SQL: u'SELECT .................... container.image_driver AS container_image_driver, container.websocket_url AS container_websocket_url, container.websocket_token AS container_websocket_token \nFROM container \nWHERE container.project_id = %(project_id_1)s ORDER BY container.id ASC \n LIMIT %(param_1)s'] [parameters: {u'project_id_1': u'ecd931cd724645d98fc2c833e3dd6cf3', u'param_1': 1000}]

BUG review id from where introduced : 462373

Description:
SQL Query formed is correct but in Mysql under "zun" database, "container" table is not having columns "websocket_url" and "websocket_token", due to which query is not able to fetch value for above listed columns.

Changed in zun:
assignee: nobody → Ashi Kansal (ashi-kansal)
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :

may be you need to run, 'zun-db-manage upgrade'

Revision history for this message
hongbin (hongbin034) wrote :

I am going to mark this bug as "Imcompleted". Will revisit the status after receiving response to @Pradeep's question.

Changed in zun:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.