[ovirt-users] EL7 Host support in 4.4.x

2021-03-04 Thread Vrgotic, Marko
Hi oVirt,

After reviewing the https://access.redhat.com/articles/973163
I wonder is it possible to have a Host running EL7, in oVirt 4.4 to support 
ability to still run OSs like Win 2008R2, or is it a hard NO?

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
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/KYQXX3UEFVXNOGA67CTXHBKZZRDEEHAA/


[ovirt-users] Upgrade from 4.3.5 to 4.3.10 HE Host issue

2021-03-03 Thread Vrgotic, Marko
Hi oVirt,

Yesterday I upgraded one of my oVIrt platform from 4.3.5 to 4.3.10. Platform 
has 10Hosts with 3Hosts as Hosts for HA.

Before upgrade, all three Hosts were acknowledged Hosts for HE (little happy 
crown).

Pre upgrade:
Host1 – HE available host
Host2 – HE current host
Host3 – HE available host


Upgraded first HE to 4.3.10, than started with HE Hosts – post upgrade of 
Host2, the crown disappeared and did not show up. This happens sometimes, and I 
usually reinstall the host, than execute HE UNDEPLOY and DEPLOY, which fixes 
the state.

However, this time, after such actions, the server is still not an acknowledged 
HE host – no crown. However, if I try to remove it, oVIrt says that looks like 
HE is deploy on it and need to be removed, but command “hosted-engine 
–vm-status” says you must deploy first.

I removed the Host, reinstalled the OS on it, deployed it again as new, synced 
all networks, than deploy once more with HE Deploy, still same issue.

Any suggestions?

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
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/6QMQYIGN3P3IDHJ5IPA2P6BF67BCNNLL/


[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-23 Thread Vrgotic, Marko
Hi Didi,

There are three, unless there are more I am not aware:
Defined memory - which I am trying change
Max allowed - which was auto increased
Guaranteed - which was also auto changed, but I set it to 4096


— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

Tel. +31 (0)35 677 4131
email: m.vrgo...@activevideo.com
skype: av.mvrgotic.se
www.activevideo.com

From: Yedidyah Bar David 
Sent: Tuesday, February 23, 2021 8:07 AM
To: Vrgotic, Marko ; Arik Hadas 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU

***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Tue, Feb 23, 2021 at 8:05 AM Vrgotic, Marko
 wrote:
>
> From the logs, the XML file is updated with new memory value:
>
> 2021-02-23 05:41:53,350Z INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-6) [] FINISH, 
> DumpXmlsVDSCommand, return: {e3de2b68-b7ea-4466-b044-ed431267df1b= type='kvm' id='24'>
>
>   HostedEngine
>
>   e3de2b68-b7ea-4466-b044-ed431267df1b
>
>xmlns:ns0="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fovirt.org%2Fvm%2Ftune%2F1.0data=04%7C01%7Cm.vrgotic%40activevideo.com%7C4435203814a741447dc908d8d7c9c761%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637496608944237885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=m%2Fj71lwMvKTGpMFEkkDSNX%2FHLnMBtIZNmpP0GWhkl00%3Dreserved=0;
>  
> xmlns:ovirt-vm="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fovirt.org%2Fvm%2F1.0data=04%7C01%7Cm.vrgotic%40activevideo.com%7C4435203814a741447dc908d8d7c9c761%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637496608944237885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=CLoQNcJMuR%2FyuW5DAeI5%2BpR%2BhNFBp680Pdbfeqjujh0%3Dreserved=0;>
>
> 
>
>  xmlns:ovirt-vm="https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fovirt.org%2Fvm%2F1.0data=04%7C01%7Cm.vrgotic%40activevideo.com%7C4435203814a741447dc908d8d7c9c761%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637496608944237885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=CLoQNcJMuR%2FyuW5DAeI5%2BpR%2BhNFBp680Pdbfeqjujh0%3Dreserved=0;>
>
> 4.3
>
> False
>
> false
>
> 16384
>
>  type="int">1024
>
> auto_resume
>
> 1614004416.2
>
> 
>
> ovirtmgmt
>
> 
>
> 4
>
> 
>
> 
>
> 
>
> 
> 84dbd790-39af-440c-acea-b0db03bf86b0
>
> /dev/vda2
>
> 
> 42b45aba-2307-4ef7-9465-533f95946b0a
>
> 
> ----
>
> exclusive
>
> 
> 38163651-2197-4661-9c9d-84c4272d6775
>
> 
>
> 1
>
> 
>
> 
>
> 
>
> 
> 84dbd790-39af-440c-acea-b0db03bf86b0
>
> 
> 42b45aba-2307-4ef7-9465-533f95946b0a
>
> 0
>
> 
> /rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine/84dbd790-39af-440c-acea-b0db03bf86b0/images/42b45aba-2307-4ef7-9465-533f95946b0a/38163651-2197-4661-9c9d-84c4272d6775.lease
>
> 
> /rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine/84dbd790-39af-440c-acea-b0db03bf86b0/images/42b45aba-2307-4ef7-9465-533f95946b0a/38163651-2197-4661-9c9d-84c4272d6775
>
> 
> 38163651-2197-4661-9c9d-84c4272d6775
>
> 
>
> 
>
> 
>
> 
>
> 
>
>   
>
>   67108864
>
>   33554432
>
>   33554432
>
>   64
>
>   
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> But in UI, I still see
>
>
>
> Defined Memory:
>
> 16384 MB
>
>
>
>
>
> And the vm.conf on all three Hosts is still showing
>
> smp=8   <= cpu increase is already updated
>
> memSize=16384 <= but ram is still same
>
>
>
>
>
> It looks like  should report a bug.

There are different parameters around memory - are you sure you change
the correct one(s)?

Also adding Arik. Arik - please see the history of this thread. It
might be an issue in the engine, or in hosted-engine HA, or both - not
sure.

> But before I do that, we are currently on 4.3.8.2 version – is this by any 
> change fixed by latest 4.3 version?

No i

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
>From the logs, the XML file is updated with new memory value:

2021-02-23 05:41:53,350Z INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-6) [] FINISH, 
DumpXmlsVDSCommand, return: {e3de2b68-b7ea-4466-b044-ed431267df1b=
  HostedEngine
  e3de2b68-b7ea-4466-b044-ed431267df1b
  http://ovirt.org/vm/tune/1.0; 
xmlns:ovirt-vm="http://ovirt.org/vm/1.0;>

http://ovirt.org/vm/1.0;>
4.3
False
false
16384
1024
auto_resume
1614004416.2

ovirtmgmt

4




84dbd790-39af-440c-acea-b0db03bf86b0
/dev/vda2

42b45aba-2307-4ef7-9465-533f95946b0a
----
exclusive

38163651-2197-4661-9c9d-84c4272d6775

1




84dbd790-39af-440c-acea-b0db03bf86b0

42b45aba-2307-4ef7-9465-533f95946b0a
0

/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine/84dbd790-39af-440c-acea-b0db03bf86b0/images/42b45aba-2307-4ef7-9465-533f95946b0a/38163651-2197-4661-9c9d-84c4272d6775.lease

/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine/84dbd790-39af-440c-acea-b0db03bf86b0/images/42b45aba-2307-4ef7-9465-533f95946b0a/38163651-2197-4661-9c9d-84c4272d6775

38163651-2197-4661-9c9d-84c4272d6775





  
  67108864
  33554432
  33554432
  64
  











But in UI, I still see

Defined Memory:
16384 MB


And the vm.conf on all three Hosts is still showing
smp=8   <= cpu increase is already updated
memSize=16384 <= but ram is still same


It looks like  should report a bug. But before I do that, we are currently on 
4.3.8.2 version – is this by any change fixed by latest 4.3 version?


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Vrgotic, Marko 
Date: Monday, 22 February 2021 at 21:30
To: Yedidyah Bar David 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
Mem guaranteed updates,
CPU cores updates instantly and perist after reboot
But defined memory is “stuck” on 16384 after reboot.





-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Vrgotic, Marko 
Date: Monday, 22 February 2021 at 20:57
To: Yedidyah Bar David 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
Hi all,

Still testing in staging and I have not moved from updating RAM.
Initially, I made the change via Portal, updating defined memory of HE from 
16384 to 32768. The change is instantly visible on VM when I execute free -m , 
but in the VM info it still says 16384.
I waited almost 4hours and this value did not get updated. Tried shutdown, 
remove GM, allow the HA to start the VM, it booted with 16384 allocated.

Than I did it again, and tried with Update OVF from storage domain where the HE 
disk is, same, no change.

Tried, updating memory again, migrating to another HA host – Update OVF , same 
thing, after reboot, the memory is back to 16384.

Can somebody give me an advice whe

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Mem guaranteed updates,
CPU cores updates instantly and perist after reboot
But defined memory is “stuck” on 16384 after reboot.





-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Vrgotic, Marko 
Date: Monday, 22 February 2021 at 20:57
To: Yedidyah Bar David 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
Hi all,

Still testing in staging and I have not moved from updating RAM.
Initially, I made the change via Portal, updating defined memory of HE from 
16384 to 32768. The change is instantly visible on VM when I execute free -m , 
but in the VM info it still says 16384.
I waited almost 4hours and this value did not get updated. Tried shutdown, 
remove GM, allow the HA to start the VM, it booted with 16384 allocated.

Than I did it again, and tried with Update OVF from storage domain where the HE 
disk is, same, no change.

Tried, updating memory again, migrating to another HA host – Update OVF , same 
thing, after reboot, the memory is back to 16384.

Can somebody give me an advice where to look further? Again, making the change 
in memory amount is instant on the VM, but after reboot, its back to 16384.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Monday, 22 February 2021 at 15:19
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Mon, Feb 22, 2021 at 4:10 PM Vrgotic, Marko
 wrote:
>
> Hi Didi,
>
>
>
> I increased the RAM from 16 to 32 and change is instant on the VM, but as you 
> have mentioned, it does not get written right away to VM image.
>
> Upon reboot its back to 16GB RAM.
>
>
>
>
>
> At this moment, change is applied, and I am waiting up to 60min to see if the 
> changes will be written to survive reboot.
>
>
>
> Regarding how to change it, the UI Edit seem to be the way. If I go with 
> /var/run/… file changes fast, even with VM being shutdown.
>
>
>
> @oVirt does anyone know how long it usually takes to have the change written 
> to VM image?

up to 60 minutes :-).

I think you can change this with engine-config, item
OvfUpdateIntervalInMinutes .

Best regards,

>
>
>
>
>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> Sr. System Engineer @ System Administration
>
>
> ActiveVideo
>
> o: +31 (35) 6774131
>
> m: +31 (65) 5734174
>
> e: m.vrgo...@activevideo.com
> w: 
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.activevideo.com%2Fdata=04%7C01%7Cm.vrgotic%40activevideo.com%7C7973b1e3b1f6400c1bd608d8d73cd3d2%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637496003548256181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=0TuDZFRZuYvOwEbsSflrSiXuKJ2dt2UIcys6UzDzSsA%3Dreserved=0
>
>
>
> ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
> Hilversum, The Netherlands. 

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Hi all,

Still testing in staging and I have not moved from updating RAM.
Initially, I made the change via Portal, updating defined memory of HE from 
16384 to 32768. The change is instantly visible on VM when I execute free -m , 
but in the VM info it still says 16384.
I waited almost 4hours and this value did not get updated. Tried shutdown, 
remove GM, allow the HA to start the VM, it booted with 16384 allocated.

Than I did it again, and tried with Update OVF from storage domain where the HE 
disk is, same, no change.

Tried, updating memory again, migrating to another HA host – Update OVF , same 
thing, after reboot, the memory is back to 16384.

Can somebody give me an advice where to look further? Again, making the change 
in memory amount is instant on the VM, but after reboot, its back to 16384.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Monday, 22 February 2021 at 15:19
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Mon, Feb 22, 2021 at 4:10 PM Vrgotic, Marko
 wrote:
>
> Hi Didi,
>
>
>
> I increased the RAM from 16 to 32 and change is instant on the VM, but as you 
> have mentioned, it does not get written right away to VM image.
>
> Upon reboot its back to 16GB RAM.
>
>
>
>
>
> At this moment, change is applied, and I am waiting up to 60min to see if the 
> changes will be written to survive reboot.
>
>
>
> Regarding how to change it, the UI Edit seem to be the way. If I go with 
> /var/run/… file changes fast, even with VM being shutdown.
>
>
>
> @oVirt does anyone know how long it usually takes to have the change written 
> to VM image?

up to 60 minutes :-).

I think you can change this with engine-config, item
OvfUpdateIntervalInMinutes .

Best regards,

>
>
>
>
>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> Sr. System Engineer @ System Administration
>
>
> ActiveVideo
>
> o: +31 (35) 6774131
>
> m: +31 (65) 5734174
>
> e: m.vrgo...@activevideo.com
> w: 
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.activevideo.com%2Fdata=04%7C01%7Cm.vrgotic%40activevideo.com%7C7973b1e3b1f6400c1bd608d8d73cd3d2%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637496003548256181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=0TuDZFRZuYvOwEbsSflrSiXuKJ2dt2UIcys6UzDzSsA%3Dreserved=0
>
>
>
> ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
> Hilversum, The Netherlands. The information contained in this message may be 
> legally privileged and confidential. It is intended to be read only by the 
> individual or entity to whom it is addressed or by their designee. If the 
> reader of this message is not the intended recipient, you are on notice that 
> any distribution of this message, in any form, is strictly prohibited.  If 
> you have received this message in error, please immediately notify the sender 
> and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete 
> or destroy any copy of this message.
>
>
>
>
>
>
>
> From: Yedidyah Bar David 
> Date: Monday, 22 February 2021 at 11:05
> To: Vrgotic, Marko 
> Cc: users@ovirt.org 
> Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
>
> ***CAUTION: This email originated from outside of the organization. Do not 
> click links or open attachments unless you recognize the sender!!!***
>
> On Mon, Feb 22, 2021 at 11:01 AM Vrgotic, Marko
>  wrote:
> >
> > Hi Didi,
> >
> >
> >
> > Just to be sure,  considering its an HA instance, I need to set to 
> > maintenance=global and execute these changes – CPU increas

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Hi Didi,

I increased the RAM from 16 to 32 and change is instant on the VM, but as you 
have mentioned, it does not get written right away to VM image.
Upon reboot its back to 16GB RAM.


At this moment, change is applied, and I am waiting up to 60min to see if the 
changes will be written to survive reboot.

Regarding how to change it, the UI Edit seem to be the way. If I go with 
/var/run/… file changes fast, even with VM being shutdown.

@oVirt does anyone know how long it usually takes to have the change written to 
VM image?



-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Monday, 22 February 2021 at 11:05
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Mon, Feb 22, 2021 at 11:01 AM Vrgotic, Marko
 wrote:
>
> Hi Didi,
>
>
>
> Just to be sure,  considering its an HA instance, I need to set to 
> maintenance=global and execute these changes – CPU increase will most likely 
> require reboot?

Please note that I do not have any experience with this whatsoever.
Also for the further replies below. Just guessing. I suggest to try
first on a test system if it's about a production/critical system.

I guess that it will mark the VM as requiring a reboot for changes to
take effect, and that they'll actually be applied only on hard-reboot
(meaning, not just running 'reboot' from inside). So yes,
I guess the process should be:

1. Edit as needed
2. Perhaps wait a bit or something like that to make sure changes
reached OVF_STORE on the shared storage. No idea how. Perhaps we log
enough about this to existing logs, or perhaps you can dump the conf
to verify manually.
2. Set global maint, shutdown, clear global maint (and either
immediately start the vm or let ha-agent do this for you).

>
>
>
> For the HEAP changes, I have been doing that lot on the Atlassian instances, 
> just not sure how oVirt-engine  is going to react and if there are any 
> guidelines I should stick to in ovirt  case.

I have no idea other than the bugs I was personally involved with
(which you can find in bugzilla).
Perhaps RHV or oVirt docs have some guidelines, didn't check.
If not, then I suppose the guidelines are "Use the defaults and follow
recommendations", which mean:
1. Allocate 16GB RAM for the HE VM. Perhaps we even recommend more
than that for larger setups, not sure.
2. engine-setup then sets both min and max to 4GB (=25% of RAM).

If you do want to play with this, you should of course test thoroughly
and carefully :-).
Consider also other processes on the machine needing rather-large
amounts of memory, including DWH and PostgreSQL (which we also
automatically configure and which you can further refine if needed,
and also set up to run on separate machines).

>
> I.e. What if I set min and max to same value?

That's a question for the JVM, not for oVirt :-). I suppose it will
simply use a constant size.

>
> Is it going to be “ok” if I assign more than half of system RAM to the JAVA? 
> Ect…

It should be, if you make sure other stuff (dwh+pg) do not use too
much, or you have also enough swap (but then do not expect good
performance if you actually run into actually using it).

>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> Sr. System Engineer @ System Administration
>
>
> ActiveVideo
>
> o: +31 (35) 6774131
>
> m: +31 (65) 5734174
>
> e: m.vrgo...@activevideo.com
> w: 
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.activevideo.com%2Fdata=04%7C01%7Cm.vrgotic%40activevideo.com%7Cb65891afae0c464a0e7a08d8d7196ce9%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637495851497608436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=BG%2FOL7r6kmS%2F%2FuIz%2BreGDia%2BsN7ffd1Br0YgIbwlOp8%3Dreserv

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Yes Bibi,

This is about prod system, 1200 VMs running.

Ok, I will test it first on staged engine.

Thank you.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Monday, 22 February 2021 at 11:05
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Mon, Feb 22, 2021 at 11:01 AM Vrgotic, Marko
 wrote:
>
> Hi Didi,
>
>
>
> Just to be sure,  considering its an HA instance, I need to set to 
> maintenance=global and execute these changes – CPU increase will most likely 
> require reboot?

Please note that I do not have any experience with this whatsoever.
Also for the further replies below. Just guessing. I suggest to try
first on a test system if it's about a production/critical system.

I guess that it will mark the VM as requiring a reboot for changes to
take effect, and that they'll actually be applied only on hard-reboot
(meaning, not just running 'reboot' from inside). So yes,
I guess the process should be:

1. Edit as needed
2. Perhaps wait a bit or something like that to make sure changes
reached OVF_STORE on the shared storage. No idea how. Perhaps we log
enough about this to existing logs, or perhaps you can dump the conf
to verify manually.
2. Set global maint, shutdown, clear global maint (and either
immediately start the vm or let ha-agent do this for you).

>
>
>
> For the HEAP changes, I have been doing that lot on the Atlassian instances, 
> just not sure how oVirt-engine  is going to react and if there are any 
> guidelines I should stick to in ovirt  case.

I have no idea other than the bugs I was personally involved with
(which you can find in bugzilla).
Perhaps RHV or oVirt docs have some guidelines, didn't check.
If not, then I suppose the guidelines are "Use the defaults and follow
recommendations", which mean:
1. Allocate 16GB RAM for the HE VM. Perhaps we even recommend more
than that for larger setups, not sure.
2. engine-setup then sets both min and max to 4GB (=25% of RAM).

If you do want to play with this, you should of course test thoroughly
and carefully :-).
Consider also other processes on the machine needing rather-large
amounts of memory, including DWH and PostgreSQL (which we also
automatically configure and which you can further refine if needed,
and also set up to run on separate machines).

>
> I.e. What if I set min and max to same value?

That's a question for the JVM, not for oVirt :-). I suppose it will
simply use a constant size.

>
> Is it going to be “ok” if I assign more than half of system RAM to the JAVA? 
> Ect…

It should be, if you make sure other stuff (dwh+pg) do not use too
much, or you have also enough swap (but then do not expect good
performance if you actually run into actually using it).

>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> Sr. System Engineer @ System Administration
>
>
> ActiveVideo
>
> o: +31 (35) 6774131
>
> m: +31 (65) 5734174
>
> e: m.vrgo...@activevideo.com
> w: 
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.activevideo.com%2Fdata=04%7C01%7Cm.vrgotic%40activevideo.com%7Cb65891afae0c464a0e7a08d8d7196ce9%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637495851497608436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=BG%2FOL7r6kmS%2F%2FuIz%2BreGDia%2BsN7ffd1Br0YgIbwlOp8%3Dreserved=0
>
>
>
> ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
> Hilversum, The Netherlands. The information contained in this message may be 
> legally privileged and confidential. It is intended to be read only by the 
> individual or entity to whom it is addressed or by their designee. If the 
> reader of this message is not the intended recipient, you are on n

