luci logs "Database object for cluster <cluster> not found" and a traceback with "No row was found for one()" when adding an existing cluster to Conga in a RHEL 6 High Availability cluster

Solution Unverified - Updated -

Issue

  • When I go to "Manage Clusters" and use the "Add" function to import an existing cluster, I see errors in the luci log stating that a "Database object" was not found, and "No row was found for one()"
16:10:28,905 ERROR [luci.lib.db_helpers] Database object for cluster rhel6-cluster not found
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/luci/lib/db_helpers.py", line 37, in get_cluster_db_obj
    db_obj = DBSession.query(Cluster).filter_by(name=unicode(cluster_name)).one()
  File "/usr/lib/python2.6/site-packages/sqlalchemy/orm/query.py", line 1257, in one
    raise orm_exc.NoResultFound("No row was found for one()")
NoResultFound: No row was found for one()

Environment

  • Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
  • luci
    • A user or administrator executes the "Add" function of the "Manage Clusters" page in Conga

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.