[ovirt-users] Re: ONN upgrade failing due to /var/cache/dnf filling up

2022-07-06 Thread Yedidyah Bar David
On Tue, Jul 5, 2022 at 4:59 PM nroach44--- via Users 
wrote:

> I'm just wondering if anyone else has seen this, and if it's worth logging
> a case?
>
> I've found that this seems to manifest itself as "Stop service" will
> succeed in the log, and them some time later the upgrade will fail. rm -rfv
> /var/cache/dnf* will resolve it.
>

Might be a result of https://bugzilla.redhat.com/2055829 .

Can you check/share the used space you had on /var, /var/tmp, /var/cache,
before and after the upgrade?

Anyway, might be worth reporting this as a bug. If so, I think the fix
would be to check for enough free space on /var/cache early in the upgrade
process, failing if not enough with a suitable message. Makes sense to you?
Do you have some other suggestion?

Thanks and best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/GSED23A5CTPA23D6DU3JM6QIAPNL7NV5/


[ovirt-users] Re: ONN upgrade failing due to /var/cache/dnf filling up

2022-07-06 Thread Nathaniel Roach via Users


On 6/7/22 15:10, Yedidyah Bar David wrote:
On Tue, Jul 5, 2022 at 4:59 PM nroach44--- via Users  
wrote:


I'm just wondering if anyone else has seen this, and if it's worth
logging a case?

I've found that this seems to manifest itself as "Stop service"
will succeed in the log, and them some time later the upgrade will
fail. rm -rfv /var/cache/dnf* will resolve it.


Might be a result of https://bugzilla.redhat.com/2055829 .
Yup, that would make sense - I've had to do this once or twice for 4.4 
over it's whole lifecycle, but suddenly had to do it sooner for 4.5.
Can you check/share the used space you had on /var, /var/tmp, 
/var/cache, before and after the upgrade?


Used space was about 80% (of 5G) on /var (which has /var/cache) in all 
of the cases that I looked at, pre-intervention. The other /vars were 
10% or less utilised the whole time.


Once I cleared it, /var was 5% used, and then filled to 30% once the 
upgrade was done.


https://imgur.com/a/kd8eWHd
Anyway, might be worth reporting this as a bug. If so, I think the fix 
would be to check for enough free space on /var/cache early in the 
upgrade process, failing if not enough with a suitable message. Makes 
sense to you? Do you have some other suggestion?


I think there's two improvements, one is to clear the dnf cache or at 
least check it, like you say, and the other would be to log the activity 
that fails. Currently the activity log shows the last successful task, 
and then will just report a failure, making it seem like it was the last 
task that failed.


https://blog.nroach44.id.au/images/onn-upgrade-fail-stop-service.png

I'll log both later today.



Thanks and best regards,
--
Didi

--

*Nathaniel Roach*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/IT4XX5XIGXOVAX5T2UTO2ZMY4YOCWNI4/


[ovirt-users] Re: Problems with selinux after updating an ovirt node

2022-07-06 Thread Guillaume Pavese
I just had the same problem while upgrading a host from ovirt-node 4.4.10
to 4.5.1
This is all the more surprising since this host had selinux in permissive
mode, I would not expect any selinux failures in that case.