[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Hi Didi,

Just to be sure,  considering its an HA instance, I need to set to 
maintenance=global and execute these changes – CPU increase will most likely 
require reboot?

For the HEAP changes, I have been doing that lot on the Atlassian instances, 
just not sure how oVirt-engine  is going to react and if there are any 
guidelines I should stick to in ovirt  case.
I.e. What if I set min and max to same value?
Is it going to be “ok” if I assign more than half of system RAM to the JAVA? 
Ect…

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Vrgotic, Marko 
Date: Monday, 22 February 2021 at 09:08
To: Yedidyah Bar David 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
Thank you Didi.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Sunday, 21 February 2021 at 08:03
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Fri, Feb 19, 2021 at 12:39 PM Vrgotic, Marko
 wrote:
>
> Hi oVirt,
>
>
>
> What is the cleanest way to increase the memory and cpu for SHE engine?

Did you try to simply edit the vm from the admin ui? This should be
possible for most fields for quite some time now:

https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1160094data=04%7C01%7Cm.vrgotic%40activevideo.com%7C8c5a063a844b4749ce0308d8d636b93b%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637494877832293132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=Cba2KwVv8bLqvWnVTFDlO7mkt1C4Gu3DUgN1zXGaUCA%3Dreserved=0

>
>
>
> We have the Engine running on top of three HA hosts, so I guess the specs 
> need to be change on all three, while engine is down.
>
>
>
> Is it done by editing the VM libvirt conf file or some other way?
>
>
>
> Where do I allocate more RAM to JAVA for oVirt?

You can control the values passed as -Xms and -Xmx using the config
values ENGINE_HEAP_MIN and ENGINE_HEAP_MAX.

They are set by engine-setup on initial setup but not changed later.
It writes /etc/ovirt-engine/engine.conf.d/10-setup-java.conf .
It's probably safer to create your own file for overriding, e.g.
99-my-setup-java.conf or something.

There have been various relevant changes to this over the years, you
can search bugzilla for 'ENGINE_HEAP_MIN' to find them.

>
>
>
> We are currently running 4.3.8 version.
>
>
>
> Kindly awaiting your reply.

Good luck and best regards,
--
Didi
___
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/NT66LZAUGR52Q3ZPTHYQIXKW5PNS4VUN/


[ovirt-users] Re: oVirt Engine increase RAM and CPU

2021-02-22 Thread Vrgotic, Marko
Thank you Didi.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Sunday, 21 February 2021 at 08:03
To: Vrgotic, Marko 
Cc: users@ovirt.org 
Subject: Re: [ovirt-users] oVirt Engine increase RAM and CPU
***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

On Fri, Feb 19, 2021 at 12:39 PM Vrgotic, Marko
 wrote:
>
> Hi oVirt,
>
>
>
> What is the cleanest way to increase the memory and cpu for SHE engine?

Did you try to simply edit the vm from the admin ui? This should be
possible for most fields for quite some time now:

https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D1160094data=04%7C01%7Cm.vrgotic%40activevideo.com%7C8c5a063a844b4749ce0308d8d636b93b%7C214268a3e1214486acd4545c9faf2252%7C0%7C0%7C637494877832293132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=Cba2KwVv8bLqvWnVTFDlO7mkt1C4Gu3DUgN1zXGaUCA%3Dreserved=0

>
>
>
> We have the Engine running on top of three HA hosts, so I guess the specs 
> need to be change on all three, while engine is down.
>
>
>
> Is it done by editing the VM libvirt conf file or some other way?
>
>
>
> Where do I allocate more RAM to JAVA for oVirt?

You can control the values passed as -Xms and -Xmx using the config
values ENGINE_HEAP_MIN and ENGINE_HEAP_MAX.

They are set by engine-setup on initial setup but not changed later.
It writes /etc/ovirt-engine/engine.conf.d/10-setup-java.conf .
It's probably safer to create your own file for overriding, e.g.
99-my-setup-java.conf or something.

There have been various relevant changes to this over the years, you
can search bugzilla for 'ENGINE_HEAP_MIN' to find them.

>
>
>
> We are currently running 4.3.8 version.
>
>
>
> Kindly awaiting your reply.

Good luck and best regards,
--
Didi
___
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/SQEZJ43Y6OKXZKBMHTY3E654HOEE5M52/


[ovirt-users] oVirt Engine increase RAM and CPU

2021-02-19 Thread Vrgotic, Marko
Hi oVirt,

What is the cleanest way to increase the memory and cpu for SHE engine?

We have the Engine running on top of three HA hosts, so I guess the specs need 
to be change on all three, while engine is down.

Is it done by editing the VM libvirt conf file or some other way?

Where do I allocate more RAM to JAVA for oVirt?

We are currently running 4.3.8 version.

Kindly awaiting your reply.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
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/Q6WJECTZVI46DMR2C2SAIXCYABMH5DBN/


[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2020-11-25 Thread Vrgotic, Marko
Hi Michal,

This is fantastic.

Thank you.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Michal Gutowski 
Date: Tuesday, 24 November 2020 at 17:26
To: "Vrgotic, Marko" 
Cc: Yedidyah Bar David , "users@ovirt.org" 
Subject: Re: [ovirt-users] oVirt 4.3 DWH with Grafana


***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***
Hi Marko,


I've tested this myself as I like playing with various Grafana use-cases and 
following steps allow you to set up Grafana Monitoring for your oVirt 4.3 
environment and re-use all Grafana Dashboards from latest oVirt 4.4 on a 
previous release.

1. Allowing Grafana to connect to oVirt DWH database (Data Warehouse)

Login to the oVirt engine 4.3 and create a user "grafana" with password 
"grafana" that will get a read-only access to the ovirt_engine_history database 
and will be able to use public schema

# su - postgres -c 'scl enable rh-postgresql10 bash'
# psql -U postgres -c "CREATE ROLE grafana WITH LOGIN ENCRYPTED PASSWORD 
'grafana';" -d ovirt_engine_history
# psql -U postgres -c "GRANT CONNECT ON DATABASE ovirt_engine_history TO 
grafana;"
# psql -U postgres -c "GRANT USAGE ON SCHEMA public TO grafana;" 
ovirt_engine_history

Generate the rest of the permissions that will be granted to the newly created 
user and save them to a file:

# psql -U postgres -c "SELECT 'GRANT SELECT ON ' || relname || ' TO grafana;' 
FROM pg_class JOIN pg_namespace ON pg_namespace.oid = pg_class.relnamespace 
WHERE nspname = 'public' AND relkind IN ('r', 'v');" --pset=tuples_only=on  
ovirt_engine_history > grant.sql

Use the file you created in the previous step to grant permissions to the newly 
created user:
# psql -U postgres -f grant.sql ovirt_engine_history

Remove the file you used to grant permissions:
# rm grant.sql

Exit the postgres user shell by pressing Ctrl+d

Add the following lines for the newly created user to 
/var/opt/rh/rh-postgresql10/lib/pgsql/data/pg_hba.conf preceding the line 
beginning local all all

hostovirt_engine_history grafana 0.0.0.0/0   md5
hostovirt_engine_history grafana ::0/0   md5

Reload postgres service
# systemctl reload rh-postgresql10-postgresql

2. Installing Grafana

You can install Grafana directly on the oVirt Engine machine (this is how it's 
done in oVirt 4.4) or on a separate machine. Following steps shows how you can 
install Grafana on a Oracle Linux 7 server. Note: Oracle provides Grafana in 
the OLCNE yum repository - you only need to install the repository definition 
package to pickup Grafana and it's dependencies.

# yum install oraclelinux-release-el7
# yum install oracle-olcne-release-el7
# yum-config-manager --enable ol7_optional_latest ol7_olcne11
# yum install grafana
# systemctl enable --now grafana-server

3. Adding oVirt DWH database as Data Source in Grafana

Login to Grafana (default port 3000) and navigate to Configuration -> 
DataSources and click on Add Data Source button.

Select PostgreSQL source and use the following settings (adjust the Host IP 
address to match your oVirt Engine IP but do not change the Name):
Name: oVirt DWH
Host: your-engine-ip-address:5432
user: grafana
pass: grafana
SSL mode: disable

4. Importing Dashboards from oVirt 4.4

Download Grafana Dashboards from oVirt 4.4 repository: 
https://github.com/oVirt/ovirt-dwh/tree/master/packaging/conf/grafana-dashboards

You can now import them in Grafana by navigating to Create -> Import and 
clicking on Upload .json file or by simply pasting JSON content.

I've tested this on my OLVM/oVirt 4.3 and works perfectly well.

Have fun!
Michal


Michał Gutowski
Principal Solutions Engineer, EMEA
+48 665 222 979

Oracle Open Cloud Infrastructure Software - Linux & Virtualization


On 24 Nov 2020, at 11:53, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVirt folks,

Thank you all for suggestions.

I will give it a go and see how far

[ovirt-users] Re: oVirt 4.3 DWH with Grafana

2020-11-24 Thread Vrgotic, Marko
Dear oVirt folks,

Thank you all for suggestions.

I will give it a go and see how far I get.

-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Yedidyah Bar David 
Date: Sunday, 22 November 2020 at 08:39
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] oVirt 4.3 DWH with Grafana


***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***
On Fri, Nov 20, 2020 at 8:45 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

We are currently running oVirt 4.3 and upgrade/migration to 4.4 won’t be 
possible for few more months.

I am looking into guidelines, how to, for setting up Grafana using 
DataWarehouse as data source.

Did anyone already did this, and would be willing to share the steps?

AFAIU this is definitely not tested/recommended/supported, but the current 
(4.4) dashboards use only 4.3 dwh compatibility views. So in theory, 4.4 
grafana setup can work against your 4.3 engine/dwh without problems. So you can 
try something like:

1. Install el8 on some machine
2. Install ovirt-release (4.4!)
3. Install ovirt-engine-dwh-grafana-integration-setup. I *think*, didn't try, 
that it would carry with it all the dependencies it needs.
4. Run engine-setup. When prompted, only accept "Configure grafana?", and reply 
"No" to everything else
5. Follow the other prompts as applicable

This should be enough.

Not sure about the commands to add SSO on the engine machine. Perhaps better 
verify this first against a test engine (can be on another el7/ovirt4.3 VM with 
no hosts).

But, repeating: this isn't recommended.

Did you consider upgrading only your engine, and keep your hosts 4.3 until you 
can upgrade them later?

Best regards,
--
Didi
___
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/QSBZGMZ3NXRYQWO7ZH6O4NRUU4FBUXI7/


[ovirt-users] oVirt 4.3 DWH with Grafana

2020-11-19 Thread Vrgotic, Marko
Dear oVirt,

We are currently running oVirt 4.3 and upgrade/migration to 4.4 won’t be 
possible for few more months.

I am looking into guidelines, how to, for setting up Grafana using 
DataWarehouse as data source.

Did anyone already did this, and would be willing to share the steps?

Kindly awaiting your reply.
-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
m: +31 (65) 5734174
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
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/LNTAUADVSD33NDQA5DFJGEID3GKV4RO5/


[ovirt-users] Re: oVirt SHE smart-automated backup

2020-08-26 Thread Vrgotic, Marko
Hi Strahil,

Thinking more about it, you are right, there should be nothing worrying. 
I will give it a try and see where it takes me.

Appreciate the help.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo



On 23/08/2020, 13:07, "Strahil Nikolov"  wrote:

***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

I don't see any reasons to be worried about.
Yet, you can create your own Cluster scheduling policy and ensure one node 
is always available as a stand-by which you can just put into maintenance 
during backups , or to hold your VMs when other hosts are in maintenance.

Best Regards,
Strahil Nikolov







В петък, 21 август 2020 г., 14:27:20 Гринуич+3, Vrgotic, Marko 
 написа:





Hi Strahil,

That's true. I do trust migration mechanism, its proven to work smoothly 
many-many times, but I do not like moving SHE VM unless I have too.
Proper backup is important and I try to follow oVirt recommendation, but if 
I can avoid needless "shaking" of the platform, I would rather take that route.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo


On 20/08/2020, 13:39, "Strahil Nikolov"  wrote:

***CAUTION: This email originated from outside of the organization. Do 
not click links or open attachments unless you recognize the sender!!!***


Actually,
you don't need  to find where the SHE is.
Once you setup the host in maintenance, all VMs including the SHE will 
be evacuated out of there.

Best Regards,
Strahil Nikolov

На 20 август 2020 г. 10:50:14 GMT+03:00, "Vrgotic, Marko" 
 написа:
>Dear oVirt,
>
>For a while now I have been running backup of oVirt engine via ansible.
>And that works just fine.
>However, its still recommended, in SHE HA environment, especially for
>Restore purpose to have one of HA nodes in Maintenance mode, clean from
>Virtual load.
>
>Has anyone so far been able to automate oVirt engine backup in
>following or similar way:
>
>  1.  Register on which HA node is SHE atm
>2.  Pick the other HA node to go into maintenance mode – in order to
>have one of HA nodes without virtual load
>  3.  Verify it’s in maintenance mode
>  4.  Execute engine-backup
>  5.  Remove the maintenance mode of the node from step 2
>
>Even if you are half way through, I would be happy to get involved and
>contribute.
>
>Kindly awaiting your reply.
>
>
>-
>kind regards/met vriendelijke groeten
>
>Marko Vrgotic
>Sr. System Engineer @ System Administration
>
>ActiveVideo
>e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
>w: www.activevideo.com<http://www.activevideo.com>
>
>ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein
>1.1217 WJ Hilversum, The Netherlands. The information contained in this
>message may be legally privileged and confidential. It is intended to
>be read only by the individual or entity to whom it is addressed or by
>their designee. If the reader of this message is not the intended
>recipient, you are on notice that any distribution of this message, in
>any form, is strictly prohibited.  If you have received this message in
>error, please immediately notify the sender and/or ActiveVideo
>Networks, LLC by telephone at +1 408.931.9200 and delete or destroy any
>copy of this message.


___
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/65M3JSKDNKPV7XDQIAPWAB4EIWKWKQ7Y/


___
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/EQ72YP3WE3DVZGFCI3PXECDB7I3Z6LA7/


[ovirt-users] Re: oVirt SHE smart-automated backup

2020-08-21 Thread Vrgotic, Marko
Hi Strahil,

That's true. I do trust migration mechanism, its proven to work smoothly 
many-many times, but I do not like moving SHE VM unless I have too.
Proper backup is important and I try to follow oVirt recommendation, but if I 
can avoid needless "shaking" of the platform, I would rather take that route.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo


On 20/08/2020, 13:39, "Strahil Nikolov"  wrote:

***CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender!!!***

Actually,
you don't need  to find where the SHE is.
Once you setup the host in maintenance, all VMs including the SHE will be 
evacuated out of there.

Best Regards,
Strahil Nikolov

На 20 август 2020 г. 10:50:14 GMT+03:00, "Vrgotic, Marko" 
 написа:
>Dear oVirt,
>
>For a while now I have been running backup of oVirt engine via ansible.
>And that works just fine.
>However, its still recommended, in SHE HA environment, especially for
>Restore purpose to have one of HA nodes in Maintenance mode, clean from
>Virtual load.
>
>Has anyone so far been able to automate oVirt engine backup in
>following or similar way:
>
>  1.  Register on which HA node is SHE atm
>2.  Pick the other HA node to go into maintenance mode – in order to
>have one of HA nodes without virtual load
>  3.  Verify it’s in maintenance mode
>  4.  Execute engine-backup
>  5.  Remove the maintenance mode of the node from step 2
>
>Even if you are half way through, I would be happy to get involved and
>contribute.
>
>Kindly awaiting your reply.
>
>
>-
>kind regards/met vriendelijke groeten
>
>Marko Vrgotic
>Sr. System Engineer @ System Administration
>
>ActiveVideo
>e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
>w: www.activevideo.com<http://www.activevideo.com>
>
>ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein
>1.1217 WJ Hilversum, The Netherlands. The information contained in this
>message may be legally privileged and confidential. It is intended to
>be read only by the individual or entity to whom it is addressed or by
>their designee. If the reader of this message is not the intended
>recipient, you are on notice that any distribution of this message, in
>any form, is strictly prohibited.  If you have received this message in
>error, please immediately notify the sender and/or ActiveVideo
>Networks, LLC by telephone at +1 408.931.9200 and delete or destroy any
>copy of this message.

___
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/65M3JSKDNKPV7XDQIAPWAB4EIWKWKQ7Y/


[ovirt-users] oVirt SHE smart-automated backup

2020-08-20 Thread Vrgotic, Marko
Dear oVirt,

For a while now I have been running backup of oVirt engine via ansible. And 
that works just fine.
However, its still recommended, in SHE HA environment, especially for Restore 
purpose to have one of HA nodes in Maintenance mode, clean from Virtual load.

Has anyone so far been able to automate oVirt engine backup in following or 
similar way:

  1.  Register on which HA node is SHE atm
  2.  Pick the other HA node to go into maintenance mode – in order to have one 
of HA nodes without virtual load
  3.  Verify it’s in maintenance mode
  4.  Execute engine-backup
  5.  Remove the maintenance mode of the node from step 2

Even if you are half way through, I would be happy to get involved and 
contribute.

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
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/OQOCPGECZJXUXLWSXHAFCZF477W3GMII/


[ovirt-users] Re: oVirt Storage quota problems

2020-04-06 Thread Vrgotic, Marko
Dear oVirt,

Considering this COVID-19 situation, I hope you are all doing well and staying 
healthy.

It has been more than two weeks since I reported this issue. So far I have not 
received a single update or request, and the issue is still registered as NEW.

Considering this is one out of three issues regarding oVirt quotas, that I 
reported, in one day, not getting any update leads me to assumptions:

- I am doing something fundamentally wrong with oVirt Quotas implementation
- There is something fundamentally wrong with oVirt Quotas implementation, from 
the software side.
- something else…

In any case, I would highly appreciate it if you can find time to look into 
these issues so we can make progress.

Once again, I am seeing this problem on all three deployed platforms, both in 
Staging and Production.

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo

From: "Vrgotic, Marko" 
Date: Tuesday, 17 March 2020 at 12:51
To: "users@ovirt.org" 
Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Dear oVirt,

Regarding Issue #2 , I created bug at Bugzilla, if anyone is interested in 
following:
https://bugzilla.redhat.com/show_bug.cgi?id=1814200

Regarding issue #1, there is already a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1731049

And regarding percentage vs actual usage:
https://bugzilla.redhat.com/show_bug.cgi?id=1814214


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.




From: "Vrgotic, Marko" 
Date: Monday, 16 March 2020 at 09:40
To: "users@ovirt.org" 
Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Dear oVirt,

Is there anyone willing and able to assist me in troubleshooting what seems to 
be multiple issues regarding quotas:

  1.  UI Exception each time I add Consumer to Quota.
  2.  User getting warning of not being authorized to ‘ConsumeQuota’ in order 
to AddVM or AddVMFromTemplate, even though User is in Consumers list.
  3.  Fishy quota usage percentage.

I see this strange behavior on all my platforms, so it’s starting to look as a 
bug to me.
Happy to provide any relevant logs or do tests needed.

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo


From: "Staniforth, Paul" 
Date: Friday, 13 March 2020 at 18:19
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Sorry haven't used quota in a while, one thought is there a template quota 
getting used?

Regards,
 Paul S.

From: Vrgotic, Marko 
Sent: 13 March 2020 15:15
To: Staniforth, Paul ; users@ovirt.org 

Cc: Stojchev, Darko 
Subject: Re: oVirt Storage quota problems


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hey Paul,



I did the check for another user that has same issue and what I found out its 
bit strange:

  *   DC1 / infrastructure1 – quota storage_inf1 – user is added in Consumers 
list   -   gets “2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA”
  *   DC1 / development2 – quota storage_dev2 – user is added in Consumers list 
– works



The following logs confirm that:



  *   Fails against infrastructure1 :

“2020-03-13 08:26:18,057Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] No permission found for user 
'699687a1-da37-4b4

0-a86d-dc744208302d' or one of the groups he is member of, when running action 
'AddVmFromTemplate', Required permissions are: Action type: 'USER' Action 
group: 'CONSUME_QUOTA' Object type: '

Quota'  Object ID: '254f2582-839d-11e9-aaa2-00163e4f2a6d'.

2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba

[ovirt-users] Re: Unable to open oVirt page past login

2020-03-17 Thread Vrgotic, Marko
Thanks Strahil,

My user is accessing from OS Fedora 29, browser Firefox and Chrome, but we have 
not tried private/incognito mode.

Will try that tomorrow.
 

On 17/03/2020, 20:42, "Strahil Nikolov"  wrote:

On March 17, 2020 5:02:20 PM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Dear oVirt,
>
>One of my Users, working remotely via VPN (10.200.145.169), is having
>issues to load oVirt Dashboard or any other screen past login page.
>
>icmp response time is about 25ms
>
>Tracking ovirt-request-log and server.log I noticed following
>correlation:
>
>Once User has opened login page, entered credentials and requested page
>/ dataCenters in this case:

>https://ovirt-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US#dataCenters
>following is logged:
>
>tailf /var/log/httpd/ovirt-requests-log | grep "10.200.145.169":
>
>[17/Mar/2020:14:54:16 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 8758us" "GET /ovirt-engine/webadmin/?locale=en_US HTTP/1.1"
>-
>[17/Mar/2020:14:54:16 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1946us" "GET /ovirt-engine/webadmin/webadmin.nocache.js
>HTTP/1.1" -
>[17/Mar/2020:14:54:17 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1318us" "GET
>/ovirt-engine/webadmin/plugin/ui-extensions/plugin.html HTTP/1.1" -
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1649us" "GET /ovirt-engine/docs/csh/webadmin.json HTTP/1.1"
>28
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1272us" "GET
>/ovirt-engine/webadmin/plugin/ui-extensions/css/vendor.f6f68cb2.css
>HTTP/1.1" -
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1561us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1850us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 826us" "GET
>/ovirt-engine/webadmin/plugin/ui-extensions/js/manifest.08488e4f.js
>HTTP/1.1" -
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1453us" "GET
>/ovirt-engine/webadmin/plugin/ui-extensions/js/vendor.e3652c82.chunk.js
>HTTP/1.1" -
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 890us" "GET
>/ovirt-engine/webadmin/plugin/ui-extensions/js/plugin.2a3f9da3.chunk.js
>HTTP/1.1" -
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id:
>10971786-086e-44ec-acf3-ff74117671a3" "Duration: 23723us" "POST
>/ovirt-engine/webadmin/GenericApiGWTService HTTP/1.1" 208
>[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 20020204us" "POST
>/ovirt-engine/webadmin/GenericApiGWTService HTTP/1.1" 226
>[17/Mar/2020:14:54:38 +] 10.200.145.169 "Correlation-Id: -"
>"Duration: 1450us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141
>
>
>tailf /var/log/ovirt-engine/server.log :
>
>2020-03-17 14:54:38,581Z ERROR [io.undertow.request] (default
>task-4989) UT005023: Exception handling request to
>/ovirt-engine/webadmin/GenericApiGWTService:
>java.lang.RuntimeException: Unable to report failure
>at

>com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doUnexpectedFailure(AbstractRemoteServiceServlet.java:107)
>[gwt-servlet.jar:]
>at

>org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.doUnexpectedFailure(GenericApiGWTServiceImpl.java:212)
>[frontend.jar:]
>at

>com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:67)
>[gwt-servlet.jar:]
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:706)
>[jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]
>at

>org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.service(GenericApiGWTServiceImpl.java:78)
>[frontend.jar:]
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
>[jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]
>at

>io.undertow.servlet.handlers.Servle

[ovirt-users] Unable to open oVirt page past login

2020-03-17 Thread Vrgotic, Marko
Dear oVirt,

One of my Users, working remotely via VPN (10.200.145.169), is having issues to 
load oVirt Dashboard or any other screen past login page.

icmp response time is about 25ms

Tracking ovirt-request-log and server.log I noticed following correlation:

Once User has opened login page, entered credentials and requested page / 
dataCenters in this case: 
https://ovirt-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US#dataCenters 
following is logged:

tailf /var/log/httpd/ovirt-requests-log | grep "10.200.145.169":

[17/Mar/2020:14:54:16 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
8758us" "GET /ovirt-engine/webadmin/?locale=en_US HTTP/1.1" -
[17/Mar/2020:14:54:16 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1946us" "GET /ovirt-engine/webadmin/webadmin.nocache.js HTTP/1.1" -
[17/Mar/2020:14:54:17 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1318us" "GET /ovirt-engine/webadmin/plugin/ui-extensions/plugin.html HTTP/1.1" -
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1649us" "GET /ovirt-engine/docs/csh/webadmin.json HTTP/1.1" 28
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1272us" "GET 
/ovirt-engine/webadmin/plugin/ui-extensions/css/vendor.f6f68cb2.css HTTP/1.1" -
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1561us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1850us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
826us" "GET /ovirt-engine/webadmin/plugin/ui-extensions/js/manifest.08488e4f.js 
HTTP/1.1" -
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1453us" "GET 
/ovirt-engine/webadmin/plugin/ui-extensions/js/vendor.e3652c82.chunk.js 
HTTP/1.1" -
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
890us" "GET 
/ovirt-engine/webadmin/plugin/ui-extensions/js/plugin.2a3f9da3.chunk.js 
HTTP/1.1" -
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: 
10971786-086e-44ec-acf3-ff74117671a3" "Duration: 23723us" "POST 
/ovirt-engine/webadmin/GenericApiGWTService HTTP/1.1" 208
[17/Mar/2020:14:54:18 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
20020204us" "POST /ovirt-engine/webadmin/GenericApiGWTService HTTP/1.1" 226
[17/Mar/2020:14:54:38 +] 10.200.145.169 "Correlation-Id: -" "Duration: 
1450us" "POST /ovirt-engine/webadmin/xsrf HTTP/1.1" 141


tailf /var/log/ovirt-engine/server.log :

2020-03-17 14:54:38,581Z ERROR [io.undertow.request] (default task-4989) 
UT005023: Exception handling request to 
/ovirt-engine/webadmin/GenericApiGWTService: java.lang.RuntimeException: Unable 
to report failure
 at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doUnexpectedFailure(AbstractRemoteServiceServlet.java:107)
 [gwt-servlet.jar:]
 at 
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.doUnexpectedFailure(GenericApiGWTServiceImpl.java:212)
 [frontend.jar:]
 at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:67)
 [gwt-servlet.jar:]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:706) 
[jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]
 at 
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.service(GenericApiGWTServiceImpl.java:78)
 [frontend.jar:]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:791) 
[jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]
 at 
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
 [undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
 [undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94) 
[utils.jar:]
 at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
[undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 [undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
org.ovirt.engine.core.utils.servlet.CachingFilter.doFilter(CachingFilter.java:133)
 [utils.jar:]
 at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
[undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
 [undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 
org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73) 
[branding.jar:]
 at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) 
[undertow-servlet-2.0.21.Final.jar:2.0.21.Final]
 at 

[ovirt-users] Re: oVirt Storage quota problems

2020-03-17 Thread Vrgotic, Marko
Dear oVirt,

Regarding Issue #2 , I created bug at Bugzilla, if anyone is interested in 
following:
https://bugzilla.redhat.com/show_bug.cgi?id=1814200

Regarding issue #1, there is already a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1731049

And regarding percentage vs actual usage:
https://bugzilla.redhat.com/show_bug.cgi?id=1814214


-
kind regards/met vriendelijke groeten

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.




From: "Vrgotic, Marko" 
Date: Monday, 16 March 2020 at 09:40
To: "users@ovirt.org" 
Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Dear oVirt,

Is there anyone willing and able to assist me in troubleshooting what seems to 
be multiple issues regarding quotas:

  1.  UI Exception each time I add Consumer to Quota.
  2.  User getting warning of not being authorized to ‘ConsumeQuota’ in order 
to AddVM or AddVMFromTemplate, even though User is in Consumers list.
  3.  Fishy quota usage percentage.

I see this strange behavior on all my platforms, so it’s starting to look as a 
bug to me.
Happy to provide any relevant logs or do tests needed.

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo


From: "Staniforth, Paul" 
Date: Friday, 13 March 2020 at 18:19
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Sorry haven't used quota in a while, one thought is there a template quota 
getting used?

Regards,
         Paul S.

From: Vrgotic, Marko 
Sent: 13 March 2020 15:15
To: Staniforth, Paul ; users@ovirt.org 

Cc: Stojchev, Darko 
Subject: Re: oVirt Storage quota problems


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hey Paul,



I did the check for another user that has same issue and what I found out its 
bit strange:

  *   DC1 / infrastructure1 – quota storage_inf1 – user is added in Consumers 
list   -   gets “2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA”
  *   DC1 / development2 – quota storage_dev2 – user is added in Consumers list 
– works



The following logs confirm that:



  *   Fails against infrastructure1 :

“2020-03-13 08:26:18,057Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] No permission found for user 
'699687a1-da37-4b4

0-a86d-dc744208302d' or one of the groups he is member of, when running action 
'AddVmFromTemplate', Required permissions are: Action type: 'USER' Action 
group: 'CONSUME_QUOTA' Object type: '

Quota'  Object ID: '254f2582-839d-11e9-aaa2-00163e4f2a6d'.

2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA

2020-03-13 08:27:03,426Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3813) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[azabaleta-runner=VM_NAME]', 
sharedLocks='[a80c1f1f-9cd3-4e8c-bfe9-670aa36d2aff=DISK, 
9c710118-bb68-45aa-bafd-0e90cb07b9cf=TEMPLATE]'}'

  *   Works against development2:



2020-03-13 08:27:04,323Z INFO  
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-3813) 
[2cd83827] Running command: AddGraphicsDeviceCommand internal: true. Entities 
affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 Type: VMAction group 
EDIT_VM_PROPERTIES with role type USER

2020-03-13 08:27:04,379Z INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-3813) [2cd83827] EVENT_ID: USER_ADD_VM_STAR

[ovirt-users] Re: oVirt Storage quota problems

2020-03-16 Thread Vrgotic, Marko
Dear oVirt,

Is there anyone willing and able to assist me in troubleshooting what seems to 
be multiple issues regarding quotas:

  1.  UI Exception each time I add Consumer to Quota.
  2.  User getting warning of not being authorized to ‘ConsumeQuota’ in order 
to AddVM or AddVMFromTemplate, even though User is in Consumers list.
  3.  Fishy quota usage percentage.

I see this strange behavior on all my platforms, so it’s starting to look as a 
bug to me.
Happy to provide any relevant logs or do tests needed.

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo


From: "Staniforth, Paul" 
Date: Friday, 13 March 2020 at 18:19
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: Darko Stojchev 
Subject: Re: oVirt Storage quota problems

Sorry haven't used quota in a while, one thought is there a template quota 
getting used?

Regards,
 Paul S.
________
From: Vrgotic, Marko 
Sent: 13 March 2020 15:15
To: Staniforth, Paul ; users@ovirt.org 

Cc: Stojchev, Darko 
Subject: Re: oVirt Storage quota problems


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hey Paul,



I did the check for another user that has same issue and what I found out its 
bit strange:

  *   DC1 / infrastructure1 – quota storage_inf1 – user is added in Consumers 
list   -   gets “2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA”
  *   DC1 / development2 – quota storage_dev2 – user is added in Consumers list 
– works



The following logs confirm that:



  *   Fails against infrastructure1 :

“2020-03-13 08:26:18,057Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] No permission found for user 
'699687a1-da37-4b4

0-a86d-dc744208302d' or one of the groups he is member of, when running action 
'AddVmFromTemplate', Required permissions are: Action type: 'USER' Action 
group: 'CONSUME_QUOTA' Object type: '

Quota'  Object ID: '254f2582-839d-11e9-aaa2-00163e4f2a6d'.

2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA

2020-03-13 08:27:03,426Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3813) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[azabaleta-runner=VM_NAME]', 
sharedLocks='[a80c1f1f-9cd3-4e8c-bfe9-670aa36d2aff=DISK, 
9c710118-bb68-45aa-bafd-0e90cb07b9cf=TEMPLATE]'}'

  *   Works against development2:



2020-03-13 08:27:04,323Z INFO  
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-3813) 
[2cd83827] Running command: AddGraphicsDeviceCommand internal: true. Entities 
affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 Type: VMAction group 
EDIT_VM_PROPERTIES with role type USER

2020-03-13 08:27:04,379Z INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-3813) [2cd83827] EVENT_ID: USER_ADD_VM_STARTED(37), VM azabaleta-runner 
creation was initiated by azabal...@ictv.com@ictv.com-authz.

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CreateCloneOfTemplate' (id: 
'806f2e38-fc42-45c3-87ab-20bec50c226c') waiting on child command id: 
'd3826f75-1095-4b5f-98c3-973f4683616b' type:'CopyImageGroupWithData' to complete

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CopyImageGroupWithData' (id: 
'd3826f75-1095-4b5f-98c3-973f4683616b') waiting on child command id: 
'eb9c3360-00a8-4539-bda4-89d70d22da68' type:'CreateVolumeContainer' to complete

2020-03-13 08:27:05,003Z INFO  
[org.ovirt.engine.core.bll.network.vm.ReorderVmNicsCommand] (default task-3813) 
[e9f67a0f-aaf8-45a6-bdae-d501e757a3b6] Running command: ReorderVmNicsCommand 
internal: false. Entities affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 
Type: VMAction group CREATE_VM with role type USER



Please assist as it currently seems the Quota permissions are not working as 
expected. The Quotas storage_inf1 and storage_dev2 are configured in exact same 
way, expect that they are for different DataCenters.







From: "Vrgotic, Marko"

[ovirt-users] Re: oVirt Storage quota problems

2020-03-13 Thread Vrgotic, Marko
Hey Paul,

Thats ok,

Hopefully someone else will engage to help so help.

I also noticed that each time I add a User into consumer list, UI throws and 
exception and I have to reload.

Sent from my iPhone

On 13 Mar 2020, at 18:19, Staniforth, Paul  
wrote:


Sorry haven't used quota in a while, one thought is there a template quota 
getting used?

Regards,
 Paul S.

From: Vrgotic, Marko 
Sent: 13 March 2020 15:15
To: Staniforth, Paul ; users@ovirt.org 

Cc: Stojchev, Darko 
Subject: Re: oVirt Storage quota problems


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hey Paul,



I did the check for another user that has same issue and what I found out its 
bit strange:

  *   DC1 / infrastructure1 – quota storage_inf1 – user is added in Consumers 
list   -   gets “2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA”
  *   DC1 / development2 – quota storage_dev2 – user is added in Consumers list 
– works



The following logs confirm that:



  *   Fails against infrastructure1 :

“2020-03-13 08:26:18,057Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] No permission found for user 
'699687a1-da37-4b4

0-a86d-dc744208302d' or one of the groups he is member of, when running action 
'AddVmFromTemplate', Required permissions are: Action type: 'USER' Action 
group: 'CONSUME_QUOTA' Object type: '

Quota'  Object ID: '254f2582-839d-11e9-aaa2-00163e4f2a6d'.

2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA

2020-03-13 08:27:03,426Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3813) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[azabaleta-runner=VM_NAME]', 
sharedLocks='[a80c1f1f-9cd3-4e8c-bfe9-670aa36d2aff=DISK, 
9c710118-bb68-45aa-bafd-0e90cb07b9cf=TEMPLATE]'}'

  *   Works against development2:



2020-03-13 08:27:04,323Z INFO  
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-3813) 
[2cd83827] Running command: AddGraphicsDeviceCommand internal: true. Entities 
affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 Type: VMAction group 
EDIT_VM_PROPERTIES with role type USER

2020-03-13 08:27:04,379Z INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-3813) [2cd83827] EVENT_ID: USER_ADD_VM_STARTED(37), VM azabaleta-runner 
creation was initiated by azabal...@ictv.com@ictv.com-authz.

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CreateCloneOfTemplate' (id: 
'806f2e38-fc42-45c3-87ab-20bec50c226c') waiting on child command id: 
'd3826f75-1095-4b5f-98c3-973f4683616b' type:'CopyImageGroupWithData' to complete

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CopyImageGroupWithData' (id: 
'd3826f75-1095-4b5f-98c3-973f4683616b') waiting on child command id: 
'eb9c3360-00a8-4539-bda4-89d70d22da68' type:'CreateVolumeContainer' to complete

2020-03-13 08:27:05,003Z INFO  
[org.ovirt.engine.core.bll.network.vm.ReorderVmNicsCommand] (default task-3813) 
[e9f67a0f-aaf8-45a6-bdae-d501e757a3b6] Running command: ReorderVmNicsCommand 
internal: false. Entities affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 
Type: VMAction group CREATE_VM with role type USER



Please assist as it currently seems the Quota permissions are not working as 
expected. The Quotas storage_inf1 and storage_dev2 are configured in exact same 
way, expect that they are for different DataCenters.







From: "Vrgotic, Marko" 
Date: Thursday, 12 March 2020 at 20:19
To: "Staniforth, Paul" 
Cc: "users@ovirt.org" , Darko Stojchev 

Subject: Re: oVirt Storage quota problems



Hey Paul,



Thank you. I believe I already added him via Consumers tab, but it does not 
hurt to doublecheck.

Sent from my iPhone



On 12 Mar 2020, at 17:53, Staniforth, Paul  
wrote:

Hello Marko,

  if you select quota in the administration menu, then 
select the quota it is using you will see the consumers option and there it 
will allow you to add users or gr

[ovirt-users] Re: oVirt Storage quota problems

2020-03-13 Thread Vrgotic, Marko
Hey Paul,

I did the check for another user that has same issue and what I found out its 
bit strange:

  *   DC1 / infrastructure1 – quota storage_inf1 – user is added in Consumers 
list   -   gets “2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA”
  *   DC1 / development2 – quota storage_dev2 – user is added in Consumers list 
– works

The following logs confirm that:


  *   Fails against infrastructure1 :
“2020-03-13 08:26:18,057Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] No permission found for user 
'699687a1-da37-4b4
0-a86d-dc744208302d' or one of the groups he is member of, when running action 
'AddVmFromTemplate', Required permissions are: Action type: 'USER' Action 
group: 'CONSUME_QUOTA' Object type: '
Quota'  Object ID: '254f2582-839d-11e9-aaa2-00163e4f2a6d'.
2020-03-13 08:26:18,057Z WARN  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3804) 
[a6ba871a-dc42-4d4b-a01a-a72cd5a45959] Validation of action 'AddVmFromTemplate' 
failed for user azabal...@ictv.com@ictv.com-authz. Reasons: 
VAR__ACTION__ADD,VAR__TYPE__VM,USER_NOT_AUTHORIZED_TO_CONSUME_QUOTA
2020-03-13 08:27:03,426Z INFO  
[org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-3813) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[azabaleta-runner=VM_NAME]', 
sharedLocks='[a80c1f1f-9cd3-4e8c-bfe9-670aa36d2aff=DISK, 
9c710118-bb68-45aa-bafd-0e90cb07b9cf=TEMPLATE]'}'

  *   Works against development2:



2020-03-13 08:27:04,323Z INFO  
[org.ovirt.engine.core.bll.AddGraphicsDeviceCommand] (default task-3813) 
[2cd83827] Running command: AddGraphicsDeviceCommand internal: true. Entities 
affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 Type: VMAction group 
EDIT_VM_PROPERTIES with role type USER

2020-03-13 08:27:04,379Z INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-3813) [2cd83827] EVENT_ID: USER_ADD_VM_STARTED(37), VM azabaleta-runner 
creation was initiated by azabal...@ictv.com@ictv.com-authz.

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CreateCloneOfTemplate' (id: 
'806f2e38-fc42-45c3-87ab-20bec50c226c') waiting on child command id: 
'd3826f75-1095-4b5f-98c3-973f4683616b' type:'CopyImageGroupWithData' to complete

2020-03-13 08:27:04,777Z INFO  
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) 
[1e11522e-b25a-4972-8ff8-1d9a08bd57ca] Command 'CopyImageGroupWithData' (id: 
'd3826f75-1095-4b5f-98c3-973f4683616b') waiting on child command id: 
'eb9c3360-00a8-4539-bda4-89d70d22da68' type:'CreateVolumeContainer' to complete

2020-03-13 08:27:05,003Z INFO  
[org.ovirt.engine.core.bll.network.vm.ReorderVmNicsCommand] (default task-3813) 
[e9f67a0f-aaf8-45a6-bdae-d501e757a3b6] Running command: ReorderVmNicsCommand 
internal: false. Entities affected :  ID: d75c0d37-4640-49b0-afd1-7db27541f4d4 
Type: VMAction group CREATE_VM with role type USER



Please assist as it currently seems the Quota permissions are not working as 
expected. The Quotas storage_inf1 and storage_dev2 are configured in exact same 
way, expect that they are for different DataCenters.





From: "Vrgotic, Marko" 
Date: Thursday, 12 March 2020 at 20:19
To: "Staniforth, Paul" 
Cc: "users@ovirt.org" , Darko Stojchev 

Subject: Re: oVirt Storage quota problems

Hey Paul,

Thank you. I believe I already added him via Consumers tab, but it does not 
hurt to doublecheck.
Sent from my iPhone


On 12 Mar 2020, at 17:53, Staniforth, Paul  
wrote:
Hello Marko,
  if you select quota in the administration menu, then 
select the quota it is using you will see the consumers option and there it 
will allow you to add users or groups.

https://www.ovirt.org/documentation/admin-guide/chap-Quotas_and_Service_Level_Agreement_Policy.html
Quotas and Service Level Agreement Policy | 
oVirt<https://www.ovirt.org/documentation/admin-guide/chap-Quotas_and_Service_Level_Agreement_Policy.html>
Chapter 16: Quotas and Service Level Agreement Policy Introduction to Quota. 
Quota is a resource limitation tool provided with oVirt. Quota may be thought 
of as a layer of limitations on top of the layer of limitations set by User 
Permissions.
www.ovirt.org
Regards,
  Paul S.
____________
From: Vrgotic, Marko 
Sent: 12 March 2020 15:46
To: users@ovirt.org 
Cc: Stojchev, Darko 
Subject: [ovirt-users] Re: oVirt Storage quota 

[ovirt-users] Re: Hyperconverged setup questions

2020-02-29 Thread Vrgotic, Marko
Hi Strahil , Leo and Jayme,



This thread is getting more and more useful, great.



Atm, I have 15 nodes cluster with shared Storage from Netapp. The storage 
network is (NFS4.1) on 20GB LACP, separated from control.

Performance is generally great, except in several test cases when using "send 
next data after write confirm". This situation does not care about speed of 
network, kernel buffers or any other buffers, but only about storage server 
speed, and then we hit the speed issue.



The main reason why I am asking for HCI, is to get as close as possible to 
Local Storage speed with multiple hosts in same cluster.

The idea is to add HCI to current setup, as second cluster, utilizing CPU RAM 
and LocalStorage of joined nodes.

--Is this actually a direction which will get me to the wanted result, or am I 
misunderstanding purpose of HCI?



I understand that the HCI with SHE requires replica2+arbiter or replica3, but 
that is not my situation. I wish only to add HCI for reasons above.

--Do I need the distributed-replicated in that case, or I can simply use 
distributed (if still supported) setup?



Jayme, I do have resources to set this up in a staged environment, and I will 
be happy to share the info, but first I need to find out if I am at all moving 
in right direction.



Kindly awaiting your reply.





-

kind regards/met vriendelijke groeten

Marko Vrgotic

Sr. System Engineer @ System Administration



ActiveVideo

e: m.vrgo...@activevideo.com

w: www.activevideo.com <https://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.





On 29/02/2020, 11:53, "Strahil Nikolov"  wrote:



On February 29, 2020 11:19:30 AM GMT+02:00, Jayme  wrote:

>I currently have a three host hci in rep 3 (no arbiter). 10gbe network

>and

>ssds making up the bricks. I’ve wondered what the result of adding

>three

>more nodes to expand hci would be. Is there an overall storage

>performance

>increase when gluster is expanded like this?

>

>On Sat, Feb 29, 2020 at 4:26 AM Leo David  wrote:

>

>> Hi,

>> As a first setup, you can go with a 3 nodes HCI and having the data

>volume

>> in a replica 3 setup.

>> Afterwards, if you want to expand HCI ( compute and storage too) you

>can

>> add sets of 3  nodes, and the data volume will automatically become

>> replicated-distributed. Safely, you can add sets of 3 nodes up to 12

>nodes

>> per HCI.

>> You can also add "compute only nodes" and not extending storage too.

>This

>> can be done by adding nodes one by one.

>> As an example, I have an implementation where are 3 hyperconverged

>nodes,

>> they form a replica 3 volume, and later i have added the 4th node to

>the

>> cluster which only adds ram and cpu, whilts consuming storage from

>the

    >> existing 3 nodes based volume.

>> Hope this helps.

>> Cheers,

>>

>> Leo

>>

>>

>> On Fri, Feb 28, 2020, 15:25 Vrgotic, Marko

>

>> wrote:

>>

>>> Hi Strahil,

>>>

>>>

>>>

>>> I circled back on your reply while ago regarding oVirt

>Hyperconverged and

>>> more than 3 nodes in cluster:

>>>

>>>

>>>

>>> “Hi Marko, I guess  you can use distributed-replicated volumes  and

>>> oVirt  cluster with host triplets.”

>>>

>>> Initially I understood that its limited to 3Nodes max per HC

>cluster, but

>>> now reading documentation further

>>>


>https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Maintenance_and_Upgrading_Resources.html

>>> that does not look like it.

>>>

>>>

>>>

>>> Would you be so kind to give me an example or clarify what you meant

>by “*you

>>> can use distributed-replicated volumes  and oVirt  cluster with host

>>> triplets.*” ?

>>>

>>

[ovirt-users] Re: Hyperconverged setup questions

2020-02-28 Thread Vrgotic, Marko
Hi Strahil,

I circled back on your reply while ago regarding oVirt Hyperconverged and more 
than 3 nodes in cluster:


“Hi Marko, I guess  you can use distributed-replicated volumes  and oVirt  
cluster with host triplets.”
Initially I understood that its limited to 3Nodes max per HC cluster, but now 
reading documentation further 
https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Maintenance_and_Upgrading_Resources.html
 that does not look like it.

Would you be so kind to give me an example or clarify what you meant by “you 
can use distributed-replicated volumes  and oVirt  cluster with host triplets.” 
?

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo



From: "Vrgotic, Marko" 
Date: Friday, 11 October 2019 at 08:49
To: Strahil 
Cc: users 
Subject: Re: [ovirt-users] Hyperconverged setup questions

Hi Strahil,

Thank you.
One maybe stupid question, but significant to me:
Considering i haven’t been playing before with hyperconverged setup in oVirt, 
is this something i can do from ui cockpit or does it require me first setup an 
Glusterfs on the Hosts before doing anything via oVirt API or Web interface?

Kindly awaiting your reply.

Marko

Sent from my iPhone


On 11 Oct 2019, at 06:14, Strahil  wrote:

Hi Marko,

I guess  you can use distributed-replicated volumes  and oVirt  cluster with 
host triplets.

Best Regards,
Strahil Nikolov
On Oct 10, 2019 15:30, "Vrgotic, Marko"  wrote:

Dear oVirt,



Is it possible to add oVirt 3Hosts/Gluster hyperconverged cluster to existing 
oVirt setup? I need this to achieve Local storage performance, but still have 
pool of Hypevisors available.

Is it possible to have more than 3Hosts in Hyperconverged setup?



I have currently 1Shared Cluster (NFS based storage, where also SHE is hosted) 
and 2Local Storage clusters.



oVirt current version running is 4.3.4.



Kindly awaiting your reply.





— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic

ActiveVideo




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UH2FDN57V2TOQXD36UQXVTVCTB37O4OE/


[ovirt-users] Re: HostedEngine migration fails with VM destroyed during the startup.

2020-02-18 Thread Vrgotic, Marko
Hey Strahil,

I am not in a rush to patch the Node3 as much as I want to exit global 
maintenance, assuming all goes well, to allow my Users to use platform for 
their work further. 

As far as I am concerned, Node3 patching can wait. I like that kind of 
paranoia, and would actually call it "better safe than sorry".

At 18:00 today should be approximately 8-10 hours since I started Engine via 
virsh, so I will than try to continue with bring it back online via VDSM onto 
one of the Updated nodes.

Will send the update once last portion is done.

Thank you.

-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo



On 18/02/2020, 14:16, "Strahil Nikolov"  wrote:

On February 18, 2020 1:01:32 PM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Hi Strahil,
>
>
>
>We got to meet at next oVirt conf, as all beer rounds will be on me!
>
>
>
>Ok, just to be sure, so upon those 8 hours:
>
>*   Node1 #ssh root@ovirt-engine “shutdown -h now”   <= engine is
>currently running, via virsh start, on this Node1
>  *   Node1 # virsh undefine HostedEngine
>*   Node2 # hosted-engine –vm-start <= Node3 still needs to be
>updated
>  *   Node2 # hosted-engine --set-maintenance --mode=none
>  *   Node3 # hosted-engine --set-maintenance --mode=local
>  *   Patch Node3
>  *   Test HA
>
>
>
>
>
>
>
>On 18/02/2020, 11:46, "Strahil Nikolov"  wrote:
>
>
>
>On February 18, 2020 12:03:31 PM GMT+02:00, "Vrgotic, Marko"
> wrote:
>
>>Dear Strahil,
>
>>
>
>>
>
>>
>
>>Thank you for all knowledge sharing and support so far.
>
>>
>
>>
>
>>
>
>>The procedure went fine so far and  I have the Engine running on Node1
>
>>(it was on Node3).
>
>>
>
>>
>
>>
>
>>However, I see “strange things” :
>
>>
>
>>  *   Engine is running and I have access to WebUI as well - good.
>
>>*   None of the HA Nodes actually show who is hosting the Engine atm –
>
>>all crowns are gray - Strange
>
>>*   If I look at the list of VMs, I see HostedEngine VM as powered off
>
>>- Strange
>
>>
>
>>
>
>>
>
>  >Can I safely assume procedure went fine and now the Engine conf sync
>
>>time of 12 hours started or something went wrong?
>
>>
>
>>
>
>>
>
>>Kindly awaiting your reply.
>
>>
>
>>
>
>>
>
>>-
>
>>kind regards/met vriendelijke groeten
>
>>
>
>>Marko Vrgotic
>
>>Sr. System Engineer @ System Administration
>
>>
>
>>ActiveVideo
>
>>o: +31 (35) 6774131
>
>>e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
>
>>w: www.activevideo.com<http://www.activevideo.com>
>
>>
>
>>ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein
>
>>1.1217 WJ Hilversum, The Netherlands. The information contained in
>this
>
> >message may be legally privileged and confidential. It is intended to
>
>>be read only by the individual or entity to whom it is addressed or by
>
>>their designee. If the reader of this message is not the intended
>
>>recipient, you are on notice that any distribution of this message, in
>
>>any form, is strictly prohibited.  If you have received this message
>in
>
>>error, please immediately notify the sender and/or ActiveVideo
>
>>Networks, LLC by telephone at +1 408.931.9200 and delete or destroy
>any
>
>>copy of this message.
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>On 17/02/2020, 15:04, "Strahil Nikolov"  wrote:
>
>>
>
>>
>
>>
>
>>On F

[ovirt-users] Re: HostedEngine migration fails with VM destroyed during the startup.

2020-02-16 Thread Vrgotic, Marko
Hi Strahil,

Regarding step 3:  Stop and undefine the VM on the last working host
One question: How do I undefine HostedEngine from last Host? Hosted-engine 
command does not provide such option, or it's just not obvious.

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo


On 14/02/2020, 18:44, "Strahil Nikolov"  wrote:

On February 14, 2020 4:19:53 PM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Good answer Strahil,
>
>Thank you, I forgot.
>
>Libvirt logs are actually showing the reason why:
>
>2020-02-14T12:33:51.847970Z qemu-kvm: -drive

>file=/var/run/vdsm/storage/054c43fc-1924-4106-9f80-0f2ac62b9886/b019c5fa-8fb5-4bfc-8339-f5b7f590a051/f1ce8ba6-2d3b-4309-bca0-e6a00ce74c75,format=raw,if=none,id=drive-ua-b019c5fa-8fb5-4bfc-8339-f5b7f590a051,serial=b019c5fa-8fb5-4bfc-8339-f5b7f590a051,werror=stop,rerror=stop,cache=none,aio=threads:
>'serial' is deprecated, please use the corresponding option of
>'-device' instead
>Spice-Message: 04:33:51.856: setting TLS option 'CipherString' to
>'kECDHE+FIPS:kDHE+FIPS:kRSA+FIPS:!eNULL:!aNULL' from
>/etc/pki/tls/spice.cnf configuration file
>2020-02-14T12:33:51.863449Z qemu-kvm: warning: CPU(s) not present in
>any NUMA nodes: CPU 4 [socket-id: 1, core-id: 0, thread-id: 0], CPU 5
>[socket-id: 1, core-id: 1, thread-id: 0], CPU 6 [socket-id: 1, core-id:
>2, thread-id: 0], CPU 7 [socket-id: 1, core-id: 3, thread-id: 0], CPU 8
>[socket-id: 2, core-id: 0, thread-id: 0], CPU 9 [socket-id: 2, core-id:
>1, thread-id: 0], CPU 10 [socket-id: 2, core-id: 2, thread-id: 0], CPU
>11 [socket-id: 2, core-id: 3, thread-id: 0], CPU 12 [socket-id: 3,
>core-id: 0, thread-id: 0], CPU 13 [socket-id: 3, core-id: 1, thread-id:
>0], CPU 14 [socket-id: 3, core-id: 2, thread-id: 0], CPU 15 [socket-id:
>3, core-id: 3, thread-id: 0], CPU 16 [socket-id: 4, core-id: 0,
>thread-id: 0], CPU 17 [socket-id: 4, core-id: 1, thread-id: 0], CPU 18
>[socket-id: 4, core-id: 2, thread-id: 0], CPU 19 [socket-id: 4,
>core-id: 3, thread-id: 0], CPU 20 [socket-id: 5, core-id: 0, thread-id:
>0], CPU 21 [socket-id: 5, core-id: 1, thread-id: 0], CPU 22 [socket-id:
>5, core-id: 2, thread-id: 0], CPU 23 [socket-id: 5, core-id: 3,
>thread-id: 0], CPU 24 [socket-id: 6, core-id: 0, thread-id: 0], CPU 25
>[socket-id: 6, core-id: 1, thread-id: 0], CPU 26 [socket-id: 6,
>core-id: 2, thread-id: 0], CPU 27 [socket-id: 6, core-id: 3, thread-id:
>0], CPU 28 [socket-id: 7, core-id: 0, thread-id: 0], CPU 29 [socket-id:
>7, core-id: 1, thread-id: 0], CPU 30 [socket-id: 7, core-id: 2,
>thread-id: 0], CPU 31 [socket-id: 7, core-id: 3, thread-id: 0], CPU 32
>[socket-id: 8, core-id: 0, thread-id: 0], CPU 33 [socket-id: 8,
>core-id: 1, thread-id: 0], CPU 34 [socket-id: 8, core-id: 2, thread-id:
>0], CPU 35 [socket-id: 8, core-id: 3, thread-id: 0], CPU 36 [socket-id:
>9, core-id: 0, thread-id: 0], CPU 37 [socket-id: 9, core-id: 1,
>thread-id: 0], CPU 38 [socket-id: 9, core-id: 2, thread-id: 0], CPU 39
>[socket-id: 9, core-id: 3, thread-id: 0], CPU 40 [socket-id: 10,
>core-id: 0, thread-id: 0], CPU 41 [socket-id: 10, core-id: 1,
>thread-id: 0], CPU 42 [socket-id: 10, core-id: 2, thread-id: 0], CPU 43
>[socket-id: 10, core-id: 3, thread-id: 0], CPU 44 [socket-id: 11,
>core-id: 0, thread-id: 0], CPU 45 [socket-id: 11, core-id: 1,
>thread-id: 0], CPU 46 [socket-id: 11, core-id: 2, thread-id: 0], CPU 47
>[socket-id: 11, core-id: 3, thread-id: 0], CPU 48 [socket-id: 12,
>core-id: 0, thread-id: 0], CPU 49 [socket-id: 12, core-id: 1,
>thread-id: 0], CPU 50 [socket-id: 12, core-id: 2, thread-id: 0], CPU 51
>[socket-id: 12, core-id: 3, thread-id: 0], CPU 52 [socket-id: 13,
>core-id: 0, thread-id: 0], CPU 53 [socket-id: 13, core-id: 1,
>thread-id: 0], CPU 54 [socket-id: 13, core-id: 2, thread-id: 0], CPU 55
>[socket-id: 13, core-id: 3, thread-id: 0], CPU 56 [socket-id: 14,
>core-id: 0, thread-id: 0], CPU 57 [socket-id: 14, core-id: 1,
>thread-id: 0], CPU 58 [socket-id: 14, core-id: 2, thread-id: 0], CPU 59
>[socket-id: 14, core-id: 3, thread-id: 0], CPU 60 [socket-id: 15,
>core-id: 0, thread-id: 0], CPU 61 [socket-id: 15, core-id: 1,
>thread-id: 0], CPU 62 [socket-id: 15, core-id: 2, thread-id: 0], CPU 63
>[socket-id: 15, core-id: 3, thread-id: 0]
>2020-02-14T12:33:51.863475Z qemu-kvm: warning: All CPU(s) up to maxcpus
>should be described in NUMA config, ability to start up with partial
>NUMA mappings is obsoleted and will be removed in future
>2020-02-14T12:33:51.863973Z qemu-kvm: warning: host doesn't support
>requested feature: CPUID.07H:EDX.md

[ovirt-users] Re: HostedEngine migration fails with VM destroyed during the startup.

2020-02-16 Thread Vrgotic, Marko
Hi Strahil,

No, note this time and it's not the first time I am doing only Host upgrade 
without yet Upgrading the Engine packages.
True, I am aware that the Engine upgrade states to upon Engine upgrade the 
Hosts should be updated as well. 
Still, seeing the "Box with CD" next to Host name, was never an indicator to me 
that I should not update just Hosts.

In complete honesty, I update HostedEngine and its OS packages, only with 
release upgrade and in GlobalMaintenance mode,  but Hosts packages, I update 
more frequently. Yet, this is first time that caused an issue.

I took quick look at Engine's CPU type, from WebUI, and its showing that its 
using Cluster Default (which is matching CPU type of all updated Hosts), but 
XML might show differently.

As soon as I know more, I will share.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo

 

On 16/02/2020, 11:18, "Strahil Nikolov"  wrote:

On February 16, 2020 11:40:37 AM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Hi Strahil,
>
>Thank you for proposed steps. If this is now the only way to go,
>without having to do restore, I will take it.
>Before I start, I will first gather information and later share the
>outcome.
>
>What does not make me happy, is the cause.
>What is the reason CPU family type of the processor would be changed
>upon upgrade? Can you please share with me?
>At least for the Hosts which are part of HA, the upgrade should check
>and if possible give a warning if any of HA cluster crucial parameters
>will be changed.
>
>
>-
>kind regards/met vriendelijke groeten
> 
>Marko Vrgotic
>ActiveVideo
>
>
>On 14/02/2020, 18:44, "Strahil Nikolov"  wrote:
>
>On February 14, 2020 4:19:53 PM GMT+02:00, "Vrgotic, Marko"
> wrote:
>>Good answer Strahil,
>>
>>Thank you, I forgot.
>>
>>Libvirt logs are actually showing the reason why:
>>
>>2020-02-14T12:33:51.847970Z qemu-kvm: -drive

>>file=/var/run/vdsm/storage/054c43fc-1924-4106-9f80-0f2ac62b9886/b019c5fa-8fb5-4bfc-8339-f5b7f590a051/f1ce8ba6-2d3b-4309-bca0-e6a00ce74c75,format=raw,if=none,id=drive-ua-b019c5fa-8fb5-4bfc-8339-f5b7f590a051,serial=b019c5fa-8fb5-4bfc-8339-f5b7f590a051,werror=stop,rerror=stop,cache=none,aio=threads:
>>'serial' is deprecated, please use the corresponding option of
>>'-device' instead
>>Spice-Message: 04:33:51.856: setting TLS option 'CipherString' to
>>'kECDHE+FIPS:kDHE+FIPS:kRSA+FIPS:!eNULL:!aNULL' from
>>/etc/pki/tls/spice.cnf configuration file
>  >2020-02-14T12:33:51.863449Z qemu-kvm: warning: CPU(s) not present in
> >any NUMA nodes: CPU 4 [socket-id: 1, core-id: 0, thread-id: 0], CPU 5
>>[socket-id: 1, core-id: 1, thread-id: 0], CPU 6 [socket-id: 1,
>core-id:
>>2, thread-id: 0], CPU 7 [socket-id: 1, core-id: 3, thread-id: 0], CPU
>8
>>[socket-id: 2, core-id: 0, thread-id: 0], CPU 9 [socket-id: 2,
>core-id:
>>1, thread-id: 0], CPU 10 [socket-id: 2, core-id: 2, thread-id: 0], CPU
>>11 [socket-id: 2, core-id: 3, thread-id: 0], CPU 12 [socket-id: 3,
>>core-id: 0, thread-id: 0], CPU 13 [socket-id: 3, core-id: 1,
>thread-id:
>>0], CPU 14 [socket-id: 3, core-id: 2, thread-id: 0], CPU 15
>[socket-id:
>>3, core-id: 3, thread-id: 0], CPU 16 [socket-id: 4, core-id: 0,
>>thread-id: 0], CPU 17 [socket-id: 4, core-id: 1, thread-id: 0], CPU 18
>>[socket-id: 4, core-id: 2, thread-id: 0], CPU 19 [socket-id: 4,
>>core-id: 3, thread-id: 0], CPU 20 [socket-id: 5, core-id: 0,
>thread-id:
>>0], CPU 21 [socket-id: 5, core-id: 1, thread-id: 0], CPU 22
>[socket-id:
>>5, core-id: 2, thread-id: 0], CPU 23 [socket-id: 5, core-id: 3,
>>thread-id: 0], CPU 24 [socket-id: 6, core-id: 0, thread-id: 0], CPU 25
>>[socket-id: 6, core-id: 1, thread-id: 0], CPU 26 [socket-id: 6,
>>core-id: 2, thread-id: 0], CPU 27 [socket-id: 6, core-id: 3,
>thread-id:
>>0], CPU 28 [socket-id: 7, core-id: 0, thread-id: 0], CPU 29
>[socket-id:
>>7, core-id: 1, thread-id: 0], CPU 30 [socket-id: 7, core-id: 2,
>>thread-id: 0], CPU 31 [socket-id: 7, core-id: 3, thread-id: 0], CPU 32
>>[socket-id: 8, core-id: 0, thread-id: 0], CPU 33 [socket-id: 8,
>>core-id: 1, thread-id: 0], CPU 34 [socket-id: 8, core-id: 2,
>thread-id:
>>0], CPU 35 [socket-id: 8, core-id: 3, thread-id: 0], CPU 36
>[socket-id:
>>9, core-id: 0, thread-id: 0], CPU 37 [socket-id: 9, 

[ovirt-users] Re: HostedEngine migration fails with VM destroyed during the startup.

2020-02-16 Thread Vrgotic, Marko
Hi Strahil,

Thank you for proposed steps. If this is now the only way to go, without having 
to do restore, I will take it.
Before I start, I will first gather information and later share the outcome.

What does not make me happy, is the cause.
What is the reason CPU family type of the processor would be changed upon 
upgrade? Can you please share with me?
At least for the Hosts which are part of HA, the upgrade should check and if 
possible give a warning if any of HA cluster crucial parameters will be changed.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo


On 14/02/2020, 18:44, "Strahil Nikolov"  wrote:

On February 14, 2020 4:19:53 PM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Good answer Strahil,
>
>Thank you, I forgot.
>
>Libvirt logs are actually showing the reason why:
>
>2020-02-14T12:33:51.847970Z qemu-kvm: -drive

>file=/var/run/vdsm/storage/054c43fc-1924-4106-9f80-0f2ac62b9886/b019c5fa-8fb5-4bfc-8339-f5b7f590a051/f1ce8ba6-2d3b-4309-bca0-e6a00ce74c75,format=raw,if=none,id=drive-ua-b019c5fa-8fb5-4bfc-8339-f5b7f590a051,serial=b019c5fa-8fb5-4bfc-8339-f5b7f590a051,werror=stop,rerror=stop,cache=none,aio=threads:
>'serial' is deprecated, please use the corresponding option of
>'-device' instead
>Spice-Message: 04:33:51.856: setting TLS option 'CipherString' to
>'kECDHE+FIPS:kDHE+FIPS:kRSA+FIPS:!eNULL:!aNULL' from
>/etc/pki/tls/spice.cnf configuration file
>2020-02-14T12:33:51.863449Z qemu-kvm: warning: CPU(s) not present in
>any NUMA nodes: CPU 4 [socket-id: 1, core-id: 0, thread-id: 0], CPU 5
>[socket-id: 1, core-id: 1, thread-id: 0], CPU 6 [socket-id: 1, core-id:
>2, thread-id: 0], CPU 7 [socket-id: 1, core-id: 3, thread-id: 0], CPU 8
>[socket-id: 2, core-id: 0, thread-id: 0], CPU 9 [socket-id: 2, core-id:
>1, thread-id: 0], CPU 10 [socket-id: 2, core-id: 2, thread-id: 0], CPU
>11 [socket-id: 2, core-id: 3, thread-id: 0], CPU 12 [socket-id: 3,
>core-id: 0, thread-id: 0], CPU 13 [socket-id: 3, core-id: 1, thread-id:
>0], CPU 14 [socket-id: 3, core-id: 2, thread-id: 0], CPU 15 [socket-id:
>3, core-id: 3, thread-id: 0], CPU 16 [socket-id: 4, core-id: 0,
>thread-id: 0], CPU 17 [socket-id: 4, core-id: 1, thread-id: 0], CPU 18
>[socket-id: 4, core-id: 2, thread-id: 0], CPU 19 [socket-id: 4,
>core-id: 3, thread-id: 0], CPU 20 [socket-id: 5, core-id: 0, thread-id:
>0], CPU 21 [socket-id: 5, core-id: 1, thread-id: 0], CPU 22 [socket-id:
>5, core-id: 2, thread-id: 0], CPU 23 [socket-id: 5, core-id: 3,
>thread-id: 0], CPU 24 [socket-id: 6, core-id: 0, thread-id: 0], CPU 25
>[socket-id: 6, core-id: 1, thread-id: 0], CPU 26 [socket-id: 6,
>core-id: 2, thread-id: 0], CPU 27 [socket-id: 6, core-id: 3, thread-id:
>0], CPU 28 [socket-id: 7, core-id: 0, thread-id: 0], CPU 29 [socket-id:
>7, core-id: 1, thread-id: 0], CPU 30 [socket-id: 7, core-id: 2,
>thread-id: 0], CPU 31 [socket-id: 7, core-id: 3, thread-id: 0], CPU 32
>[socket-id: 8, core-id: 0, thread-id: 0], CPU 33 [socket-id: 8,
>core-id: 1, thread-id: 0], CPU 34 [socket-id: 8, core-id: 2, thread-id:
>0], CPU 35 [socket-id: 8, core-id: 3, thread-id: 0], CPU 36 [socket-id:
>9, core-id: 0, thread-id: 0], CPU 37 [socket-id: 9, core-id: 1,
>thread-id: 0], CPU 38 [socket-id: 9, core-id: 2, thread-id: 0], CPU 39
>[socket-id: 9, core-id: 3, thread-id: 0], CPU 40 [socket-id: 10,
>core-id: 0, thread-id: 0], CPU 41 [socket-id: 10, core-id: 1,
>thread-id: 0], CPU 42 [socket-id: 10, core-id: 2, thread-id: 0], CPU 43
>[socket-id: 10, core-id: 3, thread-id: 0], CPU 44 [socket-id: 11,
>core-id: 0, thread-id: 0], CPU 45 [socket-id: 11, core-id: 1,
>thread-id: 0], CPU 46 [socket-id: 11, core-id: 2, thread-id: 0], CPU 47
>[socket-id: 11, core-id: 3, thread-id: 0], CPU 48 [socket-id: 12,
>core-id: 0, thread-id: 0], CPU 49 [socket-id: 12, core-id: 1,
>thread-id: 0], CPU 50 [socket-id: 12, core-id: 2, thread-id: 0], CPU 51
>[socket-id: 12, core-id: 3, thread-id: 0], CPU 52 [socket-id: 13,
>core-id: 0, thread-id: 0], CPU 53 [socket-id: 13, core-id: 1,
>thread-id: 0], CPU 54 [socket-id: 13, core-id: 2, thread-id: 0], CPU 55
>[socket-id: 13, core-id: 3, thread-id: 0], CPU 56 [socket-id: 14,
>core-id: 0, thread-id: 0], CPU 57 [socket-id: 14, core-id: 1,
>thread-id: 0], CPU 58 [socket-id: 14, core-id: 2, thread-id: 0], CPU 59
>[socket-id: 14, core-id: 3, thread-id: 0], CPU 60 [socket-id: 15,
>core-id: 0, thread-id: 0], CPU 61 [socket-id: 15, core-id: 1,
>thread-id: 0], CPU 62 [socket-id: 15, core-id: 2, thread-id: 0], CPU 63
>[socket-id: 15, core-id: 3, thread-id: 0]
>2020-02-14T12:33:51.863475Z qemu-kvm: warning: All CPU(s) up 

[ovirt-users] Re: HostedEngine migration fails with VM destroyed during the startup.

2020-02-14 Thread Vrgotic, Marko
t back inside Cluster.
Following further, each Host CPU family type changed after Upgrade from "" 
Intel SandyBridge IBRS SSBD MDS Family" to "" Intel SandyBridge IBRS SSBD 
Family" , except one where HostedEngine is currently one. 

Could this possibly be the reason why I cannot Migrate the HostedEngine now and 
how to solve it?

Kindly awaiting your reply.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com
w: www.activevideo.com <http://www.activevideo.com>
 
ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.
 




 

On 14/02/2020, 14:01, "Strahil Nikolov"  wrote:

On February 14, 2020 2:47:04 PM GMT+02:00, "Vrgotic, Marko" 
 wrote:
>Dear oVirt,
>
>I have problem migrating HostedEngine, only HA VM server, to other HA
>nodes.
>
>Bit of background story:
>
>  *   We have oVirt SHE 4.3.5
>  *   Three Nodes act as HA pool for SHE
>  *   Node 3 is currently Hosting SHE
>  *   Actions:
>*   Put Node1 in Maintenance mode, all VMs were successfully migrated,
>than Upgrade packages, Activate Host – all looks good
>*   Put Node2 in Maintenance mode, all VMs were successfully migrated,
>than Upgrade packages, Activate Host – all looks good
>
>Not the problem:
>Try to set  Node3 in Maintenance mode, all VMs were successfully
>migrated, except HostedEngine.
>
>When attempting Migration of the VM HostedEngine, it fails with
>following error message:
>
>2020-02-14 12:33:49,960Z INFO 
>[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-265)
>[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Lock Acquired to object
>'EngineLock:{exclusiveLocks='[66b6d489-ceb8-486a-951a-355e21f13627=VM]',
>sharedLocks=''}'
>2020-02-14 12:33:49,984Z INFO 
>[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default
>task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host
>'ovirt-sj-04.ictv.com' ('d98843da-bd81-46c9-9425-065b196ac59d') was
>filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation
>id: null)
>2020-02-14 12:33:49,984Z INFO 
>[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default
>task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host
>'ovirt-sj-05.ictv.com' ('e3176705-9fb0-41d6-8721-367dfa2e62bd') was
>filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation
>id: null)
>2020-02-14 12:33:49,997Z INFO 
>[org.ovirt.engine.core.bll.MigrateVmCommand] (default task-265)
>[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Running command:
>MigrateVmCommand internal: false. Entities affected :  ID:
>66b6d489-ceb8-486a-951a-355e21f13627 Type: VMAction group MIGRATE_VM
>with role type USER
>2020-02-14 12:33:50,008Z INFO 
>[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default
>task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host
>'ovirt-sj-04.ictv.com' ('d98843da-bd81-46c9-9425-065b196ac59d') was
>filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation
>id: 16f4559e-e262-4c9d-80b4-ec81c2cbf950)
>2020-02-14 12:33:50,008Z INFO 
>[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default
>task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host
>'ovirt-sj-05.ictv.com' ('e3176705-9fb0-41d6-8721-367dfa2e62bd') was
>filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation
>id: 16f4559e-e262-4c9d-80b4-ec81c2cbf950)
>2020-02-14 12:33:50,033Z INFO 
>[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (default task-265)
>[16f4559e-e262-4c9d-80b4-ec81c2cbf950] START, MigrateVDSCommand(
>MigrateVDSCommandParameters:{hostId='f8d27efb-1527-45f0-97d6-d34a86abaaa2',
>vmId='66b6d489-ceb8-486a-951a-355e21f13627',
>srcHost='ovirt-sj-03.ictv.com',
>dstVdsId='9808f434-5cd4-48b5-8bbc-e639e391c6a5',
>dstHost='ovirt-sj-01.ictv.com:54321', migrationMethod='ONLINE',
>tunnelMigration='false', migrationDowntime='0', autoConverge='true

[ovirt-users] HostedEngine migration fails with VM destroyed during the startup.

2020-02-14 Thread Vrgotic, Marko
Dear oVirt,

I have problem migrating HostedEngine, only HA VM server, to other HA nodes.

Bit of background story:

  *   We have oVirt SHE 4.3.5
  *   Three Nodes act as HA pool for SHE
  *   Node 3 is currently Hosting SHE
  *   Actions:
 *   Put Node1 in Maintenance mode, all VMs were successfully migrated, 
than Upgrade packages, Activate Host – all looks good
 *   Put Node2 in Maintenance mode, all VMs were successfully migrated, 
than Upgrade packages, Activate Host – all looks good

Not the problem:
Try to set  Node3 in Maintenance mode, all VMs were successfully migrated, 
except HostedEngine.

When attempting Migration of the VM HostedEngine, it fails with following error 
message:

2020-02-14 12:33:49,960Z INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(default task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Lock Acquired to 
object 'EngineLock:{exclusiveLocks='[66b6d489-ceb8-486a-951a-355e21f13627=VM]', 
sharedLocks=''}'
2020-02-14 12:33:49,984Z INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-265) 
[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host 'ovirt-sj-04.ictv.com' 
('d98843da-bd81-46c9-9425-065b196ac59d') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: null)
2020-02-14 12:33:49,984Z INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-265) 
[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host 'ovirt-sj-05.ictv.com' 
('e3176705-9fb0-41d6-8721-367dfa2e62bd') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: null)
2020-02-14 12:33:49,997Z INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(default task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] Running command: 
MigrateVmCommand internal: false. Entities affected :  ID: 
66b6d489-ceb8-486a-951a-355e21f13627 Type: VMAction group MIGRATE_VM with role 
type USER
2020-02-14 12:33:50,008Z INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-265) 
[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host 'ovirt-sj-04.ictv.com' 
('d98843da-bd81-46c9-9425-065b196ac59d') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: 
16f4559e-e262-4c9d-80b4-ec81c2cbf950)
2020-02-14 12:33:50,008Z INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-265) 
[16f4559e-e262-4c9d-80b4-ec81c2cbf950] Candidate host 'ovirt-sj-05.ictv.com' 
('e3176705-9fb0-41d6-8721-367dfa2e62bd') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: 
16f4559e-e262-4c9d-80b4-ec81c2cbf950)
2020-02-14 12:33:50,033Z INFO  
[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (default task-265) 
[16f4559e-e262-4c9d-80b4-ec81c2cbf950] START, MigrateVDSCommand( 
MigrateVDSCommandParameters:{hostId='f8d27efb-1527-45f0-97d6-d34a86abaaa2', 
vmId='66b6d489-ceb8-486a-951a-355e21f13627', srcHost='ovirt-sj-03.ictv.com', 
dstVdsId='9808f434-5cd4-48b5-8bbc-e639e391c6a5', 
dstHost='ovirt-sj-01.ictv.com:54321', migrationMethod='ONLINE', 
tunnelMigration='false', migrationDowntime='0', autoConverge='true', 
migrateCompressed='false', consoleAddress='null', maxBandwidth='40', 
enableGuestEvents='true', maxIncomingMigrations='2', maxOutgoingMigrations='2', 
convergenceSchedule='[init=[{name=setDowntime, params=[100]}], 
stalling=[{limit=1, action={name=setDowntime, params=[150]}}, {limit=2, 
action={name=setDowntime, params=[200]}}, {limit=3, action={name=setDowntime, 
params=[300]}}, {limit=4, action={name=setDowntime, params=[400]}}, {limit=6, 
action={name=setDowntime, params=[500]}}, {limit=-1, action={name=abort, 
params=[]}}]]', dstQemu='10.210.13.11'}), log id: 5c126a47
2020-02-14 12:33:50,036Z INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (default 
task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] START, 
MigrateBrokerVDSCommand(HostName = ovirt-sj-03.ictv.com, 
MigrateVDSCommandParameters:{hostId='f8d27efb-1527-45f0-97d6-d34a86abaaa2', 
vmId='66b6d489-ceb8-486a-951a-355e21f13627', srcHost='ovirt-sj-03.ictv.com', 
dstVdsId='9808f434-5cd4-48b5-8bbc-e639e391c6a5', 
dstHost='ovirt-sj-01.ictv.com:54321', migrationMethod='ONLINE', 
tunnelMigration='false', migrationDowntime='0', autoConverge='true', 
migrateCompressed='false', consoleAddress='null', maxBandwidth='40', 
enableGuestEvents='true', maxIncomingMigrations='2', maxOutgoingMigrations='2', 
convergenceSchedule='[init=[{name=setDowntime, params=[100]}], 
stalling=[{limit=1, action={name=setDowntime, params=[150]}}, {limit=2, 
action={name=setDowntime, params=[200]}}, {limit=3, action={name=setDowntime, 
params=[300]}}, {limit=4, action={name=setDowntime, params=[400]}}, {limit=6, 
action={name=setDowntime, params=[500]}}, {limit=-1, action={name=abort, 
params=[]}}]]', dstQemu='10.210.13.11'}), log id: a0f776d
2020-02-14 12:33:50,043Z INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (default 
task-265) [16f4559e-e262-4c9d-80b4-ec81c2cbf950] FINISH, 

[ovirt-users] Re: oVirt MAC Pool question

2020-01-31 Thread Vrgotic, Marko
Dear Yedidyah,

We are actually seeing collisions, which is why I reached out in first place.
Strange is that is did not happen since few weeks ago, and since then I saw it 
multiple times.
For now I am simply going to create new mac pool for each of the clusters and 
switch to it, hoping it's not going to affect existing VMs.

Regarding planning, if I would have known, that same mac pool is created across 
datacenters/clusters, I would have taken it into account. 
Relying on common sense, I just did not expect this to be the case, but to my 
fault I should have applied trust-but-verify approach.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
Sr. System Engineer

ActiveVideo
e: m.vrgo...@activevideo.com


On 26/01/2020, 07:45, "Yedidyah Bar David"  wrote:

On Thu, Jan 23, 2020 at 2:30 PM Vrgotic, Marko
 wrote:
>
> Hi Yedidyah,
>
> Thank you for you update.
>
> This platform started with 4.3 deployment.
> The Default mac address pool, apparently on all Clusters (5) is:
>  from_mac  |  to_mac
> ---+---
>  56:6f:ef:88:00:00 | 56:6f:ef:88:ff:ff
>

I think I misled you, or for some reason didn't understand your
original post. The default pool is for "everything". I thought you
refer to different setups - separate engines - and the bug I mentioned
about changing the default was addressed at this scenario.

Inside a single engine, there is only one default.

You should not see collisions *inside* it. Do you? The engine should
know no to allocated the same mac to two different NICs.

> Interestingly enough, I am alos not able to add another mac pool to 
Default. I can only create new one,

Correct.

> let's say MacPool2 and also create only single pool inside. Option to add 
second mac range under same name is grayed out, whether I login as SuperUser or 
Admin to Aministration Portal.

Indeed. You can only change it, not add a new one with the same name.

>
> Never mind, it is as so, but I am still not "happiest" with:
> > Question2: Would there be an harming effect on existing VMs if the 
default mac pool would be changed?
>=>I am pretty certain it's harmless, but didn't try that 
myself.
>  Reason is that I have 600VMs on 5 cluster setup in production - If I 
make the change where currently required and we are wrong, its going to affect 
almost half of those existing VMs. I did test the change on the staging, and it 
did not seem to have any harmful effect but that one has like 5VMs atm.
>
> I will run some additional tests on staging to see if I can get more 
comfortable before making change in production, but if anyone else can 
contribute boosting the confidence, please let me know.

Ccing Dominik from the network team.

I am pretty certain that people do change/add pools live, but guess
not often - I guess most people plan ahead and then don't touch.

Groetjes,
-- 
Didi



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4OASXVT3UIXOVKKG5EF4XI6PZU5TA336/


[ovirt-users] Re: oVirt MAC Pool question

2020-01-23 Thread Vrgotic, Marko
Hi Yedidyah,

Thank you for you update.

This platform started with 4.3 deployment. 
The Default mac address pool, apparently on all Clusters (5) is:
 from_mac  |  to_mac
---+---
 56:6f:ef:88:00:00 | 56:6f:ef:88:ff:ff

Interestingly enough, I am alos not able to add another mac pool to Default. I 
can only create new one, let's say MacPool2 and also create only single pool 
inside. Option to add second mac range under same name is grayed out, whether I 
login as SuperUser or Admin to Aministration Portal. 

Never mind, it is as so, but I am still not "happiest" with: 
> Question2: Would there be an harming effect on existing VMs if the 
default mac pool would be changed?
   =>I am pretty certain it's harmless, but didn't try that myself.
 Reason is that I have 600VMs on 5 cluster setup in production - If I make the 
change where currently required and we are wrong, its going to affect almost 
half of those existing VMs. I did test the change on the staging, and it did 
not seem to have any harmful effect but that one has like 5VMs atm.

I will run some additional tests on staging to see if I can get more 
comfortable before making change in production, but if anyone else can 
contribute boosting the confidence, please let me know.


-
kind regards/met vriendelijke groeten
 
Marko Vrgotic
ActiveVideo

 



On 22/01/2020, 09:03, "Yedidyah Bar David"  wrote:

On Tue, Jan 21, 2020 at 2:30 PM Vrgotic, Marko
 wrote:
>
> Dear oVirt,
>
>
>
> While investigating and DHCP & DDNS collision issues between two VM 
servers from different oVirt clusters, I noticed that oVirt assigns same 
default MAC range for each of it’s managed clusters.

Is this a new 4.3 setup, or upgraded from earlier versions?

See also:

https://bugzilla.redhat.com/show_bug.cgi?id=1516445

Fixed in 4.3 (and backported to 4.2.7), only for new setups. The
default changed several times in versions before these, and upgrades
do not change the stored default.

What's your default mac pool in each engine? You can get it with:

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select from_mac,
to_mac from mac_pools, mac_pool_ranges where id=mac_pool_id and
default_pool='t'"

Or by checking admin ui - Administration -> Configure, there "MAC
Address Pools", and double click Default.

>
>
>
> Question1: Does oVirt-Engine keep separate place in DB or … for MAC 
addresses assigned per cluster or it keeps them all in same place?

By *default*, all in same place, and above bug (and patches linked
from it) describe the current specifics. This changed several times
along the versions before these.

You can manually configure it, including to be per cluster - search
for "MAC Address Pools" here:


https://www.ovirt.org/documentation/admin-guide/chap-Global_Configuration.html

>
>
>
> Question2: Would there be an harming effect on existing VMs if the 
default mac pool would be changed?

I am pretty certain it's harmless, but didn't try that myself.




>
>
>
>
>
> Additional info:
>
> Self Hosted ovirt-engine – 4.3.4 and 4.3.7
>
>
>
>
>
> -
>
> kind regards/met vriendelijke groeten
>
>
>
> Marko Vrgotic
> ActiveVideo
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TCNZHWSYS2VKGAE24ECMCYKK4YVYYLYL/



--
Didi



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/373K7N4LGHX4ZHXFMP6EAAX4XV63RQFN/


[ovirt-users] oVirt MAC Pool question

2020-01-21 Thread Vrgotic, Marko
Dear oVirt,

While investigating and DHCP & DDNS collision issues between two VM servers 
from different oVirt clusters, I noticed that oVirt assigns same default MAC 
range for each of it’s managed clusters.

Question1: Does oVirt-Engine keep separate place in DB or … for MAC addresses 
assigned per cluster or it keeps them all in same place?

Question2: Would there be an harming effect on existing VMs if the default mac 
pool would be changed?


Additional info:
Self Hosted ovirt-engine – 4.3.4 and 4.3.7


-
kind regards/met vriendelijke groeten

Marko Vrgotic
ActiveVideo


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TCNZHWSYS2VKGAE24ECMCYKK4YVYYLYL/


[ovirt-users] Re: No virtio-win vfd oVirt 4.3.7

2019-12-27 Thread Vrgotic, Marko
Hi Alex,

I saw that in the documentation, but its just did not sound as right way to me, 
as I have a BIG storage machine I am using as ISO and Export domain.
I took direction of building install Windows 10 ISO with all Virtio required 
drivers and install than went just fine.

Thank you, I appreciate the update.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


From: Alex K 
Date: Saturday, 21 December 2019 at 12:42
To: "Vrgotic, Marko" 
Cc: users 
Subject: Re: [ovirt-users] No virtio-win vfd oVirt 4.3.7


On Thu, Dec 19, 2019, 17:29 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I am trying to install Windows 10 on oVirt, following procedure on:
https://www.ovirt.org/documentation/vmm-guide/chap-Installing_Windows_Virtual_Machines.html

Unfortunately, there is no option as explained in the “Installing Windows on 
VirtIO-Optimized Hardware”.

There is just no “virtio-win.vfd” option when attaching Floppy. Is this valid.

I have ISO Domain, which is not hosted by Hosted Engine, but mounte 
additionally. Is this required in order to have the virtio-win.vfd option?
You need to upload the vfd file at the ISO domain that is managed from engine.

If not, please let me know what am I missing.
In the meanwhile,  I am working on building custom Wind 10 ISO which contains 
Virtio/Virtio-SCSI drivers.

Kindly awaiting your reply.



-
kind regards/met vrindelijke groet

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3UYBO73SHPRHQ7DPOTGAJXS5NPA33TOK/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TBFSV6MZUFGC7ONGSJNELB2H7YP4VWDN/


[ovirt-users] No virtio-win vfd oVirt 4.3.7

2019-12-19 Thread Vrgotic, Marko
Dear oVIrt,

I am trying to install Windows 10 on oVirt, following procedure on:
https://www.ovirt.org/documentation/vmm-guide/chap-Installing_Windows_Virtual_Machines.html

Unfortunately, there is no option as explained in the “Installing Windows on 
VirtIO-Optimized Hardware”.

There is just no “virtio-win.vfd” option when attaching Floppy. Is this valid.

I have ISO Domain, which is not hosted by Hosted Engine, but mounte 
additionally. Is this required in order to have the virtio-win.vfd option?

If not, please let me know what am I missing.
In the meanwhile,  I am working on building custom Wind 10 ISO which contains 
Virtio/Virtio-SCSI drivers.

Kindly awaiting your reply.



-
kind regards/met vrindelijke groet

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com
w: www.activevideo.com

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3UYBO73SHPRHQ7DPOTGAJXS5NPA33TOK/


[ovirt-users] Re: oVirt and Netapp question

2019-11-08 Thread Vrgotic, Marko
Hi Ladislav,

That is correct. Thin Provisioned FlexVolumes.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


From: Ladislav Humenik 
Date: Friday, 8 November 2019 at 13:44
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: oVirt and Netapp question

Hi, basically the aggregate free space is relevant, as you mentioned you are 
having thin volumes, right?

On 08.11.19 07:18, Vrgotic, Marko wrote:
Hi Ladislav,

Not sure if you sam my reply, so i give it another shot.

I just want to he clear on understanding what you wrote in your recommendation.

Please check my previous reply.

Thank you.
Sent from my iPhone


On 6 Nov 2019, at 11:52, Vrgotic, Marko 
<mailto:m.vrgo...@activevideo.com> wrote:
Hi Ladislav,

Thank you for the reply.

On the matter of your Recommendation, when you mention free space, were you 
referring to:

  *   Space that is free/unallocated on the Aggregate, allowing the AutoGrow
  *   Or all that is allocated to the volume but not actual Data Space

Kindly awaiting your reply.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


From: Ladislav Humenik 
<mailto:ladislav.hume...@ionos.com>
Date: Tuesday, 5 November 2019 at 20:45
To: "Vrgotic, Marko" 
<mailto:m.vrgo...@activevideo.com>
Cc: "users@ovirt.org"<mailto:users@ovirt.org> 
<mailto:users@ovirt.org>
Subject: Re: [ovirt-users] Re: oVirt and Netapp question


Hi,

for the NetApp part, here is copy-paste from the netapp kb:
Answer
The volume "Over Provisioned Space" value provided in OnCommand System Manager 
(OCSM) is the "Over Provisioned Size" field provided by the volume 
show<https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-930/volume__show.html>
 at the cluster shell.

This value is determined by the following formula:

(volume size) - (volume used) - (volume space available) - (snapshot used 
space) == storage that can't be provided by the aggregate if written to the 
volume



for the ovirt part:
Ovirt will see the volume size available within thin-volume without any 
knowledge of the aggregate space (available/or not) in behind.


Recommendation:
on netapp side do volume auto-grow and you are safe as long as you have free 
space inside aggregate.

HTH

On 05.11.19 14:54, Vrgotic, Marko wrote:
Second attempt 

From: "Vrgotic, Marko" 
<mailto:m.vrgo...@activevideo.com>
Date: Monday, 4 November 2019 at 14:01
To: "users@ovirt.org"<mailto:users@ovirt.org> 
<mailto:users@ovirt.org>
Subject: oVirt and Netapp question

Dear oVirt,

Few months ago our production environment oVirt with main Shared storage via 
NFS Netapp is live.

We have been deploying VMs with thin provisioned HDD 40GB based template, 
CentOS 7.
The Netapp NFS v4  storage volume is 7TB in size, also Thin Provisioned.

First attached screenshot shows the space allocation of the production volume 
from Netapp side.
Is there anyone in oVirt community who would be able to tell me the meaning of 
the 5.31 TB Over Provisioned Space?


Second attached is the info  of the production volume from oVirt side:


What I want to understand is the way how is oVirt reading the volume usage and 
Netapp and where is the difference.
Is the Over Allocated Space something that is just logically used/reserved and 
will be intelligently re-allocated/re-used as the actual Data Space Used grows 
or am I looking at oVIrt actually hitting Critical Space Action Blocker and 
will have to resize the volume?
If there is anyone from Netapp or with good Netapp experience that is able to 
help understanding the data above better, thank you in advance?

Kindly awaiting your reply.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo





___

Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>

To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BVGZMJHNNM3LO3OIA65KEY64Z5BIHZ7R/

--

Ladislav Humenik



System administrator / VI

IT Operations Hosting Infrastructure



1&1 IONOS SE | Ernst-Frey-Str. 5 | 76135 Karlsruhe | Germany

Phone: +49 721 91374-8361

E-mail: ladislav.hume...@ionos.com<mailto:ladislav.hume...@ionos.com> | Web: 
www.ionos.de<http://www.ionos.de>



Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498



Vorstand: Dr. Christian Böing, Hüseyin Dogan, Hans-Henning Kettler, Matthias 
Steinberg, Achim Weiß

Aufsichtsratsvorsitzender: Markus Kadelke





Member of United Internet



Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen 
enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-11-06 Thread Vrgotic, Marko
Dear Michal,



We went with your first recommendation and built two python scripts. It works 
very nice and I am happy to share them with you:



1. after_vm_migrate_source/60_register_migration





#!/usr/bin/python2

from __future__ import print_function

import hooking

import os

import logging



logger = logging.getLogger("register_migration")



if __name__ == "__main__":

try:

logging.basicConfig(filename="/var/log/vdsm/custom_hooks.log", 
level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s:%(message)s', 
datefmt = '%Y-%m-%d %H:%M:%S')

domxml = hooking.read_domxml()

vmid = domxml.getElementsByTagName('uuid')[0]

vmid = vmid.firstChild.data

tmp_file = os.path.join("/tmp", vmid)

open(tmp_file, "a").close()

logger.info("Migrating VM {vmid}, creating temp file 
{tmp_file}".format(vmid=vmid, tmp_file=tmp_file))

except Exception as e:

logging.exception("Caught exception")







2. after_vm_destroy/60_nsupdate:



/

#!/usr/bin/python2

from __future__ import print_function

import hooking

import logging

import os

import subprocess

from subprocess import PIPE, STDOUT





logger = logging.getLogger("dns-update")



if __name__ == "__main__":

try:

logging.basicConfig(filename="/var/log/vdsm/custom_hooks.log", 
level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s:%(message)s', 
datefmt = '%Y-%m-%d %H:%M:%S')

domxml = hooking.read_domxml()

name = domxml.getElementsByTagName('name')[0]

name = " ".join(name.nodeValue for name in name.childNodes if 
name.nodeType == name.TEXT_NODE)

vmid = domxml.getElementsByTagName('uuid')[0]

vmid = vmid.firstChild.data

tmp_file = os.path.join("/tmp", vmid)

   if not os.path.exists(tmp_file):

nsupdate_commands = """server {server_ip}

update delete {vm_name}.example.com a

update delete {vm_name}. example.com 

update delete {vm_name}. example.com txt

send

""".format(server_ip="1.2.3.4", vm_name=name)



logger.info("Deleting VM {name} DNS records".format(name=name))



p = subprocess.Popen(["nsupdate", "-k", 
"/usr/libexec/vdsm/hooks/after_vm_destroy/nsupdate.private"], stdin=PIPE, 
stdout=PIPE, stderr=STDOUT)

result = p.communicate(input=nsupdate_commands)[0]

logger.info("Output:" + result)

else:

os.remove(tmp_file)

logger.info("Ignoring DNS records delete for VM 
{name}:{vmid}".format(name=name, vmid=vmid))



except Exception as e:

logger.exception("Caught exception")





Both scripts are writing to same log file on each server and log lines look 
like this:





2019-11-06 13:11:12 INFO register_migration:Migrating VM 
8101da66-31a1-4818-9d82-a8602d11bcf1, creating temp file 
/tmp/8101da66-31a1-4818-9d82-a8602d11bcf1

2019-11-06 13:11:13 INFO dns-update:Ignoring DNS records delete for VM 
testhooksatt2:8101da66-31a1-4818-9d82-a8602d11bcf1

2019-11-06 13:12:13 INFO dns-update:Deleting VM testhooksatt2 DNS records

2019-11-06 13:12:13 INFO dns-update:Output:





Once again , I thank you and appreciate your help.



-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo







On 03/10/2019, 15:28, "Vrgotic, Marko"  wrote:



Michal,



Thank you - that certainly helps. I will give it a try, using your 
suggestion and see how far I get.



On 03/10/2019, 13:54, "Michal Skrivanek"  
wrote:







> On 3 Oct 2019, at 12:50, Vrgotic, Marko  
wrote:

>

> Hi Michal,

>

> Thank you. Would you be so kind to provide me with additional 
clarification?

>

>> you can’t just add a random tag into libvirt xml in a random place, 
it will be dropped by libvirt.

> I understand, thank you. About persistence of added tag, it was not 
used/written during 1xMigration, but it was present in domxml in 2xMigration.

>

>> you can add it to metadata though. we use that for ovirt-specific 
information

> Can you please provide some more HowTo/HowNotTo information?

> Can we manipulate the tag in metadata section in each iteration?

> I assume VM metadata shared/communicated between Hosts or read and 
provided to Hosts by oVirt-Engine?

> In short we are trying to achive:

> - start migration

>  - ex: 10_create_tag inserts   tag into 
XML metadata section  <= maybe we can use before_vm_migration_source hook

>  - migration is finished and after_vm_destroy hooks comes 
to turn:

 

[ovirt-users] Re: Ansible setup host network fails on comparing sorted dictionaries

2019-11-05 Thread Vrgotic, Marko
Dear M.,

Thank you.


-
kind regards/met vrindelijke groet

Marko Vrgotic
Sr. System Engineer @ System Administration

ActiveVideo
o: +31 (35) 6774131
e: m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
w: www.activevideo.com<http://www.activevideo.com>

ActiveVideo Networks BV. Mediacentrum 3745 Joop van den Endeplein 1.1217 WJ 
Hilversum, The Netherlands. The information contained in this message may be 
legally privileged and confidential. It is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  If you 
have received this message in error, please immediately notify the sender 
and/or ActiveVideo Networks, LLC by telephone at +1 408.931.9200 and delete or 
destroy any copy of this message.



From: Martin Perina 
Date: Tuesday, 5 November 2019 at 12:53
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" , Darko Stojchev 
, Martin Necas 
Subject: Re: [ovirt-users] Re: Ansible setup host network fails on comparing 
sorted dictionaries



On Tue, Nov 5, 2019 at 1:41 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Any ideas, suggestions?

Hi Marko,

it seems like an issue in ovirt_host_network Ansible module, Martin just posted 
a fix for that issue:

https://github.com/ansible/ansible/pull/64437

Regards,
M.

From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 30 October 2019 at 12:41
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Cc: Darko Stojchev 
mailto:d.stojc...@activevideo.com>>
Subject: Ansible setup host network fails on comparing sorted dictionaries

Dear oVirt,

While deploying ovirt_infra , the role oivrt.networks fails on Setup Host 
Networks, with following error:

TypeError: '<' not supported between instances of 'dict' and 'dict'

Full output:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
**
The full traceback is:
Traceback (most recent call last):
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 396, in main
(nic is None or 
host_networks_module.has_update(nics_service.service(nic.id<http://nic.id>)))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 289, in has_update
update = self.__compare_options(get_bond_options(bond.get('mode'), 
bond.get('options')), getattr(nic.bonding, 'options', []))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 247, in __compare_options
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)
TypeError: '<' not supported between instances of 'dict' and 'dict'

failed: [localhost] (item={'name': 
'ovirt-staging-hv-02.avinity.tv<http://ovirt-staging-hv-02.avinity.tv>', 
'check': True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4, 
'interfaces': ['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone', 
'boot_protocol': 'static', 'address': '172.17.28.212', 'netmask': 
'255.255.255.0', 'version': 'v4'}]}) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"fetch_nested": false,
"interface": null,
"labels": null,
"name": 
"ovirt-staging-hv-02.avinity.tv<http://ovirt-staging-hv-02.avinity.tv>",
"nested_attributes": [],
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"poll_interval": 3,
"save": true,
"state": "present",
"sync_networks": false,
"timeout": 180,
"wait": true
}
},
"item": 

[ovirt-users] Re: Ansible setup host network fails on comparing sorted dictionaries

2019-11-04 Thread Vrgotic, Marko
Any ideas, suggestions?

From: "Vrgotic, Marko" 
Date: Wednesday, 30 October 2019 at 12:41
To: "users@ovirt.org" 
Cc: Darko Stojchev 
Subject: Ansible setup host network fails on comparing sorted dictionaries

Dear oVirt,

While deploying ovirt_infra , the role oivrt.networks fails on Setup Host 
Networks, with following error:

TypeError: '<' not supported between instances of 'dict' and 'dict'

Full output:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
**
The full traceback is:
Traceback (most recent call last):
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 396, in main
(nic is None or 
host_networks_module.has_update(nics_service.service(nic.id)))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 289, in has_update
update = self.__compare_options(get_bond_options(bond.get('mode'), 
bond.get('options')), getattr(nic.bonding, 'options', []))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 247, in __compare_options
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)
TypeError: '<' not supported between instances of 'dict' and 'dict'

failed: [localhost] (item={'name': 'ovirt-staging-hv-02.avinity.tv', 'check': 
True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4, 'interfaces': 
['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone', 'boot_protocol': 'static', 
'address': '172.17.28.212', 'netmask': '255.255.255.0', 'version': 'v4'}]}) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"fetch_nested": false,
"interface": null,
"labels": null,
"name": "ovirt-staging-hv-02.avinity.tv",
"nested_attributes": [],
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"poll_interval": 3,
"save": true,
"state": "present",
"sync_networks": false,
"timeout": 180,
"wait": true
}
},
"item": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"name": "ovirt-staging-hv-02.avinity.tv",
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"save": true
},
"msg": "'<' not supported between instances of 'dict' and 'dict'"
}
Read vars_file 'vars/engine_vars.yml'
Read vars_file 'vars/secrets.yml'
Read vars_file 'vars/ovirt_infra_vars.yml'

