[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: 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] 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: 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: 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] 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: 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: 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,

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-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,

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] 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] 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,

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: 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-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] 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: 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] 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 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] 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] 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] 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-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
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] 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] 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 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,

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

<    1   2