Ovirt 4.4 - (Restore from 4.3): The provided authorization grant for the auth code has expired. (all Users)

Hi, we install ovirt 4.4 on a fresh Redhat 8.5 Installation. Next Restore the oVirt Backup (https://www.ovirt.org/documentation/upgrade_guide/#Remote_Upgrading_from_4-3). We use a external Certificate.I copy all certs/key from old installation to the new Manager. No matter with which user I log in - the same error message always appears. Also create a new user - had no success. Same error message Unfortunately there is nothing new in the logfile - except exactly this message. Setting the log level to "DEBUG" for all services did not bring any new or clearer error messages. The time is set correctly - this can almost not be the cause. Unfortunately I have no idea what the cause is and how I can solve this - I hope you have another idea. Thanks & many greetings

I try to set the Log Level to Debug at this file " /var/lib/ovirt-engine/jboss_runtime/config/ovirt-engine.xml" and create the service files under /etc/sysconfig with "OVIRT_SERVICE_DEBUG=1" but nothing helps to identify the error :/

This ist the complete Error Message from engine.log: 2022-04-07 09:59:21,656+02 INFO [org.ovirt.engine.core.sso.service.AuthenticationService] (default task-5) [] User admxxx@internal-authz with profile [internal] successfully logged in with scopes: ovirt-app-admin ovirt-app-api ovirt-app-portal ovirt-ext=auth:sequence-priority=~ ovirt-ext=revoke:revoke-all ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access 2022-04-07 09:59:21,720+02 ERROR [org.ovirt.engine.core.aaa.servlet.SsoPostLoginServlet] (default task-5) [] invalid_grant: The provided authorization grant for the auth code has expired.

Its definitiv the import of the oVirt 4.3 Datbase. If i install clean, i've no Problems. After import the 4.3 DB we got this error. Can anybody tel me - "how can i delete the grant" (in Postgres?) Or can we import table for table to identify the problem?

Is your backup from 4.3.10 or earlier ? Best Regards,Strahil Nikolov Its definitiv the import of the oVirt 4.3 Datbase. If i install clean, i've no Problems. After import the 4.3 DB we got this error. Can anybody tel me - "how can i delete the grant" (in Postgres?) Or can we import table for table to identify the problem? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/476RAV6FNLS22I...

Hi, its "4.3.10.4-1.0.21.el7" Best Regards, Fabian

New Information: - Login with REST API as admin@internal is working! - Login to JXM with admin@internal ist working! Seems a problem with the Web GUI.

Got it - it was the name resolution. After i put the DNS Name in /etc/hosts - it works.

On Thu, Apr 7, 2022 at 10:58 PM Fabian Mohren <fabian.mohren@qbeyond.de> wrote:
Got it - it was the name resolution. After i put the DNS Name in /etc/hosts - it works.
Glad to hear that - thanks for the report! In retrospect, do you think there could have been something that would have helped you resolve this more quickly? Adding Martin. Martin - we already got a few similar reports in the past - perhaps we can somehow add more information to the error message? I'd say, even if not, perhaps add a link to some troubleshooting web page somewhere. Best regards, -- Didi
participants (4)
-
Fabian Mohren
-
fabian.mohren@qbeyond.de
-
Strahil Nikolov
-
Yedidyah Bar David