[ovirt-users] Re: Hyperconverged setup questions

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


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


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

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

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

Hi Marko,

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

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


--


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


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

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

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

Dear oVirt,

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

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

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

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

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

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

return sorted((get

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

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

Thank you.


-
kind regards/met vrindelijke groet

Marko Vrgotic
Sr. System Engineer @ System Administration

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

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



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



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

Hi Marko,

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

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

Regards,
M.

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

Dear oVirt,

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

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

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

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

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

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



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



1. after_vm_migrate_source/60_register_migration





#!/usr/bin/python2

from __future__ import print_function

import hooking

import os

import logging



logger = logging.getLogger("register_migration")



if __name__ == "__main__":

try:

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

domxml = hooking.read_domxml()

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

vmid = vmid.firstChild.data

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

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

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

except Exception as e:

logging.exception("Caught exception")







2. after_vm_destroy/60_nsupdate:



/

#!/usr/bin/python2

from __future__ import print_function

import hooking

import logging

import os

import subprocess

from subprocess import PIPE, STDOUT





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



if __name__ == "__main__":

try:

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

domxml = hooking.read_domxml()

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

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

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

vmid = vmid.firstChild.data

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

   if not os.path.exists(tmp_file):

nsupdate_commands = """server {server_ip}

update delete {vm_name}.example.com a

update delete {vm_name}. example.com 

update delete {vm_name}. example.com txt

send

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



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



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

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

logger.info("Output:" + result)

else:

os.remove(tmp_file)

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



except Exception as e:

logger.exception("Caught exception")





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





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

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

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

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





Once again , I thank you and appreciate your help.



-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo







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



Michal,



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



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







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

>

> Hi Michal,

>

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

>

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

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

>

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

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

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

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

> In short we are trying to achive:

> - start migration

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

> 

[ovirt-users] Re: oVirt and Netapp question

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

That is correct. Thin Provisioned FlexVolumes.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


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

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

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

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

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

Please check my previous reply.

Thank you.
Sent from my iPhone


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

Thank you for the reply.

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

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

Kindly awaiting your reply.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo


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


Hi,

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

This value is determined by the following formula:

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



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


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

HTH

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

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

Dear oVirt,

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

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

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


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


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

Kindly awaiting your reply.


-
kind regards/met vrindelijke groet

Marko Vrgotic
ActiveVideo





___

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

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

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

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

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

--

Ladislav Humenik



System administrator / VI

IT Operations Hosting Infrastructure



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

Phone: +49 721 91374-8361

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



Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498



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

Aufsichtsratsvorsitzender: Markus Kadelke





Member of United Internet



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

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

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

2020-02-14 Thread Vrgotic, Marko
S SSBD Family" in order to be able to 
Activate the Host 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-486

[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.8

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

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

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

[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

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

[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.eng

[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 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:13

[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.ServletHandler.

[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-users] 4.2.0 Unable to create VM disk from VM Portal

2017-12-29 Thread Vrgotic, Marko
Dear oVirt community,

I have following setup:
4 servers as glusterfs storage: providing volume 1 for HostedEngine ad volume 2 
for VM Storage
7 Hypervisors
SelfHosted Engine 4.2.0 clean install (not an upgrade)

Problem:
Missing option to add/create VM disk from VM Portal / even as Admin user.
I have tried with Admin suer and creating user “Test” wth PowerUser role.
In both cases there is not option to create or attach disk.

Is the approach changed since 4.2.0? Am I missing a setting?
Please let me know, I will provide more data if needed.

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2.0 Unable to create VM disk from VM Portal

2017-12-29 Thread Vrgotic, Marko
Dear Michal,

Thank you for fast reply.

Do you know app. at which point in time the VM Portal will gain the ability of 
VM disk manipulation?

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care


From: Michal Skrivanek 
Date: Friday, 29 December 2017 at 20:47
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] 4.2.0 Unable to create VM disk from VM Portal



On 29 Dec 2017, at 16:20, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt community,

I have following setup:
4 servers as glusterfs storage: providing volume 1 for HostedEngine ad volume 2 
for VM Storage
7 Hypervisors
SelfHosted Engine 4.2.0 clean install (not an upgrade)

Problem:
Missing option to add/create VM disk from VM Portal / even as Admin user.

Hi,
there is no disk manipulation in VM Portal


I have tried with Admin suer and creating user “Test” wth PowerUser role.
In both cases there is not option to create or attach disk.

Is the approach changed since 4.2.0?

Yes. The old User Portal where it was possible to fully edit a VM was 
discontinued in 4.2. The new VM Portal doesn’t have that capability yet

Perhaps you can use webadmin and limit user’s permissions the way you need

Thanks,
michal

Am I missing a setting?
Please let me know, I will provide more data if needed.

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care

___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2.0 Unable to create VM disk from VM Portal

2018-01-18 Thread Vrgotic, Marko
Dear Latcho,

I am glad you are also mentioning this.

I moved forward with my 4.2 setup and discovered following possibilities:

1.   To what Michal suggested (although its not an access I would like to 
give to regular users), its possible to create an Admin role allowing 
management/provisioning of only VMs:

a.   Users will be able to login to admin portal, see all the settings, be 
unable to change anything in the setup, except managing VMs and provisioning 
them

b.   It’s a risk for a Hosted_Engine to be deleted by someone not being 
careful – I am still about to investigate if I can protect it by an Affinity 
setting or create special permission jut for the Hosted_Engine

2.   About VM Portal: we for now have to rely on templates:

a.   The only way for users to spawn VMs from VM Portal is to have required 
templates created ahead.

b.   The hostname field will be used by cloud-init to create a hostname and 
that is the only things besides cpu and ram that you can edit from VM Portal

3.   Use of APIs and or Ansible

It would we very nice to have more ability on VM management from VM Portal, so 
that no End Users are allowed to Admin Portal.

I am aware it’s not a complete or most accurate answer to your question, but I 
hope it does bring some clarity to current situation.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

From: Latchezar Filtchev 
Date: Wednesday, 17 January 2018 at 16:44
To: Michal Skrivanek , "Vrgotic, Marko" 

Cc: "users@ovirt.org" 
Subject: RE: [ovirt-users] 4.2.0 Unable to create VM disk from VM Portal

Dear Michal,

Please clarify ‘Perhaps you can use webadmin and limit user’s permissions the 
way you need’. Clean oVirt 4.2 installation have only admin user. Or I am 
wrong? What type of user is webadmin you are talking about?

Thank you!
Best,
Latcho

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Michal Skrivanek
Sent: Friday, December 29, 2017 9:47 PM
To: Vrgotic, Marko
Cc: users@ovirt.org
Subject: Re: [ovirt-users] 4.2.0 Unable to create VM disk from VM Portal



On 29 Dec 2017, at 16:20, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt community,

I have following setup:
4 servers as glusterfs storage: providing volume 1 for HostedEngine ad volume 2 
for VM Storage
7 Hypervisors
SelfHosted Engine 4.2.0 clean install (not an upgrade)

Problem:
Missing option to add/create VM disk from VM Portal / even as Admin user.

Hi,
there is no disk manipulation in VM Portal



I have tried with Admin suer and creating user “Test” wth PowerUser role.
In both cases there is not option to create or attach disk.

Is the approach changed since 4.2.0?

Yes. The old User Portal where it was possible to fully edit a VM was 
discontinued in 4.2. The new VM Portal doesn’t have that capability yet

Perhaps you can use webadmin and limit user’s permissions the way you need

Thanks,
michal


Am I missing a setting?
Please let me know, I will provide more data if needed.

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care

___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 Cloud-init & VM Portal question

2018-01-24 Thread Vrgotic, Marko
Dear oVirt,

I have created a template which includes  cloud-init with user / timezone / ssh 
key / network defined. Intention is to allow regular users & VM Portal to 
create VMs using this template.

Question that I have is; if possible, how can I arrange that vm name I fill in, 
is passed to cloud-init as vm hostname (as it is default when creating VM from 
Admin Portal)? Is it even possible and please if so, provide some guidance.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-01-24 Thread Vrgotic, Marko
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 can not set noVnc as default console

2018-01-24 Thread Vrgotic, Marko
Dear oVirt.

Executing engine-config –s ClientModeVncDefault=NoVnc does not result as 
expected.

Even though command is executed, I cannot find the VM console setup (during 
creation) which sets noVnc as default, it’s always Native VNC.

Any advice?

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 Can not set noVnc as default client console

2018-01-24 Thread Vrgotic, Marko
Dear oVirt.

Executing engine-config –s ClientModeVncDefault=NoVnc does not result as 
expected.

Even though command is executed, I cannot fnd the VM console setup (during 
creation) which actually sets noVnc as default, its always Native VNC.

Please assist.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 can not set noVnc as default console

2018-01-24 Thread Vrgotic, Marko
Off course not ☺

Thank you. I will give it a try.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: Karli Sjöberg 
Date: Wednesday, 24 January 2018 at 17:49
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 can not set noVnc as default console



Den 24 jan. 2018 5:44 em skrev "Vrgotic, Marko" :

Dear oVirt.



Executing engine-config –s ClientModeVncDefault=NoVnc does not result as 
expected.

Did you restart the engine after you made that change?

/K




Even though command is executed, I cannot find the VM console setup (during 
creation) which sets noVnc as default, it’s always Native VNC.



Any advice?



--

Met vriendelijke groet / Best regards,

Marko Vrgotic

System Engineer/Customer Care

ActiveVideo


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 Cloud-init & VM Portal question

2018-01-24 Thread Vrgotic, Marko
Dear oVirt,

I have created a template which includes cloud-init with user / timezone / 
ssh_key / network defined. Intention is to allow regular users & VM Portal to 
create VMs using this template.

Question that I have is; if possible, how can I arrange that vm name I fill in, 
is passed to cloud-init as vm hostname (as it is default when creating VM from 
Admin Portal)? Is it even possible and please if so, provide some guidance?

--
Met vriendelijke groet/ Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-01-24 Thread Vrgotic, Marko
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?

Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-01-25 Thread Vrgotic, Marko
Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: Tomas Jelinek 
Date: Thursday, 25 January 2018 at 13:03
To: "Vrgotic, Marko" 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue



On 24 Jan 2018 5:17 p.m., "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?
no, it is not.

can you please provide the logs from the javascript console in browser?

can you please make sure the user has permissions to create a vm?


Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-01-25 Thread Vrgotic, Marko
Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: "Vrgotic, Marko" 
Date: Thursday, 25 January 2018 at 13:18
To: Tomas Jelinek 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: Tomas Jelinek 
Date: Thursday, 25 January 2018 at 13:03
To: "Vrgotic, Marko" 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue



On 24 Jan 2018 5:17 p.m., "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?
no, it is not.

can you please provide the logs from the javascript console in browser?

can you please make sure the user has permissions to create a vm?


Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 Cloud-init & VM Portal question

2018-01-25 Thread Vrgotic, Marko
Dear Tomas,

Done: https://github.com/oVirt/ovirt-web-ui/issues/468

Thank you.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care


From: Tomas Jelinek 
Date: Thursday, 25 January 2018 at 13:08
To: "Vrgotic, Marko" 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 Cloud-init & VM Portal question



On 24 Jan 2018 5:13 p.m., "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

I have created a template which includes  cloud-init with user / timezone / ssh 
key / network defined. Intention is to allow regular users & VM Portal to 
create VMs using this template.

Question that I have is; if possible, how can I arrange that vm name I fill in, 
is passed to cloud-init as vm hostname (as it is default when creating VM from 
Admin Portal)? Is it even possible and please if so, provide some guidance.
not possible atm - it is a good point. Can you please open an issue on 
https://github.com/oVirt/ovirt-web-ui/issues

thank you!


--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-02-16 Thread Vrgotic, Marko
Dear Tomas,

In addition to previous email, find attached javascript console output from 
browser:

Kind regards,
Marko Vrgotic

From: "Vrgotic, Marko" 
Date: Thursday, 25 January 2018 at 13:52
To: Tomas Jelinek 
Cc: users 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: "Vrgotic, Marko" 
Date: Thursday, 25 January 2018 at 13:18
To: Tomas Jelinek 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: Tomas Jelinek 
Date: Thursday, 25 January 2018 at 13:03
To: "Vrgotic, Marko" 
Cc: users , "users-requ...@ovirt.org" 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue



On 24 Jan 2018 5:17 p.m., "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?
no, it is not.

can you please provide the logs from the javascript console in browser?

can you please make sure the user has permissions to create a vm?


Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users



javas_browser_console_output
Description: javas_browser_console_output
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to protect SHE VM from being deleted in following setup

2018-02-16 Thread Vrgotic, Marko
Dear oVirt community,

I have SHE on the Gluster (not managed by SHE).
Due to limitations of VM Portal, I have given couple of trusted Users, trimmed 
down Admin access, so that they can create VMs.

However, this does make me bit worried, since the SHE VM could get deleted as 
any other VM in the pool.

The SHE VM has its own storage pool, but it’s part of same Hypervisor Cluster 
(limitations of available HW), therefore my Users can see it and accidentally 
delete it – it can happen!

QUESTION: Any advices that could help me protect SHE VM from being deleted?

Any suggestions, ideas are highly welcome.

Thank you.

Best regards,
Marko Vrgotic
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

2018-02-20 Thread Vrgotic, Marko
Hi Tomas,

You are more than welcome.

I will patiently 😊 wait for the fix.

Kind regards,
Marko

From: Tomas Jelinek 
Date: Tuesday, 20 February 2018 at 08:43
To: "Vrgotic, Marko" 
Cc: users 
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hey Marko,
thank you for all the logs, they helped me to understand the issue!
We have hit something similar and started to fix it (wrongly :) ), so I 
explained the real problem here 
https://github.com/oVirt/ovirt-web-ui/pull/494/files#diff-3a773596665964819aa579d52d9feb94
 so this PR will fix the actual issue you are facing.
thank you,
Tomas

On Sat, Feb 17, 2018 at 8:11 AM, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear Tomas,

In addition to previous email, find attached javascript console output from 
browser:

Kind regards,
Marko Vrgotic

From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Thursday, 25 January 2018 at 13:52
To: Tomas Jelinek mailto:tjeli...@redhat.com>>
Cc: users mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Thursday, 25 January 2018 at 13:18
To: Tomas Jelinek mailto:tjeli...@redhat.com>>
Cc: users mailto:users@ovirt.org>>, 
"users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>" 
mailto:users-requ...@ovirt.org>>
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue

Hi Tomas,

Thank you.

VM does get created, so I think permission are in order: I will attach them in 
next reply.

As soon as possible I will attach all logs related.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


From: Tomas Jelinek mailto:tjeli...@redhat.com>>
Date: Thursday, 25 January 2018 at 13:03
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Cc: users mailto:users@ovirt.org>>, 
"users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>" 
mailto:users-requ...@ovirt.org>>
Subject: Re: [ovirt-users] 4.2 VM Portal -Create- VM section issue



On 24 Jan 2018 5:17 p.m., "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt,

After setting all parameters for new VM and clicking on “Create” button, no 
progress status or that action is accepted is seen from webui.
In addition, when closing the add VM section, I am asked if I am sure, due to 
changes made.

Is this expected behaviour? Can something be done about?
no, it is not.

can you please provide the logs from the javascript console in browser?

can you please make sure the user has permissions to create a vm?


Kindly awaiting your reply.

--
Met vriendelijke groet / Best regards,
Marko Vrgotic
System Engineer/Customer Care
ActiveVideo


___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] WARN VdsBroker

2018-04-13 Thread Vrgotic, Marko
Hi oVirt community,

I have just upgraded from 4.2.0 to 4.2.2 version.

I noticed a ton of :
   2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:50,056+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-93) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,482+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,482+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,483+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,483+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:05,120+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string

Can somebody help me understand or trace where the issue could be?

Kindly awaiting your reply.

Marko Vrgotic

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] WARN VdsBroker

2018-04-14 Thread Vrgotic, Marko
Dear Roy,

Thank you. I noticed after completing the upgrade of the engine, and update of 
the hypervisors, that one hypervisor could not enter Maintenance state, as it 
was showing to be still hosting one VM. However, I could not find which one, 
the list showing hypervisor VMs was empty.
I was able to connect the relation between WARN message and “invisible” VM, and 
its solved now.

I will definitely look more into vdsm, as it is new to me, thank you, this 
information is valuable.

I think we can close this case.

Kind regards,
Marko Vrgotic

From: Roy Golan 
Date: Friday, 13 April 2018 at 14:48
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] WARN VdsBroker

Every VDSM(host) reports the application list per installed vm, every time the 
engine asks for the vm statistics. The list probably contains an illegal value 
or we fail to convert it , anyhow it doesn't interfere with the rest of the 
monitoring process.  Please share the output of this command from one of your 
hosts that have running vms:
vdsm-client Host getAllVmStats


On Fri, 13 Apr 2018 at 15:24 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Hi oVirt community,

I have just upgraded from 4.2.0 to 4.2.2 version.

I noticed a ton of :
   2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:48,857+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-84) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:50,056+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-93) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,482+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,482+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,483+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:13:51,483+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-23) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:03,912+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-24) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:05,120+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) [] Failed to convert app: 
[[Ljava.lang.Object;] is not a string
2018-04-13 11:14:06,564+02 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(EE-ManagedThreadFa

[ovirt-users] Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-24 Thread Vrgotic, Marko
Dear oVirt team,

When trying to start imported VM, it fails with following message:

ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM instance-0673 
is down with error. Exit message: Cannot access backing file 
'/var/lib/nova/instances/_base/2f4f8c5fc11bb83bcab03f4c829ddda4da8c0bce' of 
storage file 
'/rhev/data-center/mnt/glusterSD/aws-gfs-01.awesome.lan:_gv0__he/2607c265-248c-40ad-b020-f3756454839e/images/816ac00f-ba98-4827-b5c8-42a8ba496089/8ecfcd5b-db67-4c23-9869-0e20d7553aba'
 (as uid:107, gid:107): No such file or directory.

Platform details:
Ovirt SHE
Version 4.2.2.6-1.el7.centos
GlusterFS, unmanaged by oVirt.

VM is imported & converted from OpenStack, according to log files, successfully 
(one WARN, related to different MAC address):
2018-05-24 12:03:31,028+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-29) [cc5931a2-1af5-4d65-b0b3-362588db9d3f] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM [instance-00078d38]], log id: 7f178a5e
2018-05-24 12:48:33,722+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-8) [103d56e1-7449-4853-ae50-48ee94d43d77] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM [instance-00078d38]], log id: 3aa178c5
2018-05-24 12:48:47,291+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand]
 (default task-17) [4bf555c7-9d64-4ecc-b059-8a60a4b27bdd] START, 
GetVmsFullInfoFromExternalProviderVDSCommand(HostName = aws-ovhv-01, 
GetVmsFromExternalProviderParameters:{hostId='cbabe1e8-9e7f-4c4b-be9c-49154953564d',
 url='qemu+tcp://root@172.19.0.12/system', username='null', originType='KVM', 
namesOfVms='[instance-0673]'}), log id: 4c445109
2018-05-24 12:48:47,318+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand]
 (default task-17) [4bf555c7-9d64-4ecc-b059-8a60a4b27bdd] FINISH, 
GetVmsFullInfoFromExternalProviderVDSCommand, return: [VM [instance-0673]], 
log id: 4c445109
2018-05-24 12:49:20,466+02 INFO  
[org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] 
(default task-41) [14edb003-b4a0-4355-b3de-da2b68774fe3] Lock Acquired to 
object 'EngineLock:{exclusiveLocks='[instance-0673=VM_NAME, 
1f0b608f-7cfc-4b27-a876-b5d8073011a1=VM]', sharedLocks=''}'
2018-05-24 12:49:20,586+02 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-653408) 
[14edb003-b4a0-4355-b3de-da2b68774fe3] EVENT_ID: MAC_ADDRESS_IS_EXTERNAL(925), 
VM instance-0673 has MAC address(es) fa:16:3e:74:18:50, which is/are out of 
its MAC pool definitions.
2018-05-24 12:49:21,021+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-653408) 
[14edb003-b4a0-4355-b3de-da2b68774fe3] EVENT_ID: 
IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm instance-0673 
to Data Center AVEUNL, Cluster AWSEUOPS
2018-05-24 12:49:28,816+02 INFO  
[org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] 
(EE-ManagedThreadFactory-engine-Thread-653407) [] Lock freed to object 
'EngineLock:{exclusiveLocks='[instance-0673=VM_NAME, 
1f0b608f-7cfc-4b27-a876-b5d8073011a1=VM]', sharedLocks=''}'
2018-05-24 12:49:28,911+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConvertVmVDSCommand] 
(EE-ManagedThreadFactory-commandCoordinator-Thread-2) [2047673e] START, 
ConvertVmVDSCommand(HostName = aws-ovhv-01, 
ConvertVmVDSParameters:{hostId='cbabe1e8-9e7f-4c4b-be9c-49154953564d', 
url='qemu+tcp://root@172.19.0.12/system', username='null', 
vmId='1f0b608f-7cfc-4b27-a876-b5d8073011a1', vmName='instance-0673', 
storageDomainId='2607c265-248c-40ad-b020-f3756454839e', 
storagePoolId='5a5de92c-0120-0167-03cb-038a', virtioIsoPath='null', 
compatVersion='null', Disk0='816ac00f-ba98-4827-b5c8-42a8ba496089'}), log id: 
53408517
2018-05-24 12:49:29,010+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-commandCoordinator-Thread-2) [2047673e] EVENT_ID: 
IMPORTEXPORT_STARTING_CONVERT_VM(1,193), Starting to convert Vm 
instance-0673
2018-05-24 12:52:57,982+02 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] 
(default task-16) [df1d5f72-eb17-46e4-9946-20ca9809b54c] Failed to Acquire Lock 
to object 'EngineLock:{exclusiveLocks='[instance-0673=VM_NAME]', 
sharedLocks='[1

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-24 Thread Vrgotic, Marko
Dear Nir,

Thank you for quick reply.

Ok, why it will not work?

I used qemu+tcp connection, via import method through engine admin UI.

Images was imported and converted according logs, still “backing file” invalid 
entry remained.

Also, I did use same method before, connecting to plain “libvirt kvm” host, 
import and conversion went smooth, no backend file.

Image format is qcow(2) which is supported by oVirt.

What am I missing? Should I use different method?

Kindly awaiting your reply.

— — —
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: Nir Soffer 
Sent: Thursday, May 24, 2018 4:09:40 PM
To: Vrgotic, Marko
Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack



On Thu, May 24, 2018 at 5:05 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVirt team,



When trying to start imported VM, it fails with following message:



ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM instance-0673 
is down with error. Exit message: Cannot access backing file 
'/var/lib/nova/instances/_base/2f4f8c5fc11bb83bcab03f4c829ddda4da8c0bce' of 
storage file 
'/rhev/data-center/mnt/glusterSD/aws-gfs-01.awesome.lan:_gv0__he/2607c265-248c-40ad-b020-f3756454839e/images/816ac00f-ba98-4827-b5c8-42a8ba496089/8ecfcd5b-db67-4c23-9869-0e20d7553aba'
 (as uid:107, gid:107): No such file or directory.



Platform details:

Ovirt SHE

Version 4.2.2.6-1.el7.centos

GlusterFS, unmanaged by oVirt.



VM is imported & converted from OpenStack, according to log files, successfully 
(one WARN, related to different MAC address):

2018-05-24 12:03:31,028+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-29) [cc5931a2-1af5-4d65-b0b3-362588db9d3f] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM [instance-00078d38]], log id: 7f178a5e

2018-05-24 12:48:33,722+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-8) [103d56e1-7449-4853-ae50-48ee94d43d77] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM [instance-00078d38]], log id: 3aa178c5

2018-05-24 12:48:47,291+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand]
 (default task-17) [4bf555c7-9d64-4ecc-b059-8a60a4b27bdd] START, 
GetVmsFullInfoFromExternalProviderVDSCommand(HostName = aws-ovhv-01, 
GetVmsFromExternalProviderParameters:{hostId='cbabe1e8-9e7f-4c4b-be9c-49154953564d',
 url='qemu+tcp://root@172.19.0.12/system<http://root@172.19.0.12/system>', 
username='null', originType='KVM', namesOfVms='[instance-0673]'}), log id: 
4c445109

2018-05-24 12:48:47,318+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand]
 (default task-17) [4bf555c7-9d64-4ecc-b059-8a60a4b27bdd] FINISH, 
GetVmsFullInfoFromExternalProviderVDSCommand, return: [VM [instance-0673]], 
log id: 4c445109

2018-05-24 12:49:20,466+02 INFO  
[org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] 
(default task-41) [14edb003-b4a0-4355-b3de-da2b68774fe3] Lock Acquired to 
object 'EngineLock:{exclusiveLocks='[instance-0673=VM_NAME, 
1f0b608f-7cfc-4b27-a876-b5d8073011a1=VM]', sharedLocks=''}'

2018-05-24 12:49:20,586+02 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-653408) 
[14edb003-b4a0-4355-b3de-da2b68774fe3] EVENT_ID: MAC_ADDRESS_IS_EXTERNAL(925), 
VM instance-0673 has MAC address(es) fa:16:3e:74:18:50, which is/are out of 
its MAC pool definitions.

2018-05-24 12:49:21,021+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-653408) 
[14edb003-b4a0-4355-b3de-da2b68774fe3] EVENT_ID: 
IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm instance-0673 
to Data Center AVEUNL, Cluster AWSEUOPS

2018-05-24 12:49:28,816+02 INFO  
[org.ovirt.engine.core.bll.exportimport.ImportVmFromExternalProviderCommand] 
(EE-ManagedThreadFactory-engine-Thread-653407) [] Lock freed to object 
'EngineLock:{exclusiveLocks=&

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-24 Thread Vrgotic, Marko
Dear Nir,

I believe i understand now. The image imported is not base image, but required 
backing file to be able to work properly.

Maybe silly move, but i have tried to “solve/workaround” around the problem by 
rebasing image to remove backing file dependency, but it’s clear now why I than 
saw that “no bootable device found” during imported VM boot.

I support you suggestion to solve the import by either importing complete chain 
or recreating image so in a way it’s independent from former chain.

If you decide to go this way, please let me know which issue to track and if 
you need any more data provided from me.

I still need to solve problem with 200+ VM wanting to move to oVirt.

Kindly awaiting further updates.

— — —
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: Nir Soffer 
Sent: Thursday, May 24, 2018 5:13:47 PM
To: Vrgotic, Marko
Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack

On Thu, May 24, 2018 at 6:06 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear Nir,

Thank you for quick reply.

Ok, why it will not work?

Because the image has a backing file which is not accessible to oVirt.

I used qemu+tcp connection, via import method through engine admin UI.

Images was imported and converted according logs, still “backing file” invalid 
entry remained.

Also, I did use same method before, connecting to plain “libvirt kvm” host, 
import and conversion went smooth, no backend file.

Image format is qcow(2) which is supported by oVirt.

What am I missing? Should I use different method?

I guess this is not a problem on your side, but a bug in our side.

Either we should block the operation that cannot work, or fix the process
so we don't refer to non-existing image.

When importing we have 2 options:

- import the entire chain,  importing all images in the chain, converting
 each image to oVirt volume, and updating the backing file of each layer
to point to the oVirt image.

- import the current state of the image into a new image, using either raw
or qcow2, but without any backing file.

Arik, do you know why we create qcow2 file with invalid backing file?

Nir


Kindly awaiting your reply.

— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

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

From: Nir Soffer mailto:nsof...@redhat.com>>
Sent: Thursday, May 24, 2018 4:09:40 PM
To: Vrgotic, Marko
Cc: users@ovirt.org<mailto:users@ovirt.org>; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack



On Thu, May 24, 2018 at 5:05 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVirt team,



When trying to start imported VM, it fails with following message:



ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM instance-0673 
is down with error. Exit message: Cannot access backing file 
'/var/lib/nova/instances/_base/2f4f8c5fc11bb83bcab03f4c829ddda4da8c0bce' of 
storage file 
'/rhev/data-center/mnt/glusterSD/aws-gfs-01.awesome.lan:_gv0__he/2607c265-248c-40ad-b020-f3756454839e/images/816ac00f-ba98-4827-b5c8-42a8ba496089/8ecfcd5b-db67-4c23-9869-0e20d7553aba'
 (as uid:107, gid:107): No such file or directory.



Platform details:

Ovirt SHE

Version 4.2.2.6-1.el7.centos

GlusterFS, unmanaged by oVirt.



VM is imported & converted from OpenStack, according to log files, successfully 
(one WARN, related to different MAC address):

2018-05-24 12:03:31,028+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-29) [cc5931a2-1af5-4d65-b0b3-362588db9d3f] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM [instance-00078d38]], log id: 7f178a5e

2018-05-24 12:48:33,722+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand]
 (default task-8) [103d56e1-7449-4853-ae50-48ee94d43d77] FINISH, 
GetVmsNamesFromExternalProviderVDSCommand, return: [VM [instance-0001f94c], VM 
[instance-00078f6a], VM [instance-0814], VM [instance-0001f9ac], VM 
[instance-01ff], VM [instance-0001f718], VM [instance-0673], VM 
[instance-0001ecf2], VM 

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-25 Thread Vrgotic, Marko
Dear Nir, Arik and Richard,

I hope discussion will continue somewhere where i am able to join as watcher at 
least.

I have not seen any communication since Nir’s proposal. Please, if possible 
allow me to somehow track in which direction you are leaning.

In the meantime, as experienced engineers, do you have any suggestion how I 
could “workaround” current problem?

Rebasing image using qemu-img to remove backing file did not help (VM was able 
to start, but No Boot Device) and I think now that is due to image having 
functional dependency of base image.

Like with VMs in oVrt, where template can not be deleted if there are still VMs 
existing, which were created from that template.

Please advise

— — —
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: Vrgotic, Marko
Sent: Thursday, May 24, 2018 5:26:30 PM
To: Nir Soffer
Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack

Dear Nir,

I believe i understand now. The image imported is not base image, but required 
backing file to be able to work properly.

Maybe silly move, but i have tried to “solve/workaround” around the problem by 
rebasing image to remove backing file dependency, but it’s clear now why I than 
saw that “no bootable device found” during imported VM boot.

I support you suggestion to solve the import by either importing complete chain 
or recreating image so in a way it’s independent from former chain.

If you decide to go this way, please let me know which issue to track and if 
you need any more data provided from me.

I still need to solve problem with 200+ VM wanting to move to oVirt.

Kindly awaiting further updates.

— — —
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: Nir Soffer 
Sent: Thursday, May 24, 2018 5:13:47 PM
To: Vrgotic, Marko
Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack

On Thu, May 24, 2018 at 6:06 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear Nir,

Thank you for quick reply.

Ok, why it will not work?

Because the image has a backing file which is not accessible to oVirt.

I used qemu+tcp connection, via import method through engine admin UI.

Images was imported and converted according logs, still “backing file” invalid 
entry remained.

Also, I did use same method before, connecting to plain “libvirt kvm” host, 
import and conversion went smooth, no backend file.

Image format is qcow(2) which is supported by oVirt.

What am I missing? Should I use different method?

I guess this is not a problem on your side, but a bug in our side.

Either we should block the operation that cannot work, or fix the process
so we don't refer to non-existing image.

When importing we have 2 options:

- import the entire chain,  importing all images in the chain, converting
 each image to oVirt volume, and updating the backing file of each layer
to point to the oVirt image.

- import the current state of the image into a new image, using either raw
or qcow2, but without any backing file.

Arik, do you know why we create qcow2 file with invalid backing file?

Nir


Kindly awaiting your reply.

— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

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

From: Nir Soffer mailto:nsof...@redhat.com>>
Sent: Thursday, May 24, 2018 4:09:40 PM
To: Vrgotic, Marko
Cc: users@ovirt.org<mailto:users@ovirt.org>; Richard W.M. Jones; Arik Hadas
Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack



On Thu, May 24, 2018 at 5:05 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVirt team,



When trying to start imported VM, it fails with following message:



ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM instance-0673 
is down with error. Exit message: Cannot access backing file 
'/var/lib/nova/instances/_base/2f4f8c5fc11bb83bcab03f4c829ddda4da8c0bce' of 
storage file 
'/rhev/data-center/mnt/glusterSD/aws-gfs-01.awesome.lan:_gv0__he/2607c265-248c-40ad-b020-f3756454839e/images/816ac00f-ba98-4827-b5c8-42a8ba496089/8ecfcd5b-db67-4c23-9869-0e20d7553aba'
 (as uid:107, gid:107): No such file or direc

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-25 Thread Vrgotic, Marko


On 25/05/2018, 12:29, "Tomáš Golembiovský"  wrote:

Hi,

On Fri, 25 May 2018 08:11:13 +
    "Vrgotic, Marko"  wrote:

> Dear Nir, Arik and Richard,
> 
> I hope discussion will continue somewhere where i am able to join as 
watcher at least.

please open a bug on VDSM. This is something we need to deal with during
import -- or at least prevent users from importing.
   [Marko] Where? Email to users@ovirt.org? Do you need me to provide more 
information than in this email or additional information?
   If possible, go with "deal with", instead of just 
preventing. My team very much enjoys oVirt platform and its functionality and 
we would love to see it grow further, internally and externally.

> I have not seen any communication since Nir’s proposal. Please, if 
possible allow me to somehow track in which direction you are leaning.
> 
> In the meantime, as experienced engineers, do you have any suggestion how 
I could “workaround” current problem?
> 
> Rebasing image using qemu-img to remove backing file did not help (VM was 
able to start, but No Boot Device) and I think now that is due to image having 
functional dependency of base image.

What do you mean by rebasing? On which backing image did you rebase it?
   [Marko] It was using unsafe mode - just wanted to see what results will 
I get if I remove the backing file (inexperienced move). This action result in 
being able to start the VM, but ending up in No Bootable Device.

I'm not too familiar with openstack, but I'd suggest doing a 'qemu-img 
convert' on the disk in openstack to squash the backing change into new (and 
complete) image, assign this new disk to your VM and import it to oVirt.
[Marko] Thank you. We will test it and check the result.

Tomas

> 
> Like with VMs in oVrt, where template can not be deleted if there are 
still VMs existing, which were created from that template.
> 
> Please advise
> 
> — — —
> 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: Vrgotic, Marko
> Sent: Thursday, May 24, 2018 5:26:30 PM
> To: Nir Soffer
> Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
> Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack
> 
> Dear Nir,
> 
> I believe i understand now. The image imported is not base image, but 
required backing file to be able to work properly.
> 
> Maybe silly move, but i have tried to “solve/workaround” around the 
problem by rebasing image to remove backing file dependency, but it’s clear now 
why I than saw that “no bootable device found” during imported VM boot.
> 
> I support you suggestion to solve the import by either importing complete 
chain or recreating image so in a way it’s independent from former chain.
> 
> If you decide to go this way, please let me know which issue to track and 
if you need any more data provided from me.
> 
> I still need to solve problem with 200+ VM wanting to move to oVirt.
> 
> Kindly awaiting further updates.
> 
> — — —
> 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: Nir Soffer 
> Sent: Thursday, May 24, 2018 5:13:47 PM
> To: Vrgotic, Marko
> Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
> Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file after 
importing VM from OpenStack
> 
> On Thu, May 24, 2018 at 6:06 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
> Dear Nir,
> 
> Thank you for quick reply.
> 
> Ok, why it will not work?
> 
> Because the image has a backing file which is not accessible to oVirt.
> 
> I used qemu+tcp connection, via import method through engine admin UI.
> 
> Images was imported and converted according logs, still “backing file” 
invalid entry remained.
> 
> Also, I did use same method before, connecting to plain “libvirt kvm” 
host, import and conversion went smooth, no backend file.
> 
> Image format is qcow(2) which is supported by oVirt.
> 
> What am I 

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-28 Thread Vrgotic, Marko
Apologies for delay,

I am reporting a bug atm.

Will send the bug number id afterwards.



On 25/05/2018, 16:57, "Tomáš Golembiovský"  wrote:

On Fri, 25 May 2018 12:13:33 +
    "Vrgotic, Marko"  wrote:

> 
> 
> On 25/05/2018, 12:29, "Tomáš Golembiovský"  wrote:
> 
> Hi,
> 
> On Fri, 25 May 2018 08:11:13 +
> "Vrgotic, Marko"  wrote:
> 
> > Dear Nir, Arik and Richard,
> > 
> > I hope discussion will continue somewhere where i am able to join 
as watcher at least.
> 
> please open a bug on VDSM. This is something we need to deal with 
during
> import -- or at least prevent users from importing.
>[Marko] Where? Email to users@ovirt.org? Do you need me to provide 
more information than in this email or additional information?
Here in Bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm

Including the info you had in your first email should be enough for now.

>If possible, go with "deal with", instead of just 
preventing. My team very much enjoys oVirt platform and its functionality and 
we would love to see it grow further, internally and externally.

Could you please elaborate on your specific use-case here? Where did the
backing image came from? Snapshots, use of templates, ...?


> 
> > I have not seen any communication since Nir’s proposal. Please, if 
possible allow me to somehow track in which direction you are leaning.
> > 
> > In the meantime, as experienced engineers, do you have any 
suggestion how I could “workaround” current problem?
> > 
> > Rebasing image using qemu-img to remove backing file did not help 
(VM was able to start, but No Boot Device) and I think now that is due to image 
having functional dependency of base image.
> 
> What do you mean by rebasing? On which backing image did you rebase 
it?
>[Marko] It was using unsafe mode - just wanted to see what results 
will I get if I remove the backing file (inexperienced move). This action 
result in being able to start the VM, but ending up in No Bootable Device.

I guess you ended up with a disk full of holes in it and boot sector was
one of the missing pieces.

Tomas

> 
> I'm not too familiar with openstack, but I'd suggest doing a 
'qemu-img convert' on the disk in openstack to squash the backing change into 
new (and complete) image, assign this new disk to your VM and import it to 
oVirt.
> [Marko] Thank you. We will test it and check the result.
> 
> Tomas
> 
> > 
> > Like with VMs in oVrt, where template can not be deleted if there 
are still VMs existing, which were created from that template.
> > 
> > Please advise
> > 
> > — — —
> > 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: Vrgotic, Marko
> > Sent: Thursday, May 24, 2018 5:26:30 PM
> > To: Nir Soffer
> > Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
> > Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file 
after importing VM from OpenStack
> > 
> > Dear Nir,
> > 
> > I believe i understand now. The image imported is not base image, 
but required backing file to be able to work properly.
> > 
> > Maybe silly move, but i have tried to “solve/workaround” around the 
problem by rebasing image to remove backing file dependency, but it’s clear now 
why I than saw that “no bootable device found” during imported VM boot.
> > 
> > I support you suggestion to solve the import by either importing 
complete chain or recreating image so in a way it’s independent from former 
chain.
> > 
> > If you decide to go this way, please let me know which issue to 
track and if you need any more data provided from me.
> > 
> > I still need to solve problem with 200+ VM wanting to move to oVirt.
> > 
> > Kindly awaiting further updates.
> > 
> > — — —
> > Met vriendelijke gro

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-28 Thread Vrgotic, Marko
Bug submitted:

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

Kind regards,

Marko


On 25/05/2018, 16:57, "Tomáš Golembiovský"  wrote:

On Fri, 25 May 2018 12:13:33 +
    "Vrgotic, Marko"  wrote:

> 
> 
> On 25/05/2018, 12:29, "Tomáš Golembiovský"  wrote:
> 
> Hi,
> 
> On Fri, 25 May 2018 08:11:13 +
> "Vrgotic, Marko"  wrote:
> 
> > Dear Nir, Arik and Richard,
> > 
> > I hope discussion will continue somewhere where i am able to join 
as watcher at least.
> 
> please open a bug on VDSM. This is something we need to deal with 
during
> import -- or at least prevent users from importing.
>[Marko] Where? Email to users@ovirt.org? Do you need me to provide 
more information than in this email or additional information?
Here in Bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm

Including the info you had in your first email should be enough for now.

>If possible, go with "deal with", instead of just 
preventing. My team very much enjoys oVirt platform and its functionality and 
we would love to see it grow further, internally and externally.

Could you please elaborate on your specific use-case here? Where did the
backing image came from? Snapshots, use of templates, ...?


> 
> > I have not seen any communication since Nir’s proposal. Please, if 
possible allow me to somehow track in which direction you are leaning.
> > 
> > In the meantime, as experienced engineers, do you have any 
suggestion how I could “workaround” current problem?
> > 
> > Rebasing image using qemu-img to remove backing file did not help 
(VM was able to start, but No Boot Device) and I think now that is due to image 
having functional dependency of base image.
> 
> What do you mean by rebasing? On which backing image did you rebase 
it?
>[Marko] It was using unsafe mode - just wanted to see what results 
will I get if I remove the backing file (inexperienced move). This action 
result in being able to start the VM, but ending up in No Bootable Device.

I guess you ended up with a disk full of holes in it and boot sector was
one of the missing pieces.

Tomas

> 
> I'm not too familiar with openstack, but I'd suggest doing a 
'qemu-img convert' on the disk in openstack to squash the backing change into 
new (and complete) image, assign this new disk to your VM and import it to 
oVirt.
> [Marko] Thank you. We will test it and check the result.
> 
> Tomas
> 
> > 
> > Like with VMs in oVrt, where template can not be deleted if there 
are still VMs existing, which were created from that template.
> > 
> > Please advise
> > 
> > — — —
> > 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: Vrgotic, Marko
> > Sent: Thursday, May 24, 2018 5:26:30 PM
> > To: Nir Soffer
> > Cc: users@ovirt.org; Richard W.M. Jones; Arik Hadas
> > Subject: Re: [ovirt-users] Libvirt ERROR cannot access backing file 
after importing VM from OpenStack
> > 
> > Dear Nir,
> > 
> > I believe i understand now. The image imported is not base image, 
but required backing file to be able to work properly.
> > 
> > Maybe silly move, but i have tried to “solve/workaround” around the 
problem by rebasing image to remove backing file dependency, but it’s clear now 
why I than saw that “no bootable device found” during imported VM boot.
> > 
> > I support you suggestion to solve the import by either importing 
complete chain or recreating image so in a way it’s independent from former 
chain.
> > 
> > If you decide to go this way, please let me know which issue to 
track and if you need any more data provided from me.
> > 
> > I still need to solve problem with 200+ VM wanting to move to oVirt.
> > 
> > Kindly awaiting further updates.
> > 
> > — — —
> > Met vriendelijke gro

[ovirt-users] Updating SSL Certificate for oVirt websocket proxy

2018-06-01 Thread Vrgotic, Marko
Dear oVirt team,

I have successfully updated/replaced SSL certificate for oVirt, following 
instruction on page:
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/

However, this did not cover part related to websocketproxy used for spice-html5 
web console.

The one from:
https://www.ovirt.org/documentation/admin-guide/virt/console-client-resources/

Still works, but I would like to update that one as well.

Can somebody share instructions with me on how to execute these steps?

Thank you.

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


[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 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] 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] oVirt 4.3 DWH with Grafana

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

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

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

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

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

Marko Vrgotic
Sr. System Engineer @ System Administration

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

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


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


[ovirt-users] Re: oVirt 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] 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>> wrot

[ovirt-users] Install of oVirt.hosted-engine-setup from galaxy fails

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

Install of role oVirt.hosted-engine-setup from Galaxy repo fails:
- downloading role 'hosted-engine-setup', owned by oVirt
[WARNING]: - oVirt.hosted-engine-setup was NOT installed successfully: - sorry, 
oVirt.hosted-engine-setup was not found on https://galaxy.ansible.com.

Apparently it fails due to name of the repo in the Galaxy which is with “_” 
instead of expected “-” .

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


[ovirt-users] Issues post-upgrade from 4.2.8 to 4.3.2

2019-04-21 Thread Vrgotic, Marko
Dear oVirt team,

We have 3 Hosts HA Cluster with SHE engine.
Storage is NetApp.

Recently we have executed an upgrade from 4.2.8 to 4.3.2.

Since then we are seeing strange behavior when trying to put Hosts to 
Maintenance or manually Migrate VMs between Hosts.

The most repeated WARN/ERROR I am observing is following:

The UI is constantly throwing an exception when trying to put HA host to 
maintenance or increase the SPM level.

The repeated log line from engine.log  I see, with regards or failing to 
migrate all hosts is:

2019-04-18 13:05:30,760Z WARN  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-83) [63d33dd1] Validation of 
action 'MigrateVm' failed for user SYSTEM. Reasons: 
VAR__ACTION__MIGRATE,VAR__TYPE__VM,SCHEDULING_ALL_HOSTS_FILTERED_OUT,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-02,$filterName Memory,$availableMem 
3824,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-01,$filterName Memory,$availableMem 
0,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,SCHEDULING_ALL_HOSTS_FILTERED_OUT,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-02,$filterName Memory,$availableMem 
3824,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-01,$filterName Memory,$availableMem 
0,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL

But there is more than enough.

Also from UI.log:

2019-04-18 14:05:09,007Z ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-114) [] Permutation name: 0D2DB7A91B469CC36C64386E5632FAC5
2019-04-18 14:05:09,007Z ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-114) [] Uncaught exception: com.google.gwt.event.shared.Umbrell
aException: Exception caught: (TypeError) : oab(...) is null
at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_201]
at 
java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) 
[rt.jar:1.8.0_201]
at 
com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
 [gwt-servlet.jar:]
at 
com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25)
 [gwt-servlet.jar:]
at 
com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
at 
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110) 
[gwt-servlet.jar:]
at 
com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415) 
[gwt-servlet.jar:]
at 
com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
 [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) 
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) 
[gwt-servlet.jar:]
at 
Unknown.Su/<(https://ovirt-staging-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US#dataCenters-clusters;name=Hilversum-DataCenter
 line 9 > scriptElement)
at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : 
oab(...) is null
at 
org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterGuideModel.$onAddHost(ClusterGuideModel.java:533)
at 
org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterGuideModel.executeCommand(ClusterGuideModel.java:617)
at 
org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163)
at 
org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$lambda$4(AbstractModelBoundPopupPresenterWidget.java:306)
at 
org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget$lambda$4$Type.onClick(AbstractModelBoundPopupPresenterWidget.java:306)
at 
com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55) 
[gwt-servlet.jar:]
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) 
[gwt-servlet.jar:]
at 
com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173)
 [gwt-servlet.jar:]
... 12 more

Can you give me some advice on how to proceed? This started happening since 
upgrade.

Kindly awaiting your reply,

Marko Vrgotic

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.

[ovirt-users] Re: Issues post-upgrade from 4.2.8 to 4.3.2

2019-04-23 Thread Vrgotic, Marko
Hey Shani,

Thank you for the reply.

This morning I have tried to re-provision HA Hosts. Managed successfully with 
HA host 2 and 3, about to do it with HA Host 1.
If that goes well, I will repeat the exercises with Migration and Hosts updates 
to see if the issue is gone or still present.
Upon those, I intend to provide full step-by-step of the Upgrade Procedure and 
after with what was done.

Thank you for the patience.

Marko Vrgotic



From: Shani Leviim 
Date: Sunday, 21 April 2019 at 09:44
To: "Vrgotic, Marko" 
Subject: Re: [ovirt-users] Issues post-upgrade from 4.2.8 to 4.3.2

Hi Marko,

I've noticed that the timestamp of the error from your engine.log is one hour 
delayed of the one from your ui log.
Is this one intentioned?

Also, can you please attach a screenshot?
Thanks

Regards,
Shani Leviim


On Sun, Apr 21, 2019 at 10:12 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVirt team,

We have 3 Hosts HA Cluster with SHE engine.
Storage is NetApp.

Recently we have executed an upgrade from 4.2.8 to 4.3.2.

Since then we are seeing strange behavior when trying to put Hosts to 
Maintenance or manually Migrate VMs between Hosts.

The most repeated WARN/ERROR I am observing is following:

The UI is constantly throwing an exception when trying to put HA host to 
maintenance or increase the SPM level.

The repeated log line from engine.log  I see, with regards or failing to 
migrate all hosts is:

2019-04-18 13:05:30,760Z WARN  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-83) [63d33dd1] Validation of 
action 'MigrateVm' failed for user SYSTEM. Reasons: 
VAR__ACTION__MIGRATE,VAR__TYPE__VM,SCHEDULING_ALL_HOSTS_FILTERED_OUT,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-02,$filterName Memory,$availableMem 
3824,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-01,$filterName Memory,$availableMem 
0,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,SCHEDULING_ALL_HOSTS_FILTERED_OUT,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-02,$filterName Memory,$availableMem 
3824,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL,VAR__FILTERTYPE__INTERNAL,$hostName
 ovirt-staging-hv-01,$filterName Memory,$availableMem 
0,VAR__DETAIL__NOT_ENOUGH_MEMORY,SCHEDULING_HOST_FILTERED_REASON_WITH_DETAIL

But there is more than enough.

Also from UI.log:

2019-04-18 14:05:09,007Z ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-114) [] Permutation name: 0D2DB7A91B469CC36C64386E5632FAC5
2019-04-18 14:05:09,007Z ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-114) [] Uncaught exception: com.google.gwt.event.shared.Umbrell
aException: Exception caught: (TypeError) : oab(...) is null
at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_201]
at 
java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) 
[rt.jar:1.8.0_201]
at 
com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
 [gwt-servlet.jar:]
at 
com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25)
 [gwt-servlet.jar:]
at 
com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
at 
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110) 
[gwt-servlet.jar:]
at 
com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415) 
[gwt-servlet.jar:]
at 
com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
 [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) 
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) 
[gwt-servlet.jar:]
at 
Unknown.Su/<(https://ovirt-staging-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US#dataCenters-clusters;name=Hilversum-DataCenter
 line 9 > scriptElement)
at Unknown.anonymous(Unknown)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : 
oab(...) is null
at 
org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterGuideModel.$onAddHost(ClusterGuideModel.java:533)
at 
org.ovirt.engine.ui.uicommonweb.models.clusters.ClusterGuideModel.executeCommand(ClusterGuideModel.java:617)
at 
org.ovirt.engine.ui.uicommonweb.UICommand.$e

[ovirt-users] Re: [Qemu-block] Libvirt ERROR cannot access backing file after importing VM from OpenStack

2019-05-15 Thread Vrgotic, Marko
Dear oVirt gurus,

There was a lot of discussion and ideas regarding solving this issue, which I 
absolutely respect. Still as product consumer, administrator, what is the 
status of it? Can we and in which version expect to see and test solution or 
part of it?

Is there an approach you could recommend us to try with, while waiting for 
solution?
Would it be possible to me to track it somewhere?

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo

From: Arik Hadas 
Date: Wednesday, 11 July 2018 at 10:30
To: "Wolf, Kevin" , Eric Blake , "Vrgotic, 
Marko" , Nir Soffer , Richard 
Jones , qemu-block 
Cc: users 
Subject: Re: [Qemu-block] [ovirt-users] Libvirt ERROR cannot access backing 
file after importing VM from OpenStack

Better late than never - thank you all for the input, it was very useful!
With the ability to measure the collapsed form of a volume chain in the qcow2 
format, we managed to simplify and improve the process of creating an OVA 
significantly. What we do now is:
1. Measure the collapsed qcow2 volumes that would be written to the OVA
2. Create the OVA file accordingly
3. Write the "metadata" of the OVA - headers and OVF, while skipping the 
reserved places for disks
4. Mount each reserved place for a disk as a loopback device and convert the 
volume-chain directly to it [1]

This saves us from allocating temporary disks and extra copies.
That change would hopefully land in one of the next updates of oVirt 4.2.

[1] 
https://github.com/oVirt/ovirt-engine/commit/23230a131af33bfa55a3fe828660c32f7fff04d7

On Wed, May 30, 2018 at 7:39 PM Kevin Wolf 
mailto:kw...@redhat.com>> wrote:
Am 30.05.2018 um 18:14 hat Arik Hadas geschrieben:
> On Wed, May 30, 2018 at 6:33 PM, Kevin Wolf 
> mailto:kw...@redhat.com>> wrote:
> > I think the problem is that we're talking about two different things in
> > one thread. If I understand correctly, what oVirt does today is:
> >
> > 1. qemu-img convert to create a temporary qcow2 image that merges the
> >whole backing chain in a single file
> >
> > 2. tar to create an temporary OVA archive that contains, amongst others,
> >the temporary qcow2 image. This is a second temporary file.
> >
> > 3. Stream this temporary OVA archive over HTTP
> >
>
> Well, today we suggest users to mount a shared storage to multiple hosts
> that reside in different oVirt/RHV deployments so they could export
> VMs/templates as OVAs to that shared storage and import these OVAs from the
> shared storage to a destination deployment. This process involves only #1
> and #2.
>
> The technique you proposed earlier for writing disks directly into an OVA,
> assuming that the target size can be retrieved with 'qemu-img measure',
> sounds like a nice approach to accelerate this process. I think we should
> really consider doing that if that's as easy as it sounds.

Writing the image to a given offset in a file is the example that I gave
further down in the mail:

> > You added another host into the mix, which just receives the image
> > content via NBD and then re-exports it as HTTP. Does this host actually
> > exist or is it the same host where the original images are located?
> >
> > Because if you stay local for this step, there is no need to use NBD at
> > all:
> >
> > $ ./qemu-img measure -O qcow2 ~/images/hd.img
> > required size: 67436544
> > fully allocated size: 67436544
> > $ ./qemu-img create -f file /tmp/test.qcow2 67436544
> > Formatting '/tmp/test.qcow2', fmt=file size=67436544
> > $ ./qemu-img convert -n --target-image-opts ~/images/hd.img
> > driver=raw,file.driver=file,file.filename=/tmp/test.qcow2,offset=65536
> >
> > hexdump verifies that this does the expected thing.

> But #3 is definitely something we are interested in because we expect the
> next step to be exporting the OVAs to a remote instance of Glance that
> serves as a shared repository for the different deployments. Being able to
> stream the collapsed form of a volume chain without writing anything to the
> storage device would be fantastic. I think that even at the expense of
> iterating the chain twice - once to map the structure of the jump tables
> (right?) and once to stream the whole data.

If the target is not a stupid web browser, but something actually
virt-related like Glance, I'm sure it can offer a more suitable protocol
than HTTP? If you could talk NBD to Glance, you'd get rid of the
streaming requirement. I think it would make more sense to invest the
effort there.

Kevin
___
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/PUWIUUENVIPFBG7QIQWJXJCO6LTCWXWP/


[ovirt-users] Install fresh 4.3 fails with mounting shared storage

2019-05-29 Thread Vrgotic, Marko
Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}

Even with this error – storage gets mounted on the Host:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.11,local_lock=none,addr=172.17.28.5)

But playbook execution fails and we can not proceed with install.

Please advise.

Kindly awaiting your reply.

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


[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-30 Thread Vrgotic, Marko
Hi Roy,

Sure, here is the output:

Last login: Wed May 29 17:25:30 2019 from ovirt-engine.avinity.tv
[root@ovirt-hv-03 ~]# showmount -e 172.17.28.5
Export list for 172.17.28.5:
/ (everyone)
[root@ovirt-hv-03 ~]# ls -la /rhev/data-center/mnt/
total 0
drwxr-xr-x. 2 vdsm kvm  6 May 29 17:14 .
drwxr-xr-x. 3 vdsm kvm 17 May 29 17:11 ..
[root@ovirt-hv-03 ~]#

In addition, if it helps, here is the list of shares/mount points from Netapp 
side, behind the 172.17.28.5 IP:
[cid:image001.png@01D516D3.205660E0]

Kind regards
Marko Vrgotic

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 00:57
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "users-requ...@ovirt.org" 
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you run the following commands and let us know the results.

showmount -e 172.17.28.5
ls -la /rhev/data-center/mnt/

Best regards,
Roy Morris

From: Vrgotic, Marko 
Sent: Wednesday, May 29, 2019 4:07 AM
To: users@ovirt.org
Cc: users-requ...@ovirt.org
Subject: [External] [ovirt-users] Install fresh 4.3 fails with mounting shared 
storage

CAUTION: This email contains links. If it looks suspicious or is not expected, 
DO NOT click and immediately forward to 
spam.mana...@ventura.org<mailto:spam.mana...@ventura.org>.


Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}

Even with this error – storage gets mounted on the Host:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.11,local_lock=none,addr=172.17.28.5)

But playbook execution fails and we can not proceed with install.

Please advise.

Kindly awaiting your reply.

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


[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-30 Thread Vrgotic, Marko
Hi Roy,

For some reason I had to resend the email – hope you got it this time.

Sure, here is the output:

Last login: Wed May 29 17:25:30 2019 from ovirt-engine.avinity.tv
[root@ovirt-hv-03 ~]# showmount -e 172.17.28.5
Export list for 172.17.28.5:
/ (everyone)
[root@ovirt-hv-03 ~]# ls -la /rhev/data-center/mnt/
total 0
drwxr-xr-x. 2 vdsm kvm  6 May 29 17:14 .
drwxr-xr-x. 3 vdsm kvm 17 May 29 17:11 ..
[root@ovirt-hv-03 ~]#

In addition, if it helps, here is the list of shares/mount points from Netapp 
side, behind the 172.17.28.5 IP:
[cid:image001.png@01D516D3.205660E0]

Kind regards
Marko Vrgotic

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 00:57
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "users-requ...@ovirt.org" 
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you run the following commands and let us know the results.

showmount -e 172.17.28.5
ls -la /rhev/data-center/mnt/

Best regards,
Roy Morris

From: Vrgotic, Marko 
Sent: Wednesday, May 29, 2019 4:07 AM
To: users@ovirt.org
Cc: users-requ...@ovirt.org
Subject: [External] [ovirt-users] Install fresh 4.3 fails with mounting shared 
storage

CAUTION: This email contains links. If it looks suspicious or is not expected, 
DO NOT click and immediately forward to 
spam.mana...@ventura.org<mailto:spam.mana...@ventura.org>.


Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}

Even with this error – storage gets mounted on the Host:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.11,local_lock=none,addr=172.17.28.5)

But playbook execution fails and we can not proceed with install.

Please advise.

Kindly awaiting your reply.

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


[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-31 Thread Vrgotic, Marko
Hi Roy,

I will run all those tests tomorrow morning  (Amsterdam TimeZone) and reply 
back with results.

Regarding NetApp documentation you mentioned below, I assume it should be 
enough to just “google” for it.

Thank you very much for jumping in, we really appreciate it.

Kind regards,

Marko Vrgotic

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 18:46
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "users-requ...@ovirt.org" , "Stojchev, Darko" 

Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you try disabling NFSv4 on the NetApp side for testing and rerun the 
installer? I don’t advise leaving it at NFSv3 but just for testing we can try 
it out.

Also, there is some documentation on NetApp support regarding manually mounting 
the NFS share to change permissions then unmount. It has to be done once but 
after that the mounting should be fine.

Do you have root squash set on NetApp?

Best regards,
Roy Morris
GSA Virtualization Systems Analyst
County of Ventura
(805) 654-3625
(805) 603-9403
[cid:7c03dd9d67a9cfb78447b56087323d91a66d7c29.camel@ventura.org]

From: Vrgotic, Marko 
Sent: Thursday, May 30, 2019 1:34 AM
To: Morris, Roy ; users@ovirt.org
Cc: users-requ...@ovirt.org; Stojchev, Darko 
Subject: [External] Re: Install fresh 4.3 fails with mounting shared storage

Hi Roy,

Sure, here is the output:

Last login: Wed May 29 17:25:30 2019 from ovirt-engine.avinity.tv
[root@ovirt-hv-03 ~]# showmount -e 172.17.28.5
Export list for 172.17.28.5:
/ (everyone)
[root@ovirt-hv-03 ~]# ls -la /rhev/data-center/mnt/
total 0
drwxr-xr-x. 2 vdsm kvm  6 May 29 17:14 .
drwxr-xr-x. 3 vdsm kvm 17 May 29 17:11 ..
[root@ovirt-hv-03 ~]#

In addition, if it helps, here is the list of shares/mount points from Netapp 
side, behind the 172.17.28.5 IP:
[cid:image003.png@01D516CC.8548AE10]

Kind regards
Marko Vrgotic

From: "Morris, Roy" mailto:roy.mor...@ventura.org>>
Date: Thursday, 30 May 2019 at 00:57
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>, 
"users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Cc: "users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>" 
mailto:users-requ...@ovirt.org>>
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

Can you run the following commands and let us know the results.

showmount -e 172.17.28.5
ls -la /rhev/data-center/mnt/

Best regards,
Roy Morris

From: Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>>
Sent: Wednesday, May 29, 2019 4:07 AM
To: users@ovirt.org<mailto:users@ovirt.org>
Cc: users-requ...@ovirt.org<mailto:users-requ...@ovirt.org>
Subject: [External] [ovirt-users] Install fresh 4.3 fails with mounting shared 
storage

CAUTION: This email contains links. If it looks suspicious or is not expected, 
DO NOT click and immediately forward to 
spam.mana...@ventura.org<mailto:spam.mana...@ventura.org>.


Dear oVIrt,

We are trying to deploy new setup with Hosted-Engine , oVirt version 4.3.

Volume is on the Netapp, protocol NFS v4.
Upon populating shared storage information and path:

  Please specify the storage you would like to use (glusterfs, iscsi, 
fc, nfs)[nfs]: nfs
  Please specify the nfs version you would like to use (auto, v3, v4, 
v4_1)[auto]: auto
  Please specify the full shared storage connection path to use 
(example: host:/path): 172.17.28.5:/ovirt_hosted_engine

Following is displayed on the screen:

[ INFO  ] Creating Storage Domain
[ INFO  ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check local VM dir stat]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Enforce local VM dir existence]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch host facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch cluster facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter ID]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch Datacenter name]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]:

[ovirt-users] Re: Install fresh 4.3 fails with mounting shared storage

2019-05-31 Thread Vrgotic, Marko
Roy,

It came down to manually mounting ovirt-storage domains and executing chown 
command.

Still, I took you advice and did NFS3-only  and NFS4-only tests.

Here are the results:


Test1: Protocol NFS3 / ExportPolicy NFS3  with Default (allow all)



  *   ERROR:

[ INFO  ] TASK [ovirt.hosted_engine_setup : Add NFS storage domain]

[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[General 
Exception]". HTTP response code is 400.

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault 
reason is \"Operation Failed\". Fault detail is \"[General Exception]\". HTTP 
response code is 400."}



  *   Volume is mounted as:

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs 
(rw,relatime,vers=3,rsize=65536,wsize=655

36,namlen=255,soft,nolock,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=172.17.28.5,mountvers=3,mountport=635,mountproto=udp,loc

al_lock=all,addr=172.17.28.5)



  *   ls -la /rhev/data-center/mnt:

[root@ovirt-hv-01 mnt]# ls -la

total 4

drwxr-xr-x. 3 vdsm kvm48 May 31 07:55 .

drwxr-xr-x. 3 vdsm kvm17 May 31 07:50 ..

drwxrwxr-x. 2 root root 4096 May 29 10:12 172.17.28.5:_ovirt__hosted__engine



  *   change ownership of mounted volume to vdsm:kvm
  *   umount



Reran deployment script and deployment completed successfully.





Test2: Protocol NFS4 / ExportPolicy NFS  with Default (allow all)



Deployment went through without single issue.



Seems that even though vddm:vm group with an ID 36 are created and added to 
NetApp volume, they are not applicable.

It still required to mount manually, execute “chown -R vdsm:kvm 
”, amount and rerun the deployment script or rather reenter 
storage information for deployment to proceed.

Adding next storage domain, fro example for all other test VMs, will again fail 
from UI, unless the manual mount and chow are executed previously.



Then I tried just mount second storage domain, and it failed reporting 
permission issue (which it was). After executing manual mount actions, adding 
domain from UI worked flawlessly.



Output of mount:

172.17.28.5:/ovirt_production on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__production type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,

nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.12,local_lock=none,addr=172.17.28.5)

172.17.28.5:/ovirt_hosted_engine on 
/rhev/data-center/mnt/172.17.28.5:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=25

5,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.17.28.12,local_lock=none,addr=172.17.28.5)





Test3: Protocol NFS4 / ExportPolicy NFS with limited IP group access

In progress, but I have high hopes now.


Will keep you posted.

BTW.I was not able to find location in NetApp Volume where squashing is being 
defined, so I can not answer that one yet.

Thank you.

Kind regards,

Marko Vrgotic
ActiveVideo

From: "Morris, Roy" 
Date: Thursday, 30 May 2019 at 21:29
To: "Vrgotic, Marko" , "users@ovirt.org" 

Cc: "Stojchev, Darko" 
Subject: RE: Install fresh 4.3 fails with mounting shared storage

Marko,

No problem, here are some other things to check as well.

NetApp is weird about allowing changes done to the root directory of a share. I 
would recommend creating a folder on the NetApp share like “rhevstor” or 
something so that you can chown that folder and mount the folder for the 
storage domain. I never had much luck mounting and using the root level of the 
NetApp NFS share. I also have in my notes that I set “sec=sys” as a property of 
my NetApp data domain which wouldn’t allow me to mount it until I input it into 
the RHEV manager. However, you aren’t at a point of having the RHEV manager up 
and running so I’m not sure how much use this would be at the moment.

#mount -o sec=sys 172.17.28.5:/rhevstor /mnt/temp

NFS share will fail if it isn’t accessible from all hosts, so make sure to go 
into each host to run

#showmount -e 172.17.28.5

The ownership of the NFS share needs to be owned by vdsm:kvm. To do this, you 
have to manually mount the NFS share to one of the hosts temporarily then run 
the following command to get ownership settings setup.

#mkdir /mnt/temp
#mount -o sec=sys 172.17.28.5:/rhevstor /mnt/temp
#chown 36:36 /mnt/temp
#umount /mnt/temp

Then try and run the install again. If it fails, disable NFSv3 and run again to 
see if it is related to NFSv4 security settings.

Best regards,
Roy Morris

From: Vrgotic, Marko 
Sent: Thursday, May 30, 2019 12:07 PM
To: Morris, Roy ; users@ovirt.org
Cc: Stojchev, Darko 
Subject: [External] Re: Install fresh 4.3 fails with mounting shared storage

Hi Roy,

I will run all those tests tomorrow morning  (Amsterdam TimeZone) and reply 
back with results.

Regarding NetApp documentation yo

[ovirt-users] Westmere CPU Family

2019-06-03 Thread Vrgotic, Marko
Dear oVirt,

For a strange reason I am convinced I have read somewhere that  with 4.3 oVirt, 
the CPU family Westmere will not be supported any longer.
Still, I see it in dropdown list after upgradingfrom 4.2 to 4.3, also after 
installing fresh 4.3.

I also see it in oVirt documentation.

Can someone tell me if its actually supported and if its going to be 
“discontinued” in 4.4 maybe?

Thank you.

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


[ovirt-users] Issue with oVirt aaa-ldap connector on fresh install of 4.3.3

2019-06-05 Thread Vrgotic, Marko

From: Vrgotic, Marko
Sent: Tuesday, June 4, 2019 4:44:08 PM
To: users@ovirt.org
Cc: Stojchev, Darko
Subject: Issue with aaa-ldap connector on fresh install of 4.3.3


Dear oVIrt,



We are running 4.3.3 latest with SHE.



Tried to connect our domain users using aaa-ldap extension tool provided.



We tried multiple different accounts, with multiple dn search tree syntaxes and 
verified the passwords.

The error is always the same:

`2019-06-04 14:03:30,763+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}`



The log file is showing the following:



2019-06-04 14:02:31,666+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._getURLs:283 
URLs: [u'ldap://hqdc2.example.com:389', u'ldap://eudc1.example.com:389', 
u'ldap://eudc2.example.com:389', u'ldap://hqdc1.example.com:389']

2019-06-04 14:02:31,666+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:393 Connecting to LDAP using 'ldap://hqdc2.example.com:389'

2019-06-04 14:02:31,675+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:444 Executing startTLS

2019-06-04 14:02:32,420+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:447 Perform search

2019-06-04 14:02:32,567+ DEBUG 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:455 Result: [('', {'supportedLDAPVersion': ['3', '2']})]

2019-06-04 14:02:32,568+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._connectLDAP:457 Connection succeeded

2019-06-04 14:02:32,568+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:02:32,568+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=username,dc=example,dc=com or leave empty for anonymous):

2019-06-04 14:02:57,540+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:RECEIVE
uid=da-dstojchev,ou=Users,dc=example,dc=com

2019-06-04 14:02:57,541+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_PASSWORD

2019-06-04 14:02:57,541+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user password:

2019-06-04 14:03:00,713+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._bindLDAP:478 
Attempting to bind using 'uid=da-dstojchev,ou=Users,dc=example,dc=com'

2019-06-04 14:03:00,862+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=da-dstojchev,ou=Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}

2019-06-04 14:03:00,863+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:03:00,863+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=username,dc=example,dc=com or leave empty for anonymous):

2019-06-04 14:03:27,376+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:RECEIVEuid=openstack-test,ou=ABC 
Users,dc=example,dc=com

2019-06-04 14:03:27,376+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_PASSWORD

2019-06-04 14:03:27,377+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user password:

2019-06-04 14:03:30,616+ INFO 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common common._bindLDAP:478 
Attempting to bind using 'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com'

2019-06-04 14:03:30,763+ ERROR 
otopi.plugins.ovirt_engine_extension_aaa_ldap.ldap.common 
common._customization_late:835 Cannot authenticate using 
'uid=**FILTERED**,ou=ABC Users,dc=example,dc=com': {'info': '80090308: LdapErr: 
DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1', 'desc': 
'Invalid credentials'}

2019-06-04 14:03:30,764+ DEBUG otopi.plugins.otopi.dialog.human 
human.queryString:159 query OVAAALDAP_LDAP_USER

2019-06-04 14:03:30,764+ DEBUG otopi.plugins.otopi.dialog.human 
dialog.__logString:204 DIALOG:SEND Enter search user DN (for 
example uid=us

[ovirt-users] ovirt_vm ansible cloud-init ipv6 related

2019-06-18 Thread Vrgotic, Marko
Dear oVirt

Would you be so kind to help out clarifying if and how is IPv6 supported with
-ansible / ovirt_vm / cloud-init boot protocol.

I have created a VM template which by default uses cloud-init with following:

[cid:image001.png@01D5251F.E55FEAA0]

When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 address, 
default cloud-init setup and we have infrastructure for both IPv4 and IPv6.

However, when calling same template via Ansible ovirt_vm, using following:

   cloud_init_nics: 
   |~
 - nic_name: eth0   
 |~
   nic_boot_protocol: dhcp  
 |~
   nic_on_boot: true

each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.

Looking at booted VM, following options are not set:

  *   /etc/sysconfig/network => NETWORKING_IPV6=yes
  *   Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and 
IPV6INIT=yes


We need IPv6 DHCP6 address , especially for registering it host with DNS  
record.

Is this supported? Am I doing it wrong way?
If its supported please let me know, how can I make sure that VMs created using 
Ansible also initialize DHCPV6.

Please assist.

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


[ovirt-users] Re: ovirt_vm ansible cloud-init ipv6 related

2019-06-20 Thread Vrgotic, Marko
Hello Ondra,

Thank you for reporting an issue, its appreciated.

I have to ask something additional, if you had experience with it:
- to work around the current situation, I have added 
/etc/cloud/cloud.cfg.d/99_custom-networking.cfg file with following content:

network:
  version: 2
  ethernets:
eth0:
  dhcp4: true
  dhcp6: true
eth1:
  dhcp4: true
  dhcp6: true

- this works, meaning that DHCPV6 address is added,  but it results in 
following situation: the RA route is killed,  rendering VM unreachable
- to solve this one , we added following line, route to link-local ipv6 of the 
vlan with runcmd:
runcmd:
  - [ ip, "-6", route, add, default, via, "ipv6 : link : local ", dev, eth0 ]

Still, this yaml is completely ignored/not even parsed. Cloud-init complains 
(looking at the logs) of the bad datasource, but I have configured following in 
the cloud.cfg:
datasource_list: ["NoCloud", "ConfigDrive"] 

Thnak you.

On 19/06/2019, 12:25, "Ondra Machacek"  wrote:

Hello,

thanks for the report. This is indeed supported by oVirt, but it's not
supported by ovirt_vm Ansible module, I've opened an issue[1]. Thanks.

[1] https://github.com/ansible/ansible/issues/58054

On 17/06/2019 15:18, Vrgotic, Marko wrote:
> Dear oVirt
> 
> Would you be so kind to help out clarifying if and how is IPv6 supported 
> with
> 
> -ansible / ovirt_vm / cloud-init boot protocol.
> 
> I have created a VM template which by default uses cloud-init with 
> following:
> 
> When I boot the VM from UI, each VM gets IPv4 DHCP and IPv6 DHCP6 
> address, default cloud-init setup and we have infrastructure for both 
> IPv4 and IPv6.
> 
> However, when calling same template via Ansible ovirt_vm, using following:
> 
> cloud_init_nics:  

>|~
> 
>   - nic_name: 
> eth0  
  
> |~
> 
> nic_boot_protocol: 
> dhcp  
 
> |~
> 
> nic_on_boot: true
> 
> each VM receives only IPv4 DHCP and only IPv6 RA, but not DHCP IPv6.
> 
> Looking at booted VM, following options are not set:
> 
>   * /etc/sysconfig/network => NETWORKING_IPV6=yes
>   * Or /etc/sysconfig/network-scripts/ifcfg-eth0 => DHCPV6C=yes and
> IPV6INIT=yes
> 
> We need IPv6 DHCP6 address , especially for registering it host with DNS 
>  record.
> 
> Is this supported? Am I doing it wrong way?
> 
> If its supported please let me know, how can I make sure that VMs 
> created using Ansible also initialize DHCPV6.
> 
> Please assist.
> 
> Marko Vrgotic
> 
> ActiveVideo
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MLM7X2UDVV7ACJSNTGIJ433XRTN432VT/
> 


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


[ovirt-users] Bad Gateway buhaa

2019-07-04 Thread Vrgotic, Marko
Dear oVIrt,

Although it should be simple, I am failing to understand the connection between 
Default Gateway setting and Bad Gateway issue.

On which network I need to set default gateway:

Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.

We have tenant1 network which is assigned to VM Guest instances and it has 
Default Gateway, working one 😊.
Why am I still seeing this message:

2019-07-04 12:53:08,991Z ERROR 
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: 
EngineException: (Failed with error Bad Gateway and code 5050)

What am I doing wrong?

If you need more info or log data, just let me know.

oVIrt 4.3.3

Kindly awating your reply.

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


[ovirt-users] Regarding VDSM_Hooks

2019-07-04 Thread Vrgotic, Marko
Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable 😊 .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?

If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

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


[ovirt-users] Re: Bad Gateway buhaa

2019-07-04 Thread Vrgotic, Marko
Thank you Dominik,

I will look into ovn-provider configuration than.

Where can I found some more technical  information on ovn-provider (is it in 
any way related to openvswitch) and how it’s utilized by oVirt? I am talking 
besides oVirt online documentation.


— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

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

From: Dominik Holler 
Sent: Friday, July 5, 2019 8:06:29 AM
To: Vrgotic, Marko
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Bad Gateway buhaa

On Thu, 4 Jul 2019 13:10:52 +
"Vrgotic, Marko"  wrote:

> Dear oVIrt,
>
> Although it should be simple, I am failing to understand the connection 
> between Default Gateway setting and Bad Gateway issue.
>
> On which network I need to set default gateway:
>
> Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.
>
> We have tenant1 network which is assigned to VM Guest instances and it has 
> Default Gateway, working one 😊.
> Why am I still seeing this message:
>
> 2019-07-04 12:53:08,991Z ERROR 
> [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
> 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' 
> failed: EngineException: (Failed with error Bad Gateway and code 5050)
>
> What am I doing wrong?
>


There seems to be a problem with the configuration of the
ovirt-provider-ovn. If you do not want to use OVN networking, you can
just disable the "Automatic Synchronization" of the ovirt-provider-ovn.

> If you need more info or log data, just let me know.
>
> oVIrt 4.3.3
>
> Kindly awating your reply.
>
> Marko Vrgotic
> ActiveVideo

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


[ovirt-users] Regarding VDSM_Hooks

2019-07-05 Thread Vrgotic, Marko
Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable 😊 .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?
Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location to check wheter VM 
is migrated  or not,  which would allow me to control if dnsupdate should be 
triggered or not


If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

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


[ovirt-users] Re: Bad Gateway buhaa

2019-07-05 Thread Vrgotic, Marko
This is great Dominik,

I promise to send my feedback by end of this week.

— — —
Met vriendelijke groet / Best regards,

Marko Vrgotic
Sr. System Engineer
ActiveVideo

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

From: Dominik Holler 
Sent: Friday, July 5, 2019 8:42:01 AM
To: Vrgotic, Marko
Cc: users@ovirt.org; Miguel Duarte de Mora Barroso
Subject: Re: [ovirt-users] Bad Gateway buhaa

On Fri, 5 Jul 2019 06:36:15 +
"Vrgotic, Marko"  wrote:

> Thank you Dominik,
>
> I will look into ovn-provider configuration than.
>

It is step 8 in
https://www.ovirt.org/documentation/admin-guide/chap-External_Providers.html#adding-an-external-network-provider

> Where can I found some more technical  information on ovn-provider (is it in 
> any way related to openvswitch) and how it’s utilized by oVirt? I am talking 
> besides oVirt online documentation.
>

Happy you ask!
We have created the document
https://github.com/oVirt/ovirt-provider-ovn/blob/master/docs/provider_api_description.adoc
and would be interested in your feedback, to improve it.

>
> — — —
> Met vriendelijke groet / Best regards,
>
> Marko Vrgotic
> Sr. System Engineer
> ActiveVideo
>
> Tel. +31 (0)35 677 4131
> email: m.vrgo...@activevideo.com
> skype: av.mvrgotic.se
> www.activevideo.com<http://www.activevideo.com>
> ____
> From: Dominik Holler 
> Sent: Friday, July 5, 2019 8:06:29 AM
> To: Vrgotic, Marko
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] Bad Gateway buhaa
>
> On Thu, 4 Jul 2019 13:10:52 +
> "Vrgotic, Marko"  wrote:
>
> > Dear oVIrt,
> >
> > Although it should be simple, I am failing to understand the connection 
> > between Default Gateway setting and Bad Gateway issue.
> >
> > On which network I need to set default gateway:
> >
> > Our ovirtmgmt is set not to be used by Guest VMs, only Hosted-Engine.
> >
> > We have tenant1 network which is assigned to VM Guest instances and it has 
> > Default Gateway, working one 😊.
> > Why am I still seeing this message:
> >
> > 2019-07-04 12:53:08,991Z ERROR 
> > [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
> > (EE-ManagedThreadFactory-engineScheduled-Thread-54) [2cfff521] Command 
> > 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' 
> > failed: EngineException: (Failed with error Bad Gateway and code 5050)
> >
> > What am I doing wrong?
> >
>
>
> There seems to be a problem with the configuration of the
> ovirt-provider-ovn. If you do not want to use OVN networking, you can
> just disable the "Automatic Synchronization" of the ovirt-provider-ovn.
>
> > If you need more info or log data, just let me know.
> >
> > oVIrt 4.3.3
> >
> > Kindly awating your reply.
> >
> > Marko Vrgotic
> > ActiveVideo
>

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


[ovirt-users] VM Portal please add search filter box and list view as in Administration portal

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

This email has bounced two times already, and I am not sure what is wrong.
Hopefully you get it this time.

 Request is below.

Sent from my iPhone

Dear oVirt,

Would it be possible to discuss/consider adding search/filter field for VM 
Portal, resembling one in Administration Portal?

I have 60 users with over 500VMs and it would be really good to have this 
option. At this moment is virtually impossible to use the VMPortal due to poor 
view options.

We are currently running oVirt 4.3.3.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com

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


[ovirt-users] VDSM Hooks question

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

This request was bounced two times as well.

Details below. Can you please advise me.

Sent from my iPhone

On 8 Jul 2019, at 09:58, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable 😊 .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?
Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location/file to check 
whether VM is migrated  or not,  which would allow me to control if dnsupdate 
should be triggered?


If its relevant for the question: we are currently running oVirt 4.3.3 version

Kindly awaiting your reply.

Marko Vrgotic
ActiveVideo

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


[ovirt-users] Re: Regarding VDSM_Hooks

2019-07-09 Thread Vrgotic, Marko
Dear Michal,

Thank you for the update.


On 9 Jul 2019, at 19:07, Michal Skrivanek 
mailto:michal.skriva...@redhat.com>> wrote:



On 5 Jul 2019, at 16:09, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Dear oVIrt,

Happy to report I have deployed my first python vdsm_hook which removes A, 
, TXT records of VM each time after_vm_destroy event is triggered, and it 
works fine.
This was required to be able to quickly redploy/rebuild VMs using same hostname.

Issue I am observing/just discovered now is:
Since live_migration of VM guest is considered a destruction from Host 
perspective, DNS records get deleted and VM lands on new host without being 
resolvable 😊 .

I would like to introduce another python script for hook regarding migration 
events to get these entries back into DNS but for that I need there IPs.

Question:

  *   Where can I find/locate/read VMs IPs and Hostnames (is it dom_xml) to be 
able to incorporate them for DNS Update script?

IP is reported via guest agent.
You can get that from engine’s API. But this being a hook you can probably poll 
directly as part of the pre/post migration hook by directly interacting with 
vdsm, either from a python hook or using vdsm-client, get VM's stats and parse 
it from there
This is definitely option I will look into. The downside of this is that I need 
to delete the records, read the IPs and update the record into DNS. If software 
tests are running and we have request relying on DNS after records deleted and 
before updated, they would fail. But I assume that period is very short and it 
could be mitigated using cache.


  *

Or even better:

  *   What would be even better, is there a way to not trigger the dns update 
if VM is being Migrated? Can I use dom_xml or other location to check wheter VM 
is migrated  or not,  which would allow me to control if dnsupdate should be 
triggered or not

Not sure how exactly you mean that to work, in general you can use 
before/after_vm_migrate_source and before/after_vm_migrate_destination hook 
points to intervene wherever you prefer.

The reason why I mentioned this would be better, if it can be pulled off, is 
that I would not need to trigger deletion of records if I could catch the 
migration action. In case it would be shutdown/power off or delete, it would be 
triggered, but not in case of migration.

  *



If its relevant for the question: we are currently running oVIrt 4.3.3 version

Kindly awaiting your reply.

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

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


[ovirt-users] ovirt_disk and ubuntu issues

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

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_url=https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
 image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663


Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131

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


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-14 Thread Vrgotic, Marko
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>






From: "Vrgotic, Marko" 
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org" 
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18: 
image_url=https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
 image_checksum=7d2b90022a169119d7726c0fefa1713acbead7cc36d282c879896fd89c5a6663


Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>
tel. +31 (0)35 677 4131

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


[ovirt-users] Add Instance_type option for VM Portal

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

We are relying on Templates more and more, which is great.
Images/templates built using “official” cloud images usually have 1CPU and 1GB 
of RAM.
Using this feature via Administration portal is super, since we can attach 
Instance_type to template to provide sufficient CPU and RAM, regardless of via 
UI or using Ansible.

Would it be possible to consider adding Instance_Type option to Create New VM 
options in VM Portal?
Haven’t tested yet, but is Instance_type supported via ovirt_vm ansible module, 
in case of EndUser privileges?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum




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


[ovirt-users] SSH Authorized_keys

2019-07-15 Thread Vrgotic, Marko
Dear oVIrt,

Would it be possible to utilize SSH Pub key from User config

[cid:image001.png@01D53B2B.0E387070]

In such a way that it is offered or autoloaded into Cloud-init SSH Authorized 
keys field when exists?

This would bring one less action required before VM can be created.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


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


[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-15 Thread Vrgotic, Marko
Hey Pavel,

As far as I remember, I went with Ansible ovirt_vm and ovrit_disk defaults. I 
will double check.

“format: cow”  which would mean thin-provisioned.

I have all prepared so I can make quick test with all scenarios:

  1.  format: cow
  2.  format: raw
  3.  format: cow and sparse: false(no)
  4.  ….

Let me know.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Pavel Bar 
Date: Monday, 15 July 2019 at 10:20
To: "Vrgotic, Marko" , Ondra Machacek 

Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or 
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>





From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
usb_support: true
soundcard_enabled: false
operating_system: "{{ operating_system_type }}"
type: server
nics:
- name: nic1
  profile_name: tenant1
  interface: virtio
  nic_on_boot: true
cloud_init:
  host_name: "{{ inventory_hostname }}"
  user_name: ubuntu
  authorized_ssh_keys: "{{ ssh_agent_pubkeys.stdout }}"
state: "running"
cluster: "{{ ovirt_cluster }}"
  when: inventory_hostname in groups['ubuntu-baker']

When VM gets created, I can see in oVIrt VM details disk created is 40GB.
Executing df -h, gives me following:

  root@av3-ubuntu-18-base:/home/ubuntu# df -h
Filesystem  Size  Used Avail Use% Mounted on
udev447M 0  447M   0% /dev
tmpfs92M  696K   92M   1% /run
/dev/vda1   2.0G  1.3G  706M  65% /
tmpfs   460M 0  460M   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs   460M 0  460M   0% /sys/fs/cgroup
/dev/vda15  105M  3.6M  101M   4% /boot/efi
tmpfs92M 0   92M   0% /run/user/1000

Initially I thought growpart or resize2fs is not triggered, but then running 
dmesg or fdisk /dev/vda, told me that physical disk size is still only size of 
the downloaded ubuntu cloud image.

Disk /dev/vda: 2.2 GiB, 2361393152 bytes, 4612096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Is this related to ovirt_disk module, or ubuntu and ovirt_disk, since I do not 
have this behavior with CentOS 7 images?

Can you advise how to proceed, in case I am missing some configuration 
parameter or command to be run?

The following Ubuntu images are used:

ubuntu-16: 
image_url=https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
 image_checksum=fda868058586b129c7fdb6472fe575e911f7c67551a6dc75966f2ec02201bdae
ubuntu-18:

[ovirt-users] Re: ovirt_disk and ubuntu issues

2019-07-16 Thread Vrgotic, Marko
Hey Pavel,

The reason why I mentioned it is that in the ansible ovirt_disk module it is 
explained if cow format is used, sparse is true by default. This is scenario I 
used to create disk in oVIrt with Centos and Ubuntu cloud images attached.
The main difference is that with CentOS images the disk size (in my case 40GB) 
is recognized by OS and cloud-init grows partition to full size of the disk.
With Ubuntu, its not recognized by OS, disk is sized to 40GB, so cloud-init 
reports “nothing to do”.

I will run the tests,  so we can verify if it will make a difference if sparse 
is set to True specifically or if it help pre-allocating the disk, if deploying 
Ubuntu cloud image.

Considering that format for both CentOS and Ubuntu cloud images is qcow2 or 3, 
I would expect it does not matter to the ovirt_disk module when resizing.
Or maybe better question is why does not Ubuntu OS recognize the new disk size?
Ultimately, in oVirt UI correct disk size is reported, but in Ubuntu OS is not.

My 5cents

As soon as tests are done, I will provide results.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


From: Pavel Bar 
Date: Tuesday, 16 July 2019 at 11:01
To: "Vrgotic, Marko" 
Cc: Ondra Machacek , "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Hi,
What actually defines whether the disk is thin-provisioned or pre-allocated is 
the "sparse" flag.
If you want the pre-allocated disk -  the "sparse" flag should be set to false.
If you want the thin-provisioned disk - the "sparse" flag should be set to true.
Try to set the "sparse" flag to whatever scenario you are testing and send the 
results.

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:04 PM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Hey Pavel,

As far as I remember, I went with Ansible ovirt_vm and ovrit_disk defaults. I 
will double check.

“format: cow”  which would mean thin-provisioned.

I have all prepared so I can make quick test with all scenarios:

  1.  format: cow
  2.  format: raw
  3.  format: cow and sparse: false(no)
  4.  ….

Let me know.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic




From: Pavel Bar mailto:p...@redhat.com>>
Date: Monday, 15 July 2019 at 10:20
To: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>, Ondra Machacek 
mailto:omach...@redhat.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Re: ovirt_disk and ubuntu issues

Good day Marko,
Can you please tell us whether you tried to create a pre-allocated or 
thin-provision disk?
Ondra, can you please take a look that is not an Ansible issue?

Thank you in advance!

Pavel


On Mon, Jul 15, 2019 at 12:29 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

Even though I would like to get some insight into what could be reason this is 
no working, I did find a workaround:

Instead of trying to get Ubuntu disk specified with ovirt_disk size,
I used qemu-img resize to increase the disk size before importing it to oVIrt.
This works, but it still going to present the problem if User eventually wants 
to increase for example disk from 40GBto 80GB.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com<mailto:m.vrgo...@activevideo.com>




From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 10 July 2019 at 16:19
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: ovirt_disk and ubuntu issues

Dear oVirt,

I am downloading the ubuntu cloud image 16.04 and or 18.04:

   - name: "Download base cloud image from server"
 get_url:
   url: "{{ image_url }}"
   checksum: "sha256:{{ image_checksum }}"
   validate_certs: yes
   dest: "/tmp/{{ inventory_hostname_short }}.qcow2"
 delegate_to: localhost

creating a 40GB HDD and attaching image to it:

- name: "Create oVirt disk with base image (with 40Gb allocated)"
  ovirt_disk:
name: "{{ inventory_hostname_short }}"
interface: virtio
size: 40GiB
format: cow
upload_image_path: "/tmp/{{ inventory_hostname_short }}.qcow2"
storage_domain: ovirt_production
wait: true
  delegate_to: localhost

creating VM afterwards:


- name: "Create new Ubuntu VMs from cloud image"
  delegate_to: localhost
  ovirt_vm:
auth: "{{ ovirt_auth }}"
name: "{{ inventory_hostname_short }}"
disks:
- name: "{{ inventory_hostname_short }}"
graphical_console:
protocol: vnc
serial_console: true
 

[ovirt-users] Re: UI exception when changing Cluster in New VM window

2019-07-17 Thread Vrgotic, Marko
Dear Sharon, Strahil and Michal,

Upgrading to 4.3.4.3-1 did solve the problem.

Thank you.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic



From: Strahil 
Date: Wednesday, 10 July 2019 at 14:05
To: Sharon , Michal 
Cc: "Vrgotic, Marko" , users 
Subject: Re: [ovirt-users] Re: UI exception when changing Cluster in New VM 
window


Dear Sharon,

I think you mean Marko Vrgotic.

Best Regards,
Strahil Nikolov
On Jul 10, 2019 14:19, Sharon Gratch  wrote:
Hi Strahil,

Based on the stuck trace in the UI log that you sent, I am pretty sure that 
this UI exception was already fixed on https://gerrit.ovirt.org/#/c/99463/ for 
oVirt 4.3.4.
So please follow Michal's suggestion to install latest 4.3.5 version for 
overcoming this issue.

Thanks,
Sharon

On Tue, Jul 9, 2019 at 8:19 PM Michal Skrivanek 
mailto:michal.skriva...@redhat.com>> wrote:
can you please try that on 4.3.5 and if it persist open a bug with that ui.log 
attached?

thanks,
michal

On 5 Jul 2019, at 16:06, Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:

Hi Strahil,

I tried what you said and I am still getting an exception.

Correct me if I am wrong, but my expectation is following, when creating new VM:

  *   Select cluster
  *   Whether I want to use template or create brand new VM from scratch, list 
of templates and everything else specific to cluster I selected should be loaded

Instead, I get the exception and have to refresh/reload the page.

In short, when creating new VM, I am currently locked to a default loaded 
cluster, which in my case is avshared1.

To give you bit more insight into configuration, here are the cluster details:



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


[ovirt-users] Stuck in "Finalizing" disk upload phase

2019-07-17 Thread Vrgotic, Marko
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

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


[ovirt-users] Request for clarification of logline

2019-07-17 Thread Vrgotic, Marko
Dear oVirt,

I was not able to find out meaning behind following WARN message:

WARN  [org.ovirt.engine.core.vdsbroker.libvirt.VmDevicesConverter] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] unmanaged disk with path 
'/var/run/vdsm/payload/0687ad1a-4827-48d9-8629-b29a000df280.760410382a41ff5e6b1ee9365856517e.img'
 is ignored

Will somebody be so kind to clarify the actual meaning of it or point me in 
right direction of cause?

I can provide more information if required.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

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


[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?

Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:



On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Old versions of ovirt-imageio-daemon were failing to remove a ticket if the 
ticket does not exist, and engine did not handle this well.

This was fixed in 4.2. Are you running the latest version on the hosts?

Please update ovirt-imageio-daemon to latest version.

Nir

2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

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


[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
I think I found it:

In the vdsm log we need to search by UUID before START and in imageio daemon 
via image folder UUID:

[root@ovirt-hv-01 vdsm]# xzgrep e935c4cd-c171-40fa-9204-db59f11ac013 
vdsm.log.*xz
vdsm.log.22.xz:2019-07-17 13:36:09,219+ INFO  (jsonrpc/1) [vdsm.api] START 
prepareImage(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', 
leafUUID=u'b44659a9-607a-4eeb-a255-99532fd4fce4', allowIllegal=True) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=d7eb8ef8-0216-4338-ac5e-07ff41ba5ace (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,416+ INFO  (jsonrpc/1) [vdsm.api] FINISH 
prepareImage return={'info': {'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'type': 'file'}, 'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'imgVolumesInfo': [{'domainID': u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
'leaseOffset': 0, 'path': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 'volumeID': u'b44659a9-607a-4eeb-a255-99532fd4fce4', 'leasePath': 
u'/rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4.lease',
 'imageID': u'3452459d-aec6-430e-9509-1d9ca815b2d8'}]} 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=d7eb8ef8-0216-4338-ac5e-07ff41ba5ace (api:54)
vdsm.log.22.xz:2019-07-17 13:36:09,422+ INFO  (jsonrpc/6) [vdsm.api] START 
getQemuImageInfo(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', 
volUUID=u'b44659a9-607a-4eeb-a255-99532fd4fce4', options=None) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=aa11989c-d308-491a-ab80-935c642fb758 (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,522+ INFO  (jsonrpc/6) [vdsm.api] FINISH 
getQemuImageInfo return={'info': {'compat': u'1.1', 'clustersize': 65536, 
'actualsize': 204800, 'virtualsize': 42949672960, 'format': u'qcow2'}} 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=aa11989c-d308-491a-ab80-935c642fb758 (api:54)
vdsm.log.22.xz:2019-07-17 13:36:09,528+ INFO  (jsonrpc/3) [vdsm.api] START 
teardownImage(sdUUID=u'644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
spUUID=u'10525aa0-839d-11e9-a016-00163e4f2a6d', 
imgUUID=u'3452459d-aec6-430e-9509-1d9ca815b2d8', volUUID=None) 
from=:::172.17.29.10,52964, flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=a806250b-875a-42a3-bac8-a58388f86af3 (api:48)
vdsm.log.22.xz:2019-07-17 13:36:09,529+ INFO  (jsonrpc/3) [vdsm.api] FINISH 
teardownImage return=None from=:::172.17.29.10,52964, 
flow_id=e935c4cd-c171-40fa-9204-db59f11ac013, 
task_id=a806250b-875a-42a3-bac8-a58388f86af3 (api:54)

[root@ovirt-hv-01 ovirt-imageio-daemon]# grep 
3452459d-aec6-430e-9509-1d9ca815b2d daemon.log
2019-07-17 13:36:11,407 INFO(Thread-1) [tickets] [local] ADD 
ticket={u'uuid': u'10096b11-d10d-43aa-ad16-668b29a8c152', u'ops': [u'write'], 
u'url': 
u'file:///rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 u'sparse': True, u'timeout': 300, u'transfer_id': 
u'28eda0c2-e36b-4e70-91ea-2ecf4a030d19', u'size': 47244640256}




From: "Vrgotic, Marko" 
Date: Thursday, 18 July 2019 at 12:44
To: Nir Soffer 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure: here is the ovirt-engine/engine.log related to transaction:

[root@ovirt-engine ovirt-engine]# zgrep "3452459d-aec6-430e-9509-1d9ca815b2d8" 
/var/log/ovirt-engine/engine.log-20190718.gz | head -n 40
2019-07-17 13:36:01,634Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand] (default 
task-376) [e935c4cd-c171-40fa-9204-db59f11ac013] START, CreateImageVDSCom

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
//rhev/data-center/mnt/172.17.28.5:_ovirt__production/644aacaa-12e1-4fcd-b3aa-941678cf95bd/images/3452459d-aec6-430e-9509-1d9ca815b2d8/b44659a9-607a-4eeb-a255-99532fd4fce4',
 filename='null', sparse='true', 
transferId='28eda0c2-e36b-4e70-91ea-2ecf4a030d19'}), log id: 3bf6b943
2019-07-17 13:36:11,503Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default 
task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Updating image transfer 
28eda0c2-e36b-4e70-91ea-2ecf4a030d19 (image 
3452459d-aec6-430e-9509-1d9ca815b2d8) phase to Paused by System
2019-07-17 13:36:11,563Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default 
task-376) [edda86b2-d78b-45ed-a523-18966af140f4] Updating image transfer 
28eda0c2-e36b-4e70-91ea-2ecf4a030d19 (image 
3452459d-aec6-430e-9509-1d9ca815b2d8) phase to Finalizing Success
2019-07-17 13:36:11,610Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 13:36:11,612Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-60) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 13:36:13,658Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-69) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 13:36:13,659Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-69) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Question regarding transfer UUID – is that one I marked green in the log lines 
above? Regarding Host that executed action, is in any way related to lines I 
marked in RED?

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


From: Nir Soffer 
Date: Thursday, 18 July 2019 at 12:20
To: "Vrgotic, Marko" 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

On Thu, Jul 18, 2019 at 10:49 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear Nir,

None of my Hosts has any updated left to be added, they are as up to date as 
they can be.
The imageio packages version installed is:

Ovirt-imageio-common-1.5.1-0.el7.x86_64
Ovirt-imageio-daemon-1.5.1-0.el7.x86_64

We need logs to understand the issue.

Can you share logs from the time the upload was started?
- engine log (/var/log/ovirt-engine/engine.log)
- vdsm log on the host that performed the upload (/var/log/vdsm/vdsm.log)
- daemon logs on that host (/var/log/ovirt-imageio-daemon/daemon.log)

To locate the right host you can grep for the transfer uuid that should be 
mentioned in engine logs.


Additional software info from Host
OS Version:
RHEL - 7 - 6.1810.2.el7.centos
OS Description:
CentOS Linux 7 (Core)
Kernel Version:
3.10.0 - 957.21.3.el7.x86_64
KVM Version:
2.12.0 - 18.el7_6.5.1
LIBVIRT Version:
libvirt-4.5.0-10.el7_6.12
VDSM Version:
vdsm-4.30.17-1.el7
SPICE Version:
0.14.0 - 6.el7_6.1
GlusterFS Version:
[N/A]
CEPH Version:
librbd1-10.2.5-4.el7
Open vSwitch Version:
openvswitch-2.10.1-3.el7
Kernel Features:
PTI: 1, IBRS: 0, RETP: 1, SSBD: 3

From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Thursday, 18 July 2019 at 08:03
To: Nir Soffer mailto:nsof...@redhat.com>>
Cc: users mailto:users@ovirt.org>>, Daniel Erez 
mailto:de...@redhat.com>>
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?
Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:

On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-cento

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Dear Nir,

None of my Hosts has any updated left to be added, they are as up to date as 
they can be.
The imageio packages version installed is:

Ovirt-imageio-common-1.5.1-0.el7.x86_64
Ovirt-imageio-daemon-1.5.1-0.el7.x86_64

Additional software info from Host
OS Version:
RHEL - 7 - 6.1810.2.el7.centos
OS Description:
CentOS Linux 7 (Core)
Kernel Version:
3.10.0 - 957.21.3.el7.x86_64
KVM Version:
2.12.0 - 18.el7_6.5.1
LIBVIRT Version:
libvirt-4.5.0-10.el7_6.12
VDSM Version:
vdsm-4.30.17-1.el7
SPICE Version:
0.14.0 - 6.el7_6.1
GlusterFS Version:
[N/A]
CEPH Version:
librbd1-10.2.5-4.el7
Open vSwitch Version:
openvswitch-2.10.1-3.el7
Kernel Features:
PTI: 1, IBRS: 0, RETP: 1, SSBD: 3

From: "Vrgotic, Marko" 
Date: Thursday, 18 July 2019 at 08:03
To: Nir Soffer 
Cc: users , Daniel Erez 
Subject: Re: [ovirt-users] Stuck in "Finalizing" disk upload phase

Hi Nir,

Sure, i will check.

Is there a way for Adminstrator to view tickets or close them by force?
Sent from my iPhone

On 18 Jul 2019, at 00:05, Nir Soffer 
mailto:nsof...@redhat.com>> wrote:

On Wed, Jul 17, 2019, 19:20 Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Dear oVIrt,

I initiated upload of qcow2 disk image for Centos 6.5:
It reached finalizing phase and than started throwing following errors:

2019-07-17 14:40:51,480Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:40:51,480Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-86) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

Old versions of ovirt-imageio-daemon were failing to remove a ticket if the 
ticket does not exist, and engine did not handle this well.

This was fixed in 4.2. Are you running the latest version on the hosts?

Please update ovirt-imageio-daemon to latest version.

Nir

2019-07-17 14:41:01,572Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:01,574Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-19) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:11,690Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:11,690Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-7) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'
2019-07-17 14:41:21,781Z INFO  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Finalizing successful transfer for 
Upload disk 'av-07-centos-65-base' (disk id: 
'3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
'b44659a9-607a-4eeb-a255-99532fd4fce4')
2019-07-17 14:41:21,782Z WARN  
[org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-12) 
[a43180ec-afc7-429e-9f30-9e851eaf7ce7] Failed to stop image transfer session. 
Ticket does not exist for image '3452459d-aec6-430e-9509-1d9ca815b2d8'

I can not cancel it, can not stop it, not via UI not via force option using 
ovirt_disk module.

Help!

oVIrt 4.3.4.3-1 version running with CentOS 7.6 Hosts.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
ActiveVideo

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privac

[ovirt-users] Re: unmanaged disk with path X is ignored (was: Request for clarification of logline)

2019-07-18 Thread Vrgotic, Marko
Dear Yedidiah (fantastic name),

I personally did not make any changes on the DB, would not try that unless 
absolutely required.
There is no custom vdsm hook added, related to any disk operations. The one and 
only we have atm is to trigger DSN record updates when VM is destroyed, nothing 
disk related.

You mentioned: 
"Seems to mean that the engine got from VDSM information about a VM, that 
includes a disk which is not in the engine's DB."
I have another issue reported to oVirt community: "Stuck in 'Finalizing' disk 
image upload". It could be related. The image physically is not there any more, 
but there is still ticket which fails to close. 
Maybe its related. 


On 18/07/2019, 09:19, "Yedidyah Bar David"  wrote:

Hi,

    On Thu, Jul 18, 2019 at 12:45 AM Vrgotic, Marko
 wrote:
>
> Dear oVirt,
>
>
>
> I was not able to find out meaning behind following WARN message:
>
>
>
> WARN  [org.ovirt.engine.core.vdsbroker.libvirt.VmDevicesConverter] 
(EE-ManagedThreadFactory-engineScheduled-Thread-50) [] unmanaged disk with path 
'/var/run/vdsm/payload/0687ad1a-4827-48d9-8629-b29a000df280.760410382a41ff5e6b1ee9365856517e.img'
 is ignored
>
>
>
> Will somebody be so kind to clarify the actual meaning of it or point me 
in right direction of cause?
>
>
>
> I can provide more information if required.
>
>
>
> Kindly awaiting your reply.

Changed the subject and added Arik, the author of the patch that
introduced this warning:

https://gerrit.ovirt.org/70018

Seems to mean that the engine got from VDSM information about a VM,
that includes a disk which is not in the engine's DB. Not sure how
this could have happened - perhaps you manually changed the DB, or
have a vdsm hook that adds it, or there was some problem around the
time it was added or removed, or there is some other bug. You might
check your logs (both engine and vdsm) around the relevant times for
each of above.

Best regards,
-- 
Didi


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


[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Very good question,

Now that I think of it, I might have missed this step.
Most of the time/always after upgrade of oVirt packages is done, I update the 
rest of the system, both engine and hosts and reboot if required.
I do not think I did and system update of the engine this time, so for sure did 
not reboot it.
Will do that and report back.

Thank you Daniel.

Marko Vrgotic

Sent from my iPhone

> On 18 Jul 2019, at 18:33, Daniel Erez  wrote:
> 
> On Thu, Jul 18, 2019 at 7:31 PM Vrgotic, Marko
>  wrote:
>> 
>> Hi Daniel,
>> 
>> Is it possible that upgrade from 4.3.3 to 4.3.4  affected/reset/changed the 
>> certificate for imageio?
> 
> Have you restarted the ovirt-imageio-proxy service after upgrading? It
> should be restarted to reload the certificate.
> 
>> 
>> Reason why I am asking is that, while running 4.3.3 version, I was uploading 
>> Ubuntu 16-18, CentOS 7 cloud images, and CentOS6 no issues.
>> Now issue is with CentOS6.
>> I have tried to upload centos6.5 image via Ansible ovirt_disk and than one 
>> ended stuck in “Finalizing” state.
>> Than I tried with to Upload same image from UI and that ended in “Paused” 
>> state.
>> 
>> I will try Test Connection and let you know.
>> 
>> Sent from my iPhone
>> 
>>> On 18 Jul 2019, at 16:13, Daniel Erez  wrote:
>>> 
>>> Hi Marko,
>>> 
>>> According to the log, it seems there's an issue with a secured
>>> connection to the proxy.
>>> Can you please try the 'Test Connection' button on upload disk dialog,
>>> to ensure the certificate is properly installed?
>>> Also, is the disk currently in 'Paused by System' status?
>>> 
>>> Thanks,
>>> Daniel
>>> 
>>> On Thu, Jul 18, 2019 at 2:35 PM Vrgotic, Marko
>>>  wrote:
>>>> 
>>>> Hi Nir,
>>>> 
>>>> 
>>>> 
>>>> Since this is already compressed file, I have added output of grep for 
>>>> moment this command was issue and following 300lines.
>>>> 
>>>> 
>>>> 
>>>> [root@ovirt-engine ovirt-engine]# zgrep "2019-07-17 13:36:11,121Z" 
>>>> engine.log-20190* -A300
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>>>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>>>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>>>> EDIT_DISK_PROPERTIES with role type USER
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>>>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>>>> 
>>>> gzip: -A300.gz: No such file or directory
>>>> 
>>>> [root@ovirt-engine ovirt-engine]# zgrep -A 300 "2019-07-17 13:36:11,121Z" 
>>>> engine.log-20190*
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>>>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>>>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>>>> EDIT_DISK_PROPERTIES with role type USER
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>>>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>>>> 
>>>> engine.log-20190718.gz:2019-07-17 13:36:11,142Z INFO  
>>>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>>>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Successfully 
>>>> added Upload disk 'av-07-centos-65-base' (disk id: 
>>>> '3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
>>>> 'b44659a9-607a-4eeb-a255-99532fd4fce4') for image transfer command 
>>>> '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>

[ovirt-users] Re: Stuck in "Finalizing" disk upload phase

2019-07-18 Thread Vrgotic, Marko
Hi Daniel,

Is it possible that upgrade from 4.3.3 to 4.3.4  affected/reset/changed the 
certificate for imageio?

Reason why I am asking is that, while running 4.3.3 version, I was uploading 
Ubuntu 16-18, CentOS 7 cloud images, and CentOS6 no issues.
Now issue is with CentOS6. 
I have tried to upload centos6.5 image via Ansible ovirt_disk and than one 
ended stuck in “Finalizing” state.
Than I tried with to Upload same image from UI and that ended in “Paused” state.

I will try Test Connection and let you know.

Sent from my iPhone

> On 18 Jul 2019, at 16:13, Daniel Erez  wrote:
> 
> Hi Marko,
> 
> According to the log, it seems there's an issue with a secured
> connection to the proxy.
> Can you please try the 'Test Connection' button on upload disk dialog,
> to ensure the certificate is properly installed?
> Also, is the disk currently in 'Paused by System' status?
> 
> Thanks,
> Daniel
> 
> On Thu, Jul 18, 2019 at 2:35 PM Vrgotic, Marko
>  wrote:
>> 
>> Hi Nir,
>> 
>> 
>> 
>> Since this is already compressed file, I have added output of grep for 
>> moment this command was issue and following 300lines.
>> 
>> 
>> 
>> [root@ovirt-engine ovirt-engine]# zgrep "2019-07-17 13:36:11,121Z" 
>> engine.log-20190* -A300
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>> EDIT_DISK_PROPERTIES with role type USER
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> gzip: -A300.gz: No such file or directory
>> 
>> [root@ovirt-engine ovirt-engine]# zgrep -A 300 "2019-07-17 13:36:11,121Z" 
>> engine.log-20190*
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Running command: 
>> TransferDiskImageCommand internal: false. Entities affected :  ID: 
>> 3452459d-aec6-430e-9509-1d9ca815b2d8 Type: DiskAction group 
>> EDIT_DISK_PROPERTIES with role type USER
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,121Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Creating 
>> ImageTransfer entity for command '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,142Z INFO  
>> [org.ovirt.engine.core.bll.storage.disk.image.TransferDiskImageCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] Successfully added 
>> Upload disk 'av-07-centos-65-base' (disk id: 
>> '3452459d-aec6-430e-9509-1d9ca815b2d8', image id: 
>> 'b44659a9-607a-4eeb-a255-99532fd4fce4') for image transfer command 
>> '28eda0c2-e36b-4e70-91ea-2ecf4a030d19'
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,188Z INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] (default 
>> task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] START, 
>> PrepareImageVDSCommand(HostName = ovirt-hv-01.avinity.tv, 
>> PrepareImageVDSCommandParameters:{hostId='e7e3f1dc-8037-4e74-a44c-442bdb02197d'}),
>>  log id: 3bd84b38
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,351Z INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] (default 
>> task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] FINISH, 
>> PrepareImageVDSCommand, return: PrepareImageReturn:{status='Status [code=0, 
>> message=Done]'}, log id: 3bd84b38
>> 
>> engine.log-20190718.gz:2019-07-17 13:36:11,356Z INFO  
>> [org.ovirt.engine.core.vdsbroker.irsbroker.SetVolumeLegalityVDSCommand] 
>> (default task-376) [a43180ec-afc7-429e-9f30-9e851eaf7ce7] START, 
>> SetVolumeLegalityVDSCommand( 
>> SetVolumeLegalityVDSCommandParameters:{storagePoolId='10525aa0-839d-11e9-a016-00163e4f2a6d',
>>  ignoreFailoverLimit='false', 
>> storageDomainId='644aacaa-12e1-4fcd-b3aa-941678cf95bd', 
>> imageGroupId='3452459d-ae

[ovirt-users] Clone function seem broken - regarding disk virtual size

2019-07-26 Thread Vrgotic, Marko
Dear oVirt,

All our CentOS templates are “baked” with 40GB disk (sparse) QCOW.

When Creating new VM from template, using Thin storage allocation:

  *   VM is created with 40GB disk (reading from oVirt GUI) and
  *   from OS fdisk and/or parted report 40GB disk size.
  *   The / partition is also matching expected size

When Creating VM from template, using default Clone storage allocation:

  *   VM is created with 40GB disk (reading from oVIrt GUI)
  *   However:
 *   from OS fdsik and/or parted report only actual used space, which in 
our case is 8GB.
 *   The / partition is matching only actual disk size, not virtual one

Why is Clone not taking into account Virtual size of the Template disk?
Is it intended behavior that when image is cloned from template, only actual 
disk size information is copied, not the virtual?

Please assist.

Kindly awaiting your reply.

oVirt 4.3.4 with SHE and NFS based storage and Local.

— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer @ System Administration
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum



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


[ovirt-users] Leeroy Jenkins cloud plugin for oVirt

2019-07-30 Thread Vrgotic, Marko
Hey oVirt,

How are you all doing?

Has anyone used or has experience  with Leeroy Jenkins on oVIrt.

We need to move master ci and its slaves to oVirt, but cannot find suitable 
plugin for it. For builds we run, Jenkins need to spawn slaves, for which 
plugin is required.

Please help if possible.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic


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


[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-07 Thread Vrgotic, Marko
Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org" 
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

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


[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-08 Thread Vrgotic, Marko
Another one that seem to be related:

2019-08-07 14:43:59,069-0700 ERROR (check/loop) [storage.Monitor] Error 
checking path 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production/6effda5e-1a0d-4312-bf93-d97fa9eb5aee/dom_md/metadata
 (monitor:499)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line 497, in 
_pathChecked
delay = result.delay()
  File "/usr/lib/python2.7/site-packages/vdsm/storage/check.py", line 391, in 
delay
raise exception.MiscFileReadException(self.path, self.rc, self.err)
MiscFileReadException: Internal file read failure: 
(u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/6effda5e-1a0d-4312-bf93-d97fa9eb5aee/dom_md/metadata',
 1, 'Read timeout')
2019-08-07 14:43:59,116-0700 WARN  (monitor/6effda5) [storage.Monitor] Host id 
for domain 6effda5e-1a0d-4312-bf93-d97fa9eb5aee was released (id: 1) 
(monitor:445)

From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:50
To: "users@ovirt.org" 
Subject: Re: oVirt 4.3.5 potential issue with NFS storage

Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org" 
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

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


[ovirt-users] oVirt 4.3.5 potential issue with NFS storage

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

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

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


[ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

2019-08-09 Thread Vrgotic, Marko
Hey Shanii,

Thank you for the reply.
Sure, I will attach the full logs asap.
What do you mean by “flow you are doing”?

Kindly awaiting your reply.

Marko Vrgotic

From: Shani Leviim 
Date: Thursday, 8 August 2019 at 00:01
To: "Vrgotic, Marko" 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] Re: oVirt 4.3.5 potential issue with NFS storage

Hi,
Can you please clarify the flow you're doing?
Also, can you please attach full vdsm and engine logs?

Regards,
Shani Leviim


On Thu, Aug 8, 2019 at 6:25 AM Vrgotic, Marko 
mailto:m.vrgo...@activevideo.com>> wrote:
Log line form VDSM:

“[root@ovirt-sj-05 ~]# tail -f /var/log/vdsm/vdsm.log | grep WARN
2019-08-07 09:40:03,556-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:40:47,132-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)
2019-08-07 09:44:53,564-0700 WARN  (check/loop) [storage.check] Checker 
u'/rhev/data-center/mnt/10.210.13.64:_ovirt__production/bda97276-a399-448f-9113-017972f6b55a/dom_md/metadata'
 is blocked for 20.00 seconds (check:282)
2019-08-07 09:46:38,604-0700 WARN  (monitor/bda9727) [storage.Monitor] Host id 
for domain bda97276-a399-448f-9113-017972f6b55a was released (id: 5) 
(monitor:445)”



From: "Vrgotic, Marko" 
mailto:m.vrgo...@activevideo.com>>
Date: Wednesday, 7 August 2019 at 09:09
To: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>
Subject: oVirt 4.3.5 potential issue with NFS storage

Dear oVIrt,

This is my third oVirt platform in the company, but first time I am seeing 
following logs:

“2019-08-07 16:00:16,099Z INFO  
[org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-51) [1b85e637] Lock freed to 
object 
'EngineLock:{exclusiveLocks='[2350ee82-94ed-4f90-9366-451e0104d1d6=PROVIDER]', 
sharedLocks=''}'
2019-08-07 16:00:25,618Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37723) [] domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' in problem 
'PROBLEMATIC'. vds: 'ovirt-sj-05.ictv.com<http://ovirt-sj-05.ictv.com>'
2019-08-07 16:00:40,630Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37735) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-05.ictv.com<http://ovirt-sj-05.ictv.com>'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' recovered from problem. 
vds: 'ovirt-sj-01.ictv.com<http://ovirt-sj-01.ictv.com>'
2019-08-07 16:00:40,652Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] 
(EE-ManagedThreadFactory-engine-Thread-37737) [] Domain 
'bda97276-a399-448f-9113-017972f6b55a:ovirt_production' has recovered from 
problem. No active host in the DC is reporting it as problematic, so clearing 
the domain recovery timer.”

Can you help me understanding why is this being reported?

This setup is:

5HOSTS, 3 in HA
SelfHostedEngine
Version 4.3.5
NFS based Netapp storage, version 4.1
“10.210.13.64:/ovirt_hosted_engine on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__hosted__engine type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)

10.210.13.64:/ovirt_production on 
/rhev/data-center/mnt/10.210.13.64:_ovirt__production type nfs4 
(rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=10.210.11.14,local_lock=none,addr=10.210.13.64)
tmpfs on /run/user/0 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=9878396k,mode=700)”

First mount is SHE dedicated storage.
Second mount “ovirt_produciton” is for other VM Guests.

Kindly awaiting your reply.

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

  1   2   >