[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-04-27 Thread Ales Musil
On Wed, Apr 28, 2021 at 7:16 AM  wrote:

> I am using Oracle Linux Virtualization Manager, following this guide:
> https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/getstart/manager-install.html
>
> After adding a host to the engine, the host becomes non responsive due to
> network errors:
> engine.log
> 2021-04-27 14:53:02,255Z ERROR
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-32356) [38586e0e] Host installation
> failed for host 'c97604b3-5774-4260-92fd-633257aa7498', 'GPU2-2': Network
> error during communication with the host
>
> Help resolving this would be much appreciated!
> ___
> 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/FI3PF5DIPC37H442XM3FKTNDI4PRUJW4/
>


Hi,

I am not sure how much is OLVM compatible with oVirt, but can you please
share more details?

Which version of ovirt-engine and vdsm is it?
Are you able to reach the host manually e.g via ssh with specified FQDN/IP?

Thanks,
Ales

-- 

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
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/A3JYSQ7UFDEO6BJXKPK6GPWZ52QENNUU/


[ovirt-users] Re: Ovirt-engine Setup Error-Failed to execute stage 'Misc configuration

2021-04-27 Thread Yedidyah Bar David
On Wed, Apr 28, 2021 at 6:39 AM rajkumar madhu
 wrote:
>
> Thank u .
>
> do u have any document to install Ovirt.

See e.g.:

https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/

But I think you already followed it, or something similar, so that's
not the issue.

>
> i have checked there is no directoryin my server .in that case what i have to 
> do .
>
> please help me on this.

Please let me clarify:

When you do 'dnf install ovirt-engine', it should also create this
directory for you.

If it's missing, something or someone removed it.
If that was you, or someone else, and you did it by mistake, and this
is the only thing you removed, fine - just create it and try again.
Or just 'dnf reinstall ovirt-engine' to be on the safe side.

But if it was not a person, then it might have been a bug somewhere
(in some program), or some other kind of problem - e.g. this could
have happened if the machine lost its power during installation. If
this is the case, it's better to first understand what the issue was,
and handle it. If it indeed was a power/hardware problem, it might be
safer to do a thorough check of the hardware and reinstall the OS, or
use other hardware if it's broken. And if it's a bug in some program,
better fix that first.

Good luck and best regards,

>
> Regards,
> Rajkumar M
> 9176772077
>
> On Tue, Apr 27, 2021 at 7:10 PM Yedidyah Bar David  wrote:
>>
>> Hi,
>>
>> On Tue, Apr 27, 2021 at 4:07 PM rajkumar madhu
>>  wrote:
>> >
>> > Hi Team,
>> >
>> > Unable to install Ovirt in my centos server.while executing Engine-setup 
>> > command ,I am getting below error.Please help me on this .
>> >
>> >Please confirm installation settings (OK, Cancel) [OK]: [ INFO  ] 
>> > Stage: Transaction setup
>> > [ INFO  ] Stopping engine service
>> > [ INFO  ] Stopping ovirt-fence-kdump-listener service
>> > [ INFO  ] Stopping dwh service
>> > [ INFO  ] Stopping vmconsole-proxy service
>> > [ INFO  ] Stopping websocket-proxy service
>> > [ INFO  ] Stage: Misc configuration (early)
>> > [ INFO  ] Stage: Package installation
>> > [ INFO  ] Stage: Misc configuration
>> > [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such 
>> > file or directory: '/etc/ovirt-engine/extensions.d'
>>
>> Please check why this directory is missing. It should be part of the
>> 'ovirt-engine' package.
>>
>> Best regards,
>> --
>> Didi
>>


-- 
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/43EELNIBOQWVFHOTULWQMGFDNMLMGKF2/


[ovirt-users] Re: Ovirt 4.4.6.5-1 engine-setup failed

2021-04-27 Thread Ales Musil
Hi,

just some notes for disabling ipv6. It is not tested to run host and engine
with ipv6 stack disabled.

In oVirt version 4.4 we are disabling ipv6 through NetworkManager if it is
not used. So your host
will end up only with ipv4 configuration and no ipv6 local address etc. On
the engine the same
can be achieved by adding ipv6.method disabled to the connection profile.

Hopefully this helps.
Regards,
Ales

On Mon, Apr 26, 2021 at 11:48 PM Don Dupuis  wrote:

> Nir
> Thanks for the info and explanation.
>
> Don
>
> On Mon, Apr 26, 2021 at 4:27 PM Nir Soffer  wrote:
>
>> On Mon, Apr 26, 2021 at 11:56 PM Don Dupuis  wrote:
>> >
>> > Nir
>> > After looking at the debug output of daemon.log, it looks like the code
>> is expecting ipv6 to be enabled and I have explicitly disable ipv6. When I
>> enable it and reboot, it now WORKS!!.
>>
>> Yes, we assume that ipv6 is enabled on the engine and hypervisors.
>> You will have the same issue with the hypervisors, since vdsm is also
>> listening on the same address ("::").
>>
>> > Where I work we don't use ipv6, is there another option to set so that
>> this works on ipv4 only setups?
>>
>> We use the special "::" address so we listen to both ipv4 and ipv6.
>> This works for
>> people who use ipv4 or ipv6.
>>
>> If you must disable ipv6 on the engine host, you can try to listen to
>> an ipv4 address:
>>
>> # cat /etc/ovirt-imageio/conf.d/99-local.conf
>> [remote]
>> host = 0.0.0.0
>>
>> Similar change is needed for vdsm:
>>
>> # cat /etc/vdsm/vdsm.conf.d/99-local.conf
>> [addresses]
>> management_ip = 0.0.0.0
>>
>> I'm not sure that disabling ipv6 is tested, you may find other issues
>> on setup with
>> ipv6 disabled.
>>
>> Ales may have more insight on disabling ipv6.
>>
>> Nir
>>
>> >
>> > Thanks
>> > Don
>> >
>> > On Mon, Apr 26, 2021 at 3:32 PM Don Dupuis  wrote:
>> >>
>> >> 2021-04-26 15:29:50,728 INFO(MainThread) [server] Starting
>> (hostname=rvsmanager2 pid=13203, version=2.1.1)
>> >> 2021-04-26 15:29:50,729 DEBUG   (MainThread) [services] Creating
>> remote.service on port 54323
>> >> 2021-04-26 15:29:50,730 DEBUG   (MainThread) [http] Prefer IPv4: False
>> >> 2021-04-26 15:29:50,730 DEBUG   (MainThread) [http] Available network
>> interfaces: [(, , 6,
>> '', ('::', 54323, 0, 0))]
>> >> 2021-04-26 15:29:50,730 DEBUG   (MainThread) [http] Creating server
>> socket with family=AddressFamily.AF_INET6 and type=SocketKind.SOCK_STREAM
>> >> 2021-04-26 15:29:50,732 ERROR   (MainThread) [server] Server failed
>> >> Traceback (most recent call last):
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/server.py",
>> line 46, in main
>> >> server = Server(cfg)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/server.py",
>> line 110, in __init__
>> >> self.remote_service = services.RemoteService(self.config,
>> self.auth)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/services.py",
>> line 73, in __init__
>> >> self._server = http.Server((config.remote.host, port),
>> http.Connection)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line
>> 91, in __init__
>> >> self.create_socket(prefer_ipv4)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line
>> 123, in create_socket
>> >> self.socket = socket.socket(self.address_family, self.socket_type)
>> >>   File "/usr/lib64/python3.6/socket.py", line 144, in __init__
>> >> _socket.socket.__init__(self, family, type, proto, fileno)
>> >> OSError: [Errno 97] Address family not supported by protocol
>> >> 2021-04-26 15:29:50,919 INFO(MainThread) [server] Starting
>> (hostname=rvsmanager2 pid=13208, version=2.1.1)
>> >> 2021-04-26 15:29:50,919 DEBUG   (MainThread) [services] Creating
>> remote.service on port 54323
>> >> 2021-04-26 15:29:50,920 DEBUG   (MainThread) [http] Prefer IPv4: False
>> >> 2021-04-26 15:29:50,920 DEBUG   (MainThread) [http] Available network
>> interfaces: [(, , 6,
>> '', ('::', 54323, 0, 0))]
>> >> 2021-04-26 15:29:50,920 DEBUG   (MainThread) [http] Creating server
>> socket with family=AddressFamily.AF_INET6 and type=SocketKind.SOCK_STREAM
>> >> 2021-04-26 15:29:50,922 ERROR   (MainThread) [server] Server failed
>> >> Traceback (most recent call last):
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/server.py",
>> line 46, in main
>> >> server = Server(cfg)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/server.py",
>> line 110, in __init__
>> >> self.remote_service = services.RemoteService(self.config,
>> self.auth)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/services.py",
>> line 73, in __init__
>> >> self._server = http.Server((config.remote.host, port),
>> http.Connection)
>> >>   File
>> "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line
>> 91, in __init__
>> >> 

[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Yedidyah Bar David
On Tue, Apr 27, 2021 at 10:59 PM Juhani Rautiainen
 wrote:
>
> Story of the problems continues. Finally shut everything down, got
> storage domains to maintenance and then this happens:
>
> ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
> "[Physical device initialization failed. Please check that the device
> is empty and accessible by the host.]". HTTP response code is 400.
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Fault reason is \"Operation Failed\". Fault detail is \"[Physical
> device initialization failed. Please check that the device is empty
> and accessible by the host.]\". HTTP response code is 400."}

