Engine dm-1 disk crashed

Hi, We shutdown the complete ovirt system, if a poweroutage occurs and we don't want to make an hard power off. So we stop all vms, put the storages in maintenance and shut down the engine, disconnect storages and shut down the nodes. On power up, sometimes it works fine but in some cases the engine need a xfs_repair session to start. What we make wrong? Have you an idea? Br Marcel

On Wed, May 5, 2021 at 8:32 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
We shutdown the complete ovirt system, if a poweroutage occurs and we don't want to make an hard power off.
So we stop all vms, put the storages in maintenance and shut down the engine, disconnect storages and shut down the nodes.
On power up, sometimes it works fine but in some cases the engine need a xfs_repair session to start.
What we make wrong? Have you an idea?
Is this a hosted-engine? Or standalone? Best regards, -- Didi

Hi, Sorry, haven't write it. Yes it is a self hosted engine. Br Marcel Am 5. Mai 2021 07:42:35 MESZ schrieb Yedidyah Bar David <didi@redhat.com>:
On Wed, May 5, 2021 at 8:32 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
We shutdown the complete ovirt system, if a poweroutage occurs and we
don't want to make an hard power off.
So we stop all vms, put the storages in maintenance and shut down the
engine, disconnect storages and shut down the nodes.
On power up, sometimes it works fine but in some cases the engine
need a xfs_repair session to start.
What we make wrong? Have you an idea?
Is this a hosted-engine? Or standalone?
Best regards, -- Didi _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/DTUETZD2AC6UEX...

On Wed, May 5, 2021 at 10:59 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
Sorry, haven't write it. Yes it is a self hosted engine.
Br Marcel
Am 5. Mai 2021 07:42:35 MESZ schrieb Yedidyah Bar David <didi@redhat.com>:
On Wed, May 5, 2021 at 8:32 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
We shutdown the complete ovirt system, if a poweroutage occurs and we don't want to make an hard power off.
So we stop all vms, put the storages in maintenance and shut down the engine, disconnect storages and shut down the nodes.
Can you please provide more details? Do you follow some existing procedure/document? Why do you put storage to maintenance? Do you also put the hosted_storage domain to maintenance? If so, this can explain your fs corruption. If you have valid reasons to put all other storage to maintenance, perhaps filter out this one. You might want to also check this, although I do not know of many people that use it: https://github.com/oVirt/ovirt-ansible-collection/tree/master/roles/shutdown... Best regards,
On power up, sometimes it works fine but in some cases the engine need a xfs_repair session to start.
What we make wrong? Have you an idea?
Is this a hosted-engine? Or standalone?
Best regards,
-- Didi

Hi, We have generate a Script with the following prozedere: https://lists.ovirt.org/pipermail/users/2017-August/083665.html Hosted-storage will be not touched. Br Marcel Am 5. Mai 2021 10:40:25 MESZ schrieb Yedidyah Bar David <didi@redhat.com>:
On Wed, May 5, 2021 at 10:59 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
Sorry, haven't write it. Yes it is a self hosted engine.
Br Marcel
Am 5. Mai 2021 07:42:35 MESZ schrieb Yedidyah Bar David
On Wed, May 5, 2021 at 8:32 AM marcel d'heureuse
<marcel@deheureu.se> wrote:
Hi,
We shutdown the complete ovirt system, if a poweroutage occurs and
we don't want to make an hard power off.
So we stop all vms, put the storages in maintenance and shut down
<didi@redhat.com>: the engine, disconnect storages and shut down the nodes.
Can you please provide more details?
Do you follow some existing procedure/document?
Why do you put storage to maintenance?
Do you also put the hosted_storage domain to maintenance? If so, this can explain your fs corruption. If you have valid reasons to put all other storage to maintenance, perhaps filter out this one.
You might want to also check this, although I do not know of many people that use it:
https://github.com/oVirt/ovirt-ansible-collection/tree/master/roles/shutdown...
Best regards,
On power up, sometimes it works fine but in some cases the engine
need a xfs_repair session to start.
What we make wrong? Have you an idea?
Is this a hosted-engine? Or standalone?
Best regards,
-- Didi

On Wed, May 5, 2021 at 1:35 PM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
We have generate a Script with the following prozedere:
https://lists.ovirt.org/pipermail/users/2017-August/083665.html
Hosted-storage will be not touched.
OK. I have no idea why the engine's disk is corrupted. One way to try and debug this is to attach to the engine vm's console ('hosted-engine --console') during shutdown and check output there. Best regards,
Br Marcel
Am 5. Mai 2021 10:40:25 MESZ schrieb Yedidyah Bar David <didi@redhat.com>:
On Wed, May 5, 2021 at 10:59 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
Sorry, haven't write it. Yes it is a self hosted engine.
Br Marcel
Am 5. Mai 2021 07:42:35 MESZ schrieb Yedidyah Bar David <didi@redhat.com>:
On Wed, May 5, 2021 at 8:32 AM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
We shutdown the complete ovirt system, if a poweroutage occurs and we don't want to make an hard power off.
So we stop all vms, put the storages in maintenance and shut down the engine, disconnect storages and shut down the nodes.
Can you please provide more details?
Do you follow some existing procedure/document?
Why do you put storage to maintenance?
Do you also put the hosted_storage domain to maintenance? If so, this can explain your fs corruption. If you have valid reasons to put all other storage to maintenance, perhaps filter out this one.
You might want to also check this, although I do not know of many people that use it:
https://github.com/oVirt/ovirt-ansible-collection/tree/master/roles/shutdown...
Best regards,
On power up, sometimes it works fine but in some cases the engine need a xfs_repair session to start.
What we make wrong? Have you an idea?
Is this a hosted-engine? Or standalone?
Best regards,
-- Didi

Usually, when you power off the Engine from inside, there should be no issues.How do you power it off ? Best Regards,Strahil Nikolov

On Wed, May 5, 2021 at 3:48 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
Usually, when you power off the Engine from inside, there should be no issues.
Unless you do something with the storage before it's completely down. Then the engine's kernel might fail to sync.
How do you power it off ?
Best Regards, Strahil Nikolov
-- Didi

Hi, Inside our Script we use from node hosted-engine --vm-shutdown Br Marcel Am 5. Mai 2021 14:47:59 MESZ schrieb Strahil Nikolov via Users <users@ovirt.org>:
Usually, when you power off the Engine from inside, there should be no issues.How do you power it off ?
Best Regards,Strahil Nikolov

On Wed, May 5, 2021 at 4:19 PM marcel d'heureuse <marcel@deheureu.se> wrote:
Hi,
Inside our Script we use from node hosted-engine --vm-shutdown
This *should* be ok, but: 1. Better verify (e.g. "hosted-engine --console" doing this and see that it all looks ok) 2. I'd personally still prefer to ssh to the machine and do there 'poweroff' (or "systemctl poweroff", as seems to be the recommendation these days).
Br Marcel
Am 5. Mai 2021 14:47:59 MESZ schrieb Strahil Nikolov via Users <users@ovirt.org>:
Usually, when you power off the Engine from inside, there should be no issues. How do you power it off ?
Best Regards, Strahil Nikolov
-- Didi
participants (3)
-
marcel d'heureuse
-
Strahil Nikolov
-
Yedidyah Bar David