Bug 1674540 - hosted-engine deploy (restore-from-file) fails with Authentication Error for None@N/A
Summary: hosted-engine deploy (restore-from-file) fails with Authentication Error for ...
Keywords:
Status: CLOSED DUPLICATE of bug 1660595
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.3.2
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ovirt-4.3.3
: ---
Assignee: Simone Tiraboschi
QA Contact: Lukas Svaty
URL:
Whiteboard:
: 1684235 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-11 15:32 UTC by André Liebe
Modified: 2019-03-25 13:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-25 13:36:28 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)
he setup log (425.88 KB, text/plain)
2019-02-11 15:32 UTC, André Liebe
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1660595 0 high CLOSED Hosted Engine Deploy fails with SSO authentication errors 2022-03-13 17:18:00 UTC

Description André Liebe 2019-02-11 15:32:30 UTC
Created attachment 1529066 [details]
he setup log

Description of problem:
hosted-engine --deploy (with restoring from backup) fails with given error message
Error during SSO authentication access_denied : Cannot authenticate user 'None@N/A': No valid profile found in credentials..


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.3.3-1.el7.noarch


How reproducible:


Steps to Reproduce:
1. using a host=lvh3 which was part of an hosted-engina-ha 3.4 cluster before, but put to maintenance beforehand
2. power down existing hosted-engine (in global maintenance mode)
3. remove old packages "yum remove ovirt*setup*"
4. yum install ovirt-hosted-engine-setup
4b) workaround a restore task BUG: sed -i.bak 's/STORAGE_DOMAIN_NAME/he_storage_domain_name/' /usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/restore_backup.yml
5. cleanup by running: ovirt-hosted-engine-cleanup
6. copy existing (full) backup to local system
7. run hosted-engine --deploy --restore-from-file=/root/old-backup.tar.gz


Actual results:
engine-setup fails

Expected results:
engine-setup succeed

Comment 1 Sandro Bonazzola 2019-02-20 08:08:22 UTC
Is this a tentative to restore a 3.4 backup into a 4.3 engine?

Comment 2 André Liebe 2019-02-20 08:25:03 UTC
Oh, Sorry. This was a typo. It is a 4.3 backup which I was trying to restore in order to switch HE storage domain from gluster to nfs.
Whole cluster/datacenter and HE was upgraded to 4.3.0 before.

Comment 3 Sandro Bonazzola 2019-02-27 08:36:19 UTC
May be related to bug #1660595

Comment 4 Sandro Bonazzola 2019-03-06 08:15:57 UTC
*** Bug 1684235 has been marked as a duplicate of this bug. ***

Comment 5 André Liebe 2019-03-12 14:13:56 UTC
Is a manual workaround available or an ETA for 4.3.3?

Comment 6 Simone Tiraboschi 2019-03-25 13:36:28 UTC

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


Note You need to log in before you can comment on or make changes to this bug.