Can you please check/share relevant parts of vdsm.log when this happens?
Thanks.

>
> No amount zeroing device helped.
>
> Next plan: Find out if I can restore backup to standalone server. If
> that fails that's the end of oVirt for me. It worked fine for a couple
> of years but this update hassle is too much. Should have gone until
> the end with 4.3.
>
> Thanks,
> Juhani
>
> On Tue, Apr 27, 2021 at 11:47 AM Juhani Rautiainen
>  wrote:
> >
> > Hmm. Is it possible that when the other node is still running v4.3
> > this operation can't be completed as it doesn't know how to do it.
> >
> > Thanks,
> > Juhani
> >
> > On Tue, Apr 27, 2021 at 11:07 AM Juhani Rautiainen
> >  wrote:
> > >
> > > It seems that it is not supported in oVirt yet? I got this response
> > > when I tried to change master with those storage domain that I have:
> > >
> > > 
> > > 
> > > [Cannot switch master storage domain. Switch master
> > > storage domain operation is not supported.]
> > > Operation Failed
> > > 
> > >
> > > So is this really the only way to do this: shutdown everything and put
> > > other storage domains into maintenance? It would have been nice if
> > > this information was in the upgrade guide. It made this seem so easy
> > > and simple...
> > >
> > > Thanks,
> > > Juhani
> > >
> > > On Tue, Apr 27, 2021 at 10:47 AM Juhani Rautiainen
> > >  wrote:
> > > >
> > > > Thanks this looks like what I'm looking for. I'm still wondering how
> > > > to use this. I have LUN just for new hosted storage. Ansible created
> > > > storage domain to it correctly but just can't activate it. So is the
> > > > idea that I activate this unattached hosted_storage domain and try to
> > > > use API to make it master? I attached a screen shot how it looks
> > > > currently.
> > > >
> > > >
> > > >
> > > > On Tue, Apr 27, 2021 at 10:41 AM Yedidyah Bar David  
> > > > wrote:
> > > > >
> > > > > On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
> > > > >  wrote:
> > > > > >
> > > > > > To continue. I noticed that another storage domain took the data
> > > > > > (master) now. I saw one advice that you can force change by putting
> > > > > > the storage domain to maintenance mode. Problem is that there are 
> > > > > > VM's
> > > > > > running on these domains. How is this supposed to work during the
> > > > > > restore?
> > > > >
> > > > > There is a recent change [1] by Shani (Cced) that should allow you
> > > > > to choose another storage domain as master. So you can create a new
> > > > > (temporary?) SD with the correct compatibility level and then set it
> > > > > to master.
> > > > >
> > > > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923
> > > > >
> > > > > Best regards,
> > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Juhani
> > > > > >
> > > > > > On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
> > > > > >  wrote:
> > > > > > >
> > > > > > > Hi!
> > > > > > >
> > > > > > > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring 
> > > > > > > the
> > > > > > > backup fails to create the correct storage domain for Hosted 
> > > > > > > Engine.
> > > > > > > How can I create one? Error from ansible task is:
> > > > > > >
> > > > > > > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". 
> > > > > > > Fault
> > > > > > > detail is "[Domain format is different from master storage domain
> > > > > > > format]". HTTP response code is 400.
> > > > > > > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > > > > > > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > > > > > > format is different from master storage domain format]\". HTTP
> > > > > > > response code is 400."}
> > > > > > >
> > > > > > > And from UI I can see that what has been created is a data 
> > > > > > > domain. Not
> > > > > > > data (master) domain as old one was. Now I'm stuck here. This is a
> > > > > > > fibre channel system  where I'm trying to do this if it is 
> > > > > > > relevant.
> > > > > > >
> > > > > > > What I could find from the logs is this:
> > > > > > > 2021-04-27 09:36:06,925+0300 DEBUG
> > > > > > > otopi.ovirt_hosted_engine_setup.ansible_utils
> > > > > > > ansible_utils._process_output:105 storage_domain_details: 
> > > > > > > {'changed':
> > > > > > > False, 'ovirt_storage_domains': [{'href':
> > > > > > > 

[ovirt-users] Re: oVirt 2021 Spring survey questions

2021-04-27 Thread Yedidyah Bar David
On Tue, Apr 27, 2021 at 9:55 PM Jiří Sléžka  wrote:
>
> Hi,
>
> On 4/27/21 10:13 AM, Sandro Bonazzola wrote:
> > Hi,
> > it's about the usual time of the year when we ask the community to
> > provide feedback with a survey.
> > Any questions you'd like to be asked?
>
> maybe something about most wanted new feature?

+1 from me, but I'd like to add: Bugs and features are tracked in bugzilla.
If you want a new feature, please open a bug, with subject starting with '[RFE]'
(and bugzilla should automatically also add to it the keyword FutureFeature).
If you are interested in an existing open bug/RFE, please comment on it saying
so, preferably with concrete reasons as applicable.

I also have vague memories about being about to press a "vote" button for bugs,
but can't find it right now.

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/U56CBVWQEWNKXR674AOQK2MFTEJ4PX62/


[ovirt-users] [OLVM] Host non responsive after installation

2021-04-27 Thread alan
I am using Oracle Linux Virtualization Manager, following this guide: 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/getstart/manager-install.html

After adding a host to the engine, the host becomes non responsive due to 
network errors:
engine.log
2021-04-27 14:53:02,255Z ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-32356) [38586e0e] Host installation 
failed for host 'c97604b3-5774-4260-92fd-633257aa7498', 'GPU2-2': Network error 
during communication with the host

Help resolving this would be much appreciated!
___
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/FI3PF5DIPC37H442XM3FKTNDI4PRUJW4/


[ovirt-users] How to renew vmconsole-proxy* certificates

2021-04-27 Thread capelle
Hi,

Since a few weeks, we are not able to connect to the vmconsole proxy:
$ ssh -t -p  ovirt-vmconsole@ovirt
ovirt-vmconsole@ovirt: Permission denied (publickey).

Last successful login record: Mar 29 11:31:32
First login failure record: Mar 31 17:28:51

We tracked the issue to the following log in /var/log/ovirt-engine/engine.log:
ERROR [org.ovirt.engine.core.services.VMConsoleProxyServlet] (default task-11) 
[] Error validating ticket: : 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

Indeed, certificate /etc/pki/ovirt-engine/certs/vmconsole-proxy-helper.cer and 
others did expire:
--
# grep 'Not After' /etc/pki/ovirt-engine/certs/vmconsole-proxy-*
/etc/pki/ovirt-engine/certs/vmconsole-proxy-helper.cer:Not After : 
Mar 31 13:18:44 2021 GMT
/etc/pki/ovirt-engine/certs/vmconsole-proxy-host.cer:Not After : 
Mar 31 13:18:44 2021 GMT
/etc/pki/ovirt-engine/certs/vmconsole-proxy-user.cer:Not After : 
Mar 31 13:18:44 2021 GMT
--

But we did not manage to found how to renew them. Any advice ?
--
Benoît
___
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/2HYA3PPHIGBPHKCMAGUBZ3LTR5ESUXTW/


[ovirt-users] Re: Ovirt-engine Setup Error-Failed to execute stage 'Misc configuration

2021-04-27 Thread rajkumar madhu
Thank u .

do u have any document to install Ovirt.

i have checked there is no directoryin my server .in that case what i have
to do .

please help me on this.

Regards,
Rajkumar M
9176772077

On Tue, Apr 27, 2021 at 7:10 PM Yedidyah Bar David  wrote:

> Hi,
>
> On Tue, Apr 27, 2021 at 4:07 PM rajkumar madhu
>  wrote:
> >
> > Hi Team,
> >
> > Unable to install Ovirt in my centos server.while executing Engine-setup
> command ,I am getting below error.Please help me on this .
> >
> >Please confirm installation settings (OK, Cancel) [OK]: [ INFO  ]
> Stage: Transaction setup
> > [ INFO  ] Stopping engine service
> > [ INFO  ] Stopping ovirt-fence-kdump-listener service
> > [ INFO  ] Stopping dwh service
> > [ INFO  ] Stopping vmconsole-proxy service
> > [ INFO  ] Stopping websocket-proxy service
> > [ INFO  ] Stage: Misc configuration (early)
> > [ INFO  ] Stage: Package installation
> > [ INFO  ] Stage: Misc configuration
> > [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No
> such file or directory: '/etc/ovirt-engine/extensions.d'
>
> Please check why this directory is missing. It should be part of the
> 'ovirt-engine' package.
>
> 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/LGXROO6VA5THGE5JIMLMPG4PQWAL7VZL/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
Story of the problems continues. Finally shut everything down, got
storage domains to maintenance and then this happens:

ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"[Physical device initialization failed. Please check that the device
is empty and accessible by the host.]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Fault reason is \"Operation Failed\". Fault detail is \"[Physical
device initialization failed. Please check that the device is empty
and accessible by the host.]\". HTTP response code is 400."}

