Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread Martin Sivak
Hi, > hosted-engine1 : 192.168.122.66 > hosted-engine2 : 192.168.122.223 But you said in an earlier email that: > I hava two node, A:192.168.122.65 , B:192.168.122.66 Make sure your names resolve properly. So far it does exactly what it is supposed to do - when the engine is unreachable, it t

[ovirt-users] ovirtsdk4 compile ERROR

2018-04-25 Thread dhy336
Hi, I compile ovirtsdk4, but has some error, do i need to run ovirt-engine in computer which compile ovirtsdk4? thanks.- >> end captured stdout << -- ==ERROR: Test that sending two headers

[ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
engine VM:192.168.122.91hosted-engine1 : 192.168.122.66hosted-engine2 : 192.168.122.223 I can not visit web UI, but my engine VM is run, i can login it. engine has some error 2018-04-25 18:35:03,401+08 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connect

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Maor Lipchuk
Hi Marcin, It seems to be availalbe since Apr 18th (see [1]), so I think you could try to upgrade and check if that fixes your problem. [1] https://www.ovirt.org/release/4.2.3/ Regards, Maor On Wed, Apr 25, 2018 at 3:03 PM, Marcin Kubacki wrote: > Hi Maor, > > I think it was 4.2.2 - and when

Re: [ovirt-users] Fwd: FreeIPA authentication broken

2018-04-25 Thread Kristian Petersen
I restarted the service and it is working beautifully again. Thank you for you time and effort in helping me. As for what caused this mess... My hosted engine crashed after it's storage was temporarily disconnected by an automatic application of an update which then rebooted the NAS. After I was

[ovirt-users] IP change considerations

2018-04-25 Thread Jayme
I am planning on changing the subnet of our private IP space from 192.168.0.x to something else (due to conflicts with VPN on our network). What considerations do I need to make in regards to changing the IPs on oVirt cluster?. The VMs should be fairly easy but what about the hosts, and hosted eng

[ovirt-users] Problems uploading ISOs

2018-04-25 Thread Ramon Sierra
I have successfully uploaded many ISOs without any problem using ovirt-iso-uploader. But since yesterday everytime I tried to upload another ISO it is giving me the following error. ERROR: glfs_init failed: Success I've been looking for a possible solution but nothing works yet. Any guidance on t

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Hanna Terentieva
Hi, we are using the following method from oVirt engine SDK v.4.2 rather than HTTP requests. DiskAttachment attachment = attachmentsService.add().attachment(diskAttachment().di sk(diskBuilder).active(true) .bootable(bootable)

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Marcin Kubacki
Hi Shani, we’re using ovirt SDK for Java, can you please give more details about how that can be achieved using SDK? Pozdrawiam / Best Regards Marcin Kubacki Chief Software Architect e-mail: m.kuba...@storware.eu mobile: +48 730-602-612 ul. Leszno 8/44 01-

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Marcin Kubacki
Hi Maor, I think it was 4.2.2 - and when 4.2.3 is supposed to be released? Pozdrawiam / Best Regards Marcin Kubacki Chief Software Architect e-mail: m.kuba...@storware.eu mobile: +48 730-602-612 ul. Leszno 8/44 01-192 Warszawa www.storware.eu

Re: [ovirt-users] hosted-engine some errors

2018-04-25 Thread Phillip Bailey
Hi, I'm sorry to hear you're having trouble. Could you please tell me the version of ovirt-hosted-engine-setup that you're using and provide the log file located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine- setup-20180425043425-savh7b.log? Thanks! -Phillip Bailey On Wed, Apr 25, 2

Re: [ovirt-users] Problem to upgrade ovirt

2018-04-25 Thread Marcelo Leandro
Hello , I do a full-backup of ovirt-engine,instaled ovirt-engine in new host , drop database postgres and create a new with this steps: 1-drop database postgres; 2- create database template1 with owner=postgres encoding='UTF-8' lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Shani Leviim
Hi Marcin, Following the link you've provided earlier [1], it seems to me that your SDK syntax fits the template supplied there in the example. false virtio true It also mentioned there that adding an attachment is a POST method: POST /ovirt-engine/api/vms/345/diskattachments In case you a

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread Martin Sivak
> 2018-04-25 18:35:06,411+08 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] > (EE-ManagedThreadFactory-engineScheduled-Thread-2) [] Command > 'GetAllVmStatsVDSCommand(HostName = hosted-engine1, > VdsIdVDSCommandParametersBase:{hostId='1b5f799a-125d-4f4e-8aef-cb2ecdd6313

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
I login in engine VM by (#hosted-engine --console) , I find ovirt-engine process. and I find some error in /var/log/ovirt-engine/engine.log 192.168.122.66 has been powered off, and hosted engine VM run in 192.168.122.223, I think engine should connect to 192.168.122.223, 2018-04-25 18:35:03,40

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread Martin Sivak
The engine will try connecting to all registered hosts all the time. That is normal. If your host can reach the engine then check whether it can reach http://{fqdn}/ovirt-engine/services/health as that is what is used to make sure the engine is alive. Best regards Martin Sivak On Wed, Apr 25, 2

[ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
Hi Martin, thank you for answermy host can reach the engine, I confuse why engine connect to another host which has been power off by me? - Original Message - From: Martin Sivak To: dhy336 , users Subject: Re: Re: Re: Re: Re: Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch Date: 2

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Shani Leviim
Hi, Attaching a disk to a VM is a 'POST' method (rather than 'PUT' method). Can you give it a try? *Regards,* *Shani Leviim* On Wed, Apr 25, 2018 at 2:55 PM, Maor Lipchuk wrote: > Hi Marcin and Hanna, > > I've found the following bug https://bugzilla.redhat.com/1546832 which > probably fix t

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Maor Lipchuk
Hi Marcin and Hanna, I've found the following bug https://bugzilla.redhat.com/1546832 which probably fix that issue, The fix was introduced in oVirt 4.2.3.2 Which version are you using? Regards, Maor On Wed, Apr 25, 2018 at 11:24 AM, Maor Lipchuk wrote: > Hi Marcin, > > Can you please also

Re: [ovirt-users] no available host to migrate on - for some of my VM's

2018-04-25 Thread Nico De Ranter
I've reinstalled my ovirt setup and now I can successfully migrate all VM's back and forth. It seems that during the creation of the VM's some settings were different eventhough I did not touch them. I can't quite figure out why. For instance while most of my Linux VM's have an virtio disk control

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread Martin Sivak
It is as I expected: Engine status : {"reason": "failed liveliness check" The host can't talk to the ovirt-engine service. Please make sure the host can reach the engine fqdn as configured in /etc/ovirt-hosted-engine/hosted-engine.conf on the fqdn= line. You can check it manually by executing $(

[ovirt-users] removing FC storage domain

2018-04-25 Thread David David
Hi all After remove FC Storage Domain in oVirt WebUi, from hosts side a Volume Group hasn't been removed, i.e. the multipath part on host remains and VG is also active. is this normal? in this case, I can't remove LUN from storage array It is necessary to manually delete VG, PV and multipath de

[ovirt-users] General SSLEngine problem

2018-04-25 Thread gss...@pku.edu.cn
Hi, I got this err log when I start my engine service. 2018-04-25 18:40:21,012+08 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to /192.168.122.187 2018-04-25 18:40:21,019+08 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.Reactor] (SSL Stomp Reac

[ovirt-users] missing features in VM Portal (oVirt 4.2.2)

2018-04-25 Thread Matthias Leopold
Hi, i'm considering to upgrade from 4.1.9 to 4.2.2. When looking at the new "VM Portal" i'm missing two things: - VM power off - Snapshots Both issues have been mentioned here. Are these being worked on? Is there a timeframe when these will be available? Nevertheless 4.2 looks good to me, th

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread Martin Sivak
Please attach the output of hosted-engine --vm-status and the /var/log/ovirt-hosted-engine-ha/agent.log file from both hosts. The VM will restart if the ovirt-engine service does not become available within timeout. And that might mean couple of things - the FQDN of the engine is wrong, the engine

Re: [ovirt-users] Decrease downtime for HA

2018-04-25 Thread Eli Mesika
On Mon, Apr 23, 2018 at 8:06 PM, Michal Skrivanek < michal.skriva...@redhat.com> wrote: > > > On 23 Apr 2018, at 10:52, Daniel Menzel > wrote: > > Hi Michal, > > in your last mail you wrote, that the values can be turned down - how can > this be done? > ​H > > ​AFAIK , there is no point in changi

Re: [ovirt-users] oVIrt4.2 snapshot upload fail

2018-04-25 Thread Daniel Erez
On Tue, Apr 24, 2018 at 9:36 AM David David wrote: > Hi all. > oVirt 4.2 > trying to upload disk snapshot > thereis VM named vm-test, with disk id = > 078398f5-0679-4eec-97e2-d227c097f453, storage = data00 and cluster = > testcluster. > i do snapshot of this VM. > and subsequently launched these

Re: [ovirt-users] Attaching disk returns "Bad Request"

2018-04-25 Thread Maor Lipchuk
Hi Marcin, Can you please also attach the VDSM log so we can see the exact XML that is being sent to libvirt. (I'm replying on the users list, let's continue to discuss it here) Regards, Maor On Tue, Apr 24, 2018 at 5:20 PM, Marcin Kubacki wrote: > Hi Maor, > > it looks like the problem is dee

Re: [ovirt-users] Fwd: FreeIPA authentication broken

2018-04-25 Thread Ondra Machacek
Yep, you need to restart ovirt-engine service so the changes take effect. Anyway, we need to figure out what removed your IPA.properties and IPA.jks file. What did you do before it stop work? On 04/25/2018 12:37 AM, Kristian Petersen wrote: -- Forwarded message -- From: *Kristi

Re: [ovirt-users] 回复:Re: Hosted-engine can not_switch

2018-04-25 Thread dhy336
>> I deploy two node for hosted engine, first hosted engine VM run in>> >> 192.168.122.65, I power off this host, hosted-engine VM switch>> another >> host,but ovirt engine still connect 192.168.122.65. if restart>> >> ovirt-engine server, it is work. I think this issue is error, because hosted