Comment 1 for bug 1633734

Revision history for this message
Turbo Fredriksson (turbo-bayour) wrote :

Looking through the code, it seems it's not the database that's at fault, but the fact that build_request.py:_from_db_object() is called with a 'None' value for "db_req['instance_uuid']", which means that the call by cls._get_all_from_db() in build_request.py:get_all() returns a bogus value somehow/somewhere.

Since I'm admin, I'm assuming that the line in build_request.py:_get_all_from_db()

  query = context.session.query(api_models.BuildRequest)

is the problem.. ?