Hi,
On Tue, Jul 5, 2022 at 5:56 PM Roberto Bertucci <rob.bertucci(a)gmail.com>
wrote:
Hello,
after restoring hosted-engine from a backup, i have several problems.
Let's start with the first, other threads for others...
I can't see hosted-engine vm in vm list.
This is one issue.
Looking at engine log, i see the following:
2022-07-05 16:51:26,330+02 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-49)
[4c8e10ac] null architecture type, replacing with x86_64, VM [HostedEngine]
2022-07-05 16:51:26,332+02 INFO
[org.ovirt.engine.core.bll.HostedEngineImporter]
(EE-ManagedThreadFactory-engine-Thread-4932) [4c8e10ac] Try to import the
Hosted Engine VM 'VM [HostedEngine]'
2022-07-05 16:51:26,334+02 INFO
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
(EE-ManagedThreadFactory-engine-Thread-4932) [752aa465] Lock Acquired to
object 'EngineLock:{exclusiveLocks='[HostedEngine=VM_NAME,
4daba166-3da4-4220-8a56-5ddadf83015d=VM]',
sharedLocks='[4daba166-3da4-4220-8a56-5ddadf83015d=REMOTE_VM]'}'
2022-07-05 16:51:26,335+02 ERROR
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
(EE-ManagedThreadFactory-engine-Thread-4932) [752aa465] Error during
ValidateFailure.: java.lang.NullPointerException
at
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.validator.VmValidator.isBiosTypeSupported(VmValidator.java:467)
at
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.validate(ImportVmCommandBase.java:158)
at
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ImportVmCommand.validate(ImportVmCommand.java:220)
at
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.internalValidateInTransaction(CommandBase.java:824)
at
org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:140)
at
org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:157)
........
........
2022-07-05 16:51:26,335+02 INFO
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
(EE-ManagedThreadFactory-engine-Thread-4932) [752aa465] Lock freed to
object 'EngineLock:{exclusiveLocks='[HostedEngine=VM_NAME,
4daba166-3da4-4220-8a56-5ddadf83015d=VM]',
sharedLocks='[4daba166-3da4-4220-8a56-5ddadf83015d=REMOTE_VM]'}'
2022-07-05 16:51:26,335+02 ERROR
[org.ovirt.engine.core.bll.HostedEngineImporter]
(EE-ManagedThreadFactory-engine-Thread-4932) [752aa465] Failed importing
the Hosted Engine VM
This is another.
Is there any way to solve this issue?
Web management interface is working except for the fact that i can't add
new nodes and forget a storage domain which is no more existent.
Please clarify first the flow you are/were going through.
Was the original setup a hosted-engine?
How did you restore? If using 'hosted-engine --deploy --restore-from-file',
did you use a new storage domain? Did the first issue (can't see HE VM)
happen right after finishing restore? Did you try anything else to fix
this? In particular, did you try to import the old hosted_storage domain?
If you followed some guide/document, please share a link to it. Thanks.
Perhaps check/share also setup logs, from the host used for deploy/restore.
Good luck and best regards,
--
Didi