[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --force

Checking configuration status...

lvm is configured for vdsm
Managed volume database is already configured
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts
Current revision of multipath.conf detected, preserving
sanlock is configured for vdsm

Running configure...
libsepol.context_from_record: type insights_client_cache_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:insights_client_cache_t:s0 to sid
invalid context system_u:object_r:insights_client_cache_t:s0
libsemanage.semanage_validate_and_compile_fcontexts: setfiles returned
error code 255.
Traceback (most recent call last):
  File "/bin/vdsm-tool", line 209, in main
return tool_command[cmd]["command"](*args)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/__init__.py", line 40,
in wrapper
func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
146, in configure
_configure(c)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
93, in _configure
getattr(module, 'configure', lambda: None)()
  File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
88, in configure
_setup_booleans(True)
  File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
60, in _setup_booleans
sebool_obj.finish()
  File "/usr/lib/python3.6/site-packages/seobject.py", line 340, in finish
self.commit()
  File "/usr/lib/python3.6/site-packages/seobject.py", line 330, in commit
rc = semanage_commit(self.sh)
OSError: [Errno 0] Error

[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --module sebool

Checking configuration status...


Running configure...
libsepol.context_from_record: type insights_client_cache_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:insights_client_cache_t:s0 to sid
invalid context system_u:object_r:insights_client_cache_t:s0
libsemanage.semanage_validate_and_compile_fcontexts: setfiles returned
error code 255.
Traceback (most recent call last):
  File "/bin/vdsm-tool", line 209, in main
return tool_command[cmd]["command"](*args)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/__init__.py", line 40,
in wrapper
func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
146, in configure
_configure(c)
  File "/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
93, in _configure
getattr(module, 'configure', lambda: None)()
  File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
88, in configure
_setup_booleans(True)
  File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
60, in _setup_booleans
sebool_obj.finish()
  File "/usr/lib/python3.6/site-packages/seobject.py", line 340, in finish
self.commit()
  File "/usr/lib/python3.6/site-packages/seobject.py", line 330, in commit
rc = semanage_commit(self.sh)
OSError: [Errno 0] Error

[root@ps-inf-int-kvm-fr-302-210 ~]# semodule -i
/usr/share/selinux/packages/ovirt-vmconsole/ovirt_vmconsole.pp
[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --module sebool

Checking configuration status...


Running configure...

Done configuring modules to VDSM.

[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --force

Checking configuration status...

Managed volume database is already configured
lvm is configured for vdsm
sanlock is configured for vdsm
Current revision of multipath.conf detected, preserving
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts

Running configure...
Reconfiguration of passwd is done.
Reconfiguration of libvirt is done.

Done configuring modules to VDSM.



Then I had to put the host into maintenance and reinstall it

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Sat, Nov 20, 2021 at 2:22 AM  wrote:

> This was a lifesaver.  Thanks!  I knew it was selinux, but didn't have the
> right .pp file.  Thanks!
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/C7PXICFXDLE77GFC762VCVIOTDK7ODBJ/
>

-- 



[ovirt-users] Re: Problems with selinux after updating an ovirt node

2022-07-06 Thread Giorgio Biacchi
It seems that having SELinux in permissive mode is the cause of the 
problem. I ended up opening a bugzilla but it was set to private because 
I shared a lot of logs with the RedHat team. Here's a quote from the 
last comment:


"We still do not fully understand the issue - specifically, why it does 
not happen in enforcing mode."


So my personal advice is to set SELinux in enforcing mode and wait for 
the next update to verify if this solves the issue.


Regards

Il 7/6/22 11:59, Guillaume Pavese ha scritto:
I just had the same problem while upgrading a host from ovirt-node 
4.4.10 to 4.5.1
This is all the more surprising since this host had selinux in 
permissive mode, I would not expect any selinux failures in that case.


[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --force

Checking configuration status...

lvm is configured for vdsm
Managed volume database is already configured
libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts
Current revision of multipath.conf detected, preserving
sanlock is configured for vdsm

Running configure...
libsepol.context_from_record: type insights_client_cache_t is not
defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:insights_client_cache_t:s0 to sid
invalid context system_u:object_r:insights_client_cache_t:s0
libsemanage.semanage_validate_and_compile_fcontexts: setfiles
returned error code 255.
Traceback (most recent call last):
   File "/bin/vdsm-tool", line 209, in main
     return tool_command[cmd]["command"](*args)
   File "/usr/lib/python3.6/site-packages/vdsm/tool/__init__.py",
line 40, in wrapper
     func(*args, **kwargs)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
146, in configure
     _configure(c)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
93, in _configure
     getattr(module, 'configure', lambda: None)()
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
88, in configure
     _setup_booleans(True)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
60, in _setup_booleans
     sebool_obj.finish()
   File "/usr/lib/python3.6/site-packages/seobject.py", line 340, in
finish
     self.commit()
   File "/usr/lib/python3.6/site-packages/seobject.py", line 330, in
commit
     rc = semanage_commit(self.sh)
OSError: [Errno 0] Error

[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --module sebool

Checking configuration status...


Running configure...
libsepol.context_from_record: type insights_client_cache_t is not
defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:insights_client_cache_t:s0 to sid
invalid context system_u:object_r:insights_client_cache_t:s0
libsemanage.semanage_validate_and_compile_fcontexts: setfiles
returned error code 255.
Traceback (most recent call last):
   File "/bin/vdsm-tool", line 209, in main
     return tool_command[cmd]["command"](*args)
   File "/usr/lib/python3.6/site-packages/vdsm/tool/__init__.py",
line 40, in wrapper
     func(*args, **kwargs)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
146, in configure
     _configure(c)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurator.py", line
93, in _configure
     getattr(module, 'configure', lambda: None)()
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
88, in configure
     _setup_booleans(True)
   File
"/usr/lib/python3.6/site-packages/vdsm/tool/configurators/sebool.py", line
60, in _setup_booleans
     sebool_obj.finish()
   File "/usr/lib/python3.6/site-packages/seobject.py", line 340, in
finish
     self.commit()
   File "/usr/lib/python3.6/site-packages/seobject.py", line 330, in
commit
     rc = semanage_commit(self.sh)
OSError: [Errno 0] Error

[root@ps-inf-int-kvm-fr-302-210 ~]# semodule -i
/usr/share/selinux/packages/ovirt-vmconsole/ovirt_vmconsole.pp
[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --module sebool

Checking configuration status...


Running configure...

Done configuring modules to VDSM.

[root@ps-inf-int-kvm-fr-302-210 ~]# vdsm-tool configure --force

Checking configuration status...

Managed volume database is already configured
lvm is configured for vdsm
sanlock is configured for vdsm
Current revi

[ovirt-users] Re: oVirt v4.5 - Error when importing templates

2022-07-06 Thread Sharon Gratch
Hi,

This is reproduced to me as well. Can you submit a bug please?

Thanks,
Sharon


On Wed, Jul 6, 2022 at 8:59 AM Erkan E via Users  wrote:

> I have oVirt version 4.5.1.3 installed. When importing templates exported
> from oVirt v4.3 to oVirt v4.5, it fails and the error message below is
> raised. Even it is the same for templates exported form oVirt 4.5 as well.
>
> - "Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) : e is null. Please have your administrator to check the UI
> logs"
>
>
> Related logs in /var/log/ovirt-engine/ui.log:
>
> 2022-07-05 12:37:31,652Z ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-3) [] Permutation name: 5EAE784A6F0B215E2BA85365FFA20B1F
> 2022-07-05 12:37:31,652Z ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-3) [] Uncaught exception:
> com.google.gwt.core.client.JavaScriptException: (TypeError) : e is null
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at
> org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
> at
> org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setSelectedItem(SearchableListModel.java:406)
> at
> org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.setSelectedItem(SearchableListModel.java:406)
> at
> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$updateListEditor(UiCommonEditorVisitor.java:189)
> at
> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$lambda$5(UiCommonEditorVisitor.java:136)
> at
> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor$lambda$5$Type.eventRaised(UiCommonEditorVisitor.java:136)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at
> org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:714)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.ImportVmFromExportDomainModel.$lambda$0(ImportVmFromExportDomainModel.java:89)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.ImportVmFromExportDomainModel$lambda$0$Type.onSuccess(ImportVmFromExportDomainModel.java:89)
> at
> org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:239)
> at
> org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:239)
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133)
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133)
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.$onSuccess(GWTRPCCommunicationProvider.java:161)
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:161)
> at
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198)
> at
> com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233)
> at
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
> at 
> Unknown.onreadystatechange<(https:///ovirt-engine/webadmin/?locale=en_US
> line 9 > injectedScript)
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:306)
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
> at 
> Unknown.My/<(https:///ovirt-engine/webadmin/?locale=en_US
> line 9 > injectedScript)
> at Unknown.anonymous(Unknown)
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/DTAWSVVZCKAHUKPTYPV55OFB3LMDIUSM/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/IBNGX5BLTOMNNDB4OYJYW5SCBAF3LS7U/


