Uploaded image for project: 'CPE Infrastructure'
  1. CPE Infrastructure
  2. CPE-2690

Staging elections kerberos issue

XMLWordPrintable

    • False
    • None
    • False
    • Testable

      https://pagure.io/fedora-infrastructure/issue/12307

      1. Describe what you would like us to do:

        After deploying the [memcached update](https://pagure.io/fedora-infra/ansible/pull-request/2378) yesterday I started testing out the services. With elections I encountered the following issue:
        ```
        2024-11-25 15:06:40,587 [ERROR] fedora_elections: Exception on / [GET]
        Traceback (most recent call last):
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 3280, in _wrap_pool_connect
        return fn()
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 310, in connect
        return _ConnectionFairy._checkout(self)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 868, in _checkout
        fairy = _ConnectionRecord.checkout(pool)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 476, in checkout
        rec = pool._do_get()
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/impl.py", line 146, in _do_get
        self._dec_overflow()
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 72, in _exit_
        with_traceback=exc_tb,
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
        raise exception
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/impl.py", line 143, in _do_get
        return self._create_connection()
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 256, in _create_connection
        return _ConnectionRecord(self)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 371, in _init_
        self.__connect()
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 666, in __connect
        pool.logger.debug("Error on connect(): %s", e)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 72, in _exit_
        with_traceback=exc_tb,
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
        raise exception
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 661, in __connect
        self.dbapi_connection = connection = pool._invoke_creator(self)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/create.py", line 590, in connect
        return dialect.connect(*cargs, **cparams)
        File "/opt/app-root/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 597, in connect
        return self.dbapi.connect(*cargs, **cparams)
        File "/opt/app-root/lib/python3.6/site-packages/psycopg2/_init_.py", line 122, in connect
        conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
        psycopg2.OperationalError: could not initiate GSSAPI security context: Unspecified GSS failure. Minor code may provide more information: Server krbtgt/FEDORAPROJECT.ORG@STG.FEDORAPROJECT.ORG not found in Kerberos database
        FATAL: password authentication failed for user "electionsuser"
        ```

      1. When do you need this to be done by? (YYYY/MM/DD)

              rh-ee-mkonecny Michal Konecny
              rh-ee-mkonecny Michal Konecny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: