[ovirt-users] Re: split brain scenario?

2021-01-23 Thread Henry lol
2021년 1월 24일 (일) 오전 1:22, Nir Soffer 님이 작성:

> On Sat, Jan 23, 2021 at 5:18 PM Henry lol 
> wrote:
> >
> > Hi,
> >
> > according to HA VM documentation, a paused VM may be started on another
> host and later resumed on the original host.
> > - https://www.ovirt.org/develop/ha-vms.html
> > here, I'm assuming the HA VM was paused due to I/O error.
> >
> > but I'm wondering how it can happen because I guess the HA VM will be
> restarted on another host only after it's completely killed from the
> original host.
>
> This is true for normal VMs, but not for HA VMs. These can be started
> on another host even if we don't know if the VM is still running on the
> original host. An example use case is host becoming disconnected from
> the management network, or host having a hardware issue.
>

It means the normal VMs can be restarted by user's intervention so that it
may result in the split brain??

> can you give the split brain scenario?
>
> HA VM is using a storage lease, so it cannot have a split brain.
>
> When VM is paused, it releases the lease. When VM is resumed,
> it tries to acquire the lease before resuming, and resume will fail
> if the lease is owned by another host.
>
> If you start the HA VM on another host, the other host will acquire
> the storage lease.  Resuming the original paused VM will fail.
>
> Nir
>
>
Specifically, I assumed the PM setup and the HA VM not using the storage
lease because I'm going to use MBS which doesn't support it yet AFAIK.
so, I was wondering in which case the split brain can occur under this
circumstance.

I guess it doesn't occur as long as the user/admin doesn't manually restart
VM, right?

Sincerely,
___
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/TBDGP2SGJT6V7LCDE52O72ZNJEAQGMLJ/


[ovirt-users] Re: How to configure Power Management Fence Protocol for Libvirtd VM ?

2021-01-23 Thread Martin Perina
Hi Eli,

could you please take a look?

Thanks,
Martin

On Mon, Jan 18, 2021 at 9:32 AM tommy  wrote:

> But on every KVM hosts, using fence_xvm command success.
>
>
>
> [root@ohost1 ~]# fence_xvm -o list
>
> 1.ovs1   7fd9b01e-236c-4d08-9c07-ad0b710139e2 off
>
> 1.ovs2   6b0e73b1-649a-470d-9c1b-ca6919e0514d off
>
> 2.host1  476e5157-1211-4701-bf0d-425ebb251817 off
>
> 2.host2  f7523d48-37dd-45ac-8c5d-dc20300f42db off
>
> 3.ohost1 d2b5c362-9c2e-49fd-adef-aebe80716c22 on
>
> 3.ohost2 b192cb11-1be8-41fa-b156-5363513f6478 on
>
> 3.ohost3 b83f1fe4-44ee-45fc-87e5-c79d2ac55fb1 on
>
> 4.foreman6c5ee3a0-bdc6-4bd6-bd01-78c497c387ce off
>
> 4.foreman2   0715da46-abf5-49df-9057-d7baaaf2f500 off
>
> [root@ohost1 ~]#
>
> [root@ohost1 ~]#
>
> [root@ohost1 ~]#
>
> [root@ohost1 ~]# fence_xvm -a 225.0.0.12 -k /etc/cluster/fence_xvm.key -H
> 3.ohost1 -o status
>
> Status: ON
>
> [root@ohost1 ~]#
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From:* users-boun...@ovirt.org  *On Behalf Of *
> tommy
> *Sent:* Monday, January 18, 2021 2:08 PM
> *To:* 'users' 
> *Subject:* [ovirt-users] Re: How to configure Power Management Fence
> Protocol for Libvirtd VM ?
>
>
>
>
>
>
>
> It raises JSON-RPC error.
>
>
>
> The engine log is :
>
>
>
> 2021-01-18 14:05:33,181+08 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-5) [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] EVENT_ID:
> VDS_ALERT_FENCE_TEST_FAILED(9,001), Power Management test failed for Host
> ohost1.tltd.com.Internal JSON-RPC error
>
> 2021-01-18 14:05:33,181+08 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default
> task-5) [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] FINISH, FenceVdsVDSCommand,
> return: FenceOperationResult:{status='ERROR', powerStatus='UNKNOWN',
> message='Internal JSON-RPC error'}, log id: 5b821a80
>
> 2021-01-18 14:05:33,191+08 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-5) [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Execution of power
> management status on Host ohost1.tltd.com using Proxy Host ohost3.tltd.com
> and Fence Agent xvm:192.168.10.12 failed.
>
> 2021-01-18 14:05:33,191+08 WARN
> [org.ovirt.engine.core.bll.pm.FenceAgentExecutor] (default task-5)
> [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] Fence action failed using proxy host
> 'ohost3.tltd.com', trying another proxy
>
> 2021-01-18 14:05:33,238+08 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-5) [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] EVENT_ID:
> FENCE_OPERATION_USING_AGENT_AND_PROXY_STARTED(9,020), Executing power
> management status on Host ohost1.tltd.com using Proxy Host ohost2.tltd.com
> and Fence Agent xvm:192.168.10.12.
>
> 2021-01-18 14:05:33,240+08 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default
> task-5) [a19cd4a1-58d4-407b-ae6d-9ee11d6d5eb2] START,
> FenceVdsVDSCommand(HostName = ohost2.tltd.com,
> FenceVdsVDSCommandParameters:{hostId='e2333e4e-cc5b-47c0-a007-541ae5aac2df',
> targetVdsId='0dc3ca3e-1643-4c92-aa1f-4860f3a3c3fe', action='STATUS',
> agent='FenceAgent:{id='null', hostId='null', order='1', type='xvm',
> ip='192.168.10.12', port='1229', user='root', password='***',
> encryptOptions='false', options='ipport=1229'}', policy='null'}), log id:
> 69fdd7b2
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From:* users-boun...@ovirt.org  *On Behalf Of *
> tommy
> *Sent:* Monday, January 18, 2021 12:24 PM
> *To:* 'users' 
> *Subject:* [ovirt-users] How to configure Power Management Fence Protocol
> for Libvirtd VM ?
>
>
>
> Hi, everyone:
>
>
>
> *My test env is running on Ubuntu Libvirtd server, I configure the QEMU VM
> as Physical Host, the hosts list is:*
>
>
>
> root@ubts1:~# virsh
>
> Welcome to virsh, the virtualization interactive terminal.
>
>
>
> Type:  'help' for help with commands
>
>'quit' to quit
>
> virsh # list
>
> Id   NameState
>
> ---
>
> 24   3.ooengh1   running
>
> 25   3.ooengh2   running
>
>
>
>
>
> root@ubts2:~# virsh
>
> Welcome to virsh, the virtualization interactive terminal.
>
>
>
> Type:  'help' for help with commands
>
>'quit' to quit
>
> virsh # list
>
> Id   Name   State
>
> --
>
> 26   3.ohost1   running
>
> 27   3.ohost2   running
>
> 28   3.ohost3   running
>
>
>
> *The ooengh1 and ooengh2 are configured for hosted-engine, and ohst1
> ohost2 ohost3 are configured for KVM server.*
>
>
>
> *Now, I want to test the Power Management service using my test env, how
> can I choose the fence protocol ?*
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.

[ovirt-users] Re: OVirt rest api 4.3. How do you get the job id started by the async parameter

2021-01-23 Thread Martin Perina
Hi Ori,

could you please take a look?

Thanks,
Martin

On Thu, Jan 21, 2021 at 9:52 PM  wrote:

> I am using the rest api to create a VM, because the VM is cloned from the
> template and it takes a long time, I am also passing the async parameters
> hoping to receive back a job id, which I could then query
>
> https://x/ovirt-engine/api/vms?async=true&clone=true
>
> however I get the new VM record which is fine but then I have no way of
> knowing the job id I should query to know when it is finished. And looking
> at all jobs there is no reference back to the VM execept for the description
>
>
>   id="d17125c7-6668-4b6c-ad22-95121cb66a31">
> 
>href="/ovirt-engine/api/jobs/d17125c7-6668-4b6c-ad22-95121cb66a31/clear"
> rel="clear"/>
>href="/ovirt-engine/api/jobs/d17125c7-6668-4b6c-ad22-95121cb66a31/end"
> rel="end"/>
> 
> Creating VM DEMO-PCC-4 from Template
> MASTER-W10-20H2-CDrive in Cluster d1-c2
>  href="/ovirt-engine/api/jobs/d17125c7-6668-4b6c-ad22-95121cb66a31/steps"
> rel="steps"/>
> true
> false
> 2021-01-21T12:49:06.700-08:00
> 2021-01-21T12:48:59.453-08:00
> started
>  href="/ovirt-engine/api/users/0f2291fa-872a-11e9-b13c-00163e449339"
> id="0f2291fa-872a-11e9-b13c-00163e449339"/>
>   
> ___
> 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/TGZQLI55EFZOSEBNEU5CCBDZ2EDXMINQ/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/SETMGF2ZNYGU6OJKJAY7WRPKTWUQGF7F/


[ovirt-users] Re: New setup - Failing to Activate storage domain on NFS shared storage

2021-01-23 Thread Matt Snow
Thanks, Joop. I saw this solution on the list and tried it as well. It did
not work for me.

On Fri, Jan 22, 2021 at 3:48 AM Joop  wrote:

> Hallo All,
>
> I'm not sure if this was mentioned but I had some problems with NFS,
> using Synology,  a while back and the solution for me was to use a
> subfolder instead of the root of the NFS mount.
> My exports:
> /volume1/nfs*(rw,sec=sys,anonuid=36,anongid=36)
>
> And I mount data in oVirt as /volume1/nfs/data. Before I re-installed I
> used /volume1/nfs/data as an export.
> Worth a try?
>
> Regards,
>
> Joop
> ___
> 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/BXK27HXYNB2X6HOHYCROIHKZYRT4FKTD/
>
___
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/P22LHTO3YOJHQKCJ2EB4RKIMUGUPADJH/


[ovirt-users] Re: split brain scenario?

2021-01-23 Thread Nir Soffer
On Sat, Jan 23, 2021 at 5:18 PM Henry lol  wrote:
>
> Hi,
>
> according to HA VM documentation, a paused VM may be started on another host 
> and later resumed on the original host.
> - https://www.ovirt.org/develop/ha-vms.html
> here, I'm assuming the HA VM was paused due to I/O error.
>
> but I'm wondering how it can happen because I guess the HA VM will be 
> restarted on another host only after it's completely killed from the original 
> host.

This is true for normal VMs, but not for HA VMs. These can be started
on another host even if we don't know if the VM is still running on the
original host. An example use case is host becoming disconnected from
the management network, or host having a hardware issue.

> can you give the split brain scenario?

HA VM is using a storage lease, so it cannot have a split brain.

When VM is paused, it releases the lease. When VM is resumed,
it tries to acquire the lease before resuming, and resume will fail
if the lease is owned by another host.

If you start the HA VM on another host, the other host will acquire
the storage lease.  Resuming the original paused VM will fail.

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


[ovirt-users] Re: static IP assignment to VM

2021-01-23 Thread Strahil Nikolov via Users
I guess the name in the NIC can be used for that purpose.
Best Regards,Strahil Nikolov
and in order to assign IP using cloud-init, "In-guest Network Interface Name" 
field should be filled but how to know that name in advance?  
___
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/ZMRIAKCQTZOGP7HQXJ4BA5VCAH4ISRQN/


[ovirt-users] static IP assignment to VM

2021-01-23 Thread Henry lol
Hi,

I'm trying to use Cloud-Init for assigning static IP to the guest, is there
any other way commonly used?

and in order to assign IP using cloud-init, "In-guest Network Interface
Name" field should be filled but how to know that name in advance?
___
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/3LHYTM63ZXWEE7ORHAOILWXBAQNSIIVI/


[ovirt-users] split brain scenario?

2021-01-23 Thread Henry lol
Hi,

according to HA VM documentation, a paused VM may be started on another
host and later resumed on the original host.
- https://www.ovirt.org/develop/ha-vms.html
here, I'm assuming the HA VM was paused due to I/O error.

but I'm wondering how it can happen because I guess the HA VM will be
restarted on another host only after it's completely killed from the
original host.

can you give the split brain scenario?
___
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/SHKQ5QWA2NCFFYN4DSA6RJFEAU6JMLH7/


[ovirt-users] Re: CentOS 8 is dead

2021-01-23 Thread Strahil Nikolov via Users
В 14:41 + на 23.01.2021 (сб), Florian Schmid via Users написа:
> Hi Strahil,
> 
> thank you very much for the information.
> 
> Now the question is, will oVirt stay 100 % compatible to RH?
It should, but it it might have issues like we got with ovirt 4.4
(cluster compatibility 4.5) and CentOS 8.3

> As I understood it, is that oVirt will be developed for CentOS Stream
> and will be tested against it.
> RH doesn't have the same application versions than CentOS Stream,
> because Stream is newer and a way ahead RH, so is oVirt then.
I would rather pick RHEL 8 than Stream. It has so much troubles right
now and I doubt that it will be as stable as I wish. I just want to 
update, reboot and forget about the nodes.

> I think, we will have then the same problems with oVirt and CentOS
> had, where RH 8.3 was already released and CentOS 8.3 not. Now it is
> vice versa. Stream is first and RH later.
> BR Florian
Most probably. But I think upgrading from RHEL 8 to CentOS Stream 8
will be easy in case something goes bad.

Best Regards,
Strahil Nikolov
___
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/2DXLM6Z4JURLN7SWNUGSNS52CQ6G4WJZ/


[ovirt-users] Re: CentOS 8 is dead

2021-01-23 Thread Florian Schmid via Users
Hi Strahil, 

thank you very much for the information. 

Now the question is, will oVirt stay 100 % compatible to RH? 

As I understood it, is that oVirt will be developed for CentOS Stream and will 
be tested against it. 
RH doesn't have the same application versions than CentOS Stream, because 
Stream is newer and a way ahead RH, so is oVirt then. 

I think, we will have then the same problems with oVirt and CentOS had, where 
RH 8.3 was already released and CentOS 8.3 not. Now it is vice versa. Stream is 
first and RH later. 


BR Florian 


Von: "users"  
An: "users"  
Gesendet: Samstag, 23. Januar 2021 14:58:44 
Betreff: [ovirt-users] Re: CentOS 8 is dead 

For anyone interested , 

RH are extending the developer subscription for production use of up to 16 
systems [1]. 
For me , it's completely enough to run my oVirt nodes on EL 8. 


[ 
https://www.redhat.com/en/blog/new-year-new-red-hat-enterprise-linux-programs-easier-ways-access-rhel
 | 
https://www.redhat.com/en/blog/new-year-new-red-hat-enterprise-linux-programs-easier-ways-access-rhel
 ] 

Best Regards, 
Strahil Nikolov 

___ 
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/S5SG7IXZYSCA6MVFV6MIPJZFVDAFQ3EU/
 
___
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/KBIXKW7XQ5FMXBQZEIBB4B6X2K4WBNMT/


[ovirt-users] Re: CentOS 8 is dead

2021-01-23 Thread Strahil Nikolov via Users
For anyone interested ,

RH are extending the developer subscription for production use of up to 16 
systems [1].
For me , it's completely enough to run my oVirt nodes on EL 8.


https://www.redhat.com/en/blog/new-year-new-red-hat-enterprise-linux-programs-easier-ways-access-rhel

Best Regards,
Strahil Nikolov
___
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/S5SG7IXZYSCA6MVFV6MIPJZFVDAFQ3EU/


[ovirt-users] Re: Ovirt reporting dashboard not working

2021-01-23 Thread Strahil Nikolov via Users
Try using the 'source /opt/rh/rh-postgresql95/enable'
Best Regards,Strahil Nikolov
В 19:53 + на 22.01.2021 (пт), José Ferradeira via Users написа:
> The postgres is older than 10:
> postgresql-jdbc-9.2.1002-6.el7_5.noarch
> postgresql-libs-9.2.23-3.el7_4.x86_64
> rh-postgresql95-postgresql-server-9.5.9-4.el7.x86_64
> rh-postgresql95-runtime-2.2-2.el7.x86_64
> rh-postgresql95-postgresql-9.5.9-4.el7.x86_64
> rh-postgresql95-postgresql-contrib-9.5.9-4.el7.x86_64
> rh-postgresql95-postgresql-libs-9.5.9-4.el7.x86_64
> collectd-postgresql-5.8.0-3.el7.x86_64
> 
> Should I use this instead:
> su - postgresscl enable rh-postgresql95 bashpsql
> Thanks
> 
> José 
> De: supo...@logicworks.pt
> Para: "Strahil Nikolov" 
> Cc: "users" 
> Enviadas: Sexta-feira, 22 De Janeiro de 2021 16:39:04
> Assunto: Re: [ovirt-users] Ovirt reporting dashboard not working
> 
> Hello,
> 
> # su - postgres
> -bash-4.2$ source /opt/rh/rh-postgresql10/enable
> -bash: /opt/rh/rh-postgresql10/enable: No such file or directory
> -bash-4.2$ psql engine
> -bash: psql: command not found
> -bash-4.2$
> 
> 
> What am I doing wrong?
> 
> 
> 
> Thanks
> 
> 
> 
> José
> 
> 
> De: "Strahil Nikolov" 
> Para: "users" , supo...@logicworks.pt
> Enviadas: Segunda-feira, 18 De Janeiro de 2021 19:16:17
> Assunto: Re: [ovirt-users] Ovirt reporting dashboard not working
> 
> Most probably the dwh is far in the future.
> 
> The following is not the correct procedure , but it works:
> 
> ssh root@engine
> su - postgres
> source /opt/rh/rh-postgresql10/enable
> psql engine
> 
> engine=# select * from dwh_history_timekeeping ;
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В понеделник, 18 януари 2021 г., 19:22:51 Гринуич+2, José Ferradeira
> via Users  написа: 
> 
> 
> 
> 
> 
> Hello,
> 
> Had a problem with the engine server, the clock changed to 2026 and
> now I don't have any report on the dashboard.
> The version is 4.2.3.8-1.el7
> 
> Any idea?
> 
> Thanks
> 
> ___Users mailing list -- 
> users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/6YETINUGJEPAZSFTK35XVZ3SM5GH2OPU/
___
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/EQ4XYEALJTHX6CGUINJLHYDFVX6RKQZ4/


[ovirt-users] Re: Ovirt reporting dashboard not working

2021-01-23 Thread Strahil Nikolov via Users
It worked for me , but my HE is 4.3.10.
Best Regards,Strahil Nikolov
В 16:39 + на 22.01.2021 (пт), José Ferradeira via Users написа:
> Hello,
> 
> # su - postgres
> -bash-4.2$ source /opt/rh/rh-postgresql10/enable
> -bash: /opt/rh/rh-postgresql10/enable: No such file or directory
> -bash-4.2$ psql engine
> -bash: psql: command not found
> -bash-4.2$
> 
> 
> What am I doing wrong?
> 
> 
> 
> Thanks
> 
> 
> 
> José
> 
> 
> De: "Strahil Nikolov" 
> Para: "users" , supo...@logicworks.pt
> Enviadas: Segunda-feira, 18 De Janeiro de 2021 19:16:17
> Assunto: Re: [ovirt-users] Ovirt reporting dashboard not working
> 
> Most probably the dwh is far in the future.
> 
> The following is not the correct procedure , but it works:
> 
> ssh root@engine
> su - postgres
> source /opt/rh/rh-postgresql10/enable
> psql engine
> 
> engine=# select * from dwh_history_timekeeping ;
> 
> Best Regards,
> Strahil Nikolov
> 
> 
> 
> 
> 
> 
> В понеделник, 18 януари 2021 г., 19:22:51 Гринуич+2, José Ferradeira
> via Users  написа: 
> 
> 
> 
> 
> 
> Hello,
> 
> Had a problem with the engine server, the clock changed to 2026 and
> now I don't have any report on the dashboard.
> The version is 4.2.3.8-1.el7
> 
> Any idea?
> 
> Thanks
> 
> ___Users mailing list -- 
> users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/XFLUOHFPYPYRID2EMMTZFE6KIYIVWB4M/
___
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/C4QK5EA22DGJRRSPWVUEIBCTNPLMCYGK/


[ovirt-users] Re: For data integrity make sure that the server is configured with Quorum (both client and server Quorum)

2021-01-23 Thread Strahil Nikolov via Users
> Then I enable the quorum on the server side:
>  
> [root@gluster1 ~]# gluster volume set all cluster.server-quorum-ratio 
> 51%
> volume set: success
> [root@gluster1 ~]#
> [root@gluster1 ~]# gluster volume set volume1 cluster.server-quorum-
> type server
> volume set: success
> [root@gluster1 ~]#
> 
You don't need to do it manually, there is a an option in Admin portal
-> Storage -> Volumes -> Select Volume -> "three dots in upper right"
-> Optimize for Virt Store

Best Regards,
Strahil Nikolov
___
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/7XNLI57LE2Z3K5XP2WTVJKIUUDCR2U67/


[ovirt-users] Re: VMware Fence Agent

2021-01-23 Thread Strahil Nikolov via Users
I think it's easier to get the Vmware's CA certificate and import it on
all hosts + engine and trust it.By default you should put it at
/etc/pki/ca-trust/source/anchors/ and then use "update-ca-trust" to
make all certs signed by the Vmware vCenter's CA trusted.
Best Regards,Strahil Nikolov

В 06:44 + на 21.01.2021 (чт), Robert Tongue написа:
> Greetings all, I am new to oVirt, and have a proof of concept setup
> with a 3-node oVirt cluster nested inside of VMware VCenter to learn
> it, so then I can efficiently migrate that back out to the physical
> nodes to replace VCenter.   I have gotten all the way
>  to a working cluster setup, with the exception of fencing.  I used
> engine-config to pull in the vmware_soap fence agent, and enabled all
> the options, however there is one small thing I cannot figure out. 
> The connection uses a self-signed certificate on the
>  vcenter side, and I cannot figure out the proper combination of
> engine-config -s commands to get the script to be called with the
> "ssl-insecure" option, which does contain a value.  It just needs the
> option passed.   Is there anyone out there in the ether
>  that can help me out? I can provide any information you request. 
> Thanks in advance.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The fence agent script is called with the following syntax in my
> tests, and returned the proper status:
> 
> 
> 
> 
> 
> 
> 
> [root@cluster2-vm ~]# /usr/sbin/fence_vmware_soap -o status -a
> vcenter.address --username="administrator@vsphere.local" --password="
> 0bfusc@t3d" --ssl-insecure -n cluster1-vm
> 
> 
> 
> 
> 
> 
> 
> Status: ON
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -phunyguy
> 
> 
> 
> 
> 
> ___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/3PTMUPHR3ZOSQL3SEMTJPAWOAFL5ZUY2/
___
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/XZRCRRKYO5IM3P4LYEORJRAKIVIAYUYP/