Looking further into ovirt_host_network.py I found that issue is reported after 
following is executed:
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)

It seemed to be failing due to not getting the key value to sort the dicts, so 
I added sorting based on name, to test, and it worked in single test run:

return sorted((get_dict_of_struct(opt) for opt in new_options), key=lambda x: 
x["name"]) != sorted((get_dict_of_struct(opt) for opt in old_options), 
key=lambda x: x["name"])

After rerun of the play, with changes above:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
***

[ovirt-users] Re: Hyperconverged setup questions

2019-10-31 Thread Vrgotic, Marko
Thank you very much!


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


From: Gobinda Das 
Date: Saturday, 12 October 2019 at 09:16
To: Strahil Nikolov 
Cc: "Vrgotic, Marko" , users 
Subject: Re: [ovirt-users] Re: Hyperconverged setup questions

Hi,
 Yes you can expand your cluster using cockpit in day2 operation.
You need to login to cockpit and then click "Manage Gluster" -> "Expand Cluster"

On Fri, Oct 11, 2019 at 7:17 PM Strahil Nikolov 
mailto:hunter86...@yahoo.com>> wrote:
On October 11, 2019 9:49:18 AM GMT+03:00, "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
>Hi Strahil,
>
>Thank you.
>One maybe stupid question, but significant to me:
>Considering i haven’t been playing before with hyperconverged setup in
>oVirt, is this something i can do from ui cockpit or does it require me
>first setup an Glusterfs on the Hosts before doing anything via oVirt
>API or Web interface?
>
>Kindly awaiting your reply.
>
>Marko
>
>Sent from my iPhone
>
>On 11 Oct 2019, at 06:14, Strahil 
>mailto:hunter86...@yahoo.com>> wrote:
>
>
>
>Hi Marko,
>
>I guess  you can use distributed-replicated volumes  and oVirt  cluster
>with host triplets.
>
>Best Regards,
>Strahil Nikolov
>
>On Oct 10, 2019 15:30, "Vrgotic, Marko" 
>mailto:m.vrgo...@activevideo.com>>
>wrote:
>
>Dear oVirt,
>
>
>
>Is it possible to add oVirt 3Hosts/Gluster hyperconverged cluster to
>existing oVirt setup? I need this to achieve Local storage performance,
>but still have pool of Hypevisors available.
>
>Is it possible to have more than 3Hosts in Hyperconverged setup?
>
>
>
>I have currently 1Shared Cluster (NFS based storage, where also SHE is
>hosted) and 2Local Storage clusters.
>
>
>
>oVirt current version running is 4.3.4.
>
>
>
>Kindly awaiting your reply.
>
>
>
>
>
>— — —
>Met vriendelijke groet / Kind regards,
>
>Marko Vrgotic
>
>ActiveVideo

Hi Marko,

I'm not a big fan of GUI/UIs , so I cannot tell you.Most probably it is 
possible.

Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BW24T7H4D2IESBIUNUII2F6HNGEXXXTZ/


--


Thanks,
Gobinda
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBWQEZZUWT3HM6FP25R7FB4W5AYWAZ7C/


[ovirt-users] Ansible setup host network fails on comparing sorted dictionaries

2019-10-30 Thread Vrgotic, Marko
Dear oVirt,

While deploying ovirt_infra , the role oivrt.networks fails on Setup Host 
Networks, with following error:

TypeError: '<' not supported between instances of 'dict' and 'dict'

Full output:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
**
The full traceback is:
Traceback (most recent call last):
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 396, in main
(nic is None or 
host_networks_module.has_update(nics_service.service(nic.id)))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 289, in has_update
update = self.__compare_options(get_bond_options(bond.get('mode'), 
bond.get('options')), getattr(nic.bonding, 'options', []))
  File 
"/var/folders/40/w2c8fp151854mddz_4n3czwmgn/T/ansible_ovirt_host_network_payload_s0fx52mx/__main__.py",
 line 247, in __compare_options
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)
TypeError: '<' not supported between instances of 'dict' and 'dict'

failed: [localhost] (item={'name': 'ovirt-staging-hv-02.avinity.tv', 'check': 
True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4, 'interfaces': 
['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone', 'boot_protocol': 'static', 
'address': '172.17.28.212', 'netmask': '255.255.255.0', 'version': 'v4'}]}) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"fetch_nested": false,
"interface": null,
"labels": null,
"name": "ovirt-staging-hv-02.avinity.tv",
"nested_attributes": [],
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"poll_interval": 3,
"save": true,
"state": "present",
"sync_networks": false,
"timeout": 180,
"wait": true
}
},
"item": {
"bond": {
"interfaces": [
"p2p1",
"p2p2"
],
"mode": 4,
"name": "bond28"
},
"check": true,
"name": "ovirt-staging-hv-02.avinity.tv",
"networks": [
{
"address": "172.17.28.212",
"boot_protocol": "static",
"name": "backbone",
"netmask": "255.255.255.0",
"version": "v4"
}
],
"save": true
},
"msg": "'<' not supported between instances of 'dict' and 'dict'"
}
Read vars_file 'vars/engine_vars.yml'
Read vars_file 'vars/secrets.yml'
Read vars_file 'vars/ovirt_infra_vars.yml'

Looking further into ovirt_host_network.py I found that issue is reported after 
following is executed:
return sorted(get_dict_of_struct(opt) for opt in new_options) != 
sorted(get_dict_of_struct(opt) for opt in old_options)

It seemed to be failing due to not getting the key value to sort the dicts, so 
I added sorting based on name, to test, and it worked in single test run:

return sorted((get_dict_of_struct(opt) for opt in new_options), key=lambda x: 
x["name"]) != sorted((get_dict_of_struct(opt) for opt in old_options), 
key=lambda x: x["name"])

After rerun of the play, with changes above:
TASK [ovirt.infra/roles/ovirt.networks : Setup host networks] 
**
task path: 
/Users/mvrgotic/Git/ovirt-engineering/roles/ovirt.infra/roles/ovirt.networks/tasks/main.yml:25
Using module file 
/Users/mvrgotic/.local/share/virtualenvs/ovirt-engineering-JaxzXThh/lib/python3.7/site-packages/ansible/modules/cloud/ovirt/ovirt_host_network.py
Pipelining is enabled.
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: mvrgotic
<127.0.0.1> EXEC /bin/sh -c 
'/Users/mvrgotic/.local/share/virtualenvs/ovirt-engineering-JaxzXThh/bin/python3
 && sleep 0'
changed: [localhost] => (item={'name': 'ovirt-staging-hv-02.avinity.tv', 
'check': True, 'save': True, 'bond': {'name': 'bond28', 'mode': 4, 
'interfaces': ['p2p1', 'p2p2']}, 'networks': [{'name': 'backbone', 
'boot_protocol': 'static', 'address': '172.17.28.212', 'netmask': 
'255.255.255.0', 'version': 'v4'}]}) => {
"ansible_loop_var": "item",
"changed": true,
"host_nic": {

[ovirt-users] Re: Hyperconverged setup questions

2019-10-11 Thread Vrgotic, Marko
Hi Strahil,

Thank you.
One maybe stupid question, but significant to me:
Considering i haven’t been playing before with hyperconverged setup in oVirt, 
is this something i can do from ui cockpit or does it require me first setup an 
Glusterfs on the Hosts before doing anything via oVirt API or Web interface?

Kindly awaiting your reply.

Marko

Sent from my iPhone

On 11 Oct 2019, at 06:14, Strahil  wrote:



Hi Marko,

I guess  you can use distributed-replicated volumes  and oVirt  cluster with 
host triplets.

Best Regards,
Strahil Nikolov

On Oct 10, 2019 15:30, "Vrgotic, Marko"  wrote:

Dear oVirt,



Is it possible to add oVirt 3Hosts/Gluster hyperconverged cluster to existing 
oVirt setup? I need this to achieve Local storage performance, but still have 
pool of Hypevisors available.

Is it possible to have more than 3Hosts in Hyperconverged setup?



I have currently 1Shared Cluster (NFS based storage, where also SHE is hosted) 
and 2Local Storage clusters.



oVirt current version running is 4.3.4.



Kindly awaiting your reply.





— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic

ActiveVideo




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4KQGQ542BFM2MDTZDMWQRUBW5F3TAZOB/


[ovirt-users] Hyperconverged setup questions

2019-10-10 Thread Vrgotic, Marko
Dear oVirt,

Is it possible to add oVirt 3Hosts/Gluster hyperconverged cluster to existing 
oVirt setup? I need this to achieve Local storage performance, but still have 
pool of Hypevisors available.
Is it possible to have more than 3Hosts in Hyperconverged setup?

I have currently 1Shared Cluster (NFS based storage, where also SHE is hosted) 
and 2Local Storage clusters.

oVirt current version running is 4.3.4.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y2FLKLZOJHUEU7GGG3J5BHPZGNI7GEO7/


[ovirt-users] Re: Fail to attach/create disk from template when running via Ansible

2019-10-10 Thread Vrgotic, Marko
Hi Ondra, 

That is true,

But why does it work from Portal? Image ID is not differ when run when ansible 
against same template?

I will check anyway.



On 10/10/2019, 09:47, "Ondra Machacek"  wrote:

The error message is:

Image does not exist in domain: 
u'image=d680a46a-7188-45f6-b6a7-f830c0b4, 
domain=935de3ac-a735-4fc8-9161-26bfd751ffc7'

Can you please check if the image with id 
'd680a46a-7188-45f6-b6a7-f830c0b4' exists on storage domain with id 
'935de3ac-a735-4fc8-9161-26bfd751ffc7'?

On 08/10/2019 13:05, Vrgotic, Marko wrote:
> Dear oVirt,
> 
> Just recently, I have upgraded oVirt staging environment from 4.3.4 to 
> 4.3.6 release.
> 
> Since then I noticed the issue when creating VMs from template, using 
> Ansible. When creating VM from template using UI, all works well.
> 
> Tests were executed with same user, with SuperUser priviledges.
> 
> pip freeze
> 
> *ansible==2.7.13*
> 
> asn1crypto==1.0.0
> 
> bcrypt==3.1.7
> 
> cffi==1.12.3
> 
> cryptography==2.7
> 
> dnspython==1.16.0
> 
> ipaddress==1.0.22
> 
> Jinja2==2.10.1
> 
> lxml==4.4.1
> 
> MarkupSafe==1.1.1
> 
> netaddr==0.7.19
> 
> *ovirt-engine-sdk-python==4.3.3*
> 
> paramiko==2.6.0
> 
> pycparser==2.19
> 
> pycurl==7.43.0.3
> 
> PyNaCl==1.3.0
> 
> PyYAML==5.1.2
> 
> six==1.12.0
> 
> *Logs from engine: *
> 
> 2019-10-08 09:57:42,294Z INFO  [org.ovirt.engine.core.bll.AddVmCommand] 
> (default task-23) [067ec489-ae6c-4871-8ab6-8296016ca1ce] Lock Acquired 
> to object 'EngineLock:{exclusiveLocks='[centos-testvm-024=VM_NAME]', 
> sharedLocks='[9ac6f4ad-58d0-4a7e-b424-91f2d76abcac=TEMPLATE, 
> a7e42574-be60-4c94-94a5-cc4b30fdb16f=DISK]'}'
> 
> 2019-10-08 09:57:42,299Z INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-43687) [390b4c75] FINISH, 
> HSMClearTaskVDSCommand, return: , log id: be932a0
> 
> 2019-10-08 09:57:42,299Z INFO  
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] 
> (EE-ManagedThreadFactory-engine-Thread-43687) [390b4c75] FINISH, 
> SPMClearTaskVDSCommand, return: , log id: 3e25883
> 
> 2019-10-08 09:57:42,303Z INFO  
> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
> (EE-ManagedThreadFactory-engine-Thread-43687) [390b4c75] 
> BaseAsyncTask::removeTaskFromDB: Removed task 
> '7e1d68a2-bb49-4456-b228-db851fe6603c' from DataBase
> 
> 2019-10-08 09:57:42,303Z INFO  
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
> (EE-ManagedThreadFactory-engine-Thread-43687) [390b4c75] 
> CommandAsyncTask::HandleEndActionResult [within thread]: Removing 
> CommandMultiAsyncTasks object for entity 
> '4f8a6897-66e8-453b-b706-246cb8505b3e'
> 
> 2019-10-08 09:57:42,375Z INFO  [org.ovirt.engine.core.bll.AddVmCommand] 
> (default task-23) [067ec489-ae6c-4871-8ab6-8296016ca1ce] Running 
> command: AddVmCommand internal: false. Entities affected :  ID: 
> 2e428504-c339-11e9-87ef-00163e3ec101 Type: ClusterAction group CREATE_VM 
> with role type USER,  ID: 9ac6f4ad-58d0-4a7e-b424-91f2d76abcac Type: 
> VmTemplateAction group CREATE_VM with role type USER,  ID: 
> 935de3ac-a735-4fc8-9161-26bfd751ffc7 Type: StorageAction group 
> CREATE_DISK with role type USER
> 
> 2019-10-08 09:57:42,488Z INFO  
> [org.ovirt.engine.core.bll.AddRngDeviceCommand] (default task-23) 
> [332c57d4] Running command: AddRngDeviceCommand internal: true. Entities 
> affected :  ID: d5719cf0-2a64-4a28-bbf2-edc1bb05b777 Type: VMAction 
> group EDIT_VM_PROPERTIES with role type USER
> 
> 2019-10-08 09:57:42,498Z INFO  
> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (default 
> task-23) [332c57d4] START, SetVmStatusVDSCommand( 
> 
SetVmStatusVDSCommandParameters:{vmId='d5719cf0-2a64-4a28-bbf2-edc1bb05b777', 
> status='ImageLocked', exitStatus='Normal'}), log id: 2fe004e2
> 
> 2019-10-08 09:57:42,507Z INFO  
> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] (default 
> task-23) [332c57d4] FINISH, SetVmStatusVDSCommand, return: , log id: 
> 2fe004e2
> 
> 2019-10-08 09:57:42,528Z INFO  
> [org.ovirt.engine.core.bll.snapshots.CreateSnapshotFromTemplateCommand] 
> (default task-23) [067ec489-ae6c-4871-8ab6-8296016ca1ce] Running 
> command: CreateSnapshot

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-04 Thread Vrgotic, Marko
Michal,

Thank you - that certainly helps. I will give it a try, using your suggestion 
and see how far I get.

On 03/10/2019, 13:54, "Michal Skrivanek"  wrote:



> On 3 Oct 2019, at 12:50, Vrgotic, Marko  wrote:
> 
> Hi Michal,
> 
> Thank you. Would you be so kind to provide me with additional 
clarification?
> 
>> you can’t just add a random tag into libvirt xml in a random place, it 
will be dropped by libvirt.
> I understand, thank you. About persistence of added tag, it was not 
used/written during 1xMigration, but it was present in domxml in 2xMigration. 
> 
>> you can add it to metadata though. we use that for ovirt-specific 
information
> Can you please provide some more HowTo/HowNotTo information?
> Can we manipulate the tag in metadata section in each iteration?
> I assume VM metadata shared/communicated between Hosts or read and 
provided to Hosts by oVirt-Engine?
> In short we are trying to achive:
>   - start migration
>  - ex: 10_create_tag inserts   tag into XML 
metadata section  <= maybe we can use before_vm_migration_source hook 
>  - migration is finished and after_vm_destroy hooks comes to 
turn:
>  - ex:  20_nsupdate reads the metadata and:
> - if tag  exists,  do not run dns 
update, but remove the tag
> - if tag  does not exists, run dns 
update and remove the tag

so..hmm..if IIUC you basically just need not to execute dns update(remove 
the entry for vm) when VM migrates away. and do execute it when it shuts down.

maybe i can suggest two other approaches which could work? these would be 
preferable because manipulating with libvirt’s xml at the time of lifecycle 
changes are better to be avoided. libvirt is touching the xml at the same tie 
and it may run into ugly locking problems.
how about
- use after_vm_migrate_source and make a note of that vmid (touch a file in 
/tmp/ or whatever), and then check that in after_vm_destroy
or
- use before_vm_destroy and use vdsm-client VM getStats vmid=‘xyz’ to get 
the curent VM’s status from vdsm (before it goes away) and you should see if 
it’s “Migration Source” vs anything else(Powering Down for ordinary shutdowns 
or Up for crashes, I guess)

Thanks,
michal

> 
> Kindly awaiting your reply.
> 
> Marko Vrgotic
> 
> On 03/10/2019, 12:27, "Michal Skrivanek"  
wrote:
> 
> 
> 
    >> On 2 Oct 2019, at 13:29, Vrgotic, Marko  
wrote:
>> 
>> Any ideas
>> 
>> From: "Vrgotic, Marko" 
>> Date: Friday, 27 September 2019 at 17:26
>> To: "users@ovirt.org" 
>> Subject: How to pass parameters between VDSM Hooks domxml in single run
>> 
>> Dear oVIrt,
>> 
>> A while ago we discussed on ways to change/update content of parameters 
of domxml in certain action.
>> 
>> As I mentioned before, we have added the VDSMHook 60_nsupdate which 
removes the DNS record entries when a VM is destroyed:
>> 
>> …
>> domxml = hooking.read_domxml()
>>name = domxml.getElementsByTagName('name')[0]
>>name = " ".join(name.nodeValue for name in name.childNodes if 
name.nodeType == name.TEXT_NODE)
>>nsupdate_commands = """server {server_ip}
>> update delete {vm_name}.example.com a
>> update delete {vm_name}. example.com 
>> update delete {vm_name}. example.com txt
>> send
>> """.format(server_ip="172.16.1.10", vm_name=name)
>> …
>> 
>> The goal:
>> However, we did not want to execute remove dns records when VM is only 
migrated. Since its considered a “destroy” action we took following approach.
>>  • In state “before_vm_migrate_source add hook which will write flag 
“is_migration” to domxml
>>  • Once VM is scheduled for migration, this hook should add the flag 
“is_migration” to domxml
>>  • Once 60_nsupdate is triggered, it will check for the flag and if 
there, skip executing dns record action, but only remove the flag 
“is_migration” from domxml of the VM
>> 
>> …
>> domxml = hooking.read_domxml()
>>migration = domxml.createElement("is_migration")
>>domxml.getElementsByTagName("domain")[0].appendChild(migration)
>>logging.info("domxml_updated {}".format(domxml.toprettyxml()))
>>hooking.write_domxml(domxml)
>> …
>> 
>> When executing 

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-03 Thread Vrgotic, Marko
Hi Michal,

Thank you. Would you be so kind to provide me with additional clarification?

> you can’t just add a random tag into libvirt xml in a random place, it will 
> be dropped by libvirt.
 I understand, thank you. About persistence of added tag, it was not 
used/written during 1xMigration, but it was present in domxml in 2xMigration. 

> you can add it to metadata though. we use that for ovirt-specific information
Can you please provide some more HowTo/HowNotTo information?
Can we manipulate the tag in metadata section in each iteration?
I assume VM metadata shared/communicated between Hosts or read and provided to 
Hosts by oVirt-Engine?
In short we are trying to achive:
- start migration
  - ex: 10_create_tag inserts   tag into XML 
metadata section  <= maybe we can use before_vm_migration_source hook 
  - migration is finished and after_vm_destroy hooks comes to turn:
  - ex:  20_nsupdate reads the metadata and:
 - if tag  exists,  do not run dns 
update, but remove the tag
 - if tag  does not exists, run dns 
update and remove the tag

Kindly awaiting your reply.

Marko Vrgotic

On 03/10/2019, 12:27, "Michal Skrivanek"  wrote:



> On 2 Oct 2019, at 13:29, Vrgotic, Marko  wrote:
> 
> Any ideas
>  
> From: "Vrgotic, Marko" 
> Date: Friday, 27 September 2019 at 17:26
> To: "users@ovirt.org" 
> Subject: How to pass parameters between VDSM Hooks domxml in single run
>  
> Dear oVIrt,
>  
> A while ago we discussed on ways to change/update content of parameters 
of domxml in certain action.
>  
> As I mentioned before, we have added the VDSMHook 60_nsupdate which 
removes the DNS record entries when a VM is destroyed:
>  
> …
> domxml = hooking.read_domxml()
> name = domxml.getElementsByTagName('name')[0]
> name = " ".join(name.nodeValue for name in name.childNodes if 
name.nodeType == name.TEXT_NODE)
> nsupdate_commands = """server {server_ip}
> update delete {vm_name}.example.com a
> update delete {vm_name}. example.com 
> update delete {vm_name}. example.com txt
> send
> """.format(server_ip="172.16.1.10", vm_name=name)
> …
>  
> The goal:
> However, we did not want to execute remove dns records when VM is only 
migrated. Since its considered a “destroy” action we took following approach.
>   • In state “before_vm_migrate_source add hook which will write flag 
“is_migration” to domxml
>   • Once VM is scheduled for migration, this hook should add the flag 
“is_migration” to domxml
>   • Once 60_nsupdate is triggered, it will check for the flag and if 
there, skip executing dns record action, but only remove the flag 
“is_migration” from domxml of the VM
>  
> …
> domxml = hooking.read_domxml()
> migration = domxml.createElement("is_migration")
> domxml.getElementsByTagName("domain")[0].appendChild(migration)
> logging.info("domxml_updated {}".format(domxml.toprettyxml()))
> hooking.write_domxml(domxml)
> …
>  
> When executing first time, we observed that flag “
>  
> hookiesvm
> fcfa66cb-b251-43a3-8e2b-f33b3024a749
> http://ovirt.org/vm/tune/1.0; 
xmlns:ns1="http://ovirt.org/vm/1.0;>
> 
> http://ovirt.org/vm/1.0;>
> 
4.3
> False
> 
false
> 1024
> 1024
> ...skipping...
> 
> 
> 
> 
> system_u:system_r:svirt_t:s0:c169,c575
> 
system_u:object_r:svirt_image_t:s0:c169,c575
> 
> 
> +107:+107
> +107:+107
> 
> 

you can’t just add a random tag into libvirt xml in a random place, it will 
be dropped by libvirt.
you can add it to metadata though. we use that for ovirt-specific 
information

>   
> is added to domxml, but was present once 60_nsupdate hook was executed.
>  
> The question: How do we make sure that, when domxml is updated, that the 
update is visible/usable by following hook, in single run? How to pass these 
changes between hooks?
>  
> Kindly awaiting your reply.
>  
>  
> — — —
> Met vriendelijke groet / Kind regards,
> 
>

[ovirt-users] Re: How to pass parameters between VDSM Hooks domxml in single run

2019-10-02 Thread Vrgotic, Marko
Any ideas

From: "Vrgotic, Marko" 
Date: Friday, 27 September 2019 at 17:26
To: "users@ovirt.org" 
Subject: How to pass parameters between VDSM Hooks domxml in single run

Dear oVIrt,

A while ago we discussed on ways to change/update content of parameters of 
domxml in certain action.

As I mentioned before, we have added the VDSMHook 60_nsupdate which removes the 
DNS record entries when a VM is destroyed:

…
domxml = hooking.read_domxml()
name = domxml.getElementsByTagName('name')[0]
name = " ".join(name.nodeValue for name in name.childNodes if 
name.nodeType == name.TEXT_NODE)
nsupdate_commands = """server {server_ip}
update delete {vm_name}.example.com a
update delete {vm_name}. example.com 
update delete {vm_name}. example.com txt
send
""".format(server_ip="172.16.1.10", vm_name=name)
…

The goal:
However, we did not want to execute remove dns records when VM is only 
migrated. Since its considered a “destroy” action we took following approach.

  *   In state “before_vm_migrate_source add hook which will write flag 
“is_migration” to domxml
  *   Once VM is scheduled for migration, this hook should add the flag 
“is_migration” to domxml
  *   Once 60_nsupdate is triggered, it will check for the flag and if there, 
skip executing dns record action, but only remove the flag “is_migration” from 
domxml of the VM

…
domxml = hooking.read_domxml()
migration = domxml.createElement("is_migration")
domxml.getElementsByTagName("domain")[0].appendChild(migration)
logging.info("domxml_updated {}".format(domxml.toprettyxml()))
hooking.write_domxml(domxml)
…

When executing first time, we observed that flag “

hookiesvm
fcfa66cb-b251-43a3-8e2b-f33b3024a749
http://ovirt.org/vm/tune/1.0; 
xmlns:ns1="http://ovirt.org/vm/1.0;>

http://ovirt.org/vm/1.0;>
4.3
False
false
1024
1024
...skipping...




system_u:system_r:svirt_t:s0:c169,c575

system_u:object_r:svirt_image_t:s0:c169,c575


+107:+107
+107:+107



is added to domxml, but was present once 60_nsupdate hook was executed.

The question: How do we make sure that, when domxml is updated, that the update 
is visible/usable by following hook, in single run? How to pass these changes 
between hooks?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IC4J6CAJUQOSLU3ZJPX3ZHTUM4HUCMGU/


[ovirt-users] Re: Super Low VM disk IO via Shared Storage

2019-09-27 Thread Vrgotic, Marko
Hi oVirt gurus,

Thank s to Tony, who pointed me into discovery process, the performance of the 
IO seems greatly dependent on the flags.

[root@lgu215 ~]# dd if=/dev/zero of=/tmp/test1.img bs=512 count=10
10+0 records in
10+0 records out
5120 bytes (51 MB) copied, 0.108962 s, 470 MB/s
[root@lgu215 ~]# dd if=/dev/zero of=/tmp/test1.img bs=512 count=10 
oflag=dsync
10+0 records in
10+0 records out
5120 bytes (51 MB) copied, 322.314 s, 159 kB/s

Dsync flag tells dd to ignore all buffers, cache except certain kernel buffers 
and write data physically to the disc, before writing further. According to 
number of sites I looked at, this is the way to test Server Latency in regards 
to IO operations. Difference in performance is huge, as you can see (below I 
have added results from tests with 4k and 8k block)

Still, certain software component we run tests with writes data in this/similar 
way, which is why I got this complaint in the first place.