[ovirt-users] Re: oVirt v4.5 - Error when importing templates

2022-07-06 Thread Erkan E via Users
Thank you Sharon.

I submitted a bug for this issue today.
- https://bugzilla.redhat.com/show_bug.cgi?id=2104597
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ZCPRZIT2AXUU5I3GN2IE63TFL6MJPHAQ/


[ovirt-users] Re: Error after restoring hosted-engine

2022-07-06 Thread Roberto Bertucci
thank you Didi,
let's focus on first problem: hosted engine.
For other problems i will open other threads, just to give other users clearer 
threads.
i restored the hosted engine just to move it to a new storage domain.

I followed the step-by-step guide from redhat: 
https://access.redhat.com/solutions/2998291

I already did those steps successfully, but this time i noticed that 
--noansible option was no more available during provisioning step:

hosted-engine --deploy --noansible

become

hosted-engine --deploy 

I tried first to use an iscsi target as new SD with no luck and then i used an 
NFS SD.
Restore has been done after deploying, as documented in the link above.

Installation job and setup job gave no errors, but now engine is not inside vm 
list.

Any hint about what to search for?
If things went too much though, i could do a brend new install of a host and 
therefore hosted engine and manage vm migration in some way (i.e. sharing SD, 
exporting and importing VMs)

Thank you
 




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/AK6LXUKI4BHHIFQTM36XIGOVSXHBEDZB/


[ovirt-users] Cannot Enable incremental backup

2022-07-06 Thread Jonas

Hello all

I'm trying to create incremental backups for my VMs on a testing cluster 
and am using the functions from 
https://gitlab.com/nirs/ovirt-stress/-/blob/master/backup/backup.py. So 
far it works well, but on some disks it is not possible to enable 
incremental backups even when the VM is powered off (see screenshot 
below). Does anyone know why this might be the case and how to activate 
it? I think I already checked the docs and didn't find anything but feel 
free to nudge me in the right direction.


