Bug 1996990

Summary: Cluster upgrade fails with: 'OAuthException invalid_grant: The provided authorization grant for the auth code has expired.'
Product: [oVirt] ovirt-engine Reporter: Jean-Louis Dupond <jean-louis>
Component: GeneralAssignee: Dana <delfassy>
Status: CLOSED DUPLICATE QA Contact: Guilherme Santos <gdeolive>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.8.4CC: bugs, michal.skrivanek
Target Milestone: ovirt-4.4.8-1Keywords: Regression
Target Release: ---Flags: pm-rhel: ovirt-4.4+
sbonazzo: blocker?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-25 06:30:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jean-Louis Dupond 2021-08-24 07:33:04 UTC
Description of problem:
When trying to upgrade a cluster from oVirt 4.4.7 to 4.4.8, the cluster upgrade fails with:
2021-08-24 09:27:21,092+02 ERROR [org.ovirt.engine.core.sso.service.SsoService] (default task-8) [] OAuthException invalid_grant: The provided authorization grant for the auth code has expired.
2021-08-24 09:27:21,093+02 ERROR [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-6) [] Cannot authenticate using authentication Headers: invalid_grant: The provided authorization grant for the auth code has expired.
2021-08-24 09:27:21,102+02 ERROR [org.ovirt.engine.core.sso.service.SsoService] (default task-6) [] OAuthException access_denied: Cannot authenticate user 'None@N/A': No valid profile found in credentials..
2021-08-24 09:27:22,675+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-7) [] EVENT_ID: ANSIBLE_RUNNER_EVENT_NOTIFICATION(559), Ansible Runner.. Initialize variables.
2021-08-24 09:27:22,686+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-7) [] EVENT_ID: ANSIBLE_RUNNER_EVENT_NOTIFICATION(559), Ansible Runner.. Login to oVirt.


Version-Release number of selected component (if applicable):
Engine updated to 4.4.8
Hosts still on 4.4.7

How reproducible:
Every time

Steps to Reproduce:
1. Install oVirt 4.4.7 with some hosts
2. Upgrade engine to 4.4.8
3. Try to upgrade the cluster

Actual results:
It fails with the message above.

Comment 1 RHEL Program Management 2021-08-24 08:37:50 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Michal Skrivanek 2021-08-25 06:30:35 UTC
already reported in bug 1996816, closing and reusing this bug title

*** This bug has been marked as a duplicate of bug 1996816 ***