No amount zeroing device helped.

Next plan: Find out if I can restore backup to standalone server. If
that fails that's the end of oVirt for me. It worked fine for a couple
of years but this update hassle is too much. Should have gone until
the end with 4.3.

Thanks,
Juhani

On Tue, Apr 27, 2021 at 11:47 AM Juhani Rautiainen
 wrote:
>
> Hmm. Is it possible that when the other node is still running v4.3
> this operation can't be completed as it doesn't know how to do it.
>
> Thanks,
> Juhani
>
> On Tue, Apr 27, 2021 at 11:07 AM Juhani Rautiainen
>  wrote:
> >
> > It seems that it is not supported in oVirt yet? I got this response
> > when I tried to change master with those storage domain that I have:
> >
> > 
> > 
> > [Cannot switch master storage domain. Switch master
> > storage domain operation is not supported.]
> > Operation Failed
> > 
> >
> > So is this really the only way to do this: shutdown everything and put
> > other storage domains into maintenance? It would have been nice if
> > this information was in the upgrade guide. It made this seem so easy
> > and simple...
> >
> > Thanks,
> > Juhani
> >
> > On Tue, Apr 27, 2021 at 10:47 AM Juhani Rautiainen
> >  wrote:
> > >
> > > Thanks this looks like what I'm looking for. I'm still wondering how
> > > to use this. I have LUN just for new hosted storage. Ansible created
> > > storage domain to it correctly but just can't activate it. So is the
> > > idea that I activate this unattached hosted_storage domain and try to
> > > use API to make it master? I attached a screen shot how it looks
> > > currently.
> > >
> > >
> > >
> > > On Tue, Apr 27, 2021 at 10:41 AM Yedidyah Bar David  
> > > wrote:
> > > >
> > > > On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
> > > >  wrote:
> > > > >
> > > > > To continue. I noticed that another storage domain took the data
> > > > > (master) now. I saw one advice that you can force change by putting
> > > > > the storage domain to maintenance mode. Problem is that there are VM's
> > > > > running on these domains. How is this supposed to work during the
> > > > > restore?
> > > >
> > > > There is a recent change [1] by Shani (Cced) that should allow you
> > > > to choose another storage domain as master. So you can create a new
> > > > (temporary?) SD with the correct compatibility level and then set it
> > > > to master.
> > > >
> > > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923
> > > >
> > > > Best regards,
> > > >
> > > > >
> > > > > Thanks,
> > > > > Juhani
> > > > >
> > > > > On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
> > > > >  wrote:
> > > > > >
> > > > > > Hi!
> > > > > >
> > > > > > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> > > > > > backup fails to create the correct storage domain for Hosted Engine.
> > > > > > How can I create one? Error from ansible task is:
> > > > > >
> > > > > > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> > > > > > detail is "[Domain format is different from master storage domain
> > > > > > format]". HTTP response code is 400.
> > > > > > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > > > > > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > > > > > format is different from master storage domain format]\". HTTP
> > > > > > response code is 400."}
> > > > > >
> > > > > > And from UI I can see that what has been created is a data domain. 
> > > > > > Not
> > > > > > data (master) domain as old one was. Now I'm stuck here. This is a
> > > > > > fibre channel system  where I'm trying to do this if it is relevant.
> > > > > >
> > > > > > What I could find from the logs is this:
> > > > > > 2021-04-27 09:36:06,925+0300 DEBUG
> > > > > > otopi.ovirt_hosted_engine_setup.ansible_utils
> > > > > > ansible_utils._process_output:105 storage_domain_details: 
> > > > > > {'changed':
> > > > > > False, 'ovirt_storage_domains': [{'href':
> > > > > > '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > > > > 'comment': '', 'description': '', 'id':
> > > > > > 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> > > > > > 'available': 531502202880, 'backup': False, 'block_size': 512,
> > > > > > 'committed': 0, 'critical_space_action_blocker': 5,
> > > > > > 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> > > > > > [], 'disks': 

[ovirt-users] Re: oVirt 2021 Spring survey questions

2021-04-27 Thread Jiří Sléžka
Hi,

On 4/27/21 10:13 AM, Sandro Bonazzola wrote:
> Hi,
> it's about the usual time of the year when we ask the community to
> provide feedback with a survey.
> Any questions you'd like to be asked?

maybe something about most wanted new feature?

Cheers,

Jiri

> 
> -- 
> 
> Sandro Bonazzola
> 
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
> 
> Red Hat EMEA 
> 
> sbona...@redhat.com    
> 
>  
> 
> **
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> *
> *
> 
> *
> 
> ___
> 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/S25LWSV7WLARKMJOYVQVSRLXV7O4LVUF/
> 
___
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/HPZIWWYYHHNCAISGYX4XE6VG6IPPICLY/


[ovirt-users] Re: Brick didn't come up after planned Poweroutage

2021-04-27 Thread marcel d'heureuse
Item solved.

We have unmount the brick. Format and Mount  at the same Mount point.

Add the engine dir and chown 036:036.

In ovirt on that brick we have click ob reset brick and now all 6 brick are in 
sync. 

Br
Marcel

Am 19. April 2021 14:16:48 MESZ schrieb Marcel d'Heureuse :
>Hi Guys,
>
>We hat a planned power outage and we have stopped all VMS and try to
>keep
>the servers alive as long as possible.
>
>Some Servers made a Reboot by itself but the IPMI interface was not
>reachable for the engine. The some hosts have made a restart.
>
>Now all systems running and all 180 VMs too. But one Brick of the
>hosted
>engine didn't come up.
>
>Did you have an idea. Please find attached some screenshots.
>
>Our Hosted Engine has 6 bricks on 6 different Servers.
>
>A restart of the Host didn't work. The Server Restart of glusterd
>didn't
>work.
>
>I hope you have some more Ideas?
>
>Thanks
>Br
>Marcel
___
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/GHO5GLQVITB5WUXEKMMXFWUCFMHFQQ2E/


[ovirt-users] Re: Ovirt-engine Setup Error-Failed to execute stage 'Misc configuration

2021-04-27 Thread Yedidyah Bar David
Hi,

On Tue, Apr 27, 2021 at 4:07 PM rajkumar madhu
 wrote:
>
> Hi Team,
>
> Unable to install Ovirt in my centos server.while executing Engine-setup 
> command ,I am getting below error.Please help me on this .
>
>Please confirm installation settings (OK, Cancel) [OK]: [ INFO  ] Stage: 
> Transaction setup
> [ INFO  ] Stopping engine service
> [ INFO  ] Stopping ovirt-fence-kdump-listener service
> [ INFO  ] Stopping dwh service
> [ INFO  ] Stopping vmconsole-proxy service
> [ INFO  ] Stopping websocket-proxy service
> [ INFO  ] Stage: Misc configuration (early)
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such 
> file or directory: '/etc/ovirt-engine/extensions.d'

Please check why this directory is missing. It should be part of the
'ovirt-engine' package.

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/SQITBAZUWXMHKHVPPO4XJGIDSFA4NK6Y/


[ovirt-users] Ovirt-engine Setup Error-Failed to execute stage 'Misc configuration

2021-04-27 Thread rajkumar madhu
Hi Team,

Unable to install Ovirt in my centos server.while executing Engine-setup
command ,I am getting below error.Please help me on this .

   Please confirm installation settings (OK, Cancel) [OK]: [ INFO  ] Stage:
Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping vmconsole-proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such
file or directory: '/etc/ovirt-engine/extensions.d'
[ INFO  ] DNF Performing DNF transaction rollback
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20210427090149-r0i80v.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20210427090311-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


Regards,
Rajkumar M.
9176772077
___
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/CKIRPIOU4BEQGOZ3QZBHK5I7O3NRZVIM/


[ovirt-users] Re: oVirt 2021 Spring survey questions

2021-04-27 Thread Sandro Bonazzola
Il giorno mar 27 apr 2021 alle ore 10:13 Sandro Bonazzola <
sbona...@redhat.com> ha scritto:

> Hi,
> it's about the usual time of the year when we ask the community to provide
> feedback with a survey.
> Any questions you'd like to be asked?
>

For reference, Autumn survey results:
https://docs.google.com/forms/d/e/1FAIpQLSdzzh_MSsSq-LSQLauJzuaHC0Va1baXm84A_9XBCIileLNSPQ/viewanalytics



>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.*
>
>
>

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.
*
___
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/QAHJO524IRSMIHHI47FDIIMVQDPAZCSZ/


[ovirt-users] Re: [ceph-users] osd nearfull is not detected

2021-04-27 Thread Konstantin Shalygin
Create tracker for this issue [1]



[1] https://tracker.ceph.com/issues/50533 

k

> On 21 Apr 2021, at 21:21, Dan van der Ster  > wrote:
> 
> Are you currently doing IO on the relevant pool? Maybe nearfull isn't
> reported until some pgstats are reported.
> 
> Otherwise sorry I haven't seen this.


___
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/BHL4NQ3XD5L73BTIAHVYJO6NE5TIP43Z/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
Hmm. Is it possible that when the other node is still running v4.3
this operation can't be completed as it doesn't know how to do it.

Thanks,
Juhani

On Tue, Apr 27, 2021 at 11:07 AM Juhani Rautiainen
 wrote:
>
> It seems that it is not supported in oVirt yet? I got this response
> when I tried to change master with those storage domain that I have:
>
> 
> 
> [Cannot switch master storage domain. Switch master
> storage domain operation is not supported.]
> Operation Failed
> 
>
> So is this really the only way to do this: shutdown everything and put
> other storage domains into maintenance? It would have been nice if
> this information was in the upgrade guide. It made this seem so easy
> and simple...
>
> Thanks,
> Juhani
>
> On Tue, Apr 27, 2021 at 10:47 AM Juhani Rautiainen
>  wrote:
> >
> > Thanks this looks like what I'm looking for. I'm still wondering how
> > to use this. I have LUN just for new hosted storage. Ansible created
> > storage domain to it correctly but just can't activate it. So is the
> > idea that I activate this unattached hosted_storage domain and try to
> > use API to make it master? I attached a screen shot how it looks
> > currently.
> >
> >
> >
> > On Tue, Apr 27, 2021 at 10:41 AM Yedidyah Bar David  wrote:
> > >
> > > On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
> > >  wrote:
> > > >
> > > > To continue. I noticed that another storage domain took the data
> > > > (master) now. I saw one advice that you can force change by putting
> > > > the storage domain to maintenance mode. Problem is that there are VM's
> > > > running on these domains. How is this supposed to work during the
> > > > restore?
> > >
> > > There is a recent change [1] by Shani (Cced) that should allow you
> > > to choose another storage domain as master. So you can create a new
> > > (temporary?) SD with the correct compatibility level and then set it
> > > to master.
> > >
> > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923
> > >
> > > Best regards,
> > >
> > > >
> > > > Thanks,
> > > > Juhani
> > > >
> > > > On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
> > > >  wrote:
> > > > >
> > > > > Hi!
> > > > >
> > > > > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> > > > > backup fails to create the correct storage domain for Hosted Engine.
> > > > > How can I create one? Error from ansible task is:
> > > > >
> > > > > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> > > > > detail is "[Domain format is different from master storage domain
> > > > > format]". HTTP response code is 400.
> > > > > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > > > > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > > > > format is different from master storage domain format]\". HTTP
> > > > > response code is 400."}
> > > > >
> > > > > And from UI I can see that what has been created is a data domain. Not
> > > > > data (master) domain as old one was. Now I'm stuck here. This is a
> > > > > fibre channel system  where I'm trying to do this if it is relevant.
> > > > >
> > > > > What I could find from the logs is this:
> > > > > 2021-04-27 09:36:06,925+0300 DEBUG
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils
> > > > > ansible_utils._process_output:105 storage_domain_details: {'changed':
> > > > > False, 'ovirt_storage_domains': [{'href':
> > > > > '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > > > 'comment': '', 'description': '', 'id':
> > > > > 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> > > > > 'available': 531502202880, 'backup': False, 'block_size': 512,
> > > > > 'committed': 0, 'critical_space_action_blocker': 5,
> > > > > 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> > > > > [], 'disks': [], 'external_status': 'ok', 'master': False,
> > > > > 'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
> > > > > 'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
> > > > > 'logical_units': [{'discard_max_size': 268435456,
> > > > > 'discard_zeroes_data': False, 'id':
> > > > > '36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
> > > > > 'product_id': 'Compellent Vol', 'serial':
> > > > > 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
> > > > > 'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > > > 'vendor_id': 'COMPELNT', 'volume_group_id':
> > > > > 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
> > > > > [], 'storage_format': 'v5', 'supports_discard': True,
> > > > > 'supports_discard_zeroes_data': False, 'templates': [], 'type':
> > > > > 'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
> > > > > 10, 'wipe_after_delete': False}], 'failed': False}
> > > > >
> > > > > 'master': False? I'm not sure if this creation or check. I tried this
> > > > > opration twice. I removed the new hosted_storage and 

[ovirt-users] Re: oVirt 2021 Spring survey questions

2021-04-27 Thread Gianluca Cecchi
Desired storage options
Desired single server setup with included maintenance and updates made easy
Backup improvements desiderata

Thanks,
Gianluca

On Tue, Apr 27, 2021 at 10:16 AM Sandro Bonazzola 
wrote:

> Hi,
> it's about the usual time of the year when we ask the community to provide
> feedback with a survey.
> Any questions you'd like to be asked?
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.*
>
>
> ___
> 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/S25LWSV7WLARKMJOYVQVSRLXV7O4LVUF/
>
___
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/GAJZQRV65SGQ42T3ILQF2RWDI4ATMFCC/


[ovirt-users] oVirt 2021 Spring survey questions

2021-04-27 Thread Sandro Bonazzola
Hi,
it's about the usual time of the year when we ask the community to provide
feedback with a survey.
Any questions you'd like to be asked?

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
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/S25LWSV7WLARKMJOYVQVSRLXV7O4LVUF/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
It seems that it is not supported in oVirt yet? I got this response
when I tried to change master with those storage domain that I have:



[Cannot switch master storage domain. Switch master
storage domain operation is not supported.]
Operation Failed


So is this really the only way to do this: shutdown everything and put
other storage domains into maintenance? It would have been nice if
this information was in the upgrade guide. It made this seem so easy
and simple...

Thanks,
Juhani

On Tue, Apr 27, 2021 at 10:47 AM Juhani Rautiainen
 wrote:
>
> Thanks this looks like what I'm looking for. I'm still wondering how
> to use this. I have LUN just for new hosted storage. Ansible created
> storage domain to it correctly but just can't activate it. So is the
> idea that I activate this unattached hosted_storage domain and try to
> use API to make it master? I attached a screen shot how it looks
> currently.
>
>
>
> On Tue, Apr 27, 2021 at 10:41 AM Yedidyah Bar David  wrote:
> >
> > On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
> >  wrote:
> > >
> > > To continue. I noticed that another storage domain took the data
> > > (master) now. I saw one advice that you can force change by putting
> > > the storage domain to maintenance mode. Problem is that there are VM's
> > > running on these domains. How is this supposed to work during the
> > > restore?
> >
> > There is a recent change [1] by Shani (Cced) that should allow you
> > to choose another storage domain as master. So you can create a new
> > (temporary?) SD with the correct compatibility level and then set it
> > to master.
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923
> >
> > Best regards,
> >
> > >
> > > Thanks,
> > > Juhani
> > >
> > > On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
> > >  wrote:
> > > >
> > > > Hi!
> > > >
> > > > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> > > > backup fails to create the correct storage domain for Hosted Engine.
> > > > How can I create one? Error from ansible task is:
> > > >
> > > > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> > > > detail is "[Domain format is different from master storage domain
> > > > format]". HTTP response code is 400.
> > > > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > > > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > > > format is different from master storage domain format]\". HTTP
> > > > response code is 400."}
> > > >
> > > > And from UI I can see that what has been created is a data domain. Not
> > > > data (master) domain as old one was. Now I'm stuck here. This is a
> > > > fibre channel system  where I'm trying to do this if it is relevant.
> > > >
> > > > What I could find from the logs is this:
> > > > 2021-04-27 09:36:06,925+0300 DEBUG
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils
> > > > ansible_utils._process_output:105 storage_domain_details: {'changed':
> > > > False, 'ovirt_storage_domains': [{'href':
> > > > '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > > 'comment': '', 'description': '', 'id':
> > > > 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> > > > 'available': 531502202880, 'backup': False, 'block_size': 512,
> > > > 'committed': 0, 'critical_space_action_blocker': 5,
> > > > 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> > > > [], 'disks': [], 'external_status': 'ok', 'master': False,
> > > > 'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
> > > > 'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
> > > > 'logical_units': [{'discard_max_size': 268435456,
> > > > 'discard_zeroes_data': False, 'id':
> > > > '36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
> > > > 'product_id': 'Compellent Vol', 'serial':
> > > > 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
> > > > 'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > > 'vendor_id': 'COMPELNT', 'volume_group_id':
> > > > 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
> > > > [], 'storage_format': 'v5', 'supports_discard': True,
> > > > 'supports_discard_zeroes_data': False, 'templates': [], 'type':
> > > > 'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
> > > > 10, 'wipe_after_delete': False}], 'failed': False}
> > > >
> > > > 'master': False? I'm not sure if this creation or check. I tried this
> > > > opration twice. I removed the new hosted_storage and remove also old
> > > > hosted_engine domain on second try to make sure that it doesn't
> > > > prevent creation of another master. No luck with that.
> > > >
> > > > Thanks,
> > > > Juhani
> > > ___
> > > 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-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
Thanks this looks like what I'm looking for. I'm still wondering how
to use this. I have LUN just for new hosted storage. Ansible created
storage domain to it correctly but just can't activate it. So is the
idea that I activate this unattached hosted_storage domain and try to
use API to make it master? I attached a screen shot how it looks
currently.



On Tue, Apr 27, 2021 at 10:41 AM Yedidyah Bar David  wrote:
>
> On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
>  wrote:
> >
> > To continue. I noticed that another storage domain took the data
> > (master) now. I saw one advice that you can force change by putting
> > the storage domain to maintenance mode. Problem is that there are VM's
> > running on these domains. How is this supposed to work during the
> > restore?
>
> There is a recent change [1] by Shani (Cced) that should allow you
> to choose another storage domain as master. So you can create a new
> (temporary?) SD with the correct compatibility level and then set it
> to master.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923
>
> Best regards,
>
> >
> > Thanks,
> > Juhani
> >
> > On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
> >  wrote:
> > >
> > > Hi!
> > >
> > > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> > > backup fails to create the correct storage domain for Hosted Engine.
> > > How can I create one? Error from ansible task is:
> > >
> > > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> > > detail is "[Domain format is different from master storage domain
> > > format]". HTTP response code is 400.
> > > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > > format is different from master storage domain format]\". HTTP
> > > response code is 400."}
> > >
> > > And from UI I can see that what has been created is a data domain. Not
> > > data (master) domain as old one was. Now I'm stuck here. This is a
> > > fibre channel system  where I'm trying to do this if it is relevant.
> > >
> > > What I could find from the logs is this:
> > > 2021-04-27 09:36:06,925+0300 DEBUG
> > > otopi.ovirt_hosted_engine_setup.ansible_utils
> > > ansible_utils._process_output:105 storage_domain_details: {'changed':
> > > False, 'ovirt_storage_domains': [{'href':
> > > '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > 'comment': '', 'description': '', 'id':
> > > 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> > > 'available': 531502202880, 'backup': False, 'block_size': 512,
> > > 'committed': 0, 'critical_space_action_blocker': 5,
> > > 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> > > [], 'disks': [], 'external_status': 'ok', 'master': False,
> > > 'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
> > > 'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
> > > 'logical_units': [{'discard_max_size': 268435456,
> > > 'discard_zeroes_data': False, 'id':
> > > '36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
> > > 'product_id': 'Compellent Vol', 'serial':
> > > 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
> > > 'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > > 'vendor_id': 'COMPELNT', 'volume_group_id':
> > > 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
> > > [], 'storage_format': 'v5', 'supports_discard': True,
> > > 'supports_discard_zeroes_data': False, 'templates': [], 'type':
> > > 'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
> > > 10, 'wipe_after_delete': False}], 'failed': False}
> > >
> > > 'master': False? I'm not sure if this creation or check. I tried this
> > > opration twice. I removed the new hosted_storage and remove also old
> > > hosted_engine domain on second try to make sure that it doesn't
> > > prevent creation of another master. No luck with that.
> > >
> > > Thanks,
> > > Juhani
> > ___
> > 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/TZHLFDIYRBQFVDLEVG4SWVZPXSVO7SKK/
>
>
>
> --
> 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/5B6IQCPBYPI5MTCL3QP7DUAYVMQLHJ4S/


[ovirt-users] Re: Attempting to detach a storage domain

2021-04-27 Thread Vojtech Juranek
On Tuesday, 27 April 2021 02:18:18 CEST matthew.st...@fujitsu.com wrote:
> There is no /var/log/vdsm directory on the hosted-engine.
> 
> This is from the current host, hosting the engine:  aaa.bbb.ccc.100 is the
> hosted-engine
 
> 2021-04-26 19:12:42,760-0500 INFO  (jsonrpc/2) [api.host] START
> getCapabilities() from=:::aaa.bbb.ccc.100,37812 (api:48)
 2021-04-26
> 19:12:42,763-0500 INFO  (jsonrpc/2) [api.host] FINISH getCapabilities
> error=internal error: Duplicate key from=:::168.127.151.100,37812
> (api:52) 2021-04-26 19:12:42,763-0500 ERROR (jsonrpc/2)
> [jsonrpc.JsonRpcServer] Internal server error (__init__:350) Traceback
> (most recent call last):
>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345,
> in _handle_request
 res = method(**params)
>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
> _dynamicMethod
 result = fn(*methodArgs)
>   File "", line 2, in getCapabilities
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
> method
 ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1371, in
> getCapabilities
 c = caps.get()
>   File "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 95, in
> get
 machinetype.compatible_cpu_models())
>   File "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 43, in
> __call__
 value = self.func(*args)
>   File "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 142, in
> compatible_cpu_models
 all_models = domain_cpu_models(c, arch, cpu_mode)
>   File "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 97, in
> domain_cpu_models
 domcaps = conn.getDomainCapabilities(None, arch, None,
> virt_type, 0) File
> "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line
> 131, in wrapper ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 94,
> in wrapper
 return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3844, in
> getDomainCapabilities
 if ret is None: raise libvirtError
> ('virConnectGetDomainCapabilities() failed', conn=self) libvirtError:
> internal error: Duplicate key

looks like https://bugzilla.redhat.com/show_bug.cgi?id=1791790
The fix should be contained in recent oVirt relases.

> 2021-04-26 19:12:42,764-0500 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC
> call Host.getCapabilities failed (error -32603) in 0.00 seconds
> (__init__:312)
 
> 
> -Original Message-
> From: Nir Soffer  
> Sent: Monday, April 26, 2021 5:12 PM
> To: Stier, Matthew 
> Cc: Benny Zlotnik ; users@ovirt.org
> Subject: Re: [ovirt-users] Re: Attempting to detach a storage domain
> 
> On Tue, Apr 27, 2021 at 12:48 AM matthew.st...@fujitsu.com
>  wrote:
> >
> >
> > I'm getting tons of these in the 
> > hosted-engine:/var/log/ovirt-engine/engine.log
> >
> >
> >
> > 2021-04-26 16:40:40,260-05 ERROR 
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> > (EE-ManagedThreadFactory-engineScheduled-Thread-8) [] EVENT_ID: 
> > VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ..zzz command Get 
> > Host Capabilities failed: Internal JSON-RPC error: {'reason': 
> > 'internal error: Duplicate key'}
> 
> 
> This looks like bad response from vdsm. Can you share the vdsm log from the
> host ..zzz?
 
> /var/log/vdsm/vdsm.log
> 
> 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/Z2GOGEZ2DZX34
> ADZ5L2BATIINYGVWYJD/



signature.asc
Description: This is a digitally signed message part.
___
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/BO4LDETTPXHB2ZSH4MNN6RSYSQEYTFEN/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Yedidyah Bar David
On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
 wrote:
>
> To continue. I noticed that another storage domain took the data
> (master) now. I saw one advice that you can force change by putting
> the storage domain to maintenance mode. Problem is that there are VM's
> running on these domains. How is this supposed to work during the
> restore?

There is a recent change [1] by Shani (Cced) that should allow you
to choose another storage domain as master. So you can create a new
(temporary?) SD with the correct compatibility level and then set it
to master.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1576923

Best regards,

>
> Thanks,
> Juhani
>
> On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
>  wrote:
> >
> > Hi!
> >
> > I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> > backup fails to create the correct storage domain for Hosted Engine.
> > How can I create one? Error from ansible task is:
> >
> > [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> > detail is "[Domain format is different from master storage domain
> > format]". HTTP response code is 400.
> > [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> > "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> > format is different from master storage domain format]\". HTTP
> > response code is 400."}
> >
> > And from UI I can see that what has been created is a data domain. Not
> > data (master) domain as old one was. Now I'm stuck here. This is a
> > fibre channel system  where I'm trying to do this if it is relevant.
> >
> > What I could find from the logs is this:
> > 2021-04-27 09:36:06,925+0300 DEBUG
> > otopi.ovirt_hosted_engine_setup.ansible_utils
> > ansible_utils._process_output:105 storage_domain_details: {'changed':
> > False, 'ovirt_storage_domains': [{'href':
> > '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > 'comment': '', 'description': '', 'id':
> > 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> > 'available': 531502202880, 'backup': False, 'block_size': 512,
> > 'committed': 0, 'critical_space_action_blocker': 5,
> > 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> > [], 'disks': [], 'external_status': 'ok', 'master': False,
> > 'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
> > 'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
> > 'logical_units': [{'discard_max_size': 268435456,
> > 'discard_zeroes_data': False, 'id':
> > '36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
> > 'product_id': 'Compellent Vol', 'serial':
> > 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
> > 'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
> > 'vendor_id': 'COMPELNT', 'volume_group_id':
> > 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
> > [], 'storage_format': 'v5', 'supports_discard': True,
> > 'supports_discard_zeroes_data': False, 'templates': [], 'type':
> > 'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
> > 10, 'wipe_after_delete': False}], 'failed': False}
> >
> > 'master': False? I'm not sure if this creation or check. I tried this
> > opration twice. I removed the new hosted_storage and remove also old
> > hosted_engine domain on second try to make sure that it doesn't
> > prevent creation of another master. No luck with that.
> >
> > Thanks,
> > Juhani
> ___
> 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/TZHLFDIYRBQFVDLEVG4SWVZPXSVO7SKK/



-- 
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/TD5KPKRXURJTIAJL77TY4HXJA5LXF7OH/


[ovirt-users] Re: Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
To continue. I noticed that another storage domain took the data
(master) now. I saw one advice that you can force change by putting
the storage domain to maintenance mode. Problem is that there are VM's
running on these domains. How is this supposed to work during the
restore?

Thanks,
Juhani

On Tue, Apr 27, 2021 at 9:58 AM Juhani Rautiainen
 wrote:
>
> Hi!
>
> I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
> backup fails to create the correct storage domain for Hosted Engine.
> How can I create one? Error from ansible task is:
>
> [ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
> detail is "[Domain format is different from master storage domain
> format]". HTTP response code is 400.
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Fault reason is \"Operation Failed\". Fault detail is \"[Domain
> format is different from master storage domain format]\". HTTP
> response code is 400."}
>
> And from UI I can see that what has been created is a data domain. Not
> data (master) domain as old one was. Now I'm stuck here. This is a
> fibre channel system  where I'm trying to do this if it is relevant.
>
> What I could find from the logs is this:
> 2021-04-27 09:36:06,925+0300 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:105 storage_domain_details: {'changed':
> False, 'ovirt_storage_domains': [{'href':
> '/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
> 'comment': '', 'description': '', 'id':
> 'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
> 'available': 531502202880, 'backup': False, 'block_size': 512,
> 'committed': 0, 'critical_space_action_blocker': 5,
> 'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
> [], 'disks': [], 'external_status': 'ok', 'master': False,
> 'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
> 'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
> 'logical_units': [{'discard_max_size': 268435456,
> 'discard_zeroes_data': False, 'id':
> '36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
> 'product_id': 'Compellent Vol', 'serial':
> 'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
> 'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
> 'vendor_id': 'COMPELNT', 'volume_group_id':
> 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
> [], 'storage_format': 'v5', 'supports_discard': True,
> 'supports_discard_zeroes_data': False, 'templates': [], 'type':
> 'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
> 10, 'wipe_after_delete': False}], 'failed': False}
>
> 'master': False? I'm not sure if this creation or check. I tried this
> opration twice. I removed the new hosted_storage and remove also old
> hosted_engine domain on second try to make sure that it doesn't
> prevent creation of another master. No luck with that.
>
> Thanks,
> Juhani
___
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/TZHLFDIYRBQFVDLEVG4SWVZPXSVO7SKK/


[ovirt-users] Re: Cannot delete snapshot

2021-04-27 Thread Giulio Casella
Thanks Shani, this did the trick. I managed to tweak the database and
then correctly remove the snapshot.

In the meanwhile, in bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1948599, this has been
confirmed as a bug.

Regards,
Giulio Casella

On 22/04/2021 14:31, Shani Leviim wrote:
> Since 6180c2e8-141a-4126-bcb1-5af5caa98175 doesn't exist on the VDSM, it
> should be removed from the DB,
> and since it's the parent id for image
> e77e2773-eecb-46a6-87c7-14df14f7d95b, it also should be changed.
> Something like this:
> UPDATE images set parentid = '19fa612d-2f93-46a5-93e7-c74afc2937fa'
> where image_guid = 'e77e2773-eecb-46a6-87c7-14df14f7d95b';
> 
> Then you can remove the 6180c2e8 image.
> 
> It will be safe if you'll have a backup before making any DB changes.
> 
> *Regards,
> *
> *Shani Leviim
> *
> 
> 
> On Thu, Apr 22, 2021 at 3:06 PM Giulio Casella  > wrote:
> 
> 
> 
> On 22/04/2021 13:20, Shani Leviim wrote:
> > Hi,
> > You can use the DeleteImage tool [1], but it's first recommended to
> > backup your engine.
> >
> > To be on the safe side, here are some checks it's better to execute
> > before deleting:
> > - In order to locate the illegal image, you can run this command
> on the
> > host:
> > vdsm-tool dump-volume-chains 
> 
> Ok, that is the relevant part of the output:
> 
> image:    2fd9b340-14ce-42cd-a880-8f75eb3b72e7
> 
>              - 19fa612d-2f93-46a5-93e7-c74afc2937fa
>                status: OK, voltype: INTERNAL, format: COW, legality:
> LEGAL, type: SPARSE, capacity: 53687091200, truesize: 45902462976
> 
>              - e77e2773-eecb-46a6-87c7-14df14f7d95b
>                status: OK, voltype: LEAF, format: COW, legality: LEGAL,
> type: SPARSE, capacity: 53687091200, truesize: 27917287424
> 
> So I have on storage two images, first one is a snapshot, second one is
> Active VM.
> 
> Being the VM up and running I think I could say that on storage the
> situation is consistent.
> 
> >
> > - It's also recommended to verify that the engine and vdsm are synced
> > about that image, once you've found it, by running this command on the
> > engine:
> > SELECT *
> >      FROM images_storage_domain_view images_storage_domain_view
> >      WHERE image_group_id = ;
> >
> 
> That's the point: engine (database) sees 3 images, whilst vdsm sees
> only 2.
> 
> And this is output of:
> 
> select
> 
> image_guid,parentid,imagestatus,vm_snapshot_id,volume_type,volume_format,active
> from images where image_group_id='image-group-id';
> 
>               image_guid              |               parentid
>      | imagestatus |            vm_snapshot_id            | volume_type
> | volume_format | active
> 
> --+--+-+--+-+---+
>  6180c2e8-141a-4126-bcb1-5af5caa98175 |
> 19fa612d-2f93-46a5-93e7-c74afc2937fa |           1 |
> 281a4331-89fa-4544-b6ab-22c0e5ac6459 |           2 |             4 | f
>  19fa612d-2f93-46a5-93e7-c74afc2937fa |
> ---- |           4 |
> 6488f4c8-efc4-43df-aafc-497fb7d51fbb |           2 |             4 | f
>  e77e2773-eecb-46a6-87c7-14df14f7d95b |
> 6180c2e8-141a-4126-bcb1-5af5caa98175 |           1 |
> 59f69d6f-f300-45e4-8487-1fe4368a5933 |           2 |             4 | t
> 
> So there is in the database an image (the one with image-guid
> "6180c2e8-141a-4126-bcb1-5af5caa98175") not existing on storage.
> 
> > [1]
> > DeleteImage tool:
> > SELECT DeleteImage('image-id');
> >
> >     DELETE
> >     FROM images
> >     WHERE image_guid = v_image_guid;
> >
> 
> I think it could not be enough, I think I should adjust parentship
> relations in "images" table.
> 
> Just looking at that table it seems not so difficult, but: is it
> sufficient? Is it safe?
> 
> Regards,
> Giulio
> 
___
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/BRNH5ERLXGUYSTWJ5F2C44CKVVRQVTHU/


[ovirt-users] Restoring hosted engine from backup fails on new FC storage domain creation

2021-04-27 Thread Juhani Rautiainen
Hi!

I started the upgrade from 4.3->4.4. Now I'm stuck as restoring the
backup fails to create the correct storage domain for Hosted Engine.
How can I create one? Error from ansible task is:

[ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault
detail is "[Domain format is different from master storage domain
format]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Fault reason is \"Operation Failed\". Fault detail is \"[Domain
format is different from master storage domain format]\". HTTP
response code is 400."}

And from UI I can see that what has been created is a data domain. Not
data (master) domain as old one was. Now I'm stuck here. This is a
fibre channel system  where I'm trying to do this if it is relevant.

What I could find from the logs is this:
2021-04-27 09:36:06,925+0300 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:105 storage_domain_details: {'changed':
False, 'ovirt_storage_domains': [{'href':
'/ovirt-engine/api/storagedomains/dd52022b-7616-47f6-9534-6f1a4084fdf4',
'comment': '', 'description': '', 'id':
'dd52022b-7616-47f6-9534-6f1a4084fdf4', 'name': 'hosted_storage',
'available': 531502202880, 'backup': False, 'block_size': 512,
'committed': 0, 'critical_space_action_blocker': 5,
'discard_after_delete': True, 'disk_profiles': [], 'disk_snapshots':
[], 'disks': [], 'external_status': 'ok', 'master': False,
'permissions': [], 'status': 'unattached', 'storage': {'type': 'fcp',
'volume_group': {'id': 'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit',
'logical_units': [{'discard_max_size': 268435456,
'discard_zeroes_data': False, 'id':
'36000d31005b4f629', 'lun_mapping': 3, 'paths': 0,
'product_id': 'Compellent Vol', 'serial':
'SCOMPELNTCompellent_Vol_0005b4f6-0029', 'size': 536870912000,
'storage_domain_id': 'dd52022b-7616-47f6-9534-6f1a4084fdf4',
'vendor_id': 'COMPELNT', 'volume_group_id':
'HRLDCn-p7X2-5X2O-vm4h-1Wb9-wAMu-WkIwit'}]}}, 'storage_connections':
[], 'storage_format': 'v5', 'supports_discard': True,
'supports_discard_zeroes_data': False, 'templates': [], 'type':
'data', 'used': 4294967296, 'vms': [], 'warning_low_space_indicator':
10, 'wipe_after_delete': False}], 'failed': False}

'master': False? I'm not sure if this creation or check. I tried this
opration twice. I removed the new hosted_storage and remove also old
hosted_engine domain on second try to make sure that it doesn't
prevent creation of another master. No luck with that.

Thanks,
Juhani
___
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/3VQUION533QU2ZXEGS3MOSGKQSZTSLRN/