By the way, is there a backup solution that is somewhat endorsed by the 
community here?


Thank you and kind regards,
Jonas

Screenshot of oVirt Disk___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/6FFASGO2HB6CEW3ZBZ6UN6BRD6W3LPXA/


[ovirt-users] Re: Cannot Enable incremental backup

2022-07-06 Thread Nir Soffer
On Thu, Jul 7, 2022 at 12:40 AM Jonas  wrote:

> Hello all
>
> I'm trying to create incremental backups for my VMs on a testing cluster
> and am using the functions from
> https://gitlab.com/nirs/ovirt-stress/-/blob/master/backup/backup.py.
>
Note that the VM configuration is not backed up, so restoring
requires creating a new VM with the restored disks.

So far it works well, but on some disks it is not possible to enable
> incremental backups even when the VM is powered off (see screenshot below).
> Does anyone know why this might be the case and how to activate it? I think
> I already checked the docs and didn't find anything but feel free to nudge
> me in the right direction.
>
It look like you try to enable incremental backup *after* the disk was
created
which is not possible if the disk is using raw format. I guess the disk is
on
file based storage (NFS, Glsuter) and thin volume on file based storage is
using raw format by default.

The way to fix this is to convert the disk to qcow2 format - this feature
is available since ovirt 4.5.0, but it works only via the API/SDK.

Here is and example code for converting disk format:
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/7c17fe326fc1b67ba581d3c244ec019508f3ac25/examples/convert_disk.py

The example is not finished and is still in review, but it should show
how to use the API.

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/W5YKJUXOHDMWUDZ4EHOPIRCHZS6MIB5G/


[ovirt-users] Re: can't get vm ipv4 address via api

2022-07-06 Thread coolloves
anyone could help me ?
vm have installed the guest-agent,and i could see ipv4 info in the engine web.
i need to fetch every vms info to my cmdb auto,stuck here
thanks for help!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/LOTLT4I56GWU36UPPHFXEVOGD43K2WKP/


[ovirt-users] Re: can't get vm ipv4 address via api

2022-07-06 Thread Jonas
You might need to follow the reported_devices link. Further info: 
http://ovirt.github.io/ovirt-engine-api-model/4.5/#types/reported_device

Am 7. Juli 2022 05:24:38 MESZ schrieb coollo...@gmail.com:
>anyone could help me ?
>vm have installed the guest-agent,and i could see ipv4 info in the engine web.
>i need to fetch every vms info to my cmdb auto,stuck here
>thanks for help!
>___
>Users mailing list -- users@ovirt.org
>To unsubscribe send an email to users-le...@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/LOTLT4I56GWU36UPPHFXEVOGD43K2WKP/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/GCMPFBQI4SLRIJQPPFTQZNBR2LZRT77P/


[ovirt-users] Re: Error after restoring hosted-engine

2022-07-06 Thread Yedidyah Bar David
On Wed, Jul 6, 2022 at 8:14 PM Roberto Bertucci 
wrote:

> thank you Didi,
> let's focus on first problem: hosted engine.
> For other problems i will open other threads, just to give other users
> clearer threads.
> i restored the hosted engine just to move it to a new storage domain.
>
> I followed the step-by-step guide from redhat:
> https://access.redhat.com/solutions/2998291


This is an old article, relevant for versions <= 4.2. What version do you
use?


>
>
> I already did those steps successfully, but this time i noticed that
> --noansible option was no more available during provisioning step:
>
> hosted-engine --deploy --noansible
>
> become
>
> hosted-engine --deploy
>
> I tried first to use an iscsi target as new SD with no luck and then i
> used an NFS SD.
> Restore has been done after deploying, as documented in the link above.
>

In 4.2, this was possible - you were asked whether the deploy process
should run
engine-setup for you, and for following the above doc, you should have
replied 'no',
login to the engine vm, then restore, and then run engine-setup.

In 4.3 and later this is not an option anymore - engine-setup is always ran,
and on restore, deploy also runs the restore for you, and if you need to
do/fix
stuff manually in the middle, there are means for that [1].

I recommend upgrading to 4.5, anyway. 4.4 and older are EOL.


>
> Installation job and setup job gave no errors, but now engine is not
> inside vm list.
>
> Any hint about what to search for?
> If things went too much though, i could do a brend new install of a host
> and therefore hosted engine and manage vm migration in some way (i.e.
> sharing SD, exporting and importing VMs)
>

This is also an option and has its own pros and cons, which greatly depend
on your
specific needs/use case/etc.

[1]
https://github.com/oVirt/ovirt-ansible-collection/tree/master/roles/hosted_engine_setup#make-changes-in-the-engine-vm-during-the-deployment

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/766IM2H5YPR3ICBB5AYBXUJYNNU224JU/