Here is my current NFS mount settings:
rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.11,local_lock=none,addr=172.17.28.5

If you have any suggestions on possible NFS tuning options, to try to increase 
performance, I would highly appreciate it.
Can someone tell me how to change NFS mount options in oVirt for already 
existing/used storage?


Test results with 4096 and 8192 byte size.
[root@lgu215 ~]# dd if=/dev/zero of=/tmp/test1.img bs=4096 count=10
10+0 records in
10+0 records out
40960 bytes (410 MB) copied, 1.49831 s, 273 MB/s
[root@lgu215-admin ~]# dd if=/dev/zero of=/tmp/test1.img bs=4096 count=10 
oflag=dsync
10+0 records in
10+0 records out
40960 bytes (410 MB) copied, 349.041 s, 1.2 MB/s

[root@lgu215 ~]# dd if=/dev/zero of=/tmp/test1.img bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 11.6553 s, 70.3 MB/s
[root@lgu215-admin ~]# dd if=/dev/zero of=/tmp/test1.img bs=8192 count=10 
oflag=dsync
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 393.035 s, 2.1 MB/s


From: "Vrgotic, Marko" 
Date: Thursday, 26 September 2019 at 09:51
To: Amit Bawer 
Cc: Tony Brian Albers , "hunter86...@yahoo.com" 
, "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: Super Low VM disk IO via Shared Storage

Dear all,

I very much appreciate all help and suggestions so far.

Today I will send the test results and current mount settings for NFS4. Our 
production setup is using Netapp based NFS server.

I am surprised with results from Tony’s test.
We also have one setup with Gluster based NFS, and I will run tests on those as 
well.
Sent from my iPhone


On 25 Sep 2019, at 14:18, Amit Bawer  wrote:


On Wed, Sep 25, 2019 at 2:44 PM Tony Brian Albers 
mailto:t...@kb.dk>> wrote:
Guys,

Just for info, this is what I'm getting on a VM that is on shared
storage via NFSv3:

--snip--
[root@proj-000 ~]# time dd if=/dev/zero of=testfile bs=4096
count=100
100+0 records in
100+0 records out
409600 bytes (4.1 GB) copied, 18.0984 s, 226 MB/s

real0m18.171s
user0m1.077s
sys 0m4.303s
[root@proj-000 ~]#
--snip--

my /etc/exports:
/data/ovirt
*(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)

and output from 'mount' on one of the hosts:

sto-001.kac.lokalnet:/data/ovirt on /rhev/data-center/mnt/sto-
001.kac.lokalnet:_data_ovirt type nfs
(rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,soft,nolock,
nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=172.16.216
.41,mountvers=3,mountport=20048,mountproto=udp,local_lock=all,addr=172.
16.216.41)

Worth to compare mount options with the slow shared NFSv4 mount.

Window size tuning can be found at bottom of [1], although its relating to 
NFSv3, it could be relevant to v4 as well.
[1] https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html


connected via single 10gbit ethernet. Storage on NFS server is 8 x 4TB
SATA disks in RAID10. NFS server is running CentOS 7.6.

Maybe you can get some inspiration from this.

/tony



