[ovirt-users] Re: gluster service on the cluster is unchecked on hci cluster

2022-07-23 Thread Strahil Nikolov via Users
By the way, have you tried to set each host into maintenanceand then 
'Reinstall' from the Admin Portal ?
Best Regards,Strahil Nikolov 
 
 
  On Sun, Jul 24, 2022 at 0:53, Strahil Nikolov wrote:   
Did you identify any errors in the Engine log that could provide any clue ?
Best Regards,Strahil Nikolov 
 
 
  On Wed, Jul 20, 2022 at 16:15, Jiří Sléžka wrote:   On 
7/19/22 22:40, Strahil Nikolov wrote:
> Then, just ensure that the glusterd.service is enabled on all hosts and 
> leave it as it is.
> 
> If it worries you, you will have to move one of the hosts in another 
> cluster (probably a new one) and slowly migrate the VMs from the old to 
> the new one.
> Yet, if you use only 3 hosts that can put your VMs in risk (new cluster 
> having a single host could lead to downtimes).

well, it blocks me from any changes on cluster so it is serious 
problem... but personally I don't like this "new cluster and migration" 
approach :-(

> To be honest, I wouldn't change DB if it's a productive cluster. If you 
> decide to go that one -> make an engine backup before that.

Would anyone from oVirt/gluster developers have a look?

Thanks in advance,

Jiri

> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
>    On Tue, Jul 19, 2022 at 12:25, Jiří Sléžka
>     wrote:
>    On 7/16/22 07:53, Strahil Nikolov wrote:
>      > Try first with a single host. Set it into maintenance and check
>    if the
>      > checkmark is available.
> 
>    setting single host to maintenance didn't change state of the gluster
>    services checkbox in cluster settings.
> 
>      > If not, try to 'reinstall' (UI, Hosts, Installation, Reinstall) the
>      > host. During the setup, it should give you to update if the host
>    can run
>      > the HE and it should allow you to select the checkmark for Gluster.
> 
>    well, in my oVirt install there is no way to setup glusterfs services
>    during host reinstall. There are only choices to configure firewall,
>    activate host after install, reboot host after install and
>    deploy/undeploy hosted engine...
> 
>    I think that gluster related stuff is installed automatically as it is
>    configured on cluster level (where in my case are gluster services
>    disabled).
> 
>      > Let's work with a single node before being so drastic and
>    outage-ing a
>      > cluster.
> 
> 
>    Cheers,
> 
>    Jiri
> 
>      >
>      > Best Regards,
>      > Strahil Nikolov
>      >
>      >    On Thu, Jul 14, 2022 at 23:03, Jiří Sléžka
>      >    mailto:jiri.sle...@slu.cz>> wrote:
>      >    Dne 7/14/22 v 21:21 Strahil Nikolov napsal(a):
>      >      > Go to the UI, select the volume , pres 'Start' and mark the
>      >    checkbox for
>      >      > 'Force'-fully start .
>      >
>      >    well, it worked :-) Now all bricks are in UP state. In fact from
>      >    commandline point of view all volumes were active and all
>    bricks up all
>      >    the time.
>      >
>      >      > At least it should update the engine that everything is
>    running .
>      >      > Have you checked if the checkmark for the Gluster service is
>      >    available
>      >      > if you set the Host into maintenance?
>      >
>      >    which host do you mean? If all hosts in the cluster I have to
>    plan an
>      >    outage... will try...
>      >
>      >    Thanks,
>      >
>      >    Jiri
>      >
>      >      >
>      >      > Best Regards,
>      >      > Strahil Nikolov
>      >      >
>      >      >    On Thu, Jul 14, 2022 at 16:08, Jiří Sléžka
>      >      >    mailto:jiri.sle...@slu.cz>
>    >> wrote:
>      >      >    ___
>      >      >    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/
>    
>      >    

[ovirt-users] Re: gluster service on the cluster is unchecked on hci cluster

2022-07-23 Thread Strahil Nikolov via Users
Did you identify any errors in the Engine log that could provide any clue ?
Best Regards,Strahil Nikolov 
 
 
  On Wed, Jul 20, 2022 at 16:15, Jiří Sléžka wrote:   On 
7/19/22 22:40, Strahil Nikolov wrote:
> Then, just ensure that the glusterd.service is enabled on all hosts and 
> leave it as it is.
> 
> If it worries you, you will have to move one of the hosts in another 
> cluster (probably a new one) and slowly migrate the VMs from the old to 
> the new one.
> Yet, if you use only 3 hosts that can put your VMs in risk (new cluster 
> having a single host could lead to downtimes).

