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
<juhani.rautiainen(a)gmail.com> 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
> <juhani.rautiainen(a)gmail.com> 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:
> >
> > <?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
> > <fault>
> > <detail>[Cannot switch master storage domain. Switch master
> > storage domain operation is not supported.]</detail>
> > <reason>Operation Failed</reason>
> > </fault>
> >
> > 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
> > <juhani.rautiainen(a)gmail.com> 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 <didi(a)redhat.com>
wrote:
> > > >
> > > > On Tue, Apr 27, 2021 at 10:15 AM Juhani Rautiainen
> > > > <juhani.rautiainen(a)gmail.com> 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
> > > > > <juhani.rautiainen(a)gmail.com> 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':
> > > > > > '36000d31005b4f6000000000000000029',
'lun_mapping': 3, 'paths': 0,
> > > > > > 'product_id': 'Compellent Vol',
'serial':
> > > > > > 'SCOMPELNTCompellent_Vol_0005b4f6-00000029',
'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(a)ovirt.org
> > > > > To unsubscribe send an email to users-leave(a)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/TZHLFDIYRBQ...
> > > >
> > > >
> > > >
> > > > --
> > > > Didi
> > > >