On Wed, 2019-09-25 at 09:59 +, Vrgotic, Marko wrote:
> Dear Strahil, Amit,
>
> Thank you for the suggestion.
> Test result with block size 4096:
> Network storage:
> avshared:
> [root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 40960 bytes (410 MB) copied, 275.522 s, 1.5 MB/s
>
> Local storage:
>
> avlocal2:
> [root@mpollocalcheck22 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 40960 bytes (410 MB) copied, 53.093 s, 7.7 MB/s
> 10:38
> avlocal3:
> [root@mpollocalcheck3 ~]# dd if=/d

[ovirt-users] How to pass parameters between VDSM Hooks domxml in single run

2019-09-27 Thread Vrgotic, Marko
Dear oVIrt,

A while ago we discussed on ways to change/update content of parameters of 
domxml in certain action.

As I mentioned before, we have added the VDSMHook 60_nsupdate which removes the 
DNS record entries when a VM is destroyed:

…
domxml = hooking.read_domxml()
name = domxml.getElementsByTagName('name')[0]
name = " ".join(name.nodeValue for name in name.childNodes if 
name.nodeType == name.TEXT_NODE)
nsupdate_commands = """server {server_ip}
update delete {vm_name}.example.com a
update delete {vm_name}. example.com 
update delete {vm_name}. example.com txt
send
""".format(server_ip="172.16.1.10", vm_name=name)
…

The goal:
However, we did not want to execute remove dns records when VM is only 
migrated. Since its considered a “destroy” action we took following approach.

  *   In state “before_vm_migrate_source add hook which will write flag 
“is_migration” to domxml
  *   Once VM is scheduled for migration, this hook should add the flag 
“is_migration” to domxml
  *   Once 60_nsupdate is triggered, it will check for the flag and if there, 
skip executing dns record action, but only remove the flag “is_migration” from 
domxml of the VM

…
domxml = hooking.read_domxml()
migration = domxml.createElement("is_migration")
domxml.getElementsByTagName("domain")[0].appendChild(migration)
logging.info("domxml_updated {}".format(domxml.toprettyxml()))
hooking.write_domxml(domxml)
…

When executing first time, we observed that flag “

hookiesvm
fcfa66cb-b251-43a3-8e2b-f33b3024a749
http://ovirt.org/vm/tune/1.0; 
xmlns:ns1="http://ovirt.org/vm/1.0;>

http://ovirt.org/vm/1.0;>
4.3
False
false
1024
1024
...skipping...




system_u:system_r:svirt_t:s0:c169,c575

system_u:object_r:svirt_image_t:s0:c169,c575


+107:+107
+107:+107



is added to domxml, but was present once 60_nsupdate hook was executed.

The question: How do we make sure that, when domxml is updated, that the update 
is visible/usable by following hook, in single run? How to pass these changes 
between hooks?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DIWEL5PU4OCSMULA2GO3G3AVOVUZUWQK/


[ovirt-users] Re: Super Low VM disk IO via Shared Storage

2019-09-26 Thread Vrgotic, Marko
Dear all,

I very much appreciate all help and suggestions so far.

Today I will send the test results and current mount settings for NFS4. Our 
production setup is using Netapp based NFS server.

I am surprised with results from Tony’s test.
We also have one setup with Gluster based NFS, and I will run tests on those as 
well.

Sent from my iPhone

On 25 Sep 2019, at 14:18, Amit Bawer  wrote:




On Wed, Sep 25, 2019 at 2:44 PM Tony Brian Albers 
mailto:t...@kb.dk>> wrote:
Guys,

Just for info, this is what I'm getting on a VM that is on shared
storage via NFSv3:

--snip--
[root@proj-000 ~]# time dd if=/dev/zero of=testfile bs=4096
count=100
100+0 records in
100+0 records out
409600 bytes (4.1 GB) copied, 18.0984 s, 226 MB/s

real0m18.171s
user0m1.077s
sys 0m4.303s
[root@proj-000 ~]#
--snip--

my /etc/exports:
/data/ovirt
*(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)

and output from 'mount' on one of the hosts:

sto-001.kac.lokalnet:/data/ovirt on /rhev/data-center/mnt/sto-
001.kac.lokalnet:_data_ovirt type nfs
(rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,soft,nolock,
nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=172.16.216
.41,mountvers=3,mountport=20048,mountproto=udp,local_lock=all,addr=172.
16.216.41)

Worth to compare mount options with the slow shared NFSv4 mount.

Window size tuning can be found at bottom of [1], although its relating to 
NFSv3, it could be relevant to v4 as well.
[1] https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html


connected via single 10gbit ethernet. Storage on NFS server is 8 x 4TB
SATA disks in RAID10. NFS server is running CentOS 7.6.

Maybe you can get some inspiration from this.

/tony



On Wed, 2019-09-25 at 09:59 +, Vrgotic, Marko wrote:
> Dear Strahil, Amit,
>
> Thank you for the suggestion.
> Test result with block size 4096:
> Network storage:
> avshared:
> [root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 40960 bytes (410 MB) copied, 275.522 s, 1.5 MB/s
>
> Local storage:
>
> avlocal2:
> [root@mpollocalcheck22 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 40960 bytes (410 MB) copied, 53.093 s, 7.7 MB/s
> 10:38
> avlocal3:
> [root@mpollocalcheck3 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 40960 bytes (410 MB) copied, 46.0392 s, 8.9 MB/s
>
> As Amit suggested, I am also going to execute same tests on the
> BareMetals and between BareMetal and NFS to compare results.
>
>
> — — —
> Met vriendelijke groet / Kind regards,
>
> Marko Vrgotic
>
>
>
>
> From: Strahil mailto:hunter86...@yahoo.com>>
> Date: Tuesday, 24 September 2019 at 19:10
> To: "Vrgotic, Marko" 
> mailto:m.vrgo...@activevideo.com>>, Amit 
>  .com>
> Cc: users mailto:users@ovirt.org>>
> Subject: Re: [ovirt-users] Re: Super Low VM disk IO via Shared
> Storage
>
> Why don't you try with 4096 ?
> Most block devices have a blcok size of 4096 and anything bellow is
> slowing them down.
> Best Regards,
> Strahil Nikolov
> On Sep 24, 2019 17:40, Amit Bawer 
> mailto:aba...@redhat.com>> wrote:
> have you reproduced performance issue when checking this directly
> with the shared storage mount, outside the VMs?
>
> On Tue, Sep 24, 2019 at 4:53 PM Vrgotic, Marko  .com> wrote:
> Dear oVirt,
>
> I have executed some tests regarding IO disk speed on the VMs,
> running on shared storage and local storage in oVirt.
>
> Results of the tests on local storage domains:
> avlocal2:
> [root@mpollocalcheck22 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 5120 bytes (51 MB) copied, 45.9756 s, 1.1 MB/s
>
> avlocal3:
> [root@mpollocalcheck3 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 5120 bytes (51 MB) copied, 43.6179 s, 1.2 MB/s
>
> Results of the test on shared storage domain:
> avshared:
> [root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=512
> count=10 oflag=dsync
> 10+0 records in
> 10+0 records out
> 5120 bytes (51 MB) copied, 283.499 s, 181 kB/s
>
> Why is it so low? Is there anything I can do to tune, configure VDSM
> or other service to speed this up?
> Any advice is appreciated.
>
> Shared storage is based on Netapp with 20Gbps LACP path from
>

[ovirt-users] Re: Super Low VM disk IO via Shared Storage

2019-09-25 Thread Vrgotic, Marko
Dear Strahil, Amit,

Thank you for the suggestion.
Test result with block size 4096:
Network storage:
avshared:
[root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096 
count=10 oflag=dsync
10+0 records in
10+0 records out
40960 bytes (410 MB) copied, 275.522 s, 1.5 MB/s

Local storage:

avlocal2:
[root@mpollocalcheck22 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096 
count=10 oflag=dsync
10+0 records in
10+0 records out
40960 bytes (410 MB) copied, 53.093 s, 7.7 MB/s
10:38<https://activevideo.slack.com/archives/D18TM318W/p1569400729001600>
avlocal3:
[root@mpollocalcheck3 ~]# dd if=/dev/zero of=/tmp/test2.img bs=4096 
count=10 oflag=dsync
10+0 records in
10+0 records out
40960 bytes (410 MB) copied, 46.0392 s, 8.9 MB/s

As Amit suggested, I am also going to execute same tests on the BareMetals and 
between BareMetal and NFS to compare results.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Strahil 
Date: Tuesday, 24 September 2019 at 19:10
To: "Vrgotic, Marko" , Amit 
Cc: users 
Subject: Re: [ovirt-users] Re: Super Low VM disk IO via Shared Storage


Why don't you try with 4096 ?
Most block devices have a blcok size of 4096 and anything bellow is slowing 
them down.

Best Regards,
Strahil Nikolov
On Sep 24, 2019 17:40, Amit Bawer  wrote:
have you reproduced performance issue when checking this directly with the 
shared storage mount, outside the VMs?

On Tue, Sep 24, 2019 at 4:53 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVirt,



I have executed some tests regarding IO disk speed on the VMs, running on 
shared storage and local storage in oVirt.



Results of the tests on local storage domains:

avlocal2:

[root@mpollocalcheck22 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync

10+0 records in

10+0 records out

5120 bytes (51 MB) copied, 45.9756 s, 1.1 MB/s



avlocal3:

[root@mpollocalcheck3 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync

10+0 records in

10+0 records out

5120 bytes (51 MB) copied, 43.6179 s, 1.2 MB/s



Results of the test on shared storage domain:

avshared:

[root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync

10+0 records in

10+0 records out

5120 bytes (51 MB) copied, 283.499 s, 181 kB/s



Why is it so low? Is there anything I can do to tune, configure VDSM or other 
service to speed this up?

Any advice is appreciated.



Shared storage is based on Netapp with 20Gbps LACP path from Hypervisor to 
Netapp volume, and set to MTU 9000. Used protocol is NFS4.0.

oVirt is 4.3.4.3<http://4.3.4.3> SHE.




___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: <
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7XYSFEGAHCWXIY2JILDE24EVAC5ZVKWU/


[ovirt-users] Super Low VM disk IO via Shared Storage

2019-09-24 Thread Vrgotic, Marko
Dear oVirt,

I have executed some tests regarding IO disk speed on the VMs, running on 
shared storage and local storage in oVirt.

Results of the tests on local storage domains:
avlocal2:
[root@mpollocalcheck22 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync
10+0 records in
10+0 records out
5120 bytes (51 MB) copied, 45.9756 s, 1.1 MB/s

avlocal3:
[root@mpollocalcheck3 ~]#  dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync
10+0 records in
10+0 records out
5120 bytes (51 MB) copied, 43.6179 s, 1.2 MB/s

Results of the test on shared storage domain:
avshared:
[root@mpoludctest4udc-1 ~]# dd if=/dev/zero of=/tmp/test2.img bs=512 
count=10 oflag=dsync
10+0 records in
10+0 records out
5120 bytes (51 MB) copied, 283.499 s, 181 kB/s

Why is it so low? Is there anything I can do to tune, configure VDSM or other 
service to speed this up?
Any advice is appreciated.

Shared storage is based on Netapp with 20Gbps LACP path from Hypervisor to 
Netapp volume, and set to MTU 9000. Used protocol is NFS4.0.
oVirt is 4.3.4.3 SHE.


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NZYTH3XEM3NWZJWAXFUDC3J6N4L6WOUI/


[ovirt-users] Unexpected SSO error with first task

2019-09-24 Thread Vrgotic, Marko
Dear oVirt,

In our software tests, we deploy oVirt VMs using ansible and teardown also 
using ansible.

We noticed that each time we run nightly tests, using Jenkins user in ovirt, in 
one of the Jobs, first task, creating VM, fails with following error,


TASK [Login to oVirt] **
An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: AuthError: Error during SSO authentication invalid_grant : 
The provided authorization grant for the username and password has expired.
fatal: [PVyrZMy0-csm-2.avinity.tv -> 
localhost]: FAILED! => {"changed": false, "msg": "Error during SSO 
authentication invalid_grant : The provided authorization grant for the 
username and password has expired."}

Immediately after, Token seem to be renewed and all other VMs are created 
without issue.

The play looks like following:


---

# file: provision-ovirt.yml

- name: Create VM in OVirt

  hosts: ovirt-vms

  gather_facts: false



  vars:

- state: running

  pre_tasks:

- name: Login to oVirt

  delegate_to: localhost

  ovirt_auth:

 url: "{{ ovirt_engine_url }}"

 username: "{{ ovirt_engine_user }}"

 password: "{{ ovirt_engine_password }}"

 ca_file: "{{ ovirt_engine_cafile | default(omit) }}"

 insecure: "{{ ovirt_engine_insecure | default(true) }}"

  run_once: true



  tasks:

- name: "Get agent keys"

  delegate_to: localhost

  command: ssh-add -L

  register: ssh_agent_pubkeys

  run_once: true

  changed_when: False



- name: Create new VMs from template

  delegate_to: localhost

  ovirt_vm:

auth: "{{ ovirt_auth }}"

name: "{{ inventory_hostname_short }}"

nics:

- name: nic1

  profile_name: tenant1

  interface: virtio

cloud_init_nics:

- nic_name: eth0

  nic_boot_protocol: dhcp

  nic_on_boot: true

cloud_init:

  host_name: "{{ inventory_hostname_short }}"

  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"

state: "{{ state }}"

cluster: "{{ovirt_cluster}}"

template: "{{ images_to_template[os_image] }}"

instance_type: "{{ os_flavor_to_ovirt_instance_type[os_flavor] }}"



- name: "Wait until the ansible user can log into the host (cloud-init 
needs to have finished)"

  command: ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no 
{{ansible_user}}@{{inventory_hostname}} exit

  register: ssh_output

  delegate_to: localhost

  until: ssh_output.rc == 0

  retries: 30

  delay: 5

  changed_when: False



  post_tasks:

- name: Logout from oVirt

  delegate_to: localhost

  run_once: true

  ovirt_auth:

state: absent

ovirt_auth: "{{ ovirt_auth }}"

  tags:

- always

How does token relates to user session in oVirt? We would expect that once we 
logout, token should be expired and upon new login just get renewed/new token 
to proceed.
Is it a bug? Is it in the play that we are doing something incorrectly?

Kindly awaiting your eply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6E4TCU2MSLE6WY267CBOS6WYBOJA6JCB/


[ovirt-users] Re: VDSM Hooks during migration

2019-08-27 Thread Vrgotic, Marko
Hey Milan,

I guess we will have to look into it further.

Thank you.

Sent from my iPhone

> On 27 Aug 2019, at 11:39, Milan Zamazal  wrote:
> 
> Milan Zamazal  writes:
> 
>> "Vrgotic, Marko"  writes:
>> 
>>> What I am aiming for is following:
>>> We have a nauseate hook which deletes dns records from DNS server, for of a 
>>> VM “destroyed”.
>>> That is just as we wanted it, except in a case of Migration, which is
>>> also a “destructive” action, looking from perspective of a Hypervisor.
>>> I was testing an order of Hooks triggered when I issue VM Migrate, in
>>> order to discover which Hook I can use to trigger update of the
>>> records for a VM that is Migrated.
>>> 
>>> Seems that “after_vm_destroy” is the last in order hook to be executed
>>> when VM is migrated, and I wanted to verify that.
>> 
>> Hi Marko, I see, I understand now what's your problem.  after_vm_destroy
>> is called on the source while after_vm_migrate_destination on the
>> destination and I don't think there is any guarantee in which order they
>> are mutually called.
>> 
>>> How come that there is no hook which enables VM start or continue on a
>>> destination hypervisor, after VM is migrated? Or am I missing
>>> something?
>> 
>> after_vm_migrate_destination is called on the destination, but see
>> above.  A possible solution could be to look in the domain XML passed to
>> after_vm_destroy, there should be an exit reason in the metadata
>> section.  If the reason is migration, then you can skip your delete
>> action.
> 
> Hm, it seems there is no exit info after migration.  Another idea is to
> put something into after_vm_migrate_source hook that would prevent the
> record deletion.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y2U6P37BSJFGYGHMJQ7F6ONQB7RECHEZ/


[ovirt-users] Re: VDSM Hooks during migration

2019-08-26 Thread Vrgotic, Marko
and Thank you for the update, it’s good to re-read pages once in a while.

Sent from my iPhone

> On 26 Aug 2019, at 17:30, Milan Zamazal  wrote:
> 
> "Vrgotic, Marko"  writes:
> 
>> Would you be so kind to help me/tell me or point me how to find which
>> Hooks, and in which order, are triggered when VM is being migrated?
> 
> See "VDSM and Hooks" appendix of oVirt Admin Guide:
> 
> https://ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks.html
> 
> Regards,
> Milan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YOW2K3SDLECUKOFJAOEIWPHE5LGAMUNH/


[ovirt-users] Re: VDSM Hooks during migration

2019-08-26 Thread Vrgotic, Marko
Hi Milan,

Thank you, I was aware of the page.
What I am aiming for is following:
We have a nauseate hook which deletes dns records from DNS server, for of a VM 
“destroyed”.
That is just as we wanted it, except in a case of Migration, which is also a 
“destructive” action, looking from perspective of a Hypervisor.
I was testing an order of Hooks triggered when I issue VM Migrate, in order to 
discover which Hook I can use to trigger update of the records for a VM that is 
Migrated.

Seems that “after_vm_destroy” is the last in order  hook to be executed when VM 
is migrated, and I wanted to verify that.

How come that there is no hook which enables VM start or continue on a 
destination hypervisor, after VM is migrated? Or am I missing something?

Sent from my iPhone

> On 26 Aug 2019, at 17:30, Milan Zamazal  wrote:
> 
> "Vrgotic, Marko"  writes:
> 
>> Would you be so kind to help me/tell me or point me how to find which
>> Hooks, and in which order, are triggered when VM is being migrated?
> 
> See "VDSM and Hooks" appendix of oVirt Admin Guide:
> 
> https://ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks.html
> 
> Regards,
> Milan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LMJ6QOFUNABXGZZS5SU5KTYFC6QNRF5I/


[ovirt-users] VDSM Hooks during migration

2019-08-23 Thread Vrgotic, Marko
Dear oVIrt,

Would you be so kind to help me/tell me or point me how to find which Hooks, 
and in which order, are triggered when VM is being migrated?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L3YICX5BIW2HT4KW5CB75PPIJCU4EICX/


[ovirt-users] Issues with oVirt-Engine start - oVirt 4.3.4

2019-08-19 Thread Vrgotic, Marko
Dear oVirt,

While working on a procedure to get the NFS v4 mount from Netapp, working on 
oVIrt, following steps came out to be the way to go in regards of setting it up 
for oVIrt SHE and VM Guests:


  *   mkdir /mnt/rhevstore
  *   mount -t nfs 10.20.30.40:/ovirt_hosted_engine /mnt/rhevstore
  *   chown -R  36.36 /mnt/rhevstore
  *   chmod -R 755 /mnt/rhevstore
  *   umount /mnt/rhevstore

This works fine, and it needs to be executed on each Hypervisor, before its 
provisioned into oVirt.

However, just today I have discovered that command chmod -R 755 /mnt/rhevstore, 
if executed on new to be added Hypervisor, after oVirt is already running, it 
brings the oVirt Engine into broken state.

The moment I executed the above on 3rd Hypervisor, before provisioning it into 
oVirt, following occurred:


  *   Engine threw following error:
 *   2019-08-19 13:16:31,425Z ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-82) [] Failed in 'SpmStatusVDS' 
method
  *   Connection was lost:
 *   packet_write_wait: Connection to 10.210.11.10 port 22: Broken pipe
  *   And VDSM on SHE Hosting hypervisor started logging errors like:
 *   2019-08-19 15:00:52,340+ INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] 
RPC call Host.getAllVmStats succeeded in 0.00 seconds (__init__:312)
 *   2019-08-19 15:00:53,865+ WARN  (vdsm.Scheduler) [Executor] Worker 
blocked:  at 
0x7f59442c3b90> timeout=15, duration=225.00 at 0x7f592476df90> task#=578 at 
0x7f59442ef910>, traceback:
 *   File: "/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
 * self.__bootstrap_inner()
 *   File: "/usr/lib64/python2.7/threading.py", line 812, in 
__bootstrap_inner
 * self.run()
 *   File: "/usr/lib64/python2.7/threading.py", line 765, in run
 * self.__target(*self.__args, **self.__kwargs)
 *   File: "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", 
line 195, in run
 * ret = func(*args, **kwargs)
 *   File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, 
in _run
 * self._execute_task()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, 
in _execute_task
 * task()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 391, 
in __call__
 * self._callable()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 
186, in __call__
 * self._func()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/virt/sampling.py", line 
481, in __call__
 * stats = hostapi.get_stats(self._cif, self._samples.stats())
 *   File: "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 79, in 
get_stats
 * ret['haStats'] = _getHaInfo()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 177, 
in _getHaInfo
 * stats = instance.get_all_stats()
 *   File: 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 94, in get_all_stats
 * stats = broker.get_stats_from_storage()
 *   File: 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 143, in get_stats_from_storage
 * result = self._proxy.get_stats()
 *   File: "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
 * return self.__send(self.__name, args)
 *   File: "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
 * verbose=self.__verbose
 *   File: "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
 * return self.single_request(host, handler, request_body, verbose)
 *   File: "/usr/lib64/python2.7/xmlrpclib.py", line 1303, in single_request
 * response = h.getresponse(buffering=True)
 *   File: "/usr/lib64/python2.7/httplib.py", line 1113, in getresponse
 * response.begin()
 *   File: "/usr/lib64/python2.7/httplib.py", line 444, in begin
 * version, status, reason = self._read_status()
 *   File: "/usr/lib64/python2.7/httplib.py", line 400, in _read_status
 * line = self.fp.readline(_MAXLINE + 1)
 *   File: "/usr/lib64/python2.7/socket.py", line 476, in readline
 * data = self._sock.recv(self._rbufsize) (executor:363)
 *   2019-08-19 15:00:54,103+ INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] 
RPC call Host.ping2 succeeded in 0.00 seconds (__init__:312)

I am unable to boot the Engine VM – it end up in Status ForceStop

Hosted-engine –vm-status shows:
[root@ovirt-sj-02 ~]# hosted-engine --vm-status
The hosted engine configuration has not been retrieved from shared storage. 
Please ensure that ovirt-ha-agent is running and the storage server is 
reachable.
But, storage is mounted and reachable, as well as ovirt-ha-agent running:
[root@ovirt-sj-02 ~]# systemctl status ovirt-ha-agent
● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring 
Agent
   Loaded: loaded 

[ovirt-users] Re: Issues with oVirt-Engine start - oVirt 4.3.4

2019-08-19 Thread Vrgotic, Marko
Additionally,

When agent tries to boot up the engine, I am able to get following status:

[root@ovirt-sj-02 images]# hosted-engine --vm-status


--== Host ovirt-sj-01.ictv.com (id: 1) status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-sj-01.ictv.com
Host ID: 1
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : f4f95c83
local_conf_timestamp   : 4285
Host timestamp : 4285
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=4285 (Mon Aug 19 15:11:19 2019)
host-id=1
score=3400
vm_conf_refresh_time=4285 (Mon Aug 19 15:11:20 2019)
conf_on_shared_storage=True
maintenance=False
state=EngineStarting
stopped=False


--== Host ovirt-sj-02.ictv.com (id: 2) status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-sj-02.ictv.com
Host ID: 2
Engine status  : {"reason": "bad vm status", "health": 
"bad", "vm": "down", "detail": "Down"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : c2669fe8
local_conf_timestamp   : 4153
Host timestamp : 4153
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=4153 (Mon Aug 19 15:09:47 2019)
host-id=2
score=3400
vm_conf_refresh_time=4153 (Mon Aug 19 15:09:47 2019)
    conf_on_shared_storage=True
maintenance=False
state=EngineStart
stopped=False





From: "Vrgotic, Marko" 
Date: Monday, 19 August 2019 at 17:17
To: "users@ovirt.org" 
Subject: Issues with oVirt-Engine start - oVirt 4.3.4

Dear oVirt,

While working on a procedure to get the NFS v4 mount from Netapp, working on 
oVIrt, following steps came out to be the way to go in regards of setting it up 
for oVIrt SHE and VM Guests:


  *   mkdir /mnt/rhevstore
  *   mount -t nfs 10.20.30.40:/ovirt_hosted_engine /mnt/rhevstore
  *   chown -R  36.36 /mnt/rhevstore
  *   chmod -R 755 /mnt/rhevstore
  *   umount /mnt/rhevstore

This works fine, and it needs to be executed on each Hypervisor, before its 
provisioned into oVirt.

However, just today I have discovered that command chmod -R 755 /mnt/rhevstore, 
if executed on new to be added Hypervisor, after oVirt is already running, it 
brings the oVirt Engine into broken state.

The moment I executed the above on 3rd Hypervisor, before provisioning it into 
oVirt, following occurred:


  *   Engine threw following error:
 *   2019-08-19 13:16:31,425Z ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-82) [] Failed in 'SpmStatusVDS' 
method
  *   Connection was lost:
 *   packet_write_wait: Connection to 10.210.11.10 port 22: Broken pipe
  *   And VDSM on SHE Hosting hypervisor started logging errors like:
 *   2019-08-19 15:00:52,340+ INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] 
RPC call Host.getAllVmStats succeeded in 0.00 seconds (__init__:312)
 *   2019-08-19 15:00:53,865+ WARN  (vdsm.Scheduler) [Executor] Worker 
blocked:  at 
0x7f59442c3b90> timeout=15, duration=225.00 at 0x7f592476df90> task#=578 at 
0x7f59442ef910>, traceback:
 *   File: "/usr/lib64/python2.7/threading.py", line 785, in __bootstrap
 * self.__bootstrap_inner()
 *   File: "/usr/lib64/python2.7/threading.py", line 812, in 
__bootstrap_inner
 * self.run()
 *   File: "/usr/lib64/python2.7/threading.py", line 765, in run
 * self.__target(*self.__args, **self.__kwargs)
 *   File: "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", 
line 195, in run
 * ret = func(*args, **kwargs)
 *   File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 301, 
in _run
 * self._execute_task()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 315, 
in _execute_task
 * task()
 *   File: "/usr/lib/python2.7/site-packages/vdsm/e

[ovirt-users] Re: Issues with oVirt-Engine start - oVirt 4.3.4

2019-08-19 Thread Vrgotic, Marko
Ovirt-ha-agent is logging following:

MainThread::INFO::2019-08-19 
15:26:13,302::hosted_engine::512::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
 Current state EngineDown (score: 3400)
MainThread::INFO::2019-08-19 
15:26:13,303::hosted_engine::520::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
 Best remote host ovirt-sj-01.ictv.com (id: 1, score: 3400)
MainThread::INFO::2019-08-19 
15:26:13,314::state_machine::169::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
 Global metadata: {'maintenance': False}
MainThread::INFO::2019-08-19 
15:26:13,314::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
 Host ovirt-sj-01.ictv.com (id 1): {'conf_on_shared_storage': True, 'extra': 
'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=4777 (Mon Aug 
19 15:19:31 2019)\nhost-id=1\nscore=3400\nvm_conf_refresh_time=4531 (Mon Aug 19 
15:15:26 
2019)\nconf_on_shared_storage=True\nmaintenance=False\nstate=EngineDown\nstopped=False\n',
 'hostname': 'ovirt-sj-01.ictv.com', 'alive': True, 'host-id': 1, 
'engine-status': {'reason': 'bad vm status', 'health': 'bad', 'vm': 'down', 
'detail': 'Down'}, 'score': 3400, 'stopped': False, 'maintenance': False, 
'crc32': 'b1380c25', 'local_conf_timestamp': 4531, 'host-ts': 4777}
MainThread::INFO::2019-08-19 
15:26:13,314::state_machine::177::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
 Local (id 2): {'engine-health': {'reason': 'vm not running on this host', 
'health': 'bad', 'vm': 'down', 'detail': 'unknown'}, 'bridge': True, 'network': 
1.0, 'mem-free': 191320.0, 'maintenance': False, 'cpu-load': 0.0049, 
'storage-domain': True}
MainThread::INFO::2019-08-19 
15:26:13,314::states::467::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume)
 Engine down and local host has best score (3400), attempting to start engine VM
MainThread::INFO::2019-08-19 
15:26:13,370::brokerlink::68::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
 Success, was notification of state_transition (EngineDown-EngineStart) sent? 
sent
MainThread::ERROR::2019-08-19 
15:26:13,498::config_ovf::42::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config.vm::(_get_vm_conf_content_from_ovf_store)
 Failed scanning for OVF_STORE due to Command Volume.getInfo with args 
{'storagepoolID': '----', 'storagedomainID': 
'a03fb743-8004-4d54-823b-9be470a0e87b', 'volumeID': 
u'3f3ee39f-f687-4586-87bd-e5188958863a', 'imageID': 
u'8c9279b7-0321-49c9-bdd5-4bb94d863960'} failed:
(code=100, message=(13, 'Sanlock resource read failure', 'Permission denied'))
MainThread::ERROR::2019-08-19 
15:26:13,498::config_ovf::84::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config.vm::(_get_vm_conf_content_from_ovf_store)
 Unable to identify the OVF_STORE volume, falling back to initial vm.conf. 
Please ensure you already added your first data domain for regular VMs

Both domains are present:

10.210.13.64:/hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.13.12,local_lock=none,addr=10.210.13.64)
10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.210.13.12,local_lock=none,addr=10.210.13.64)

Note: the IP 10.20.20.40 used in first email was just an example.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic



From: "Vrgotic, Marko" 
Date: Monday, 19 August 2019 at 17:19
To: "users@ovirt.org" 
Subject: Re: Issues with oVirt-Engine start - oVirt 4.3.4

Additionally,

When agent tries to boot up the engine, I am able to get following status:

[root@ovirt-sj-02 images]# hosted-engine --vm-status


--== Host ovirt-sj-01.ictv.com (id: 1) status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-sj-01.ictv.com
Host ID: 1
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : f4f95c83
local_conf_timestamp   : 4285
Host timestamp : 4285
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=4285 (Mon Aug 19 15:11:19 2019)
host-id=1
score=3400
vm_conf_refresh_time=4285 (Mon

[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-13 Thread Vrgotic, Marko
Hey Shanii,

Correct, this is exactly what I do/did.
I did “umount /mnt/rhevstore” but I mentioned NFS storage path in order to be 
precise in description.

Thing is that I am able to mount it, as well as oVirt during Host provisioning. 
I was even able to create VMs on it from same Hypervisor.
As far as I remember, I was able to write to the storage and create a random 
file.

I will give it second attempt.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Shani Leviim 
Date: Monday, 12 August 2019 at 09:32
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

Basically, I meant to verify the access by ssh, but I want to verify something 
following your detailed reply:

According to [1], in order to set a NetApp NFS server, the required steps 
should look like this:

# mount NetApp_NFS:/path/to/export /mnt

# chown -R 36.36 /mnt

# chmod -R 755 /mnt

# umount /mnt
Which is quite similar to the steps you've mentioned, except the last step of 
unmounting:
Unmount the 10.214.13.64:/ovirt_production


I think that you had to unmount /mnt/rhevstore instead.


Can you please verify?


[1] https://access.redhat.com/solutions/660143

Regards,
Shani Leviim


On Sun, Aug 11, 2019 at 10:57 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Hi Shani,

Thank you for your reply, but
How do I do that?
Reason why I am asking is following:
Hosts 2,3,4 do not have that issue. Host 1 and 5 do.
What I learned previously is that when using Netapp based NFS, which we are, 
it’s required to before provisioning SHE and/or just adding a Host to a pool, 
it’s required to execute following steps:

Create random dir on a host:
- mkdir /mnt/rhevstore
Mount netapp volume to the dir
- mount -o sec=sys -t nfs 10.214.13.64:/ovirt_production /mnt/rhevstore
Set ownership to vdsm:kvm (36:36):
- chown -R vdsm:kvm /mnt/rhevstore/*
Unmount the 10.214.13.64:/ovirt_production

I do not expect the above ownership actions need to be done initially on each 
host, before starting the deployment, otherwise it would be practically 
impossible to expand the Host pool.

All 5 hosts are provisioned in same way. How? I am using foreman to provision 
these servers, so they are built of same kickstart hostgroup template.


I even installed ovirt-hosted-engine-setup package to make sure all required 
packages, users and groups are in place before adding host to oVirt via UI or 
Ansible.


Is it possible that we if I am already using or heavily using the mentioned 
volume via Hosts already added to oVirt pool, that ownership actions 
executed,on host about to be added to the pool, will fail to complete setting 
ownership on all required files on the volume?

To repeat the question above: How do I make sure Host can read metadata file of 
the storage volume?

Kindly awaiting your reply.

All best,
Marko Vrgotic
Sent from my iPhone

On 11 Aug 2019, at 01:19, Shani Leviim 
mailto:slev...@redhat.com>> wrote:
Hi Marko,
Is seems that there's a connectivity problem with host 10.210.13.64.
Can you please make sure the metadata under 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production/6effda5e-1a0d-4312-bf93-d97fa9eb5aee/dom_md/metadata
 is accessible?

Regards,
Shani Leviim


On Sat, Aug 10, 2019 at 2:57 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Log files from ovirt engine and ovirt-sj-05 vdsm  attached.

Its related to host named: ovirt-sj-05.ictv.com<http://ovirt-sj-05.ictv.com>

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic



From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Thursday, 8 August 2019 at 17:02
To: Shani Leviim mailto:slev...@redhat.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

Hey Shanii,

Thank you for the reply.
Sure, I will attach the full logs asap.
What do you mean by “flow you are doing”?

Kindly awaiting your reply.

Marko Vrgotic

From: Shani Leviim mailto:slev...@redhat.com>>
Date: Thursday, 8 August 2019 at 00:01
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

Hi,
Can you please clarify the flow you're doing?
Also, can you please attach full vdsm and engine logs?

Regards,
Shani Leviim


On Thu, Aug 8, 2019 at 6:25 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20

[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-09 Thread Vrgotic, Marko
Hey Shanii,

Thank you for the reply.
Sure, I will attach the full logs asap.
What do you mean by “flow you are doing”?

Kindly awaiting your reply.

Marko Vrgotic

From: Shani Leviim 
Date: Thursday, 8 August 2019 at 00:01
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

Hi,
Can you please clarify the flow you're doing?
Also, can you please attach full vdsm and engine logs?

Regards,
Shani Leviim


On Thu, Aug 8, 2019 at 6:25 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com<http://ovirt-sj-05.ictv.com>'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com<http://ovirt-sj-05.ictv.com>'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com<http://ovirt-sj-01.ictv.com>'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

Marko Vrgotic
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ICRKHD3GXTPQEZN2T6LJBS6YIVLER6TP/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/commu

[ovirt-users] oVirt 4.3.5 potential issue with NFS storage

2019-08-08 Thread Vrgotic, Marko
Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

Marko Vrgotic
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7VSZHQCIGUXTSM4WHCVDLXGKNYRXJPBV/


[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-08 Thread Vrgotic, Marko
Another one that seem to be related:

2019-08-07 14:43:59,069-0700 ERROR (check/loop) [storage.Monitor] Error 
checking path 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production/6effda5e-1a0d-4312-bf93-d97fa9eb5aee/dom_md/metadata
 (monitor:499)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line 497, in 
_pathChecked
delay = result.delay()
  File "/usr/lib/python2.7/site-packages/vdsm/storage/check.py", line 391, in 
delay
raise exception.MiscFileReadException(self.path, self.rc, self.err)
MiscFileReadException: Internal file read failure: 
(u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/6effda5e-1a0d-4312-bf93-d97fa9eb5aee/dom_md/metadata',
 1, 'Read timeout')
2019-08-07 14:43:59,116-0700 WARN  (monitor/6effda5) [storage.Monitor] Host id 
for domain 6effda5e-1a0d-4312-bf93-d97fa9eb5aee was released (id: 1) 
(monitor:445)

From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:50
To: "users@ovirt.org" 
Subject: Re: oVirt 4.3.5 potential issue with NFS storage

Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org" 
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

Marko Vrgotic
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H4FH6GYAYLUP5OIVHUTG7JAUTOZNP7Y3/


[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-07 Thread Vrgotic, Marko
Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org" 
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

Marko Vrgotic
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ICRKHD3GXTPQEZN2T6LJBS6YIVLER6TP/


[ovirt-users] Leeroy Jenkins cloud plugin for oVirt

2019-07-30 Thread Vrgotic, Marko
Hey oVirt,

How are you all doing?

Has anyone used or has experience  with Leeroy Jenkins on oVIrt.

We need to move master ci and its slaves to oVirt, but cannot find suitable 
plugin for it. For builds we run, Jenkins need to spawn slaves, for which 
plugin is required.

Please help if possible.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PX33APOMJ6P5ALXXL62BVAVFHZUTJEG5/


[ovirt-users] Clone function seem broken - regarding disk virtual size

2019-07-26 Thread Vrgotic, Marko
Dear oVirt,

All our CentOS templates are “baked” with 40GB disk (sparse) QCOW.

When Creating new VM from template, using Thin storage allocation:

  *   VM is created with 40GB disk (reading from oVirt GUI) and
  *   from OS fdisk and/or parted report 40GB disk size.
  *   The / partition is also matching expected size

When Creating VM from template, using default Clone storage allocation:

  *   VM is created with 40GB disk (reading from oVIrt GUI)
  *   However:
 *   from OS fdsik and/or parted report only actual used space, which in 
our case is 8GB.
 *   The / partition is matching only actual disk size, not virtual one

Why is Clone not taking into account Virtual size of the Template disk?
Is it intended behavior that when image is cloned from template, only actual 
disk size information is copied, not the virtual?

Please assist.

Kindly awaiting your reply.

oVirt 4.3.4 with SHE and NFS based storage and Local.

— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SXD5EY6XUHVGNSP7K7X5TIJLLSDPVRON/


[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-19 Thread Vrgotic, Marko
Hi Daniel,

Is it possible that upgrade from 4.3.3 to 4.3.4  affected/reset/changed the 
certificate for imageio?

Reason why I am asking is that, while running 4.3.3 version, I was uploading 
Ubuntu 16-18, CentOS 7 cloud images, and CentOS6 no issues.
Now issue is with CentOS6. 
I have tried to upload centos6.5 image via Ansible ovirt_disk and than one 
ended stuck in “Finalizing” state.
Than I tried with to Upload same image from UI and that ended in “Paused” state.

I will try Test Connection and let you know.

Sent from my iPhone

> On 18 Jul 2019, at 16:13, Daniel Erez  wrote:
> 
> Hi Marko,
> 
> According to the log, it seems there's an issue with a secured
> connection to the proxy.
> Can you please try the 'Test Connection' button on upload disk dialog,
> to ensure the certificate is properly installed?
> Also, is the disk currently in 'Paused by System' status?
> 
> Thanks,
> Daniel
> 
> On Thu, Jul 18, 2019 at 2:35 PM Vrgotic, Marko
>  wrote:
>> 
>> Hi Nir,
>> 
>> 
>> 
>> Since this is already compressed file, I have added output of grep for 
>> moment this command was issue and following 300lines.
>> 
>> 
>> 
>> [root@ovirt-engine ovirt-engine]# zgrep "2019-07-17 13:36:11,121Z" 
>> engine.log-20190* -A300
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>> EDIT_DISK_PROPERTIES with role type USER
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> gzip: -A300.gz: No such file or directory
>> 
>> [root@ovirt-engine ovirt-engine]# zgrep -A 300 "2019-07-17 13:36:11,121Z" 
>> engine.log-20190*
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>> EDIT_DISK_PROPERTIES with role type USER
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,142Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Successfully added 
>> Upload disk 'av-07-centos-65-base' (disk id: 
>> '3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
>> 'b44659a9-607a-4eeb-a255-99532fd4fce4') for image transfer command 
>> '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,188Z INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] (default 
>> task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] START, 
>> PrepareImageVDSCommand(HostName = ovirt-hv-01.avinity.tv, 
>> PrepareImageVDSCommandParameters:{hostId='e7e3f1dc-8037-4e74-a44c-442bdb02197d'}),
>>  log id: 3bd84b38
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,351Z INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] (default 
>> task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] FINISH, 
>> PrepareImageVDSCommand, return: PrepareImageReturn:{status='Status [code=0, 
>> message=Done]'}, log id: 3bd84b38
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,356Z INFO  
>> [org.ovirt.engine.core.vdsbroker.irsbroker.SetVolumeLegalityVDSCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] START, 
>> SetVolumeLegalityVDSCommand( 
>> SetVolumeLegalityVDSCommandParameters:{storagePoolId='10525aa0-839d-11e9-a016-00163e4f2a6d',
>>  ignoreFailoverLimit='false', 
>> storageDomainId='644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
>> imageGroupId='3452459d-aec6-430e-9509-1d9ca815b2d8', 
>> imageId='b44659a9-607a-4eeb-a255-99532fd4fce4'}), log id: 5e0f7654
>> 
>> engine.log-20190

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Very good question,

Now that I think of it, I might have missed this step.
Most of the time/always after upgrade of oVirt packages is done, I update the 
rest of the system, both engine and hosts and reboot if required.
I do not think I did and system update of the engine this time, so for sure did 
not reboot it.
Will do that and report back.

Thank you Daniel.

Marko Vrgotic

Sent from my iPhone

> On 18 Jul 2019, at 18:33, Daniel Erez  wrote:
> 
> On Thu, Jul 18, 2019 at 7:31 PM Vrgotic, Marko
>  wrote:
>> 
>> Hi Daniel,
>> 
>> Is it possible that upgrade from 4.3.3 to 4.3.4  affected/reset/changed the 
>> certificate for imageio?
> 
> Have you restarted the ovirt-imageio-proxy service after upgrading? It
> should be restarted to reload the certificate.
> 
>> 
>> Reason why I am asking is that, while running 4.3.3 version, I was uploading 
>> Ubuntu 16-18, CentOS 7 cloud images, and CentOS6 no issues.
>> Now issue is with CentOS6.
>> I have tried to upload centos6.5 image via Ansible ovirt_disk and than one 
>> ended stuck in “Finalizing” state.
>> Than I tried with to Upload same image from UI and that ended in “Paused” 
>> state.
>> 
>> I will try Test Connection and let you know.
>> 
>> Sent from my iPhone
>> 
>>> On 18 Jul 2019, at 16:13, Daniel Erez  wrote:
>>> 
>>> Hi Marko,
>>> 
>>> According to the log, it seems there's an issue with a secured
>>> connection to the proxy.
>>> Can you please try the 'Test Connection' button on upload disk dialog,
>>> to ensure the certificate is properly installed?
>>> Also, is the disk currently in 'Paused by System' status?
>>> 
>>> Thanks,
>>> Daniel
>>> 
>>> On Thu, Jul 18, 2019 at 2:35 PM Vrgotic, Marko
>>>  wrote:
>>>> 
>>>> Hi Nir,
>>>> 
>>>> 
>>>> 
>>>> Since this is already compressed file, I have added output of grep for 
>>>> moment this command was issue and following 300lines.
>>>> 
>>>> 
>>>> 
>>>> [root@ovirt-engine ovirt-engine]# zgrep "2019-07-17 13:36:11,121Z" 
>>>> engine.log-20190* -A300
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>>>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>>>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>>>> EDIT_DISK_PROPERTIES with role type USER
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>>>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>>>> 
>>>> gzip: -A300.gz: No such file or directory
>>>> 
>>>> [root@ovirt-engine ovirt-engine]# zgrep -A 300 "2019-07-17 13:36:11,121Z" 
>>>> engine.log-20190*
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>>>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>>>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>>>> EDIT_DISK_PROPERTIES with role type USER
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>>>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,142Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Successfully 
>>>> added Upload disk 'av-07-centos-65-base' (disk id: 
>>>> '3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
>>>> 'b44659a9-607a-4eeb-a255-99532fd4fce4') for image transfer command 
>>>> '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,188Z INFO  

[ovirt-users] Re: unmanaged disk with path X is ignored (was: Request for clarification of logline)

2019-07-18 Thread Vrgotic, Marko
Dear Yedidiah (fantastic name),

I personally did not make any changes on the DB, would not try that unless 
absolutely required.
There is no custom vdsm hook added, related to any disk operations. The one and 
only we have atm is to trigger DSN record updates when VM is destroyed, nothing 
disk related.

You mentioned: 
"Seems to mean that the engine got from VDSM information about a VM, that 
includes a disk which is not in the engine's DB."
I have another issue reported to oVirt community: "Stuck in 'Finalizing' disk 
image upload". It could be related. The image physically is not there any more, 
but there is still ticket which fails to close. 
Maybe its related. 


On 18/07/2019, 09:19, "Yedidyah Bar David"  wrote:

Hi,

On Thu, Jul 18, 2019 at 12:45 AM Vrgotic, Marko
 wrote:
>
> Dear oVirt,
>
>
>
> I was not able to find out meaning behind following WARN message:
>
>
>
> WARN  [org.ovirt.engine.core.vdsbroker.libvirt.VmDevicesConverter] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] unmanaged disk with path 
'/var/run/vdsm/payload/0687ad1a-4827-48d9-8629-b29a000df280.760410382a41ff5e6b1ee9365856517e.img'
 is ignored
>
>
>
> Will somebody be so kind to clarify the actual meaning of it or point me 
in right direction of cause?
>
>
>
> I can provide more information if required.
>
>
>
> Kindly awaiting your reply.

Changed the subject and added Arik, the author of the patch that
introduced this warning:

https://gerrit.ovirt.org/70018

Seems to mean that the engine got from VDSM information about a VM,
that includes a disk which is not in the engine's DB. Not sure how
this could have happened - perhaps you manually changed the DB, or
have a vdsm hook that adds it, or there was some problem around the
time it was added or removed, or there is some other bug. You might
check your logs (both engine and vdsm) around the relevant times for
each of above.

Best regards,
-- 
Didi


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RRLNHAOF36QX2A4VQTFVRU4K7ZONYSMR/


[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Dear Nir,

None of my Hosts has any updated left to be added, they are as up to date as 
they can be.
The imageio packages version installed is:

Ovirt-imageio-common-1.5.1-0.el7.x86_64
Ovirt-imageio-daemon-1.5.1-0.el7.x86_64

Additional software info from Host
OS Version:
RHEL - 7 - 6.1810.2.el7.centos
OS Description:
CentOS Linux 7 (Core)
Kernel Version:
3.10.0 - 957.21.3.el7.x86_64
KVM Version:
2.12.0 - 18.el7_6.5.1
LIBVIRT Version:
libvirt-4.5.0-10.el7_6.12
VDSM Version:
vdsm-4.30.17-1.el7
SPICE Version:
0.14.0 - 6.el7_6.1
GlusterFS Version:
[N/A]
CEPH Version:
librbd1-10.2.5-4.el7
Open vSwitch Version:
openvswitch-2.10.1-3.el7
Kernel Features:
PTI: 1, IBRS: 0, RETP: 1, SSBD: 3

From: "Vrgotic, Marko" 
Date: Thursday, 18 July 2019 at 08:03
To: Nir Soffer 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?
Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:

On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Old versions of ovirt-imageio-daemon were failing to remove a ticket if the 
ticket does not exist, and engine did not handle this well.

This was fixed in 4.2. Are you running the latest version on the hosts?

Please update ovirt-imageio-daemon to latest version.

Nir

2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
851eaf7ce7] Updating image transfer 
28eda0c2-e36b-4e70-91ea-2ecf4a030d19 (image 
3452459d-aec6-430e-9509-1d9ca815b2d8) phase to Paused by System
2019-07-17 13:36:11,563Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default 
task-376) [edda86b2-d78b-45ed-a523-18966af140f4] Updating image transfer 
28eda0c2-e36b-4e70-91ea-2ecf4a030d19 (image 
3452459d-aec6-430e-9509-1d9ca815b2d8) phase to Finalizing Success
2019-07-17 13:36:11,610Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 13:36:11,612Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 13:36:13,658Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-69) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 13:36:13,659Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-69) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Question regarding transfer UUID – is that one I marked green in the log lines 
above? Regarding Host that executed action, is in any way related to lines I 
marked in RED?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


From: Nir Soffer 
Date: Thursday, 18 July 2019 at 12:20
To: "Vrgotic, Marko" 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

On Thu, Jul 18, 2019 at 10:49 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear Nir,

None of my Hosts has any updated left to be added, they are as up to date as 
they can be.
The imageio packages version installed is:

Ovirt-imageio-common-1.5.1-0.el7.x86_64
Ovirt-imageio-daemon-1.5.1-0.el7.x86_64

We need logs to understand the issue.

Can you share logs from the time the upload was started?
- engine log (/var/log/ovirt-engine/engine.log)
- vdsm log on the host that performed the upload (/var/log/vdsm/vdsm.log)
- daemon logs on that host (/var/log/ovirt-imageio-daemon/daemon.log)

To locate the right host you can grep for the transfer uuid that should be 
mentioned in engine logs.


Additional software info from Host
OS Version:
RHEL - 7 - 6.1810.2.el7.centos
OS Description:
CentOS Linux 7 (Core)
Kernel Version:
3.10.0 - 957.21.3.el7.x86_64
KVM Version:
2.12.0 - 18.el7_6.5.1
LIBVIRT Version:
libvirt-4.5.0-10.el7_6.12
VDSM Version:
vdsm-4.30.17-1.el7
SPICE Version:
0.14.0 - 6.el7_6.1
GlusterFS Version:
[N/A]
CEPH Version:
librbd1-10.2.5-4.el7
Open vSwitch Version:
openvswitch-2.10.1-3.el7
Kernel Features:
PTI: 1, IBRS: 0, RETP: 1, SSBD: 3

From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Thursday, 18 July 2019 at 08:03
To: Nir Soffer mailto:nsof...@redhat.com>>
Cc: users mailto:users@ovirt.org>>, Daniel Erez 
mailto:de...@redhat.com>>
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?
Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:

On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Old versions of ovirt-imageio-daemon were failing to remove a ticket if the 
ticket does not exist, and engine did not hand

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
I think I found it:

In the vdsm log we need to search by UUID before START and in imageio daemon 
via image folder UUID:

[root@ovirt-hv-01 vdsm]# xzgrep e935c4cd-c171-40fa-9204-db59f11ac013 
vdsm.log.*xz
vdsm.log.22.xz:2019-07-17 13:36:09,219+ INFO  (jsonrpc/1) [vdsm.api] START 
prepareImage(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', 
leafUUID=u'b44659a9-607a-4eeb-a255-99532fd4fce4', allowIllegal=True) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=d7eb8ef8-0216-4338-ac5e-07ff41ba5ace (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,416+ INFO  (jsonrpc/1) [vdsm.api] FINISH 
prepareImage return={'info': {'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'type': 'file'}, 'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'imgVolumesInfo': [{'domainID': u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
'leaseOffset': 0, 'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'volumeID': u'b44659a9-607a-4eeb-a255-99532fd4fce4', 'leasePath': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4.lease',
 'imageID': u'3452459d-aec6-430e-9509-1d9ca815b2d8'}]} 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=d7eb8ef8-0216-4338-ac5e-07ff41ba5ace (api:54)
vdsm.log.22.xz:2019-07-17 13:36:09,422+ INFO  (jsonrpc/6) [vdsm.api] START 
getQemuImageInfo(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', 
volUUID=u'b44659a9-607a-4eeb-a255-99532fd4fce4', options=None) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=aa11989c-d308-491a-ab80-935c642fb758 (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,522+ INFO  (jsonrpc/6) [vdsm.api] FINISH 
getQemuImageInfo return={'info': {'compat': u'1.1', 'clustersize': 65536, 
'actualsize': 204800, 'virtualsize': 42949672960, 'format': u'qcow2'}} 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=aa11989c-d308-491a-ab80-935c642fb758 (api:54)
vdsm.log.22.xz:2019-07-17 13:36:09,528+ INFO  (jsonrpc/3) [vdsm.api] START 
teardownImage(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', volUUID=None) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=a806250b-875a-42a3-bac8-a58388f86af3 (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,529+ INFO  (jsonrpc/3) [vdsm.api] FINISH 
teardownImage return=None from=:::172.17.29.10,52964, 
flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=a806250b-875a-42a3-bac8-a58388f86af3 (api:54)

[root@ovirt-hv-01 ovirt-imageio-daemon]# grep 
3452459d-aec6-430e-9509-1d9ca815b2d daemon.log
2019-07-17 13:36:11,407 INFO(Thread-1) [tickets] [local] ADD 
ticket={u'uuid': u'10096b11-d10d-43aa-ad16-668b29a8c152', u'ops': [u'write'], 
u'url': 
u'file:///rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 u'sparse': True, u'timeout': 300, u'transfer_id': 
u'28eda0c2-e36b-4e70-91ea-2ecf4a030d19', u'size': 47244640256}




From: "Vrgotic, Marko" 
Date: Thursday, 18 July 2019 at 12:44
To: Nir Soffer 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure: here is the ovirt-engine/engine.log related to transaction:

[root@ovirt-engine ovirt-engine]# zgrep "3452459d-aec6-430e-9509-1d9ca815b2d8" 
/var/log/ovirt-engine/engine.log-20190718.gz | head -n 40
2019-07-17 13:36:01,634Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand] (default 
task-376) [e935c4cd-c171-40fa-9204-db59f11ac013] START, CreateImageVDSCommand( 
CreateImageVDSCommandParameters:{storagePoolId='10525aa0-839d-11e9-a016-00163e4f2a6d',
 ignoreFailoverLimit='false', 
storageDomainId='644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
imageGroupId='3452459d-aec6-430e-9509-1d9ca815b2d8', 
imageSizeInBytes='42949672960', volumeFormat='COW', 
newImageId='b44659a9-607a-4eeb-a255-99532fd4fce4', imageType='Sparse', 
newImageDescription='{"DiskAlias":"av-07-centos-65-base","DiskDescription":""}',
 imageIn

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?

Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:



On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Old versions of ovirt-imageio-daemon were failing to remove a ticket if the 
ticket does not exist, and engine did not handle this well.

This was fixed in 4.2. Are you running the latest version on the hosts?

Please update ovirt-imageio-daemon to latest version.

Nir

2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LJPWK5A3346ZCDSWEAG6WU3JLRXEGX22/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4JLP3BLJ3CFWTXYNWFK7TKZQ6RN4SXJ3/


[ovirt-users] Request for clarification of logline

2019-07-17 Thread Vrgotic, Marko
Dear oVirt,

I was not able to find out meaning behind following WARN message:

WARN  [org.ovirt.engine.core.vdsbroker.libvirt.VmDevicesConverter] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] unmanaged disk with path 
'/var/run/vdsm/payload/0687ad1a-4827-48d9-8629-b29a000df280.760410382a41ff5e6b1ee9365856517e.img'
 is ignored

Will somebody be so kind to clarify the actual meaning of it or point me in 
right direction of cause?

I can provide more information if required.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VIPD2IWLXDABSIFEGP2E7BDUADXPHUW3/


[ovirt-users] Stuck in "Finalizing" disk upload phase

2019-07-17 Thread Vrgotic, Marko
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LJPWK5A3346ZCDSWEAG6WU3JLRXEGX22/


[ovirt-users] Re: UI exception when changing Cluster in New VM window

2019-07-17 Thread Vrgotic, Marko
Dear Sharon, Strahil and Michal,

Upgrading to 4.3.4.3-1 did solve the problem.

Thank you.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic



From: Strahil 
Date: Wednesday, 10 July 2019 at 14:05
To: Sharon , Michal 
Cc: "Vrgotic, Marko" , users 
Subject: Re: [ovirt-users] Re: UI exception when changing Cluster in New VM 
window


Dear Sharon,

I think you mean Marko Vrgotic.

Best Regards,
Strahil Nikolov
On Jul 10, 2019 14:19, Sharon Gratch  wrote:
Hi Strahil,

Based on the stuck trace in the UI log that you sent, I am pretty sure that 
this UI exception was already fixed on https://gerrit.ovirt.org/#/c/99463/ for 
oVirt 4.3.4.
So please follow Michal's suggestion to install latest 4.3.5 version for 
overcoming this issue.

Thanks,
Sharon

On Tue, Jul 9, 2019 at 8:19 PM Michal Skrivanek 
mailto:michal.skriva...@redhat.com>> wrote:
can you please try that on 4.3.5 and if it persist open a bug with that ui.log 
attached?

thanks,
michal

On 5 Jul 2019, at 16:06, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Hi Strahil,

I tried what you said and I am still getting an exception.

Correct me if I am wrong, but my expectation is following, when creating new VM:

  *   Select cluster
  *   Whether I want to use template or create brand new VM from scratch, list 
of templates and everything else specific to cluster I selected should be loaded

Instead, I get the exception and have to refresh/reload the page.

In short, when creating new VM, I am currently locked to a default loaded 
cluster, which in my case is avshared1.

To give you bit more insight into configuration, here are the cluster details:



Per cluster:
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYOT6FVC35TYFNMGKXGBGIQMDESSI5RT/


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-16 Thread Vrgotic, Marko
Hey Pavel,

The reason why I mentioned it is that in the ansible ovirt_disk module it is 
explained if cow format is used, sparse is true by default. This is scenario I 
used to create disk in oVIrt with Centos and Ubuntu cloud images attached.
The main difference is that with CentOS images the disk size (in my case 40GB) 
is recognized by OS and cloud-init grows partition to full size of the disk.
With Ubuntu, its not recognized by OS, disk is sized to 40GB, so cloud-init 
reports “nothing to do”.

I will run the tests,  so we can verify if it will make a difference if sparse 
is set to True specifically or if it help pre-allocating the disk, if deploying 
Ubuntu cloud image.

Considering that format for both CentOS and Ubuntu cloud images is qcow2 or 3, 
I would expect it does not matter to the ovirt_disk module when resizing.
Or maybe better question is why does not Ubuntu OS recognize the new disk size?
Ultimately, in oVirt UI correct disk size is reported, but in Ubuntu OS is not.

My 5cents

As soon as tests are done, I will provide results.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


From: Pavel Bar 
Date: Tuesday, 16 July 2019 at 11:01
To: "Vrgotic, Marko" 
Cc: Ondra Machacek , "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Hi,
What actually defines whether the disk is thin-provisioned or pre-allocated is 
the "sparse" flag.
If you want the pre-allocated disk -  the "sparse" flag should be set to false.
If you want the thin-provisioned disk - the "sparse" flag should be set to true.
Try to set the "sparse" flag to whatever scenario you are testing and send the 
results.

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:04 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Hey Pavel,

As far as I remember, I went with Ansible ovirt_vm and ovrit_disk defaults. I 
will double check.

“format: cow”  which would mean thin-provisioned.

I have all prepared so I can make quick test with all scenarios:

  1.  format: cow
  2.  format: raw
  3.  format: cow and sparse: false(no)
  4.  ….

Let me know.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Pavel Bar mailto:p...@redhat.com>>
Date: Monday, 15 July 2019 at 10:20
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>, Ondra Machacek 
mailto:omach...@redhat.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or 
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>




From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
 

[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-15 Thread Vrgotic, Marko
Hey Pavel,

As far as I remember, I went with Ansible ovirt_vm and ovrit_disk defaults. I 
will double check.

“format: cow”  which would mean thin-provisioned.

I have all prepared so I can make quick test with all scenarios:

  1.  format: cow
  2.  format: raw
  3.  format: cow and sparse: false(no)
  4.  ….

Let me know.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Pavel Bar 
Date: Monday, 15 July 2019 at 10:20
To: "Vrgotic, Marko" , Ondra Machacek 

Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or 
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>





From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_ur

[ovirt-users] SSH Authorized_keys

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

Would it be possible to utilize SSH Pub key from User config

[cid:image001.png@01D53B2B.0E387070]

In such a way that it is offered or autoloaded into Cloud-init SSH Authorized 
keys field when exists?

This would bring one less action required before VM can be created.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C7VR5O3FTZWOOYVSRHDZ7U5XZHQ6F6YP/


[ovirt-users] Add Instance_type option for VM Portal

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

We are relying on Templates more and more, which is great.
Images/templates built using “official” cloud images usually have 1CPU and 1GB 
of RAM.
Using this feature via Administration portal is super, since we can attach 
Instance_type to template to provide sufficient CPU and RAM, regardless of via 
UI or using Ansible.

Would it be possible to consider adding Instance_Type option to Create New VM 
options in VM Portal?
Haven’t tested yet, but is Instance_type supported via ovirt_vm ansible module, 
in case of EndUser privileges?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YIZEEIFYI4DAYGFCAICT4UC7GYMOHKAP/


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-14 Thread Vrgotic, Marko
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>






From: "Vrgotic, Marko" 
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org" 
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_url=https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
 image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663


Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
tel. +31 (0)35 677 4131

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VRLKCMREVCTEWRO4SUCGYA6VETEI726F/


[ovirt-users] ovirt_disk and ubuntu issues

2019-07-10 Thread Vrgotic, Marko
Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_url=https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
 image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663


Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2PFULIL6YLOZXGVZC6ZHHDTIHAHX7LUB/


[ovirt-users] Re: Regarding VDSM_Hooks

2019-07-09 Thread Vrgotic, Marko
Dear Michal,

Thank you for the update.


On 9 Jul 2019, at 19:07, Michal Skrivanek 
mailto:michal.skriva...@redhat.com>> wrote:



On 5 Jul 2019, at 16:09, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable  .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?

IP is reported via guest agent.
You can get that from engine’s API. But this being a hook you can probably poll 
directly as part of the pre/post migration hook by directly interacting with 
vdsm, either from a python hook or using vdsm-client, get VM's stats and parse 
it from there
This is definitely option I will look into. The downside of this is that I need 
to delete the records, read the IPs and update the record into DNS. If software 
tests are running and we have request relying on DNS after records deleted and 
before updated, they would fail. But I assume that period is very short and it 
could be mitigated using cache.


  *

Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location to check wheter VM 
is migrated  or not,  which would allow me to control if dnsupdate should be 
triggered or not

Not sure how exactly you mean that to work, in general you can use 
before/after_vm_migrate_source and before/after_vm_migrate_destination hook 
points to intervene wherever you prefer.

The reason why I mentioned this would be better, if it can be pulled off, is 
that I would not need to trigger deletion of records if I could catch the 
migration action. In case it would be shutdown/power off or delete, it would be 
triggered, but not in case of migration.

  *



If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TRQJAAGDZN67BLLWRLLRAGYUSB2EDAWA/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UYM6K5IM55KWOHZ4EQNOLJ7XTX4RYN4P/


[ovirt-users] VDSM Hooks question

2019-07-09 Thread Vrgotic, Marko
Dear oVirt,

This request was bounced two times as well.

Details below. Can you please advise me.

Sent from my iPhone

On 8 Jul 2019, at 09:58, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable  .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?
Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location/file to check 
whether VM is migrated  or not,  which would allow me to control if dnsupdate 
should be triggered?


If its relevant for the question: we are currently running oVirt 4.3.3 version

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WUOE5X35MG26RQIND7BVSGYJRPBQAVXW/


[ovirt-users] VM Portal please add search filter box and list view as in Administration portal

2019-07-09 Thread Vrgotic, Marko
Dear oVirt,

This email has bounced two times already, and I am not sure what is wrong.
Hopefully you get it this time.

 Request is below.

Sent from my iPhone

Dear oVirt,

Would it be possible to discuss/consider adding search/filter field for VM 
Portal, resembling one in Administration Portal?

I have 60 users with over 500VMs and it would be really good to have this 
option. At this moment is virtually impossible to use the VMPortal due to poor 
view options.

We are currently running oVirt 4.3.3.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EEO3OJ2EVVN4HGRDI7ODHNKSUHCGXRM2/


[ovirt-users] Re: Bad Gateway buhaa

2019-07-05 Thread Vrgotic, Marko
This is great Dominik,

I promise to send my feedback by end of this week.

— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

Tel. +31 (0)35 677 4131
email: m.vrgo...@activevideo.com
skype: av.mvrgotic.se
www.activevideo.com

From: Dominik Holler 
Sent: Friday, July 5, 2019 8:42:01 AM
To: Vrgotic, Marko
Cc: users@ovirt.org; Miguel Duarte de Mora Barroso
Subject: Re: [ovirt-users] Bad Gateway buhaa

On Fri, 5 Jul 2019 06:36:15 +
"Vrgotic, Marko"  wrote:

> Thank you Dominik,
>
> I will look into ovn-provider configuration than.
>

It is step 8 in
https://www.ovirt.org/documentation/admin-guide/chap-External_Providers.html#adding-an-external-network-provider

> Where can I found some more technical  information on ovn-provider (is it in 
> any way related to openvswitch) and how it’s utilized by oVirt? I am talking 
> besides oVirt online documentation.
>

Happy you ask!
We have created the document
https://github.com/oVirt/ovirt-provider-ovn/blob/master/docs/provider_api_description.adoc
and would be interested in your feedback, to improve it.

>
> — — —
> Met vriendelijke groet / Best regards,
>
> Marko Vrgotic
> Sr. System Engineer
> ActiveVideo
>
> Tel. +31 (0)35 677 4131
> email: m.vrgo...@activevideo.com
> skype: av.mvrgotic.se
> www.activevideo.com<http://www.activevideo.com>
> ____
> From: Dominik Holler 
> Sent: Friday, July 5, 2019 8:06:29 AM
> To: Vrgotic, Marko
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Bad Gateway buhaa
>
> On Thu, 4 Jul 2019 13:10:52 +
> "Vrgotic, Marko"  wrote:
>
> > Dear oVIrt,
> >
> > Although it should be simple, I am failing to understand the connection 
> > between Default Gateway setting and Bad Gateway issue.
> >
> > On which network I need to set default gateway:
> >
> > Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.
> >
> > We have tenant1 network which is assigned to VM Guest instances and it has 
> > Default Gateway, working one .
> > Why am I still seeing this message:
> >
> > 2019-07-04 12:53:08,991Z ERROR 
> > [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
> > (EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
> > 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' 
> > failed: EngineException: (Failed with error Bad Gateway and code 5050)
> >
> > What am I doing wrong?
> >
>
>
> There seems to be a problem with the configuration of the
> ovirt-provider-ovn. If you do not want to use OVN networking, you can
> just disable the "Automatic Synchronization" of the ovirt-provider-ovn.
>
> > If you need more info or log data, just let me know.
> >
> > oVIrt 4.3.3
> >
> > Kindly awating your reply.
> >
> > Marko Vrgotic
> > ActiveVideo
>

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PC5U5Q27WY3AXTVJYTAGQ56MHAIQQ27T/


[ovirt-users] Regarding VDSM_Hooks

2019-07-05 Thread Vrgotic, Marko
Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable  .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?
Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location to check wheter VM 
is migrated  or not,  which would allow me to control if dnsupdate should be 
triggered or not


If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TRQJAAGDZN67BLLWRLLRAGYUSB2EDAWA/


[ovirt-users] Re: Bad Gateway buhaa

2019-07-05 Thread Vrgotic, Marko
Thank you Dominik,

I will look into ovn-provider configuration than.

Where can I found some more technical  information on ovn-provider (is it in 
any way related to openvswitch) and how it’s utilized by oVirt? I am talking 
besides oVirt online documentation.


— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

Tel. +31 (0)35 677 4131
email: m.vrgo...@activevideo.com
skype: av.mvrgotic.se
www.activevideo.com

From: Dominik Holler 
Sent: Friday, July 5, 2019 8:06:29 AM
To: Vrgotic, Marko
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Bad Gateway buhaa

On Thu, 4 Jul 2019 13:10:52 +
"Vrgotic, Marko"  wrote:

> Dear oVIrt,
>
> Although it should be simple, I am failing to understand the connection 
> between Default Gateway setting and Bad Gateway issue.
>
> On which network I need to set default gateway:
>
> Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.
>
> We have tenant1 network which is assigned to VM Guest instances and it has 
> Default Gateway, working one .
> Why am I still seeing this message:
>
> 2019-07-04 12:53:08,991Z ERROR 
> [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
> 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' 
> failed: EngineException: (Failed with error Bad Gateway and code 5050)
>
> What am I doing wrong?
>


There seems to be a problem with the configuration of the
ovirt-provider-ovn. If you do not want to use OVN networking, you can
just disable the "Automatic Synchronization" of the ovirt-provider-ovn.

> If you need more info or log data, just let me know.
>
> oVIrt 4.3.3
>
> Kindly awating your reply.
>
> Marko Vrgotic
> ActiveVideo

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AKHUSGEPHL6CBX3CGLLR234VC67LQ3SW/


[ovirt-users] Regarding VDSM_Hooks

2019-07-04 Thread Vrgotic, Marko
Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable  .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?

If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/76LTKU6KVZHJ3BBO55TDSPQLBFYDNKW6/


[ovirt-users] Bad Gateway buhaa

2019-07-04 Thread Vrgotic, Marko
Dear oVIrt,

Although it should be simple, I am failing to understand the connection between 
Default Gateway setting and Bad Gateway issue.

On which network I need to set default gateway:

Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.

We have tenant1 network which is assigned to VM Guest instances and it has 
Default Gateway, working one .
Why am I still seeing this message:

2019-07-04 12:53:08,991Z ERROR 
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: 
EngineException: (Failed with error Bad Gateway and code 5050)

What am I doing wrong?

If you need more info or log data, just let me know.

oVIrt 4.3.3

Kindly awating your reply.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HXOUL32IBYCHDNORBFCGRLXW3XO7JHEG/


[ovirt-users] Re: ovirt_vm ansible cloud-init ipv6 related

2019-06-20 Thread Vrgotic, Marko
Hello Ondra,

Thank you for reporting an issue, its appreciated.

I have to ask something additional, if you had experience with it:
- to work around the current situation, I have added 
/etc/cloud/cloud.cfg.d/99_custom-networking.cfg file with following content:

network:
  version: 2
  ethernets:
eth0:
  dhcp4: true
  dhcp6: true
eth1:
  dhcp4: true
  dhcp6: true

- this works, meaning that DHCPV6 address is added,  but it results in 
following situation: the RA route is killed,  rendering VM unreachable
- to solve this one , we added following line, route to link-local ipv6 of the 
vlan with runcmd:
runcmd:
  - [ ip, "-6", route, add, default, via, "ipv6 : link : local ", dev, eth0 ]

Still, this yaml is completely ignored/not even parsed. Cloud-init complains 
(looking at the logs) of the bad datasource, but I have configured following in 
the cloud.cfg:
datasource_list: ["NoCloud", "ConfigDrive"] 

Thnak you.

On 19/06/2019, 12:25, "Ondra Machacek"  wrote:

Hello,

thanks for the report. This is indeed supported by oVirt, but it's not
supported by ovirt_vm Ansible module, I've opened an issue[1]. Thanks.

[1] https://github.com/ansible/ansible/issues/58054

On 17/06/2019 15:18, Vrgotic, Marko wrote:
> Dear oVirt
> 
> Would you be so kind to help out clarifying if and how is IPv6 supported 
> with
> 
> -ansible / ovirt_vm / cloud-init boot protocol.
> 
> I have created a VM template which by default uses cloud-init with 
> following:
> 
> When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 
> address, default cloud-init setup and we have infrastructure for both 
> IPv4 and IPv6.
> 
> However, when calling same template via Ansible ovirt_vm, using following:
> 
> cloud_init_nics:  

>|~
> 
>   - nic_name: 
> eth0  
  
> |~
> 
> nic_boot_protocol: 
> dhcp  
 
> |~
> 
> nic_on_boot: true
> 
> each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.
> 
> Looking at booted VM, following options are not set:
> 
>   * /etc/sysconfig/network => NETWORKING_IPV6=yes
>   * Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and
> IPV6INIT=yes
> 
> We need IPv6 DHCP6 address , especially for registering it host with DNS 
>  record.
> 
> Is this supported? Am I doing it wrong way?
> 
> If its supported please let me know, how can I make sure that VMs 
> created using Ansible also initialize DHCPV6.
> 
> Please assist.
> 
> Marko Vrgotic
> 
> ActiveVideo
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MLM7X2UDVV7ACJSNTGIJ433XRTN432VT/
> 


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EAKM6E4JEJID2S6K7TWC43DENXIAKCPZ/


[ovirt-users] ovirt_vm ansible cloud-init ipv6 related

2019-06-18 Thread Vrgotic, Marko
Dear oVirt

Would you be so kind to help out clarifying if and how is IPv6 supported with
-ansible / ovirt_vm / cloud-init boot protocol.

I have created a VM template which by default uses cloud-init with following:

[cid:image001.png@01D5251F.E55FEAA0]

When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 address, 
default cloud-init setup and we have infrastructure for both IPv4 and IPv6.

However, when calling same template via Ansible ovirt_vm, using following:

   cloud_init_nics: 
   |~
 - nic_name: eth0   
 |~
   nic_boot_protocol: dhcp  
 |~
   nic_on_boot: true

each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.

Looking at booted VM, following options are not set:

  *   /etc/sysconfig/network => NETWORKING_IPV6=yes
  *   Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and 
IPV6INIT=yes


We need IPv6 DHCP6 address , especially for registering it host with DNS  
record.

Is this supported? Am I doing it wrong way?
If its supported please let me know, how can I make sure that VMs created using 
Ansible also initialize DHCPV6.

Please assist.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MLM7X2UDVV7ACJSNTGIJ433XRTN432VT/


[ovirt-users] Issue with oVirt aaa-ldap connector on fresh install of 4.3.3

2019-06-05 Thread Vrgotic, Marko

From: Vrgotic, Marko
Sent: Tuesday, June 4, 2019 4:44:08 PM
To: users@ovirt.org
Cc: Stojchev, Darko
Subject: Issue with aaa-ldap connector on fresh install of 4.3.3


Dear oVIrt,



We are running 4.3.3 latest with SHE.



Tried to connect our domain users using aaa-ldap extension tool provided.



We tried multiple different accounts, with multiple dn search tree syntaxes and 
verified the passwords.

The error is always the same:

`2019-06-04 14:03:30,763+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}`



The log file is showing the following:



2019-06-04 14:02:31,666+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._getURLs:283 
URLs: [u'ldap://hqdc2.example.com:389', u'ldap://eudc1.example.com:389', 
u'ldap://eudc2.example.com:389', u'ldap://hqdc1.example.com:389']

2019-06-04 14:02:31,666+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:393 Connecting to LDAP using 'ldap://hqdc2.example.com:389'

2019-06-04 14:02:31,675+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:444 Executing startTLS

2019-06-04 14:02:32,420+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:447 Perform search

2019-06-04 14:02:32,567+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:455 Result: [('', {'supportedLDAPVersion': ['3', '2']})]

2019-06-04 14:02:32,568+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:457 Connection succeeded

2019-06-04 14:02:32,568+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:02:32,568+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=username,dc=example,dc=com or leave empty for anonymous):

2019-06-04 14:02:57,540+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:RECEIVE
uid=da-dstojchev,ou=Users,dc=example,dc=com

2019-06-04 14:02:57,541+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_PASSWORD

2019-06-04 14:02:57,541+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user password:

2019-06-04 14:03:00,713+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._bindLDAP:478 
Attempting to bind using 'uid=da-dstojchev,ou=Users,dc=example,dc=com'

2019-06-04 14:03:00,862+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=da-dstojchev,ou=Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}

2019-06-04 14:03:00,863+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:03:00,863+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=username,dc=example,dc=com or leave empty for anonymous):

2019-06-04 14:03:27,376+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:RECEIVEuid=openstack-test,ou=ABC 
Users,dc=example,dc=com

2019-06-04 14:03:27,376+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_PASSWORD

2019-06-04 14:03:27,377+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user password:

2019-06-04 14:03:30,616+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._bindLDAP:478 
Attempting to bind using 'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com'

2019-06-04 14:03:30,763+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}

2019-06-04 14:03:30,764+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:03:30,764+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=username,dc=example,dc=com or leave empty for anonymous):

2019-06-04 14:03:41,055+ DEBUG otopi.context context._executeMethod:145 
method exception

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/otopi/context.py"

[ovirt-users] Westmere CPU Family

2019-06-03 Thread Vrgotic, Marko
Dear oVirt,

For a strange reason I am convinced I have read somewhere that  with 4.3 oVirt, 
the CPU family Westmere will not be supported any longer.
Still, I see it in dropdown list after upgradingfrom 4.2 to 4.3, also after 
installing fresh 4.3.

I also see it in oVirt documentation.

Can someone tell me if its actually supported and if its going to be 
“discontinued” in 4.4 maybe?

Thank you.

Marko Vrgotic
ActiveVideo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OF4GC2IPIKU575PAAE6DZY6JLNSN3DYX/


[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-31 Thread Vrgotic, Marko
Roy,

It came down to manually mounting ovirt-storage domains and executing chown 
command.

Still, I took you advice and did NFS3-only  and NFS4-only tests.

Here are the results:


Test1: Protocol NFS3 / ExportPolicy NFS3  with Default (allow all)



  *   ERROR:

[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]

[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}



  *   Volume is mounted as:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs 
(rw,relatime,vers=3,rsize=65536,wsize=655

36,namlen=255,soft,nolock,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=172.17.28.5,mountvers=3,mountport=635,mountproto=udp,loc

al_lock=all,addr=172.17.28.5)



  *   ls -la /rhev/data-center/mnt:

[root@ovirt-hv-01 mnt]# ls -la

total 4

drwxr-xr-x. 3 vdsm kvm48 May 31 07:55 .

drwxr-xr-x. 3 vdsm kvm17 May 31 07:50 ..

drwxrwxr-x. 2 root root 4096 May 29 10:12 172.17.28.5:_ovirt__hosted__engine



  *   change ownership of mounted volume to vdsm:kvm
  *   umount



Reran deployment script and deployment completed successfully.





Test2: Protocol NFS4 / ExportPolicy NFS  with Default (allow all)



Deployment went through without single issue.



Seems that even though vddm:vm group with an ID 36 are created and added to 
NetApp volume, they are not applicable.

It still required to mount manually, execute “chown -R vdsm:kvm 
”, amount and rerun the deployment script or rather reenter 
storage information for deployment to proceed.

Adding next storage domain, fro example for all other test VMs, will again fail 
from UI, unless the manual mount and chow are executed previously.



Then I tried just mount second storage domain, and it failed reporting 
permission issue (which it was). After executing manual mount actions, adding 
domain from UI worked flawlessly.



Output of mount:

172.17.28.5:/ovirt_production on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__production type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,

nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.12,local_lock=none,addr=172.17.28.5)

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=25

5,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.12,local_lock=none,addr=172.17.28.5)





Test3: Protocol NFS4 / ExportPolicy NFS with limited IP group access

In progress, but I have high hopes now.


Will keep you posted.

BTW.I was not able to find location in NetApp Volume where squashing is being 
defined, so I can not answer that one yet.

Thank you.

Kind regards,

Marko Vrgotic
ActiveVideo

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 21:29
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "Stojchev, Darko" 
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

No problem, here are some other things to check as well.

NetApp is weird about allowing changes done to the root directory of a share. I 
would recommend creating a folder on the NetApp share like “rhevstor” or 
something so that you can chown that folder and mount the folder for the 
storage domain. I never had much luck mounting and using the root level of the 
NetApp NFS share. I also have in my notes that I set “sec=sys” as a property of 
my NetApp data domain which wouldn’t allow me to mount it until I input it into 
the RHEV manager. However, you aren’t at a point of having the RHEV manager up 
and running so I’m not sure how much use this would be at the moment.

#mount -o sec=sys 172.17.28.5:/rhevstor /mnt/temp

NFS share will fail if it isn’t accessible from all hosts, so make sure to go 
into each host to run

#showmount -e 172.17.28.5

The ownership of the NFS share needs to be owned by vdsm:kvm. To do this, you 
have to manually mount the NFS share to one of the hosts temporarily then run 
the following command to get ownership settings setup.

#mkdir /mnt/temp
#mount -o sec=sys 172.17.28.5:/rhevstor /mnt/temp
#chown 36:36 /mnt/temp
#umount /mnt/temp

Then try and run the install again. If it fails, disable NFSv3 and run again to 
see if it is related to NFSv4 security settings.

Best regards,
Roy Morris

From: Vrgotic, Marko 
Sent: Thursday, May 30, 2019 12:07 PM
To: Morris, Roy ; users@ovirt.org
Cc: Stojchev, Darko 
Subject: [External] Re: Install fresh 4.3 fails with mounting shared storage

Hi Roy,

I will run all those tests tomorrow morning  (Amsterdam TimeZone) and reply 
back with results.

Regarding NetApp documentation yo

[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-31 Thread Vrgotic, Marko
Hi Roy,

I will run all those tests tomorrow morning  (Amsterdam TimeZone) and reply 
back with results.

Regarding NetApp documentation you mentioned below, I assume it should be 
enough to just “google” for it.

Thank you very much for jumping in, we really appreciate it.

Kind regards,

Marko Vrgotic

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 18:46
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "users-requ...@ovirt.org" , "Stojchev, Darko" 

Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you try disabling NFSv4 on the NetApp side for testing and rerun the 
installer? I don’t advise leaving it at NFSv3 but just for testing we can try 
it out.

Also, there is some documentation on NetApp support regarding manually mounting 
the NFS share to change permissions then unmount. It has to be done once but 
after that the mounting should be fine.

Do you have root squash set on NetApp?

Best regards,
Roy Morris
GSA Virtualization Systems Analyst
County of Ventura
(805) 654-3625
(805) 603-9403
[cid:7c03dd9d67a9cfb78447b56087323d91a66d7c29.camel@ventura.org]

From: Vrgotic, Marko 
Sent: Thursday, May 30, 2019 1:34 AM
To: Morris, Roy ; users@ovirt.org
Cc: users-requ...@ovirt.org; Stojchev, Darko 
Subject: [External] Re: Install fresh 4.3 fails with mounting shared storage

Hi Roy,

Sure, here is the output:

Last login: Wed May 29 17:25:30 2019 from ovirt-engine.avinity.tv
[root@ovirt-hv-03 ~]# showmount -e 172.17.28.5
Export list for 172.17.28.5:
/ (everyone)
[root@ovirt-hv-03 ~]# ls -la /rhev/data-center/mnt/
total 0
drwxr-xr-x. 2 vdsm kvm  6 May 29 17:14 .
drwxr-xr-x. 3 vdsm kvm 17 May 29 17:11 ..
[root@ovirt-hv-03 ~]#

In addition, if it helps, here is the list of shares/mount points from Netapp 
side, behind the 172.17.28.5 IP:
[cid:image003.png@01D516CC.8548AE10]

Kind regards
Marko Vrgotic

From: "Morris, Roy" mailto:roy.mor...@ventura.org>>
Date: Thursday, 30 May 2019 at 00:57
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>, 
"users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Cc: "users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>" 
mailto:users-requ...@ovirt.org>>
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you run the following commands and let us know the results.

showmount -e 172.17.28.5
ls -la /rhev/data-center/mnt/

Best regards,
Roy Morris

From: Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>>
Sent: Wednesday, May 29, 2019 4:07 AM
To: users@ovirt.org<mailto:users@ovirt.org>
Cc: users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>
Subject: [External] [ovirt-users] Install fresh 4.3 fails with mounting shared 
storage

CAUTION: This email contains links. If it looks suspicious or is not expected, 
DO NOT click and immediately forward to 
spam.mana...@ventura.org<mailto:spam.mana...@ventura.org>.


Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]:

[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-30 Thread Vrgotic, Marko
Hi Roy,

For some reason I had to resend the email – hope you got it this time.

Sure, here is the output:

Last login: Wed May 29 17:25:30 2019 from ovirt-engine.avinity.tv
[root@ovirt-hv-03 ~]# showmount -e 172.17.28.5
Export list for 172.17.28.5:
/ (everyone)
[root@ovirt-hv-03 ~]# ls -la /rhev/data-center/mnt/
total 0
drwxr-xr-x. 2 vdsm kvm  6 May 29 17:14 .
drwxr-xr-x. 3 vdsm kvm 17 May 29 17:11 ..
[root@ovirt-hv-03 ~]#

In addition, if it helps, here is the list of shares/mount points from Netapp 
side, behind the 172.17.28.5 IP:
[cid:image001.png@01D516D3.205660E0]

Kind regards
Marko Vrgotic

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 00:57
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "users-requ...@ovirt.org" 
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you run the following commands and let us know the results.

showmount -e 172.17.28.5
ls -la /rhev/data-center/mnt/

Best regards,
Roy Morris

From: Vrgotic, Marko 
Sent: Wednesday, May 29, 2019 4:07 AM
To: users@ovirt.org
Cc: users-requ...@ovirt.org
Subject: [External] [ovirt-users] Install fresh 4.3 fails with mounting shared 
storage

CAUTION: This email contains links. If it looks suspicious or is not expected, 
DO NOT click and immediately forward to 
spam.mana...@ventura.org<mailto:spam.mana...@ventura.org>.


Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}

Even with this error – storage gets mounted on the Host:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.11,local_lock=none,addr=172.17.28.5)

But playbook execution fails and we can not proceed with install.

Please advise.

Kindly awaiting your reply.

Marko Vrgotic
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VDFEL67346ECBN2T3DLCOMZ5KDRM6JX6/


  1   2   >