well, it blocks me from any changes on cluster so it is serious 
problem... but personally I don't like this "new cluster and migration" 
approach :-(

> To be honest, I wouldn't change DB if it's a productive cluster. If you 
> decide to go that one -> make an engine backup before that.

Would anyone from oVirt/gluster developers have a look?

Thanks in advance,

Jiri

> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
>    On Tue, Jul 19, 2022 at 12:25, Jiří Sléžka
>     wrote:
>    On 7/16/22 07:53, Strahil Nikolov wrote:
>      > Try first with a single host. Set it into maintenance and check
>    if the
>      > checkmark is available.
> 
>    setting single host to maintenance didn't change state of the gluster
>    services checkbox in cluster settings.
> 
>      > If not, try to 'reinstall' (UI, Hosts, Installation, Reinstall) the
>      > host. During the setup, it should give you to update if the host
>    can run
>      > the HE and it should allow you to select the checkmark for Gluster.
> 
>    well, in my oVirt install there is no way to setup glusterfs services
>    during host reinstall. There are only choices to configure firewall,
>    activate host after install, reboot host after install and
>    deploy/undeploy hosted engine...
> 
>    I think that gluster related stuff is installed automatically as it is
>    configured on cluster level (where in my case are gluster services
>    disabled).
> 
>      > Let's work with a single node before being so drastic and
>    outage-ing a
>      > cluster.
> 
> 
>    Cheers,
> 
>    Jiri
> 
>      >
>      > Best Regards,
>      > Strahil Nikolov
>      >
>      >    On Thu, Jul 14, 2022 at 23:03, Jiří Sléžka
>      >    mailto:jiri.sle...@slu.cz>> wrote:
>      >    Dne 7/14/22 v 21:21 Strahil Nikolov napsal(a):
>      >      > Go to the UI, select the volume , pres 'Start' and mark the
>      >    checkbox for
>      >      > 'Force'-fully start .
>      >
>      >    well, it worked :-) Now all bricks are in UP state. In fact from
>      >    commandline point of view all volumes were active and all
>    bricks up all
>      >    the time.
>      >
>      >      > At least it should update the engine that everything is
>    running .
>      >      > Have you checked if the checkmark for the Gluster service is
>      >    available
>      >      > if you set the Host into maintenance?
>      >
>      >    which host do you mean? If all hosts in the cluster I have to
>    plan an
>      >    outage... will try...
>      >
>      >    Thanks,
>      >
>      >    Jiri
>      >
>      >      >
>      >      > Best Regards,
>      >      > Strahil Nikolov
>      >      >
>      >      >    On Thu, Jul 14, 2022 at 16:08, Jiří Sléžka
>      >      >    mailto:jiri.sle...@slu.cz>
>    >> wrote:
>      >      >    ___
>      >      >    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/
>    
>      >        >
>      >      >  
>        

[ovirt-users] Re: Failed to connect to the host via ssh: root@192.168.4.17: Permission denied (publickey, gssapi-keyex, gssapi-with-mic, password).

2022-07-23 Thread Strahil Nikolov via Users
Can you provide the Ansible log ?
Best Regards,Strahil Nikolov 
 
 
An attempt to deploy a new host fails. Deploy I see the following error in 
the deploy log:

192.168.4.17: Failed to connect to host via ssh: root@192.168.4.17 :
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Despite the fact that the root user logs into the host via ssh from the 
ovirt-engine without any problems.

So I understand that ansible scripts cannot get through ssh.

Do you have any ideas about this?

ovirt-engine version 4.4.10.6-1.el8 Centos Stream 8
host - CentOS Stream 8
___
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/SYA2L573FAFMV5UHDT4Q6MUX44JI37NS/
  
___
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/IVUDZFIGALD4Q6YFM7UU24NZXBIFCAVD/


[ovirt-users] Re: oVirt over gluster: Replacing a dead host

2022-07-23 Thread Strahil Nikolov via Users
Yes. The arbiter is useless with only 1 data brick,as it contains only medatata 
and if you have 1 full brick (data + metadata) and 1 arbiter (only metadata) in 
the volume, you could end in a metadata split brain (risk is the same like  
replica 2 volumes) .
Once you have the new data brick , you can revert the process and increase the 
replica count .
gluster volume add-brick VOLUME replica 3 arbiter 1 host1:/path/to/data/brick 
host3:/path/to/arbiter/brick
Best Regards,Strahil Nikolov  
 
  On Sat, Jul 23, 2022 at 12:07, Gilboa Davara wrote:   
___
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/6LOFWLT7HX3KNJ7FTOPBN6LWVTEXHMBH/
  
___
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/IT6GVWPZQ7WS7SIFSAO6747ACO7SK3S3/


[ovirt-users] Re: oVirt over gluster: Replacing a dead host

2022-07-23 Thread Gilboa Davara
Hello,

Many thanks for your reply.
So not only did I need to remove the broken brick
(office-wx-hv1-lab-gfs:/mnt/LogGFSData/brick), I should have also remove
the active arbiter (office-wx-hv3-lab-gfs:/mnt/LogGFSData/brick)?

Thanks again,
Gilboa

On Fri, Jul 22, 2022 at 10:09 PM Strahil Nikolov 
wrote:

> There is no need to stop the volume, the operation can be done online.
>
> gluster volume remove-brick GV2Data repica 1
> office-wx-hv1-lab-gfs:/mnt/LogGFSData/brick
> office-wx-hv3-lab-gfs:/mnt/LogGFSData/brick force
>
> replica 1 -> remaining copies ( only Brick 2 remains)
>
> When you got a replacement brick define the brick first and the arbiter
> second (don't forget to define the replica 3 arbiter 1 change /I think this
> notation is still valid/ ).
>
>
> Best Regards,
> Strahil Nikolov
>
>
> On Thu, Jul 21, 2022 at 14:09, Gilboa Davara
>  wrote:
> ___
> 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/K4UVL3LQCTOFW2MIPYE5OFAIJNJSRJEQ/
>
>
___
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/6LOFWLT7HX3KNJ7FTOPBN6LWVTEXHMBH/


[ovirt-users] Re: Creating template from VM oVirt 4.5.1

2022-07-23 Thread Albert Esteve
Hi,

For the workaround, you could also use this example from the python sdk: 
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/add_template.py

With just a few tweaks, one should be able to add a new template.

BR,
Albert
___
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/XVIEJ6PGES2TNRU7YYMEAMOIJGJ43XMP/