[ovirt-users]Váltás a Centos Stream 9-re.

2024-06-10 Thread tasnadi . peter
Hello!
We have a oVirt 4.5.6-1.el8 cluster.
oVirt node Centos Stream 8 based. (5pcs)
oVirt Hosted Engine Centos stream 8 based. 
We installed the hosts from an ISO image and the Hosted Engine we deployed from 
such a host.
Link: 
https://resources.ovirt.org/pub/ovirt-4.5/iso/ovirt-node-ng-installer/4.5.5-2023113015/el8/
How can we switch to Centos Stream 9 OS in the simplest way without downtime?

Thanks in advance for the answer!
Peter
___
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/7B6NIJTPT6I66TFFUAF6RTL2Z2OACMT6/


[ovirt-users] Re: oVirt 4.5.6

2024-04-23 Thread tasnadi . peter
Hi Sandro,

Thanks for the information.
By the way, can the packages be updated within the HostedEngine VM during the 
time between two versions?
(simple dnf update)

Peter
___
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/YYWOXSR4O3QMRG2DFRDPG36VP7Y6FLRB/


[ovirt-users] oVirt 4.5.6

2024-04-23 Thread tasnadi . peter
Hi,

When updating HE I noticed that version 4.5.6 is available, but on this link 
the 4.5.6 ISO NG image is not available.
https://resources.ovirt.org/pub/ovirt-4.5/iso/ovirt-node-ng-installer/
Even when updating the oVirt node, version 4.5.6 is not available.
The oVirt node was installed using the ng installer.
These versions have always been released once.
What is the reason for this?
Can I upgrade HE to 4.5.6 regardless?
Could the version difference be a problem?

Thanks for the help!
___
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/QQQ2GP47E4LMJ2CGCE4GH3XOHHG3AMWX/


[ovirt-users] Re: Very long reboot times of "RH" hosts with oVirt installed

2023-02-27 Thread Peter H
Peter H 

2:04 PM (0 minutes ago)


Sorry, my mail got sent before it was ready, so I try again ;-)

I was just wondering if anyone else is experiencing the following issue.

On both real physical machines and on VM where I have installed a RH
derivative like CentOS, CentOS Stream, Rocky Linux or Alma Linux the
reboot times are initially normal.

After installation of oVirt and all the dependencies the reboot
(shutdown) increases to anywhere between 3 and 5 minutes.

If I disable and stop the service wdmd.service reboot time is normal
but after reboot the service is enabled again.

I have then masked the watchdog service and then reboot times are
normal every time.

But I noticed that masking the watchdog service on a "Silver crown"
caused the "Hosted Engine HA" functionality to fail and the host lost
its engine capabilities.

Is it safe to mask wdmd.service on normal hosts?

Can the reboot times be decreased on hosted engine hosts without breaking HA?

BR
Peter
___
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/GEPNNXVB63IS7VWHSUEECVFNULDN2O67/


[ovirt-users] Very long reboot times of "RH" hosts with oVirt installed

2023-02-27 Thread Peter H
I was just wondering if anyone else is experiencing the following issue.

On both real physical machines and on VM when I have installed a RH
derivative like CentOS, CentOS Stream, Rocky Linux or Alma Linux the
reboot times are initially normal.

After installation of oVirt and all the dependencies the reboot
(shutdown) increases to anywhere between 3 and 5 minutes. During
shutdown a blinking cursor is visible in the upper left corner. If
sitting at the console

E.g. for
___
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/RVYB62W2WVLRH7267GHT2AO2M76BPIXW/


[ovirt-users] Re: Host Reboot Timeout of 10 Minutes

2023-02-27 Thread Peter H
On Wed, Jan 25, 2023 at 8:22 AM Yedidyah Bar David  wrote:
>
> On Wed, Jan 25, 2023 at 2:08 AM Peter H  wrote:
> > Does a config file exist where this timeout can be set to a lower value?
>
> I intended to provide a short reply just pointing out what value to
> change, then realized this might not be helpful, so decided to give up
> and not reply. Then I decided to take this opportunity and write the
> following.
>
> For background, please see:
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/HEKKBM6MZEKBEAXTJT45N5BZT72VI67T/

Thanks for taking the time to answer me at such length. I was unaware
of the tool engine-config(1) even after maintaining an oVirt cluster
for 3 years... The tool was just what I was looking for.

> You do not need to be a developer, to search and read source code. One
> of the biggest advantages of FOSS is that you can do this, even
> without knowing how to write/update it.

I installed my first Linux OS (Slackware) back in '93 so I have
downloaded and compiled my fair share of Free/OpenSource projects. In
the last century I also got a couple of kernel patches accepted. I
actually checked the code a couple of years ago while investigating
the logic behind the dropdown menu regarding VM types. I found out the
UI code was written in some Java framework that was quite hard to
understand for me.

> My main work in oVirt was in packaging/setup/backup/restore, not in
> the engine itself or vdsm - the two main parts of the project. But I
> know enough to guess that the error message you got is from the
> engine. I already have the engine source code git cloned on my laptop,
> so grepped it for 'for server to finish reboot', and found this in
> backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsCommand.java:

I acknowledge that I could have found the error message in the code
but I'm unsure if I then had made the connection that would have me
discover the engine-setup(1) tool.

> private void sleepOnReboot(final VDSStatus status) {
> int sleepTimeInSec = Config.
> getValue(ConfigValues.ServerRebootTimeout);
> log.info("Waiting {} seconds, for server to finish reboot process.",
> sleepTimeInSec);
>
> Even without knowing Java, ServerRebootTimeout seems relevant.
> grepping for this, finds it also in:
>
> packaging/dbscripts/upgrade/pre_upgrade/_config.sql:582:select
> fn_db_add_config_value('ServerRebootTimeout','600','general');
> packaging/dbscripts/upgrade/pre_upgrade/_config.sql:1460:--
> Increase default ServerRebootTimeout from 5 to 10 minutes
> packaging/dbscripts/upgrade/pre_upgrade/_config.sql:1461:select
> fn_db_update_default_config_value('ServerRebootTimeout', '300', '600',
> 'general', false);
>
> where it's set and then updated, and in:
>
> packaging/etc/engine-config/engine-config.properties:119:ServerRebootTimeout.description="Host
> Reboot Timeout (in seconds)"
> packaging/etc/engine-config/engine-config.properties:120:ServerRebootTimeout.type=Integer
>
> where it's exposed to engine-config. So if all you want is to get this
> error message earlier, this should be enough.

I can confirm that the ServerRebootTimeout is set to 300 in our
current 4.4.1 installation.
I have also tested that I can change it in my 4.5.4 test system using:

engine-config -s ServerRebootTimeout=300
systemctl restart ovirt-engine

> However, I also checked the git log (or blame, if you want, but I
> prefer the log) for the former file, trying to understand when and why
> it was changed from 5 to 10 minutes. 'git log -u
> packaging/dbscripts/upgrade/pre_upgrade/_config.sql' and then
> searching for 'ServerRebootTimeout' finds
> https://github.com/oVirt/ovirt-engine/commit/d324bbdd . This links at
> https://bugzilla.redhat.com/1947403 . That one sadly does not provide
> many more details. It does show that it was done in 4.4.6. So I can
> only guess that one of two things happened:
>
> 1. Someone complained that hosts become non-operational e.g. because
> their boot sequence/POST/whatever takes more than 5 minutes. Perhaps
> this was rare enough to be reported and handled only recently (two
> years ago, and not, say, 10). (Although I personally managed machines
> that needed more than 5 minutes to reboot, or even just test the RAM -
> but that's indeed rare).

We have some HP servers in our 4.4.1 installation that take around 6-7
minutes to reboot from selecting Restart through the SSH Management
(dropdown menu). Even Though this is longer than 5 minutes (300 secs)
the installation never fails. The state is Reboot for 5 minutes then
it goes into NonResponsive for some minutes until the state is set to
Up.

> 2. Something else changed, and made this less comfortable. E.g.
> perhaps the engine didn't move t

[ovirt-users] Re: Create VM with Python SDK

2023-02-25 Thread Peter H
We have found ourselves in the same situation. We build a VM with packer
(qemu-kvm) and upload it to oVirt using virt-v2v.
Then we need to attach the disk using an ansible task in our playbook
before converting it to a template.
I have noticed however that the Ubuntu cloud image
https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img
can be uploaded by virt-v2v and the disk is attaced automatically. So there
must be some information inside the img file that makes it work. If I have
time someday I will try to look at that.

BR
Peter

Den fre. 24. feb. 2023 kl. 20.41 skrev Alan G :

> Hi,
>
> Trying to create a VM while attaching an existing disk. I can create the
> VM then attach the disk with an additional call, but I thought it should be
> possible to do it in one hit?
>
> My code is
>
> vm = vms_service.add(
> types.Vm(
> name='alma8.7',
> description='AlmaLinux 8.7 CIS Packer image',
> cluster=types.Cluster(
> name='Default',
> ),
> type=types.VmType('server'),
> template=types.Template(
> name='Blank',
> ),
> disk_attachments=[types.DiskAttachment(
> disk=types.Disk(id = "0532e728-a1fb-4ff8-a4f3-0702fc876fce"),
> bootable=True,
> active=True,
> interface=types.DiskInterface.VIRTIO,
> )]
> ),
> )
>
>
> This request returns no error but the disk isn't actually attached to the
> created VM.
>
> ___
> 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/ULFW36VXPHV4VOTPS7GPODPLK4F75M7I/
>
___
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/I4UWZQGYTDRSE26VMXJ2EUO3EX2ZLMNW/


[ovirt-users] Host Reboot Timeout of 10 Minutes

2023-01-24 Thread Peter H
I'm working in a group that maintains a large oVirt setup based on 4.4.1
which works very well. We are afraid of upgrading and prefer setting up a
new installation and gradually enlist the hosts one by one into the new
installation.

We have tried 4.4.10 and 4.5.1 - 4.5.4  based on CentOS Stream 8, Rocky 8,
Alma Linux 9.1 with various problems. Worst was the problem that the rpm db
ended up in a catch-22 state.

Using Alma Linux 9.1 and current oVirt 4.5.4 seems promising as no rpm
problems are present after installation. We have only one nuisance left
which we have seen in all installation attempts we have made since 4.4.10.
When rebooting a host it takes 10 minutes before it's activated again. In
4.4.1 the hosts are activated a few seconds after they have booted up.

I have found the following in the engine log:
2023-01-24 23:01:57,564+01 INFO
 [org.ovirt.engine.core.bll.SshHostRebootCommand]
(EE-ManagedThreadFactory-engine-Thread-1513) [2bb08d20] Waiting 600
seconds, for server to finish reboot process.

Our ansible playbooks for deployment times out and we could increase the
timeout but how come that this 10 minutes delay has been introduced?

Does a config file exist where this timeout can be set to a lower value?

BR
Peter H.
___
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/DTBL6ZBTA4ZNIRNHDA7KSWDLEC25EQHG/


[ovirt-users] Re: oVirt Biz Continuity Plan recovery Q/A

2022-12-15 Thread Peter B via Users
Hello Didi and all,

Thank you for that documentation... I actually looked at something similar ( 
https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain.html
 ) before writing.   Regarding the Section 3.1 "Disaster Recovery Guide -- 
Active-Passive" method...  I need to understand what this means, "Storage 
domains that contain virtual machine disks and templates in the primary site 
must be replicated".  What does the document mean by "replicated"?  To use the 
document terminology, we have a Site A (SAN LUN A) and Site B (SAN LUN B) which 
is asynchronously (3 hour) replication of the VMs, and if Site A goes away, we 
can present LUN B to Site B oVirt cluster KVM host.   After presentation, I 
assumed I would have to create a new Storage Domain and affix the LUN B to it.  
However the documentation says "site must be replicated", so what exactly does 
that mean, compared to what we are doing/thinking?   Another thing I noticed in 
looking into this is an Imported Domain (from an Exp
 ort Domain) presents a "VM Import" TAB in the Storage Domain details, while a 
regular Storage Domain setup does not appear to offer that -- unless this is a 
conditional thing?   (And of course when Site A goes down I cannot perform a 
detach of an exported storage domain.)   If I create the Site B oVirt cluster 
new Storage Domain for the LUN B, will that present a "VM Import" function tab? 
 (In order to grab the VM info from the LUN B and import it into the cluster.)  
I'm also looking to avoid needing to delve into the Ansible scripts, if the 
needed functionality for recovery can be done in oVirt/KVM.  

Many thanks again.  
___
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/M6TBOOYY4757WXAWEIBWPIEKTIKWFRYK/


[ovirt-users] oVirt Biz Continuity Plan recovery Q/A

2022-12-15 Thread Peter B via Users
Hello all, I am looking into implemented a BCP plan with oVirt, which intends 
to recover VMs from a secondary SAN LUN (containing VM snapshots from a 
production oVirt cluster site which is considered to have crashed/burned) and 
presented to the recovery site oVirt cluster.Since the production cluster 
is expected to have crashed/burned unexpectedly, leaving the VMs snapshots on 
the recovery SAN LUN (which is at a different site) intact.  However since 
there can be no Export Domain / Import Domain scenario, I need to know what 
exact steps I need to perform to re-incorporate/re-hydrate the VMs from the 
recovery LUN presented to the recover oVirt cluster / KVM hosts.I think 
that normally an Import Domain offers a "VM Import" tab/option, while regular 
or non-import Storage Domains don't have the "VM Import" option.   I've been 
trying to track down what exactly is needed in the way of specific steps within 
the oVirt manager and KVM hosts, besides presenting the recovery SAN LUN to 
 it.  

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


[ovirt-users] Re: OVS Task Error when Add EL Host

2022-10-13 Thread erdosi . peter
Actually, there are some strange stuff going on a newly deployed HE:

[root@poc ~]# yum update
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:34:52 ago on Fri Oct 14 01:09:57 2022.
Error:
 Problem 1: package ovirt-openvswitch-2.15-4.el8.noarch requires 
openvswitch2.15, but none of the providers can be installed
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-119.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-106.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-110.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-115.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-117.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-22.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-23.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-24.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-27.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-30.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-32.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-35.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-37.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-39.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-41.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-47.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-48.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-51.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-52.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-53.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-54.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-56.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-6.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-72.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-75.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-80.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-81.el8s.x86_64
  - package rdo-openvswitch-2:2.17-3.el8.noarch obsoletes openvswitch2.15 < 
2.17 provided by openvswitch2.15-2.15.0-88.el8s.x86_64
  - cannot install the best update candidate for package 
ovirt-openvswitch-2.15-4.el8.noarch
  - cannot install the best update candidate for package 
openvswitch2.15-2.15.0-119.el8s.x86_64
 Problem 2: package ovirt-openvswitch-ovn-common-2.15-4.el8.noarch requires 
ovn-2021, but none of the providers can be installed
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 provided by 
ovn-2021-21.12.0-82.el8s.x86_64
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 provided by 
ovn-2021-21.03.0-21.el8s.x86_64
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 provided by 
ovn-2021-21.03.0-40.el8s.x86_64
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 provided by 
ovn-2021-21.06.0-17.el8s.x86_64
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 provided by 
ovn-2021-21.06.0-29.el8s.x86_64
  - package rdo-ovn-2:22.06-3.el8.noarch obsoletes ovn-2021 < 22.06 

[ovirt-users] Re: OVS Task Error when Add EL Host

2022-10-13 Thread erdosi . peter
I have a same issue with an installation today (oVirt 4.5.2, based on Centos 
Stream 8)
___
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/NRDJIOQPHRHFDXWJX6NA62SLXEPDTVYI/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-18 Thread Peter H
Hi Jonas,

I get the same error when I try to install. Last weekend I managed to do it
(but with a lot of other problems) so something has changed during the week.

After the VM is up I logged in through ssh and saw that the oVirt appliance
comes with Python-3.6 and Python-3.8 which both have netaddr installed.

Part of the log:
...
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update all packages]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum
configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if
variable is set]
...
I noticed that after the task "Update all packages" Python-3.9 gets
installed and that version does not have netaddr installed. My theory is
that the playbook somehow uses the newest version of Python which is
installed.

pip3.9 list
Package  Version
 ---
ansible-core 2.13.3
cffi 1.14.3
cryptography 3.3.1
idna 2.10
pip  20.2.4
ply  3.11
pycparser2.20
PyYAML   5.4.1
setuptools   50.3.2
six  1.15.0

I have tried another run where I installed the netaddr module as soon as
Python-3.9 got installed and that installation went further but then it had
another error.

When I log into my hosted engine VM from last week there is no Python-3.9.

My dnf(1) skills are not good enough to figure out which dependency is
causing Python-3.9 to be installed.

There are probably a lot of other modules missing that can explain the
other error(s) I see.

I will see if I can find out how to file a proper bug report.

BR
Peter
___
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/TDB7QQF3BQ3KGPG34RX2AAKEVHLCJW5G/


[ovirt-users] vm backup, vprotect, user permissions

2022-07-10 Thread Peter Hudec via Users
Hi,

I would like to ask about thepermission for ht e vPortect to backup the VMs.

We have got 4 hypervisors in 1 DC for production and use admin account for 
backup.

Recently we added 3 more hypervisors for TEST/DEV. These new hypervisors are in 
separate DC.

As the vProtect got licence only  for 4 hosts, we would like to create new user 
for taking backup only for the production DC.
We added vprotect user.
Add the DatacenterAdmin toe that users only for production DC, but this do not 
works, the problems are
 - the vprotect user see all hosts ;(
 - the backup are not able to finish, seems that some permission is still 
missing

Does anyone let me help with such a setup?

regards
Peter
___
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/3OVKRLHLXIMUOSYAOC7DY22SAYCDIQYF/


[ovirt-users] oVirt SSH rate limit and disable SSH passwd auth

2022-06-10 Thread tasnadi . peter
Hello,

1.
Is it possible to disable ssh root password authentication in a working oVirt 
cluster without any problems? (host and ovirt-engine)

/etc/ssh/sshd_config
PasswordAuthentication no

The SSH public authentication key is set on the host.

2.

I tried setting ssh rate limit using firewall-cmd but it doesn't work for some 
reason. I can log in more than once.

firewall-cmd --permanent --add-rich-rule='rule family="ipv4" priority="-1" 
service name=ssh limit value=3/m accept'
There is best practice for this?

Thanks
Peter
___
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/A45N3C7GLFKOFS7ZHR72ILIMK66ZGHP5/


[ovirt-users] Re: Issue on Ovirt Node 4.4.10 installation by using DUD for MPTSAS driver update

2022-04-27 Thread peter . yu
Thank you for the information. 
Could I ask you again if you know any sites I can find a correct DUD for MPT 
SAS? 
This is the link I used below :
https://elrepo.org/linux/dud/el8/x86_64/

I have tried these files but none of them worked : 

dd-mptsas-3.04.20-1.el8_0.elrepo.iso
dd-mptsas-3.04.20-1.el8_1.elrepo.iso
dd-mptsas-3.04.20-1.el8_2.elrepo.iso
dd-mptsas-3.04.20-1.el8_3.elrepo.iso
dd-mptsas-3.04.20-1.el8_4.elrepo.iso
dd-mptsas-3.04.20-1.el8_5.elrepo.iso

Thank you again!
___
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/PIGDXCGD222VGKWBIEWJKKLLCGWISI7Q/


[ovirt-users] Issue on Ovirt Node 4.4.10 installation by using DUD for MPTSAS driver update

2022-04-25 Thread peter . yu
Hello, 

I'm trying to install Ovirt Node 4.4.10 to my server and it gets an error when 
I'm trying to install iso for my MPT SAS driver by using DUD. 
In the boot menu, I pressed tab to enter Kernel and added "inst,dd".
After that I got a screen shows a list of disk devices and selected USB that 
has iso file for MPT SAS :
"Device : sda1 / Type : Vfat / Label : OEMDRV / UUDI : 6837-8481"

Then, I selected drivers to install : 
"/media/DD-2/rpms/x86_64/kmod-mptsas-3.04.20-6.e18_5.elrepo.x86_64.rpm"

And I pressed "C" to continue and gets an error message below :

"modprobe : ERROR : could not insert 'mptsas' : invalid argument"

Could you please help me what's the next step I can try to fix the issue? 

Thank you
___
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/ARCK2NHPQ4AQK7I5EUISUCSQCTHXIV7Q/


[ovirt-users] Locked Snapshot

2019-09-11 Thread Peter Smith
Hi,

I have been trying to get a backup solution working for my VM's, and have 
somehow managed to break the snapshot on one of my VM's. I'm still fairly new 
to oVirt, we're migrating from VMware. I have had this cluster running since 
May.

The cluster:
We are running oVirt on CentOS 7, with Hosted Engine.
oVirt 4.3.5.4-1.el7 (according to the Help->About in the Admin Console)
Hardware is 5 x Dell M620 Blades (300Gb internal storage for host OS) with 
ISCSI storage for the VM's (Dell M3660i), 10GB Network throughout.

The VM in question is allocated 50Gb  of storage and there is 461GB free in the 
storage domain.

So I've been playing with bareos 18.2.5 with the ovirt plugin found here 
https://github.com/eurotux/bareos-contrib/tree/master/fd-plugins/ovirt-plugin

I got bareos hooked up to ovirt. It created a snapshot, downloaded it, then at 
the end it failed to remove the snapshot. I though it may have been because I 
was looking round bareos while it was doing the backup. Went into oVirt deleted 
the snapshot no issues. Re ran the backup job in bareos, leaving bareos alone 
this time. The backup job failed again being unable to remove the snapshot. So 
I figured I'd go in and delete it, but I get an error saying "Cannot remove 
Snapshot: The following disks are locked: VM-NAME_vmdisk1. Please try again in 
a few minutes.". In the Admin console if I expand the disks on the snapshot it 
shows that the image is locked. And before you ask the bareos user is setup as 
a SuperUser. If I go to the Events from the menu on the left of the admin 
console I can see that (Sorry Names/IP's changed to protect the guilty):

Sep 10, 2019, 10:42:39 AM Image Download with disk VM-NAME_vmdisk1 succeeded.
Sep 10, 2019, 10:42:38 AM VDSM hyper2 command TeardownImageVDS failed: Cannot 
deactivate Logical Volume: ('General Storage Exception: ("5 [] [\'  Logical 
volume 
46a9dfd4-4871-46b2-a740-8fe430c70b4b/bbe315b9-e797-4cf8-b18b-6afeb33589cc in 
use.\', \'  Logical volume 
46a9dfd4-4871-46b2-a740-8fe430c70b4b/d3dfa2c2-45fa-4081-98c5-890dd7a5990a in 
use.\']\\n46a9dfd4-4871-46b2-a740-8fe430c70b4b/[\'bbe315b9-e797-4cf8-b18b-6afeb33589cc\',
 \'d3dfa2c2-45fa-4081-98c5-890dd7a5990a\']",)',)
Sep 10, 2019, 10:22:09 AM Image Download with disk VM-NAME_vmdisk1 was 
initiated by bareos@internal-authz.
Sep 10, 2019, 10:21:55 AM Snapshot 
'VM-NAME-backup-1f952494-8245-479e-8d1d-9503d6fe8f9f' creation for VM 'VM-NAME' 
has been completed.
Sep 10, 2019, 10:21:36 AM Snapshot 
'VM-NAME-backup-1f952494-8245-479e-8d1d-9503d6fe8f9f' creation for VM 'VM-NAME' 
was initiated by bareos@internal-authz.
Sep 10, 2019, 10:21:36 AM Backup of virtual machine 'VM-NAME using snapshot 
'VM-NAME-backup-1f952494-8245-479e-8d1d-9503d6fe8f9f' is starting.
Sep 10, 2019, 10:21:36 AM User bareos@internal-authz connecting from 
'10.***' using session '' logged in.


To me it looks like bareos tried to delete the snapshot whilst it was still 
downloading it, which failed as expected.

Does anyone know how to fix/recover from this?

If you need log files, please could you tell me which ones?

Regards,

Peter Smith
___
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/L5ZW7CHMFQGKKJRP3Q3UQIOZOTZKIXPI/


[ovirt-users] Re: oVirt Open Source Backup solution?

2019-05-13 Thread Wood Peter
I've been using oVirtBackup in the past few years and also I've done more
restores from this backup than I'd have liked. All restores were
successful. I'm pretty happy with this script:

https://github.com/wefixit-AT/oVirtBackup

Well documented, easy to install and configure.

In summary the script uses the API to take a snapshot, convert it to a VM,
export the VM, remove the snapshot. It also removes old backups, checks for
free storage space, and so on.

It's basically set and forget.

I just wrote my own little bash wrapper that will grab the output of the
script and email it to me.

Hope this helps,

-- Peter



On Mon, May 13, 2019 at 8:12 AM Jayme  wrote:

> I know that a robust API is provided for performing VM backup functions,
> but it seems crazy to me that oVirt has not implemented a simple method to
> backup VM to a storage domain such as an NFS export domain.  Is this
> functionality being left out for a reason (perhaps not wanting to step on
> toes of 3rd party software vendors providing backup solutions for
> oVirt/RHEV)?
>
> On Mon, May 13, 2019 at 11:21 AM Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Mon, May 13, 2019 at 3:47 PM Derek Atkins  wrote:
>>
>>> Strahil  writes:
>>>
>>> > Another option is to create a snapshot, backup the snapahot and merge
>>> > the disks (delete the snapshot actually).
>>> > Sadly that option doesn't work with Databases, as you might inyerrupt
>>> > a transaction and leave the DB in inconsistent state.
>>>
>>> Yet another reason to do it from inside the VM.
>>>
>>
>> Actually doable, depending on DB architecture and if some
>> "logging/archiviing" supported/enabled on database.
>> See here related threads where I was involved:
>>
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/LJFQOLIWU224R2KE35VGHYXZFL6GZK4R/
>> and here:
>>
>> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/J65N7E2PY3KWUCZE2OGFVCKKWXKFDSRI/
>>
>> When you install qemu-guest-agent (in my case
>> version 0.12.1.2-2.506.el6_10.1) you also get an example for MySQL in
>> /usr/share/qemu-kvm/qemu-ga/fsfreeze-hook.d/mysql-flush.sh.sample
>> and eventually updated code (actually I see it is dated 2013...) here:
>>
>> https://github.com/guillon/qemu-plugins/blob/master/scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample
>>
>> In case of PostgreSQL you would need to have WAL enabled and do an
>> Exclusive Low Level Backup, because the pre-snapshot and post-snapshot
>> could not be inside the same RDBMS session connection:
>>
>> https://www.postgresql.org/docs/10/continuous-archiving.html#BACKUP-BASE-BACKUP
>>
>> so the freeze option of your freeze-hook script would contain a call to a
>> connection that runs
>> SELECT pg_start_backup('label', true);
>> to minimize time to do checkpoint
>>
>> and the thaw option would contain
>> SELECT pg_stop_backup();
>>
>> This needs also that archives during the elapsed of backup (and the last
>> generaed when stopping backup) are copied in some way externally in respect
>> of the VM OS for complete recoverability, if you don't already have it for
>> your standard archiving policy.
>>
>> And thoroughly test the whole workflow, both backups and restores,
>> especially when upgrading your software layers, oVirt, VM OS, PostgreSQL
>>
>> HIH,
>> Gianluca
>> ___
>> 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/2RAVXSCEPPCWLSQI4DAU6D6A2G2QBZBB/
>>
> ___
> 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/7DVSYQLZ6DGVPGOCE4LHTSAAH333MGFY/
>
___
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/DPL2EMTA457APOJEYIU4EY3RQKTQBGU4/


[ovirt-users] oVirt 4.3.3 - servers cannot be reached

2019-05-02 Thread Wood Peter
Hi,

I setup AD authentication and from command line all looks good.

Unfortunately, on the Web UI users sometimes login successfully but most of
the times the login screen just hangs and after 2-3 min. it displays
"Unable to log in because servers cannot be reached. Try again later."

In engine.log I see this:
2019-05-02 11:12:11,581-07 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-72) [] EVENT_ID: USER_VDC_LOGIN_FAILED(114), User
pe...@ad.mycompany.com connecting from '10.12.29.48' failed to log in :
'Unable to log in because servers cannot be reached. Try again later.'.
2019-05-02 11:12:11,583-07 ERROR
[org.ovirt.engine.core.sso.servlets.InteractiveAuthServlet] (default
task-68) [] Cannot authenticate user 'pe...@ad.mycompany.com' connecting
from '10.12.29.48': Unable to log in because servers cannot be reached. Try
again later.

Even when my login attempt on the Web UI is hanging I can still
successfully run the login test from shell:
ovirt-engine-extensions-tool aaa login-user --profile=ad.mycompany.com
--user-name=peter

The above command never fails. That makes me wonder why am I getting the
"servers cannot be reached" error?

I assume the AD servers cannot be reached but from the command line it
works perfect every time.

Any idea what could be the problem or where to look for the error.

Thank you,
-- Peter
___
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/VQ3SCKXUYXKLR6DTKIRP3GGCEYODBYIG/


[ovirt-users] Re: oVirt 4.3.2.1-1.el7 Errors at VM boot

2019-04-15 Thread Wood Peter
Thank you.

I'm using version 4.30.11

On Mon, Apr 15, 2019 at 12:12 AM Simone Tiraboschi 
wrote:

>
>
> On Fri, Apr 12, 2019 at 7:57 PM Wood Peter  wrote:
>
>> Hi all,
>>
>> A few weeks ago I did a clean install of the latest oVirt-4.3.2 and
>> imported some VMs from oVirt-3. Three nodes running oVirt Node and oVirt
>> Engine installed on a separate system.
>>
>> I noticed that some times some VMs will boot successfully but the Web UI
>> will still show "Powering UP" for days after the VM has been up. I can
>> power down the VM and power back up and it may update the Web UI status to
>> UP.
>>
>> While debugging the above issue I noticed that some VMs will trigger
>> errors during boot. I can power on a VM on one node, see the errors below
>> started happening every 4-5 seconds, then power down the VM, errors stop,
>> then power up the VM on a different node without a problem. Another VM
>> though may trigger the errors on the same node.
>>
>> Everything is very inconsistent. I can't find a pattern. I tried
>> different VMs, different nodes, and I'm getting mixed results. Hopefully
>> the errors will give some clue.
>>
>> Here is what I'm seeing scrolling every 4-5 seconds:
>>
>> -
>> On oVirt Node:
>>
>> ==> vdsm.log <==
>> 2019-04-12 10:50:31,543-0700 ERROR (jsonrpc/3) [jsonrpc.JsonRpcServer]
>> Internal server error (__init__:350)
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
>> 345, in _handle_request
>> res = method(**params)
>>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 194,
>> in _dynamicMethod
>> result = fn(*methodArgs)
>>   File "", line 2, in getAllVmStats
>>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
>> method
>> ret = func(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1388, in
>> getAllVmStats
>> statsList = self._cif.getAllVmStats()
>>   File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 567, in
>> getAllVmStats
>> return [v.getStats() for v in self.vmContainer.values()]
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 1766, in
>> getStats
>> oga_stats = self._getGuestStats()
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 1967, in
>> _getGuestStats
>> stats = self.guestAgent.getGuestInfo()
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
>> 505, in getGuestInfo
>> del qga['appsList']
>> KeyError: 'appsList'
>>
>> ==> mom.log <==
>> 2019-04-12 10:50:31,547 - mom.VdsmRpcBase - ERROR - Command
>> Host.getAllVmStats with args {} failed:
>> (code=-32603, message=Internal JSON-RPC error: {'reason': "'appsList'"})
>>
>
> This was tracked here:
> https://bugzilla.redhat.com/show_bug.cgi?id=1690301
> and it should be fixed with vdsm-4.30.12; can you please report which
> VDSM version are you using on your host?
>
>
>>
>> --
>> On oVirt Engine
>>
>> 2019-04-12 10:50:35,692-07 WARN
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Unexpected return
>> value: Status [code=-32603, message=Internal JSON-RPC error: {'reason':
>> "'appsList'"}]
>> 2019-04-12 10:50:35,693-07 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Failed in
>> 'GetAllVmStatsVDS' method
>> 2019-04-12 10:50:35,693-07 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Command
>> 'GetAllVmStatsVDSCommand(HostName = sdod-ovnode-03,
>> VdsIdVDSCommandParametersBase:{hostId='12e38ad3-6327-4c94-8be4-88912d283729'})'
>> execution failed: VDSGenericException: VDSErrorException: Failed to
>> GetAllVmStatsVDS, error = Internal JSON-RPC error: {'reason':
>> "'appsList'"}, code = -32603
>>
>> Thank you,
>> -- Peter
>> ___
>> 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/EE22ADRNIFF6UPK2GUXH7G27N4AICASB/
>>
>
___
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/3GANWN5IOBZYS5HOMDVW3XYRNSSBHRGP/


[ovirt-users] oVirt 4.3.2.1-1.el7 Errors at VM boot

2019-04-12 Thread Wood Peter
Hi all,

A few weeks ago I did a clean install of the latest oVirt-4.3.2 and
imported some VMs from oVirt-3. Three nodes running oVirt Node and oVirt
Engine installed on a separate system.

I noticed that some times some VMs will boot successfully but the Web UI
will still show "Powering UP" for days after the VM has been up. I can
power down the VM and power back up and it may update the Web UI status to
UP.

While debugging the above issue I noticed that some VMs will trigger errors
during boot. I can power on a VM on one node, see the errors below started
happening every 4-5 seconds, then power down the VM, errors stop, then
power up the VM on a different node without a problem. Another VM though
may trigger the errors on the same node.

Everything is very inconsistent. I can't find a pattern. I tried different
VMs, different nodes, and I'm getting mixed results. Hopefully the errors
will give some clue.

Here is what I'm seeing scrolling every 4-5 seconds:

-
On oVirt Node:

==> vdsm.log <==
2019-04-12 10:50:31,543-0700 ERROR (jsonrpc/3) [jsonrpc.JsonRpcServer]
Internal server error (__init__:350)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345,
in _handle_request
res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 194, in
_dynamicMethod
result = fn(*methodArgs)
  File "", line 2, in getAllVmStats
  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
method
ret = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1388, in
getAllVmStats
statsList = self._cif.getAllVmStats()
  File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 567, in
getAllVmStats
return [v.getStats() for v in self.vmContainer.values()]
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 1766, in
getStats
oga_stats = self._getGuestStats()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 1967, in
_getGuestStats
stats = self.guestAgent.getGuestInfo()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
505, in getGuestInfo
del qga['appsList']
KeyError: 'appsList'

==> mom.log <==
2019-04-12 10:50:31,547 - mom.VdsmRpcBase - ERROR - Command
Host.getAllVmStats with args {} failed:
(code=-32603, message=Internal JSON-RPC error: {'reason': "'appsList'"})

--
On oVirt Engine

2019-04-12 10:50:35,692-07 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Unexpected return
value: Status [code=-32603, message=Internal JSON-RPC error: {'reason':
"'appsList'"}]
2019-04-12 10:50:35,693-07 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Failed in
'GetAllVmStatsVDS' method
2019-04-12 10:50:35,693-07 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-53) [] Command
'GetAllVmStatsVDSCommand(HostName = sdod-ovnode-03,
VdsIdVDSCommandParametersBase:{hostId='12e38ad3-6327-4c94-8be4-88912d283729'})'
execution failed: VDSGenericException: VDSErrorException: Failed to
GetAllVmStatsVDS, error = Internal JSON-RPC error: {'reason':
"'appsList'"}, code = -32603

Thank you,
-- Peter
___
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/EE22ADRNIFF6UPK2GUXH7G27N4AICASB/


[ovirt-users] Re: User permissions needed to clone template disk

2019-03-27 Thread Wood Peter
Thank you Lucie. Appreciate the help.

On Wed, Mar 27, 2019 at 12:58 AM Lucie Leistnerova 
wrote:

> Hello,
> On 3/26/19 9:11 PM, Wood Peter wrote:
>
> Hi Lucie,
>
> I'm not able to create a VM independent from the template in VM Portal.
>
> I created a template from a VM that is Optimized for Server and has 1GB
> HDD Preallocated. The template also shows "Optimized for: Servers".
>
> When users login to "VM Portal" and create VMs from that template all VMs
> are Dependent on the template.
>
> This is very easy and fast to test. Can you please try and see if you get
> different results.
>
> I've tested it in oVirt 4.3 and it worked. Now I checked it also in 4.2.8
> and unfortunately the update was not backported. Sorry for not checking it
> before, I was convinced that it was pushed already in 4.2.
>
> Update oVirt to 4.3 or you can update only ovirt-web-ui package to 1.5
> version.
> Use some version from
> https://copr-be.cloud.fedoraproject.org/results/ovirtwebui/ovirt-web-ui-master/
> Main functionality should work also with 4.2.8 engine.
>
> Thank you for your time.
>
> -- Peter
>
> On Tue, Mar 26, 2019 at 1:00 AM Lucie Leistnerova 
> wrote:
>
>> Hi Peter,
>> On 3/25/19 11:30 PM, Wood Peter wrote:
>>
>> Hi,
>>
>> Users have PowerUserRole permissions on the cluster and the storage
>> objects. Also TemplateCreator role on the Datacenter.
>>
>> When users create VMs from templates there is no option to clone the disk
>> and create independent VM disk. The resource allocation section is not
>> visible at all.
>>
>> I assume you try to create the VM with cloned disk in VM portal. And yes,
>> there is no resource section at all.
>>
>> What permissions should I give users so they can clone the disk when
>> creating a VM from a template?
>>
>> It is not defined with permissions. When you set the template Optimized
>> for: server, then creating new VM in VM portal should clone the template
>> disks.
>>
>> Using oVirt 4.2.8.2-1.el7
>>
>> Thank you,
>> -- Peter
>>
>> ___
>> 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/CTPCB6SFIUEVUZSNYGIQCOTJBEVIRRTZ/
>>
>> Best regards,
>>
>> --
>> Lucie Leistnerova
>> Quality Engineer, QE Cloud, RHVM
>> Red Hat EMEA
>>
>> IRC: lleistne @ #rhev-qe
>>
>> --
> Lucie Leistnerova
> Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
>
>
___
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/PL5D3V6BVBU2NRQURBH5PKDETGNHJDPC/


[ovirt-users] oVirt Roles and Permissions

2019-03-26 Thread Wood Peter
Hi,

I'm trying to setup oVirt 4.2.8.2-1.el7 based on a few simple requirements:

Users should be able to:
1) reate new VMs
2) create VMs from templates
   2a) Ability to clone the template disk to create a VM independent of the
template
3) create templates
4) view only the VMs they have permissions to work with i.e. UserVmManager
role assign to them

This was all possible through the "User Portal" in version 3 (3.6 is what I
had).

The new "VM Portal" doesn't allow users to create templates.

In order to satisfy (3) users must login to the Admin Portal. This is OK
but I created a new Admin role with just login permissions and users can
see all VMs in the cluster. I assume a filter can be created but in general
I don't want them to have that much visibility.

I can probably get away without (3) but I still can figure out how to do
(2a) using "VM Portal". All VMs created from a template are dependent on
that template. Even if the template is optimized for Server.

How do I accomplish this?

Thank you in advance for any suggestions.

-- Peter
___
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/RDVKARPLR4SRQU3FYL46FSB2LUKR7NEZ/


[ovirt-users] Re: User permissions needed to clone template disk

2019-03-26 Thread Wood Peter
Hi Lucie,

I'm not able to create a VM independent from the template in VM Portal.

I created a template from a VM that is Optimized for Server and has 1GB HDD
Preallocated. The template also shows "Optimized for: Servers".

When users login to "VM Portal" and create VMs from that template all VMs
are Dependent on the template.

This is very easy and fast to test. Can you please try and see if you get
different results.

Thank you for your time.

-- Peter

On Tue, Mar 26, 2019 at 1:00 AM Lucie Leistnerova 
wrote:

> Hi Peter,
> On 3/25/19 11:30 PM, Wood Peter wrote:
>
> Hi,
>
> Users have PowerUserRole permissions on the cluster and the storage
> objects. Also TemplateCreator role on the Datacenter.
>
> When users create VMs from templates there is no option to clone the disk
> and create independent VM disk. The resource allocation section is not
> visible at all.
>
> I assume you try to create the VM with cloned disk in VM portal. And yes,
> there is no resource section at all.
>
> What permissions should I give users so they can clone the disk when
> creating a VM from a template?
>
> It is not defined with permissions. When you set the template Optimized
> for: server, then creating new VM in VM portal should clone the template
> disks.
>
> Using oVirt 4.2.8.2-1.el7
>
> Thank you,
> -- Peter
>
> ___
> 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/CTPCB6SFIUEVUZSNYGIQCOTJBEVIRRTZ/
>
> Best regards,
>
> --
> Lucie Leistnerova
> Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
>
>
___
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/UO35CGKB3AL3NOOXPTYFSIAJUCJ4TNLP/


[ovirt-users] How to create a template from VM Portal

2019-03-25 Thread Wood Peter
Hi,

How do I create a template from a VM in "VM Portal"?

I'm using version 4.2.8.2 and I don't see the option to convert a VM to a
template anywhere. The documentation refers to the Administration Portal
interface.

Is it possible to create a template from the "VM Portal" or one must login
to "Administration Portal"?

Any help would be appreciated.

Thank you,
-- Peter
___
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/JBXDHZN2YCDQON3DARZCAMBYMSZE4RHL/


[ovirt-users] User permissions needed to clone template disk

2019-03-25 Thread Wood Peter
Hi,

Users have PowerUserRole permissions on the cluster and the storage
objects. Also TemplateCreator role on the Datacenter.

When users create VMs from templates there is no option to clone the disk
and create independent VM disk. The resource allocation section is not
visible at all.

What permissions should I give users so they can clone the disk when
creating a VM from a template?

Using oVirt 4.2.8.2-1.el7

Thank you,
-- Peter
___
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/CTPCB6SFIUEVUZSNYGIQCOTJBEVIRRTZ/


[ovirt-users] Migrating VMs from ovirt-4.1.1 to ovirt-4.2.8

2019-03-14 Thread Wood Peter
Hi,

I need to migrate a few dozen VMs from ovirt-4.1.1 to ovirt-4.2.8.

I did a few following this procedure:
VMs export -> Detach Export domain -> Attach Export to new ovirt -> Import
VMs

Importing from VMware is one step only process. All I have to do is select
VMware for Source in the Import page and then import the VMs I need.

I feel like I'm missing something.

Is there a way to import VMs from another ovirt deployment similar to
import from VMware i.e. without going through Export storage domain?

Thank you,
-- Peter
___
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/VEQHNAVZNQAPLSR5WP5W7M6EE5KENXML/


[ovirt-users] Re: oVirt 4.3.1 with AD creates new user at every login

2019-03-11 Thread Wood Peter
Thank you for the replies.

What would be the proper way to apply the fix?

I see the change in the source but I can't find the corresponding file on
the system.

Thanks,
-- Peter

On Mon, Mar 11, 2019 at 4:21 AM Ravi Shankar Nori  wrote:

>
>
> On Mon, Mar 11, 2019 at 4:49 AM Martin Perina  wrote:
>
>>
>>
>> On Sat, Mar 9, 2019 at 10:43 AM  wrote:
>>
>>> > I just did a clean install of oVirt 4.3.1 (engine and nodes).
>>> >
>>> > I setup AD authentication and gave an AD group permissions needed work
>>> with
>>> > VMs. I gave them PowerUserRole on the Cluster and Storage.
>>> >
>>> > Users in the AD group can login and create VMs but after they log out
>>> and
>>> > log back in they don't see any of the VMs created in the previous
>>> session.
>>> >
>>> > I noticed that in Administration -> Users a new row is created for each
>>> > user every time they login. All columns for each user are the same:
>>> same
>>> > first and last name, same user name, authorization provider, and so on
>>> but
>>> > the behavior looks very much like they are being treated as new user
>>> every
>>> > time they login.
>>>
>>
>> Ravi, is above the same issue as tracked in
>> https://bugzilla.redhat.com/show_bug.cgi?id=1672860 ?
>>
>>>
>>>
> Yes it is the same issue and should be fixed by [1]
>
> [1] https://gerrit.ovirt.org/#/c/98169/
>
>
>
>>
>>> I have observed the same behaviour with oVirt 4.3.XY
>>>
>>> Delving deeper, in the oVirt engine 'users' table,  external_id is *not*
>>> being set for AD users as documented in (e.g.)
>>> engines/packaging/dbscripts/common_sp.sql
>>>
>>> "The external identifier is the user identifier converted to an array of
>>> bytes:"
>>>
>>> ovirt 4.3.0
>>> user@domain | f3de0b27-c2a0-463b-a2ff-d480bd88c77f |
>>> ece7b8c2-4983-4c1e-9a33-c28d58d40213
>>>
>>>
>>> And under ovirt 4.2.8 for comparison:
>>>
>>> username   |   user_id|
>>>  external_id
>>> user@domain | 364d176e-8813-4e67-bdd0-dc10b823d23c |
>>> af5bbg/eTkuktBPXW4Ak5g==
>>>
>>>
>>> Further information on replicating the issue:
>>>
>>> 1) Configure LDAP authentication:
>>>
>>>
>>> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html#configuring-an-external-ldap-provider
>>>
>>>
>>> 2) Add an LDAP group via the Administration Portal:
>>>
>>> Administration >> Users > 'Add' button, click 'Group'
>>> radio-button, select the relevant LDAP authorization
>>> select the relevant LDAP authorization provider in the
>>> drop-down list under 'Search', enter the LDAP group
>>> in the search text-box then click 'GO'.
>>>
>>> The found group should appear below.  Select the
>>> toggle-button to the left of the group then click
>>> 'Add and Close'.
>>>
>>>
>>> 3) Add SuperUser system permission for the LDAP group.
>>>
>>> Back under Administration >> Users, click the 'Group'
>>> button if groups are not already displayed.  Click on
>>> the LDAP group added in the previous step then click
>>> 'Permissions' -> 'Add System Permissions'
>>>
>>>
>>> 4) Log into the Administration Portal as an LDAP group member.
>>> Logout then log back into the Administration Portal as a
>>> member of the LDAP group specified above.  Login should be
>>> successful because that user will inherit the SuperUser
>>> system permission but note the following issues below:
>>>
>>> - under Administration >> Users, note that a 'User' icon
>>> is displayed for the LDAP user rather than an 'Admin' icon.
>>> This is in contrast to 4.2.8, where an Admin icon would
>>> be displayed.
>>>
>>>
>>> 5) Repeat step 4 above.
>>> If you logout then log back into the Administration Portal as
>>> the same member of the LDAP group specified above then
>>> check Administration >> Users, an additional user entry appears:
>>> same First Name, Last Name, Authorization provider, Namespace
>>> and E-mail.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovi

[ovirt-users] oVirt 4.3.1 with AD creates new user at every login

2019-03-08 Thread Wood Peter
I just did a clean install of oVirt 4.3.1 (engine and nodes).

I setup AD authentication and gave an AD group permissions needed work with
VMs. I gave them PowerUserRole on the Cluster and Storage.

Users in the AD group can login and create VMs but after they log out and
log back in they don't see any of the VMs created in the previous session.

I noticed that in Administration -> Users a new row is created for each
user every time they login. All columns for each user are the same: same
first and last name, same user name, authorization provider, and so on but
the behavior looks very much like they are being treated as new user every
time they login.

Any idea what may be causing this?

Thanks,
-- Peter
___
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/I4BJNDQZ4RUPXFAJQDFU66HWMOHMNBAT/


[ovirt-users] Unrecognized message received error when ISO domain is put in Maintenance

2019-02-25 Thread Wood Peter
Hi all,

We are running oVirt 4.1.1 on engine and nodes. The ISO storage domain is
NFS. Everything has been working great for years.

Now I need to move the ISO and Export domains to a different storage server.
When I put the ISO domain in maintenance the Master domain and the Export
domain start flipping active-non active. The Events tab in the Web UI shows
this message scrolling every 30 sec. or so:

"Datacenter is being initialized. Please wait for initialization to
complete"

... but it never completes.

It also starts cycling the SPM assignment from one node to another.

As soon as I activate back the ISO domain everything calms down and no more
errors are recorded in the logs.

In engine.log I see this "Unrecognized message received" error:

2019-02-25 19:45:20,467-08 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.Reactor] (SSL Stomp Reactor) []
Unable to process messages Unrecognized message received
2019-02-25 19:45:20,481-08 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler6) [76363b98] EVENT_ID:
IRS_BROKER_COMMAND_FAILURE(10,803), Correlation ID: null, Call Stack: null,
Custom E
vent ID: -1, Message: VDSM command GetStoragePoolInfoVDS failed:
Unrecognized message received
2019-02-25 19:45:20,481-08 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler6) [76363b98] ERROR,
org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand,
exception: VDSGenericExce
ption: VDSNetworkException: Unrecognized message received , log id: 1635c439
2019-02-25 19:45:20,481-08 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler6) [76363b98] Exception:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
VDSGenericException: VDSNetwor
kException: Unrecognized message received

In vdsm.log on the nodes I see this:
2019-02-25 19:45:29,817-0800 ERROR (upgrade/b5b7a10) [storage.StoragePool]
Unhandled exception (utils:371)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 368, in
wrapper
return f(*a, **kw)
  File "/usr/lib/python2.7/site-packages/vdsm/concurrent.py", line 180, in
run
return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line
79, in wrapper
return method(self, *args, **kwargs)
  File "/usr/share/vdsm/storage/sp.py", line 232, in _upgradePoolDomain
self._finalizePoolUpgradeIfNeeded()
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line
77, in wrapper
raise SecureError("Secured object is not in safe state")
SecureError: Secured object is not in safe state

And I believe that after that error it moves the SPM to another host, gets
the same error and continues moving it to the next host and so on.

I really need to move the ISO and Export domains to a different storage
server.

Any idea what is causing this or how to fix it?

Appreciate any help.

Thanks,
-- Peter
___
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/HEPO34M5ZMMCHVODJKB7VXNFKAZGF7JC/


[ovirt-users] Re: cluster 4 pc's for more scanning power?

2018-12-03 Thread Peter Collins
Thanks very much for these suggestions and assistance.

Peter

On Mon., Dec. 3, 2018, 3:26 a.m. Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk wrote:

> Hello Peter,
>if you install it on one VM it will only run on one
> of the hosts however if you had a distributed scanner it could run on
> multiple hosts. I think there was some work with a distibuted scanner in
> docker (don't know if there is openshift or kubernetes) but it may be
> better to run it in a docker or kubernetes cluster rather than oVirt.
>
> Regards,
>  Paul S.
> ____
> From: Peter C. 
> Sent: 01 December 2018 00:15
> To: users@ovirt.org
> Subject: [ovirt-users] cluster 4 pc's for more scanning power?
>
> Hello and sorry for the ignorance behind this question. I've been reading
> about various scale out, "hyper convergence" solutions and want to ask this
> about oVirt.
>
> I do vulnerability scanning on my company's assets. I do it from an
> obsolete laptop that was given to me. The load goes over 13 sometimes, and
> the scans take a long time.
>
> If I built an oVirt cluster from 4 or 5 desktop pc's, build  VM to run
> OpenVAS, would the cpu load demanded by the scanning be spread accross the
> 3-4 hosts, not inlcuding the management host, and therby give my scans more
> CPU power?
>
> If not oVirt, is there another project that would be better suited to what
> I'm trying to achieve?
>
> Qualifiers:
> -I'm not asking if this is the best way to get high-load scanning done.
> I'm just asking if I'll get the combined power from the cpu cores of all
> the host machines. The scanning jobs thread already.
> -I know it would probably be more efficient to get a powerful multi core
> workstation or server to do this. That is not my question.
> -The pc's are perfectly good, they are just not being used and won't be
> used for anything else.
>
> Thanks in advance.
> ___
> 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/S5WBOBNB6IRXWKIDITYIGGR6NUYMYSFM/
> To view the terms under which this email is distributed, please go to:-
> http://leedsbeckett.ac.uk/disclaimer/email/
>
___
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/PXWLAZUOT37KDDJL7PIAJ4AOESGHETYX/


[ovirt-users] cluster 4 pc's for more scanning power?

2018-11-30 Thread Peter C.
Hello and sorry for the ignorance behind this question. I've been reading about 
various scale out, "hyper convergence" solutions and want to ask this about 
oVirt.

I do vulnerability scanning on my company's assets. I do it from an obsolete 
laptop that was given to me. The load goes over 13 sometimes, and the scans 
take a long time.

If I built an oVirt cluster from 4 or 5 desktop pc's, build  VM to run OpenVAS, 
would the cpu load demanded by the scanning be spread accross the 3-4 hosts, 
not inlcuding the management host, and therby give my scans more CPU power?

If not oVirt, is there another project that would be better suited to what I'm 
trying to achieve?

Qualifiers:
-I'm not asking if this is the best way to get high-load scanning done. I'm 
just asking if I'll get the combined power from the cpu cores of all the host 
machines. The scanning jobs thread already.
-I know it would probably be more efficient to get a powerful multi core 
workstation or server to do this. That is not my question.
-The pc's are perfectly good, they are just not being used and won't be used 
for anything else.

Thanks in advance.
___
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/S5WBOBNB6IRXWKIDITYIGGR6NUYMYSFM/


[ovirt-users] Re: libgfapi support are "false" by default in ovirt 4.2 ?

2018-11-11 Thread Peter Krempa
On Fri, Nov 09, 2018 at 13:24:57 +0200, Nir Soffer wrote:
> On Fri, 9 Nov 2018, 9:17 Peter Krempa  
> > On Fri, Nov 09, 2018 at 08:57:26 +0200, Nir Soffer wrote:
> > > On Fri, 9 Nov 2018, 7:22 Mike Lykov  > >
> > > > 08.11.2018 18:50, Sahina Bose пишет:
> > > > > On Thu, Nov 8, 2018 at 8:13 PM Simone Tiraboschi <
> > stira...@redhat.com>
> > > > wrote:
> > > > >>
> > > > >> Hi,
> > > > >> adding also Sahina here.
> > > > >> AFAIK it should be enabled by default in hyper-converged
> > deployments.
> > > > >>
> > > > >> Can you please grep your deployment logs for ENABLE_LIBGFAPI?
> > > > >
> > > > > No, libgfapi access is disabled by default due to lack of HA
> > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1484227)
> > > >
> > > > At this moment, for version mentioned below, this bug is actual?
> > > >
> > >
> > > Yes, libvirt does not support multiple hosts for gluster disk yet.
> >
> > Libvirt does support multiple hosts for gluster when they are defined as
> > disk XML e.g. when starting a VM.
> >
> 
> Great! is this available in 7.6?

Yes, it was possible at least in 7.5 already. Maybe even 7.4

> > We do not support that only in the case of snapshots as the legacy
> > snapshot API in qemu accepts only paths and URIs and the multi-host
> > definition cannot be expressed as an URI. It will become possible once
> > we properly integrate with -blockdev.
> >
> 
> When blockdev support is expected?

Hopefully during this month. (upstream submission)


signature.asc
Description: PGP signature
___
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/KQJTVBOIDLKNIBDMNGHSMEVDJQONMCRG/


[ovirt-users] Re: libgfapi support are "false" by default in ovirt 4.2 ?

2018-11-11 Thread Peter Krempa
On Fri, Nov 09, 2018 at 08:57:26 +0200, Nir Soffer wrote:
> On Fri, 9 Nov 2018, 7:22 Mike Lykov  
> > 08.11.2018 18:50, Sahina Bose пишет:
> > > On Thu, Nov 8, 2018 at 8:13 PM Simone Tiraboschi 
> > wrote:
> > >>
> > >> Hi,
> > >> adding also Sahina here.
> > >> AFAIK it should be enabled by default in hyper-converged deployments.
> > >>
> > >> Can you please grep your deployment logs for ENABLE_LIBGFAPI?
> > >
> > > No, libgfapi access is disabled by default due to lack of HA
> > > (https://bugzilla.redhat.com/show_bug.cgi?id=1484227)
> >
> > At this moment, for version mentioned below, this bug is actual?
> >
> 
> Yes, libvirt does not support multiple hosts for gluster disk yet.

Libvirt does support multiple hosts for gluster when they are defined as
disk XML e.g. when starting a VM.

We do not support that only in the case of snapshots as the legacy
snapshot API in qemu accepts only paths and URIs and the multi-host
definition cannot be expressed as an URI. It will become possible once
we properly integrate with -blockdev.


signature.asc
Description: PGP signature
___
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/SIVJYKVYGRQIK4KOAVSLYTMW2QPI4LAR/


[ovirt-users] Re: Anyone have any luck with Bacchus?

2018-08-23 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I disabled selinux completly, since all python packages are installed
system wide.

https://github.com/openbacchus/bacchus/pull/36

Your solution is metioned in the MR comment.

Peter

On 23/08/2018 06:54, Maton, Brett wrote:
> That should have been covered by the installer really, good to know
> that you found the issue though.
> 
> On 23 August 2018 at 04:13, Wesley Stewart  <mailto:wstewa...@gmail.com>> wrote:
> 
> I'm an idiot, it was selinux
> 
> setsebool -P httpd_can_network_connect true
> 
> On Wed, Aug 22, 2018, 10:19 PM Wesley Stewart  <mailto:wstewa...@gmail.com>> wrote:
> 
> I am trying to get Bacchus installed: 
> https://github.com/openbacchus/bacchus 
> <https://github.com/openbacchus/bacchus>
> 
> It seems he has upgraded to installing via an ansible playbook. I
> can get this to run all the way through, hopefully NGINX either
> ends up responding with a "Gateway error" or it will give me the
> default nginx landing page.
> 
> I have tried with a RHEL7 and CentOS7 VM, as well as in a 
> CentOS\systemd docker container, all of which having about the same
> amount of luck.  I was just curious if anyone else has gotten this
> to work recently.
> 
> 
> ___ 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/ 
> <https://www.ovirt.org/site/privacy-policy/> oVirt Code of
> Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/> List
> Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/STC6P3SX
M6SQ4EYTWJJSEHY5WRPUWMOQ/
>
> 
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/STC6P3SXM
6SQ4EYTWJJSEHY5WRPUWMOQ/>
> 
> 
> 
> 
> ___ 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/UZ6WU7Y5
EWZHLMMIZAOT2VQ77V6TEULJ/
>
> 
- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt+YecACgkQQnvVWOJ3
5BCH6w/+LYilZtkv8FSbtMupZTKT8krExZlsT03NYywzGywXGxts5wjiVL+6etUg
qs3ioN8HJ73pDLr/volTg8G4awlQKrwy1Ag8oSumiT06mutcXKtDq6TTcnUFfWc9
w63nyTCjm+C1u32FEtSVavR9OJBY/pG/9iOtKll0IhnfyQJ3MIsVNdRVyAtvwIee
DzJcDmlQPgJ5CZCxDXKJGGbJ78DUokzLBgcmORjQiJu2qwPb/1QG1nwx0kOxW5Bn
vjIRMssnNDXGI4Ok23QxrM/DgttrBbvrws1qPfORA1LddtlIGQg/Zpts3R6fHJ4O
qMnf4LJdGFA+JTG9V+rEkw3cqvzvQIYVnYtHNDLQfPSwSGl4JX+K0Kd8N60/Og4M
6tPpXsfj0stmgdgteGTC5DYSBV6e8eRiaI4qR6Kx3aKM6Ht0d1ZsEbUvEdysPzMl
p0bV4XHzJSakN5s2PGh9xPC20zgV4XzZ+ATgf/QljyBB8FJUuZpBMBTIRVXhF5ab
cUCl/YO/+Tn8YFi2DZFrMzEY/0nK6Z7/FE/tjwhv4KN3IEqSGnEV7pnzleMuVcHc
gpOYbeUQh14JLaP2DuNuN03LDeclpr/GYEnpzi0zxMaZFF//0fRik8wmXPzQpcd9
rqUykv1IpyKcq3sqCL3tjmapKAMvT1Xtn0SFjT2DdZpk9v44Tgw=
=detf
-END PGP SIGNATURE-
___
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/2VFIZNY6WTTJKRDMWACEDJDN2RFB34XK/


[ovirt-users] Re: Anyone have any luck with Bacchus?

2018-08-23 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm using it, but it's far from the production;( but for manual
cloning the VM it's good.

Righ now there at least 2 bug openend

https://github.com/openbacchus/bacchus/issues/35
Certificate on the  https://openbacchus.com is expired, but you could
simoy comment that part in installation playbook.

https://github.com/openbacchus/bacchus/issues/30
The backup on 4.2.5 do not work. We have also patch,I need to submit MR.


Peter

On 23/08/2018 05:13, Wesley Stewart wrote:
> I'm an idiot, it was selinux
> 
> setsebool -P httpd_can_network_connect true
> 
> On Wed, Aug 22, 2018, 10:19 PM Wesley Stewart  <mailto:wstewa...@gmail.com>> wrote:
> 
> I am trying to get Bacchus installed: 
> https://github.com/openbacchus/bacchus
> 
> It seems he has upgraded to installing via an ansible playbook.  I 
> can get this to run all the way through, hopefully NGINX either
> ends up responding with a "Gateway error" or it will give me the
> default nginx landing page.
> 
> I have tried with a RHEL7 and CentOS7 VM, as well as in a 
> CentOS\systemd docker container, all of which having about the
> same amount of luck.  I was just curious if anyone else has gotten
> this to work recently.
> 
> 
> 
> ___ 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/STC6P3SX
M6SQ4EYTWJJSEHY5WRPUWMOQ/
>
> 
- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt+U+0ACgkQQnvVWOJ3
5BAV4A//ZMsLTbxIVMrXLjNkcDdJdA2q1efOL08Eo1VlJTHCh5/QZTziVvMxUNuh
ciT9+HDG/dPMh6ize2VXdjvIREKHxg9NDi5yXl2SwCzFUrbaPTJg/set9mGnzV3N
XWcFj+OceySX9iZpMOj4TBsI/WWQmzmu2wCRRAo+HW57+oC5EhrVkjZPr4BK4+Nh
qKX0upI8wZtHu/o6uDuhqdhGxTAFzUPWGZTxolSgUML4jg1q+23YqkXg+zspquHx
3wnlzzEJ+PSdy+A5STE0MPxQ5oD9XWDwG/QWhY3oUJ3nu8FzcxW20w2aC6I8SO6D
tpLbJxeOPFds5es0easHZGsbjdZMx28wgGwuYaMb7mXFatQ/vaumqS50ZvKijIld
e0SkUZlCSr2c1Lz5dtjviKPj9Z70yKgfKAz+dBS6y/2jHhmhTKXA36JUv9HnM1Cm
RNuc1eE5CHXzb4RdyVci6Le8pX8gHMzPndws33kgXwUVdxgsjPwukdhwrGRtkxC1
D4z2F85whrjbZNkICxNwyyDgTcaXLxb5nJrnU0djh2azlGei2AV/NOfSNAT8kqc6
Wwb4AYt3j/Cp5X97AU0Aas7KXvdRb9Uk1Fm72vYnnVQ2+v5aneUxPHeXpAZFWMAt
rzLNd2gmjqOOJKS99ADiHyuC7dNXabGbZ+yFGXsAi/CUWqxhYUY=
=Qf/k
-END PGP SIGNATURE-
___
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/VTOIJ3FMLFOFV724ORSAXTEKLRBKMA5C/


[ovirt-users] Re: ovirt api vm snapshot cloning error

2018-08-22 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Avihai,

I added code to check the disk status, but the disks seems to be in OK
state.

# checking disk states
snap_disks_service = snap_service.disks_service()
snap_disks = snap_disks_service.list()
for snap_disk in snap_disks:
print("Disk %s %s" % (snap_disk.name, snap_disk.status))


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

regards
    Peter

On 22/08/2018 14:11, Peter Hudec wrote:
> Hi Avihai,
> 
> I will report it. Meanwhile I found another bug in UI ;(
> 
> Right now I'm trying to add disk status code, just to confirm what
> you said.
> 
> Peter
> 
> On 22/08/2018 13:48, Avihai Efrat wrote:
>> Hi Peter,
> 
>> Would you mind reporting a bug on this issue you saw? To me, it 
>> looks like sync/timing issue between snapshot state('OK)  and
>> disk state('Locked').
> 
>> Can you also please check if the disk that is reported as locked
>> is indeed locked at the time the error is reported? Please add
>> this info to the bug and all relevant scripts.
> 
>> As a workaround, please consider adding an additional wait for
>> all the VM disks to also reach 'OK' state.
> 
>> Thanks, Avihai
> 
> 
>> On Wed, Aug 22, 2018 at 10:01 AM, Raz Tamir > <mailto:rata...@redhat.com>> wrote:
> 
>> I have a feeling this is related to the issue we reviewed
>> yesterday and, that we have a bug here
> 
>> Could you please take care of this?
> 
>> -- Forwarded message - From: *Peter Hudec* 
>> mailto:phu...@cnc.sk>> Date: Wed, Aug 22, 2018, 
>> 01:33 Subject: [ovirt-users] ovirt api vm snapshot cloning error
>>  To: users mailto:users@ovirt.org>>
> 
> 
>> Hi,
> 
>> I'm trying to solve an issue described in 
>> https://github.com/openbacchus/bacchus/issues/30 
>> <https://github.com/openbacchus/bacchus/issues/30>.
> 
>> Short description is - create snapshot - wait until the snapshot 
>> is OK - clone snapshot - got error: Fault reason is "Operation 
>> Failed". Fault detail is "[Cannot add VM: The following disks are
>>  locked: ditlcm01_Disk1. Please try again in a few minutes.]".
>> HTTP response code is 409
> 
>> To simulate the error I have combined the exampe scripts - 
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/cl
o
>
>> 
ne
> 
> 
> 
> _vm_from_snapshot.py
>> <https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/c
l
>
>> 
one_vm_from_snapshot.py>
> 
> 
> 
> -
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/ad
d
>
>> 
_v
> 
> 
> 
> m_snapshot.py
>> <https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/a
d
>
>> 
d_vm_snapshot.py>
> 
> 
> 
> The full code is here:
>> https://tools.apps.hudecof.net/paste/view/0319f4f 
>> <https://tools.apps.hudecof.net/paste/view/0319f4f> 1
> 
>> This code was working on 4.2.3 version. I skipped the 4.2.4, but
>> n 4.2.5 is broken.
> 
>> Any clue what's wrong?
> 
>> regards Peter
> 
>> ___ 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/ 
>> <https://www.ovirt.org/site/privacy-policy/> oVirt Code of
>> Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/ 
>> <https://www.ovirt.org/community/about/community-guidelines/>
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT5
2
>
>> 
3Z7JXIUVO6BJSQOD4NYUBBQZ/
> 
> 
> 
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT5
23
>
> 
Z7JXIUVO6BJSQOD4NYUBBQZ/>
> 
> 
> 
> 
>> --
> 
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt9WNgACgkQQnvVWOJ3
5BDmThAAk8eoSY0gWF+WBivMvINyznkWuvnN4ysLzUU1DSfM58rz1Ob9aM5tQrpX
/Wp4xW6yzz+VryENUOdAzQEPehmUFzQfMG7/UPNh6qS08JRxJsPTkefPgX/5Rt3P
rstgMQNORvuUIS4HovbKwDHCvvI1yQBmG07vpGWO15CDAGG7Ovj6v1JhsrYoKB9i
ESrxkki2qOtqISJy3/EGt5I49Ej/rcm0OV25Bf13BAbcVA9kdnB5Py7KXu+35ZL8
wvHc7s1bhwLxSovza9GULtk61TPMYl4UWrj6wsb9UqfL0qpS2VCt4+1WgqJISLnh
r4OpjMEM37eUTBcC/CkgmRi+Z6PDi88QJtcQWO4DOJAryPeq1UHz

[ovirt-users] Re: ovirt api vm snapshot cloning error

2018-08-22 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Avihai,

I will report it. Meanwhile I found another bug in UI ;(

Right now I'm trying to add disk status code, just to confirm what you
said.

Peter

On 22/08/2018 13:48, Avihai Efrat wrote:
> Hi Peter,
> 
> Would you mind reporting a bug on this issue you saw? To me, it 
> looks like sync/timing issue between snapshot state('OK)  and disk 
> state('Locked').
> 
> Can you also please check if the disk that is reported as locked is
> indeed locked at the time the error is reported? Please add this 
> info to the bug and all relevant scripts.
> 
> As a workaround, please consider adding an additional wait for all 
> the VM disks to also reach 'OK' state.
> 
> Thanks, Avihai
> 
> 
> On Wed, Aug 22, 2018 at 10:01 AM, Raz Tamir  <mailto:rata...@redhat.com>> wrote:
> 
> I have a feeling this is related to the issue we reviewed yesterday
> and, that we have a bug here
> 
> Could you please take care of this?
> 
> -- Forwarded message - From: *Peter Hudec* 
> mailto:phu...@cnc.sk>> Date: Wed, Aug 22, 2018, 
> 01:33 Subject: [ovirt-users] ovirt api vm snapshot cloning error 
> To: users mailto:users@ovirt.org>>
> 
> 
> Hi,
> 
> I'm trying to solve an issue described in 
> https://github.com/openbacchus/bacchus/issues/30 
> <https://github.com/openbacchus/bacchus/issues/30>.
> 
> Short description is - create snapshot - wait until the snapshot
> is OK - clone snapshot - got error: Fault reason is "Operation 
> Failed". Fault detail is "[Cannot add VM: The following disks are 
> locked: ditlcm01_Disk1. Please try again in a few minutes.]". HTTP 
> response code is 409
> 
> To simulate the error I have combined the exampe scripts - 
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/clo
ne
>
>
> 
_vm_from_snapshot.py
> <https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/cl
one_vm_from_snapshot.py>
>
>
> 
- -
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add
_v
>
>
> 
m_snapshot.py
> <https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/ad
d_vm_snapshot.py>
>
>
> 
The full code is here:
> https://tools.apps.hudecof.net/paste/view/0319f4f 
> <https://tools.apps.hudecof.net/paste/view/0319f4f> 1
> 
> This code was working on 4.2.3 version. I skipped the 4.2.4, but n
>  4.2.5 is broken.
> 
> Any clue what's wrong?
> 
> regards Peter
> 
> ___ 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/ 
> <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct:
>  https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/> List 
> Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT52
3Z7JXIUVO6BJSQOD4NYUBBQZ/
>
>
> 
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT523
Z7JXIUVO6BJSQOD4NYUBBQZ/>
> 
> 
> 
> 
> --

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt9Uu0ACgkQQnvVWOJ3
5BBVWQ/9H8IwbMStNyWgdaRBJAQc1R5A+GYurxN1f3GSlYiArTNKJaLFSPxaXyLi
TF32VD83EsQGAGKprS3tPGrfPZ5O5XSn8G603T1emp5P1tdwJ+jCMXib/kfm41En
jBkOG920Nk68ZodmrZTC4JPE+bRUwnlbuAihL3XPHmjytF58EqLlL3LE2Zshm4Rd
6rFQE25hB0FtZkDVHjx3UT81DyeGTPbUhXpPPLwM9FULGbesPFUNmrQk0MlgGJ5E
zo8ghjI56sRdyv2DqGUxS1+Uoerh5lcKyraAljtVmVQugNMamXs6h48imfLFDsdZ
OMJ1XryhutM0WtQNj3lbdvQSwoQQQ4FWU8oQAsA7XCJZZJMgAthWtMU0rYznkqkq
QlJi/NB+aqhAkR/GAWShIp29PVhPnAjq3/UOXdxfLTjbljPpm7qgvadZfLF7zsyg
aYGOtq0jc6IZua9Jeu4gb0JRJ9Lu8y8Ll3DWQk1tzf5yNQ9oN64spP0INYeibhGK
lYrk2cSEnTnFwt5HCCtzmpgCYZyc5oOpDgaJE1CEIWy398qYW1eFQFhTghvsC8sB
NoAq6n7TORinB2YQBNoH/DTXTYFRzabGG6T7qlmbXpoKGO8kL5LTuUNXEaAvW5CB
eXFAR69tnpWrzUo89vnjtbL6VjyKSaQ8ntUU80pt+O/Okn/OtYI=
=acp4
-END PGP SIGNATURE-
___
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/PIV62V6MYIW4X7EID7SXMVN6ECJHX46H/


[ovirt-users] Re: Hosted Engine on single server

2018-08-22 Thread Peter Hudec

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 22/08/2018 10:06, Simone Tiraboschi wrote:
> > > On Wed, Aug 22, 2018 at 12:45 AM Peter Hudec mailto:phu...@cnc.sk>> wrote: > > Hi guys, > > I need to deal with
following scenario. > > I have 2 servers with local storage, no shared
storage. > > > > With three hosts you could have hyper converged
GlusterFS, one of three hosts could be just an arbiter. I have only 2 of
them ;( Each server has HW RAID storage, so adding the GLUSTER is a
little bit overhead.
Maybe I could setup the HW RAID 0 and add gluster, but still have only 2
servers;(
> > The question is how to install the oVirt with Hosted Engine. > > 1) >
is there a way how to install the HE on local storage. > There will be
no redundancy, but it's DEV system. > > > > You can use a replica 1
gluster in loop-back or iSCSI in loop-back. Gluster Replica 3 is needed
for HE, am I right? The iSCSI or local NFS should work.
> > > 2) > Am I able to use host with local storage and remote at once? >
If the server uses local store the oVirt will create a separate DC for >
the hosts. Am I able to attach also remote storage there? > > > > You
have still to choose shared or local at datacenter level. ok, thanks
> > > 3) > could be HE still installed on bare metal? I guess yes. > > >
> yes, it can. > I guess this is the way out from this situation. In
future there will be added more servers for production.


    thanks
    Peter
> > > regards > Peter > > ___
> 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/YVXV2IMUEEA3QQCZ6ZAWKFWVYMQUORYB/
>
- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt9HF0ACgkQQnvVWOJ3
5BDhYA//SCJWEyJkNxSVuyFYTvkyU61RW3maFefcMs/vh8W4avD4xaifys3cYk+v
HPVaFf/FFe8w5aLb2+dHBmOAXAN8bBkiBxCwFdpMv8LA9Twa18rZFeHgZlzvs5U2
c7DFa0j1BpX4gUTjjs3VfNi1AEpZyEAdjoszZIJ7DMVTz0Qjs/YbOF9YLRN/UYAf
Ow4nvAQ3lunhMk1wlY3j9Drs9hFYk2AO+Xd1gNT+4JQ0S1U2nvyK7qbu0+Ot/zcU
8w3Fbo9w57Bfhjlba4u0GeHgh7xwg/y6FL7aJuHO38l09wNdE6aILUG9iGHan3+/
jo/aRjdpeqvUkacmgE6j+srRe13IvDukEmBBkrALBmDdfwF59Eu8tGNg71rDnJG4
IztBVWYsfUi5knD/qoj8u4MNfCRfGDPLvqR6xlakbel9jw4x3Jz1lkXqKC/YJdEY
6f/QL4mkYB/NCO4tqid8psjyya6c2M1Wyb7oXsHo5pzjHdp7prNxjXryC4+hK79i
ihj/NmCyxgPPYeYyGPb5gh2kPghjxKD3C55YKksMtW7+8HH4UAhpmlZgBbjL4ow8
+w18bbidRzBeC89lYtRtQJuBkUQs6Ud7M9EO9HE3303QtNGpqX9/UD9lbgfjUezv
sgyfsKWMjWs7U5qZJew1drpgA5deb1OBDRLr4FT3seHm5k6gzVU=
=fbGv
-END PGP SIGNATURE-

___
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/27H235BVXPJTQAJ4RWWEI2RGSLI2YFXY/


[ovirt-users] Hosted Engine on single server

2018-08-21 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi guys,

I need to deal with following scenario.

I have 2 servers with local storage, no shared storage.
The question is how to install the oVirt with Hosted Engine.

1)
is there a way how to install the HE on local storage.
There will be no redundancy, but it's DEV system.

2)
Am I able to use host with local storage and remote at once?
If the server uses local store the oVirt will create a separate DC for
the hosts. Am I able to attach also remote storage there?

3)
could be HE still installed on bare metal? I guess yes.

regards
Peter

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt8laYACgkQQnvVWOJ3
5BASPA/9GDTT9YKHQHM2nDH0HGyunFmYZOTAuwnkzvTCrRF4O/oBiGmu1ovYMDpi
R9uq+5vhPHDMJc9WGS37xL13hM1FCCmFDtETI2Q3pAliWq4R4n/tKriObMgOFCmA
Vdqg5Yz+vrkLhdtZKDxMOPnJyBD+ET2ewaISEKgmS9cUQYnBU4ADqfDmHfnpPH8P
4EoAeZEYpO/7GICuW6SzLpbv19bhXnpnRBcRrYRqzU7cYEhyPCv0c/M4In/gOoAn
ZX9h0LQoZhxK0xkFvUAqaUoO4BRwA/PjxDzz58upGtstO2JZehvpxWeVMD3aNbhb
IBn6EnmZtSV9tNyifxegTluTcZAYhrIw8vpgpNHVFzRV7Q8/o0nfGIuWeNrCRDsG
spzm9BNahk7IlEhquJu8XoGT8GgPAoeIFEzSfj55MH792lmfn05n3HaVtVv94WK/
FdBcVu4CxYMWPHWRycQc7OYc2S/aHhIzWl3C+/d4Y6yzb0u374ffLdkqO6c6u3Dm
khIf0b+xhy0g0EhzvcaQ6T/yPjsB+wTcQbCnlCARbhYMuB4zvzfIAj3fzFOTgSm2
0rhG6KZ1G2hKrzBJGW2reOh9hUzba9QrwxVcHqewxPrf8/uddldZyzgLu5S/B7gl
LVBY3wJHyph6hrRYsJdfOaEIQdoUUhJ3nh0VhjAplHLa2JJbC9A=
=pEM/
-END PGP SIGNATURE-
___
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/YVXV2IMUEEA3QQCZ6ZAWKFWVYMQUORYB/


[ovirt-users] ovirt api vm snapshot cloning error

2018-08-21 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm trying to solve an issue described in
https://github.com/openbacchus/bacchus/issues/30.

Short description is
- - create snapshot
- - wait until the snapshot is OK
- - clone snapshot
- - got error: Fault reason is "Operation Failed". Fault detail is
"[Cannot add VM: The following disks are locked: ditlcm01_Disk1.
Please try again in a few minutes.]". HTTP response code is 409

To simulate the error I have combined the exampe scripts
- -
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/clone
_vm_from_snapshot.py
- -
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_v
m_snapshot.py

The full code is here: https://tools.apps.hudecof.net/paste/view/0319f4f
1

This code was working on 4.2.3 version. I skipped the 4.2.4, but n
4.2.5 is broken.

Any clue what's wrong?

regards
    Peter

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt8kfIACgkQQnvVWOJ3
5BBMCQ//SkRDqG6Av15ZIbpAby3+Z7mYjxdW/chGjR5cgVNG7vmprJIz9Jo3EQLV
mYCRj6XU9l6uFQ2WHtFbVKHlbcRl9Qw2a6nGFDRWvG7CCqStg5mmVhFo8fKNGIl8
avjN9uaZqypIdJCB80tFnVEv4a5IWWJkAll3B8KKPAsIeYMNP+d/8D6AAunR6AKH
kVft+mRBjlJUeYTe/QfeNW1J+JUCZd1Qd4A8h/E9B16Cc/8xfgr88uGUDqZCMgUc
bQcW8CAfAHFq19mOjxBtmwjNtchcb5EUdCvZSYc34ujdZSU6v8GWPqnHVUnve4G0
O0ZhOXKjUZS9FO7n7JrhkIwOwmMRqAaBiKYuVd8g+iib9z+Wlb9W3uZnll9Bik65
UvSpl5Rp/Vy/Rx7GHpCn/TqIwnMppEF2Bp55ZGh77zM+Almy4PtGJp4py+FU8/4I
wZ59bMgAgj4vquPWbtEP5QQtThucqpoJc+7wnHdhPFR3Ks+PTy4qkSgOnTr+lLbr
yGvqZJEqwSH5Kga/5HyAb94ZikTC6zCLcuQur19TR+O2WnG3JFXEOSuumU59mIjs
XelKHkvb5RhZ34w8mfGZM09MpWKyWCMjPQTLUABqzOaK6OHY5vku1RwKILSRjb3x
tNCFCl9oqPPTQbiGq2+xT43KFtTvrmC17dshsLjUi97vKcSDe+I=
=cVTg
-END PGP SIGNATURE-
___
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/EPMEOT523Z7JXIUVO6BJSQOD4NYUBBQZ/


[ovirt-users] Adding custom network filter to oVirt

2018-07-31 Thread Peter

I can see from the libvirt docs how to create a new network filter (to block 
STP broadcasts in my case), but how do I add that filter to the vNIC list in 
oVirt?

___
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/5DBYYRJXDFKAZBZVAYVRQBINAZVKFS45/


[ovirt-users] Re: oVirt Metrics

2018-06-11 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Shirly,

I could one more try to install it. The firsts few attempts leads to
long discussion in the mailing list and I was not able to get it working
.

On the other hand I do not have time to finish integration with the
zabbix ;(

regard
Peter

On 11/06/2018 12:30, Shirly Radco wrote:
> Dear users,
> 
> I would love to get some feedback if someone has tried to install
> and use the oVirt metrics store, released in 4.2, for collecting
> metrics and logs, based on Elasticsearch, Kibana, Collectd and
> Fluentd on top of OpenShift. 
> https://www.ovirt.org/develop/release-management/features/metrics/metr
ics-store/
>
>  How did the installation go? Are you actively using it? And any
> other feedback would be much appreciated.
> 
> Best regards,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig> TRIED. TESTED. TRUSTED.
> <https://redhat.com/trusted>
> 
> 
> 
> ___ 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/3G2M3Q35
UQZLOHDRAEBMX2INPDAQCOHO/
>
> 
- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlseZQUACgkQQnvVWOJ3
5BAa8hAArd0EpkVM0J4E5aAJVVC9MQWwmf9m/zVIrm4WMOjziD3SCuYHeXbkpAJq
AEzUBRB7ltcVXWkqZJx3hydFZkxfPrKX6wVQylcPMZGXeUZKEGiLJWCFtgvAUosO
YL6M2/tis3QcGGTto/7ZmKMwHvruEspW0d2P0Cpk2k/fKwkoChTM9VMhwSlbNJuN
KxH4dnOVLkjRFPU5cO9Rk56WzBK78MeL6mdZksM8nNP4cUJQ+VGoZjXu0fR941Yu
qyBQh6D1d3S56S+8xK9q9a8z99JzAUWm3Y46Gyrs0lBjxFfwefYhP4PpZp9UiBLx
nW82ATxKgKL7WZ+84M2H4bt9KDPs9N7xfMhFVkiFJHOz6vP9E66RM4ZDCuplO55m
yCLS/NexyIXhHDJ6DcnDizlW4WDZoXVlSzyvvLkL7ZlrPgMzTUgaiennrtUIEwHA
afWrpWgs843tCXBSXrm8NMdhZNHyFH6QEUFeH8pxCcxv2Nss9MImpzfcXBMkffdm
NnTOFK1Vtmvd1B6sLC9v99Y74AUiJNroEDiwqPUF8iAkYRUHfqvGxpPw1EQZyOa9
oRzBAqlhjqELNjVPy2ciE5YwB2e8CdtfAEe8gPLSad9x4zLbeVsFvuzy+nrwqZlm
+Hnx+f9xlvoPutC+J2tHJilga7GHib7HQOzauJJRN5JawfumfWM=
=Mkzr
-END PGP SIGNATURE-
___
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/HW3T5CVIBSOMORAVQXQ7GQSWXENVKTFD/


[ovirt-users] Re: VMs hung after migration

2018-05-31 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

the BZ is private, but I had the same problem. The VM hung after
migration, but not all.

After migration the VM works for a while and hangs after that, but
during upgrade to 4.2.3 and hosts update this did not happened.

Peter

On 31/05/2018 17:54, Kapetanakis Giannis wrote:
> Hi,
> 
> Please have a look at BZ
> https://bugzilla.redhat.com/show_bug.cgi?id=1584775 about VM hung
> problems I have with latest kernels.
> 
> Problem appeared after upgrading to 4.2.3 but I believe it has only
> to do with newer kernel and not any part of
> ovirt/vdsm/libvirt/qemu
> 
> regards,
> 
> Giannis ___ 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/IPORS7MN
ZJMCP5PYUUMBHBW7BWPK7PDO/
>
> 
- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlsQctgACgkQQnvVWOJ3
5BCcUhAAjbLs9fEx17bwxBC4QukR3rc2WUEgsb85sByZYJDuaSepELkWNkUPY+DO
QK8WHApI1QrnxCKSt1DEPTY0T5uQO9YTYBuyvamML+mLAqYWGyiWkbITNpVZBvHl
IrlsjLrUGV78ULwsfWYkvdsd2VyQlnL4PWpfw5NQL88wj6glySdMqREJM7aTYtlZ
SCFFuvjawbjCDi5dAN1WwYoWYlmGM2LF+wYalV9yGFtqq85dEiXCLL+BFJ+RbzVf
ayKcvL2vzBAt6DepAv6JxgGfIwmyLjBajWLB3hGShYd6nfJucx8SeGuGf9MYg6Ll
GR8QRTwSQha6XhGM5wHAjdzhlpwlQcwEXz4jIPvj7oL0ATw8XX8duW2VBKcPbMVC
9mJcP7XKpe2vfy7AATrlAiVDbfMh5+NDaTQwyCy9Ul24sLVhVMfJmkrCz+UL68rl
5myVmk3D/aB4dE2niJOr1cY4CCs79VymjNu69Li18fwF656Fnk7+vPu0Hq1r8yTC
3O//F8JLyXac/iYXuJ6V7wFzafvyZkJAqpg0vmIj10cLT1uqXv8RGJyNTw1YM3ll
J5P2xgiz8ZUtv6qoZcwLDDmueyVivpPqUgLtxGpOEhlRRQPP1/wcoMrrxn1vCRqi
FS/qZOSIqdCJxZU6NlcWAkdxXr/uMNXoowl17bYDKFfKaTfqYek=
=fcLm
-END PGP SIGNATURE-
___
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/Z2CV3XZVSGE44O5HYAGXE3AS6KFXZUKE/


[ovirt-users] Re: Upload Image Error

2018-05-24 Thread Peter Harman
Ovirt is Hosted Engine and version 4.2 installed a week ago.
OS is Centos7.4 on hosted engine and hosts

Peter Harman – Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
|<mailto:phar...@homeyertool.com%20%7C> P 636.433.2244 | F 636.433.5257

From: Nir Soffer <nsof...@redhat.com>
Sent: Thursday, May 24, 2018 3:39 PM
To: Peter Harman <phar...@homeyertool.com>; Yedidyah Bar David <d...@redhat.com>
Cc: users@ovirt.org; Daniel Erez <de...@redhat.com>
Subject: Re: [ovirt-users] Upload Image Error

On Thu, May 24, 2018 at 10:57 PM Peter Harman 
<phar...@homeyertool.com<mailto:phar...@homeyertool.com>> wrote:
Ovirt Users,

What version are you running?


I am running into a strange problem with uploading images through the webUI. 
When I test the connection on an upload I get “Connection to 
ovirt-imageio-proxy service has failed. Make sure the service is installed, 
configured, and ovirt-engine certificate is registered as a valid CA in the 
browser.” I have conducted this operation on several computers using both 
chrome and firefox and ensuring the certs were loaded into the browsers.

Are you sure you import the certificate correctly info the browser?


I went to this page: 
https://ovirt.org/develop/release-management/features/infra/pki/ to find cert 
info and checked both the engine and hosts for the certificates and the 
identity of the certificates – everything seemed to match up.

This issue means that the browser refuse to communicate
with the proxy because the proxy certificate does not match
the browser certificates.

Is it possible that you changed engine fqdn and regenerated
engine certificates?

Didi, how can we regenerate all certificates to make sure everything
is configured correctly?

Or verify that the certificates in a host are correct?

Next thing I looked at was the ovirt-imageio-proxy service. I checked it and 
restarted it below is a status output from one of the failed operations:

[root@hpm-engine ~]# systemctl status ovirt-imageio-proxy
● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service; 
enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-24 13:25:38 CDT; 1h 13min ago
Main PID: 21239 (ovirt-imageio-p)
Tasks: 2
   CGroup: /system.slice/ovirt-imageio-proxy.service
   └─21239 /usr/bin/python /usr/bin/ovirt-imageio-proxy

May 24 13:25:38 hpm-engine.server.local systemd[1]: Starting oVirt ImageIO 
Proxy...
May 24 13:25:38 hpm-engine.server.local systemd[1]: Started oVirt ImageIO Proxy.
May 24 14:38:02 hpm-engine.server.local ovirt-imageio-proxy[21239]: 127.0.0.1 - 
- [24/May/2018 14:38:02] "PUT /tickets/ HTTP/1.1" 200 0

This means proxy is running, and engine is able to communicate
with it. Unfortunately, this does not mean that the browser is able to
communicate with the proxy.

ovirt-imageio-proxy service seems to check out. So, next step was checking out 
VDSM process output is below (NOTE: I redacted a bunch of unrelated warnings):
...
Vdsm is not related to proxy connection errors.

Did you know that you can upload using the SDK? It is also much
faster since you can upload directly to the host, instead of via the proxy.

Here is an example:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

Nir
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Upload Image Error

2018-05-24 Thread Peter Harman
Ovirt Users,

I am running into a strange problem with uploading images through the webUI. 
When I test the connection on an upload I get “Connection to 
ovirt-imageio-proxy service has failed. Make sure the service is installed, 
configured, and ovirt-engine certificate is registered as a valid CA in the 
browser.” I have conducted this operation on several computers using both 
chrome and firefox and ensuring the certs were loaded into the browsers.

I went to this page: 
https://ovirt.org/develop/release-management/features/infra/pki/ to find cert 
info and checked both the engine and hosts for the certificates and the 
identity of the certificates - everything seemed to match up.

Next thing I looked at was the ovirt-imageio-proxy service. I checked it and 
restarted it below is a status output from one of the failed operations:

[root@hpm-engine ~]# systemctl status ovirt-imageio-proxy
● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service; 
enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-24 13:25:38 CDT; 1h 13min ago
Main PID: 21239 (ovirt-imageio-p)
Tasks: 2
   CGroup: /system.slice/ovirt-imageio-proxy.service
   └─21239 /usr/bin/python /usr/bin/ovirt-imageio-proxy

May 24 13:25:38 hpm-engine.server.local systemd[1]: Starting oVirt ImageIO 
Proxy...
May 24 13:25:38 hpm-engine.server.local systemd[1]: Started oVirt ImageIO Proxy.
May 24 14:38:02 hpm-engine.server.local ovirt-imageio-proxy[21239]: 127.0.0.1 - 
- [24/May/2018 14:38:02] "PUT /tickets/ HTTP/1.1" 200 0

ovirt-imageio-proxy service seems to check out. So, next step was checking out 
VDSM process output is below (NOTE: I redacted a bunch of unrelated warnings):

[root@mothership ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Thu 2018-05-24 08:12:40 CDT; 6h ago
Main PID: 3359 (vdsmd)
Tasks: 58
   CGroup: /system.slice/vdsmd.service
   ├─3359 /usr/bin/python2 /usr/share/vdsm/vdsmd
   └─6731 /usr/libexec/ioprocess --read-pipe-fd 68 --write-pipe-fd 67 
--max-threads 10 --max-queued-requests 10

So VDSM doesn’t seem to be the issue. I changed a few settings here and there 
but mostly forget what I did (I changed it all back to defult)

Some background information - I am using /etc/hosts for all the FQDN components 
- which seems to be working well.  I checked the times to be sure the time 
matched up (I know this important for some security related issues.)

In a somewhat funny note I disabled SSL on VDSM in one attempt at the issue and 
now know why you should not do that when engine is using SSL.

Any help is appreciated. I am learning a lot and really thank everyone who 
develops Ovirt - it’s awesome.




Peter Harman - Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
|<mailto:phar...@homeyertool.com%20%7C> P 636.433.2244 | F 636.433.5257

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Shameless networking question

2018-05-23 Thread Peter Harman
Ovirt Community,

First off: thank you - these emails have helped me to get Ovirt running. I 
barely know what I am doing but learning quickly.

I am trying to do a network separation and confusing myself. I have two 
physical networks (10.10.x.x/16 and 192.168.1.x/24) my ovirt management is 
bridged on 10.10.x.x. My (currently single) Hosts have at least one physical 
NIC connecting to each network. I am trying to get to the point there the VMs 
are on the 192.168.1.x network and the 10.10.x.x network. The goal is to join 
the VMs to a AD domain on 192.168.1.x but keep access as limited as possible to 
the 10.10.x.x network.

I've been on a googlethon over the past few days and still don't understand the 
best practice - or even a working practice - to accomplish this goal.

Peter Harman - Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
|<mailto:phar...@homeyertool.com%20%7C> P 636.433.2244 | F 636.433.5257

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: data flow for statistics for hosts and vms

2018-05-18 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Shirly,

I know about the grafana integration with the DWH.

I know about oVirt Metrics, I saw the video with you presenting this
product and read the docs. I also tried to install the Metrics store.
You could find some mail in in this mailing list about that. I was not
able to run it successfully. You were included in that communication.
I could try it again, but this is too big for or needs ;(

The basic idea is to integrate it into zabbix, which is our primary
monitoring system for whole datacenter, infrastructure, VmWare, .. I
do not want to add new screen for our NOC to watch on.

Generally I was interested in data flow how the data are collected
from HOSTS to ENGINE database.

The flow for metrics I guess is

libirt or vdsm(host) <- collectd (host) -> log files?? (host) <-
fluend (host) -> elk (metrics).

This is really nice example how to glue the components together. ;)



On 16/05/2018 11:04, Shirly Radco wrote:
> Hi Peter,
> 
> The dwh views do not change, we support legacy views fro 3.6,  so
> we recommend using DWH to get the statistics you want. It is
> possible to connect grafana directly with DWH if that interest
> you.
> 
> Also, We have a new feature called "oVirt metrics store" that
> collectd many statistics using and logs using fluentd to a central
> Elasticsearch and Kibana. I can elaborate on that if you want.
> 
> Best,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig> TRIED. TESTED. TRUSTED.
> <https://redhat.com/trusted>
> 
> 
> On Tue, May 15, 2018 at 4:23 PM, Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi,
> 
> I'm trying to understand the flow how the stats from the VM and
> HOSTS are imported  into the engine.
> 
> On each host there is VDSM. Using the vsdm-client I'm able to get
> HOST and VM stats
> 
> vdsm-client Host getAllVmStats vdsm-client Host getStats
> 
> Are the hosts pushing the data to the engine or vice versa? On the 
> engine side there is java based vdsm-jsonrpc client so I guess the 
> data are pulled from the hosts to the engine database.
> 
> 
>> Yes. Engine pulls the stats from the hosts every 15 seconds.
> 
> 
> And of course the question is which component on engine side is 
> getting/requesting the data.
> 
> I'm trying to get the stat less painless as query the API. Maybe
> the engine/dwh database could help but the scheme could change 
> between releases, isn't it. or the engine DB.
> 
> regards Peter
> 
> ___ 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>
> 
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEERCwM7E/ZOYb1ejhCbZu8qDuIhFsFAlr+xwQACgkQbZu8qDuI
hFu8jw//cB+3lf+MolpOR4oyDLr+GXvSXkv91ZtL85RVobX3mf/Zbd0VQuJkSr2w
sS0VSUK4PRASHUOGjNrMz6AByvZF1P7fdG23rXnJkWdM5xu09FJphIWsjfXqwdSM
PxAcxZZQv+wKgoXKjnHnGcbb8VdAkZSlHwH0egycwXpzIfvDFPrc7DeVwndC6Ibz
yIwUdpTyzm+KZ9EqTjdx0qb7AgYihtJXC7GWntEuook/ZOYrsN6dOoQ46KgzznXw
FhPWzMSrdl73wzXyqmvjSQo0PoXuNzXLSNqXyGTQuJTg8yYaiPkREo8LFj4SX7bB
Uc3s5/NGCiEr1+tEyk6tSeVM3cdIimN0O8kE3QFpIv6R6RjFC+K7WNkGBWxlc05S
CDCkpU921o6oTvd0bd9F3XT5TRVuME48yYuLvcT6GY8g837tkSinNLTZvYpr8yq7
iEm4500mF2cSBUhPYtgcxVfZ+0SeMoDdsbLqjM19voHGP8DvtMXOOUoFee/qwiJJ
2Kcjnid32db4EEdInwphFiAryhTy/GC6LB/6KunNqVXq5C/1FIyAi7UiceZO7YwU
r/RqxMvSkgW/rdMyBuPZ+3GP72l4yTOdm7cwcfplDDgWL67C5uyii7zG+ApTUmre
wuz86ECe/QIWAvw/hoTmu4WXxGxT6ErUzfjh1/v4Kfx+/S+V3WI=
=/KT/
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Preventing users to see other VMs

2018-05-16 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi all,

works !! ;) Seems that there is some caching in User Portal.
But there is still a question how could I remove user from the role
everyone ? For example I want to assign only specific vNIC Profiles,
Storage Domains, ...

Peter

On 16/05/2018 14:57, Aziz wrote:
> Hi All,
> 
> Thank you Roy, this is working now as expected, however, I think
> the Edit button, should  be removed for this user, there is no need
> to display the edit button if the user cannot use it to perform
> any operation, am I missing something ?
> 
> 
> Best regards
> 
> On Wed, May 16, 2018 at 9:12 AM, Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> I have found 2 related bug, a little bit older
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1209505 
> <https://bugzilla.redhat.com/show_bug.cgi?id=1209505> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1225274 
> <https://bugzilla.redhat.com/show_bug.cgi?id=1225274>
> 
> But these are related only to DiskProfile.
> 
> I haven't found any work about 'Everyone' group in documentation,
> so I'm little bit confused why there is such a group.
> 
> Peter
> 
> On 15/05/2018 23:02, Peter Hudec wrote:
>> Hi,
> 
>> I'm fancing the same problem.
> 
>> The steps are - create user /tester/ using the
>> ovirt-aaa-jdbc-tool - login as admin into admin portal - add
>> tester user in Administation -> Users - choose one VM and add
>> UserRole role
> 
>> - login as testr into User Potal - user could see all VM..
> 
>> The problem could be, that the user is part of the group
>> Everyone and this group could be found in Administration ->
>> Configure > System Permissions. When you check the group
>> permisson, it seems to be automatically populated by engine.
> 
>> In  my case I[m using default DC, default cluster and 'internal' 
>> profile .
> 
>> Seems that all engine object is included in Everyone group.
> 
>> regards Peter
> 
>> On 15/05/2018 22:03, Roy Golan wrote:
> 
> 
>>> On Tue, 15 May 2018 at 21:47 Aziz <azizgst...@gmail.com
> <mailto:azizgst...@gmail.com>
>>> <mailto:azizgst...@gmail.com <mailto:azizgst...@gmail.com>>>
>>> wrote:
> 
>>> Hi Roy,
> 
>>> Thanks for your feedback, I'm unable to remove the user from
>>> the cluster, I used the command "|ovirt-aaa-jdbc-tool user
>>> add|" to add the new user, and it seems that by default it took
>>> all permissions over the cluster. Is there any document
>>> describing this feature in details ?
> 
> 
> 
>>> In the webadmin go to Administration -> Configure > System 
>>> Permissions. If the user is there, remove him. Then search for 
>>> the VM and add permissions to the user on the VM Check your
>>> end result in the 'permisions' section of the VM to see who
>>> has permissions on it.
> 
>>> This should be helpful, quite long though
>>> 
> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
> <https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
>
>
> 
>>> 
>>> 
> 
>> This is for the tool itself
>>> 
> https://www.ovirt.org/develop/release-management/features/infra/aaa-j
> <https://www.ovirt.org/develop/release-management/features/infra/aaa-j
>
>
> 
d
> 
>>> 
>>> 
> bc/
> 
> 
> 
> 
>>> Thanks
> 
>>> On Tue, May 15, 2018 at 6:31 PM, Roy Golan <rgo...@redhat.com
> <mailto:rgo...@redhat.com>
>>> <mailto:rgo...@redhat.com <mailto:rgo...@redhat.com>>> wrote:
> 
>>> 1. Make sure your users use the VM portal 2. Assign permission
>>> on VM to a certain user to make sure it apears in the portal.
>>> The Role should be VmOperator afaik.
> 
>>> Permission set on objects higher in the hierarchy are
>>> cascading, i.e a user with permission on a cluster would have
>>> the permission on the all the vm in cluster.
> 
> 
>>> On Tue, 15 May 2018 at 20:59 Aziz <azizgst...@gmail.com
> <mailto:azizgst...@gmail.com>
>>> <mailto:azizgst...@gmail.com <mailto:azizgst...@gmail.com>>>
>>> wrote:
> 
>>> Hi list,
> 
>>> I'm trying to remove the default "everyone" user from Ovirt,
>>> so that each user can have access to its own interface to
>>> manage a unique VM. I wonder if this is possible, because so
>>> far I'm unable to remove everyone user.
> 
>>> Thank yo

[ovirt-users] Re: Preventing users to see other VMs

2018-05-16 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I have found 2 related bug, a little bit older

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

But these are related only to DiskProfile.

I haven't found any work about 'Everyone' group in documentation, so
I'm little bit confused why there is such a group.

Peter

On 15/05/2018 23:02, Peter Hudec wrote:
> Hi,
> 
> I'm fancing the same problem.
> 
> The steps are - create user /tester/ using the ovirt-aaa-jdbc-tool
>  - login as admin into admin portal - add tester user in 
> Administation -> Users - choose one VM and add UserRole role
> 
> - login as testr into User Potal - user could see all VM..
> 
> The problem could be, that the user is part of the group Everyone 
> and this group could be found in Administration -> Configure > 
> System Permissions. When you check the group permisson, it seems
> to be automatically populated by engine.
> 
> In  my case I[m using default DC, default cluster and 'internal' 
> profile .
> 
> Seems that all engine object is included in Everyone group.
> 
> regards Peter
> 
> On 15/05/2018 22:03, Roy Golan wrote:
> 
> 
>> On Tue, 15 May 2018 at 21:47 Aziz <azizgst...@gmail.com 
>> <mailto:azizgst...@gmail.com>> wrote:
> 
>> Hi Roy,
> 
>> Thanks for your feedback, I'm unable to remove the user from the 
>> cluster, I used the command "|ovirt-aaa-jdbc-tool user add|" to 
>> add the new user, and it seems that by default it took all 
>> permissions over the cluster. Is there any document describing 
>> this feature in details ?
> 
> 
> 
>> In the webadmin go to Administration -> Configure > System 
>> Permissions. If the user is there, remove him. Then search for 
>> the VM and add permissions to the user on the VM Check your end 
>> result in the 'permisions' section of the VM to see who has 
>> permissions on it.
> 
>> This should be helpful, quite long though 
>> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
>
>>
>> 
> 
> This is for the tool itself
>> https://www.ovirt.org/develop/release-management/features/infra/aaa-j
d
>
>>
>> 
bc/
> 
> 
> 
> 
>> Thanks
> 
>> On Tue, May 15, 2018 at 6:31 PM, Roy Golan <rgo...@redhat.com 
>> <mailto:rgo...@redhat.com>> wrote:
> 
>> 1. Make sure your users use the VM portal 2. Assign permission on
>> VM to a certain user to make sure it apears in the portal. The 
>> Role should be VmOperator afaik.
> 
>> Permission set on objects higher in the hierarchy are cascading, 
>> i.e a user with permission on a cluster would have the permission
>> on the all the vm in cluster.
> 
> 
>> On Tue, 15 May 2018 at 20:59 Aziz <azizgst...@gmail.com 
>> <mailto:azizgst...@gmail.com>> wrote:
> 
>> Hi list,
> 
>> I'm trying to remove the default "everyone" user from Ovirt, so 
>> that each user can have access to its own interface to manage a 
>> unique VM. I wonder if this is possible, because so far I'm 
>> unable to remove everyone user.
> 
>> Thank you
> 
> 
>> ___ 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>
> 
> 
> 
> 
>> ___ Users mailing 
>> list -- users@ovirt.org To unsubscribe send an email to 
>> users-le...@ovirt.org
> 
> 
> 
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr79fIACgkQQnvVWOJ3
5BBGXxAAsa0Rhs+bCisRfnD665bvRpA81yoRRJQFVYSnDZOqWVZzzTsnY4CtBAOM
MG4CTvbvHXHCL304O0a4xBqpwINzcXSieyx2Vqbcxe2Fq+VRqRgq+z+3wm1L26Eb
6KraPpTlieXmbvYD2Wfu8PcGS1JFwS37FnV98EadiPCahPO7JQUBRLaErQZvi986
BZ7x/qUZWk5C4sEkP+eCM/94u3ZaMB4LSLXJqvHLpRYEGs1aOc4xhrxWVO2HLc4t
aaVveS40rufogjjHzV0E++fx9XFpHpIHwfG8DsVZsIz5yyq9qQz+mt0gmvM7A81m
myJQit/bQ/9j/ew/7pJNKtmv4fOB4hkCrn9tgLyhc9JIvRGmG9zymMloXdSAWvqr
eKSsVOcInmgb+gsKS0upIR+Ow3zGeUzwkHdqTJAtNtyg66DpNKvT2B010t86vO9z
4ggTVcMG/+Y2c3Zu78yCSSI+0rO/R+kSTL/v8QlCk5ke4OW5iXNEIFhuUZY8905U
OesB27XqXdJtZibaL6YGNG3f8GcaQgNhkGPmzVxIge+KQNwLOyV4VIJaYEFAiJgz
H2OIGzKKk97OhWmRm68NUYebdyG6Pi6SL2M3fhzb0Qn/YiUCr/GygQfd455ok81e
tF5UxMz1mHSN9UQV30GaPy+pR70bh3AF83E4vmjznKAmhspBB68=
=7qJi
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Preventing users to see other VMs

2018-05-15 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm fancing the same problem.

The steps are
- - create user /tester/ using the ovirt-aaa-jdbc-tool
- - login as admin into admin portal
- - add tester user in Administation -> Users
- - choose one VM and add UserRole role

- - login as testr into User Potal
- - user could see all VM..

The problem could be, that the user is part of the group Everyone and
this group could be found in Administration -> Configure > System
Permissions. When you check the group permisson, it seems to be
automatically populated by engine.

In  my case I[m using default DC, default cluster and 'internal' profile
.

Seems that all engine object is included in Everyone group.

regards
    Peter

On 15/05/2018 22:03, Roy Golan wrote:
> 
> 
> On Tue, 15 May 2018 at 21:47 Aziz <azizgst...@gmail.com 
> <mailto:azizgst...@gmail.com>> wrote:
> 
> Hi Roy,
> 
> Thanks for your feedback, I'm unable to remove the user from the 
> cluster, I used the command "|ovirt-aaa-jdbc-tool user add|" to
> add the new user, and it seems that by default it took all
> permissions over the cluster. Is there any document describing this
> feature in details ?
> 
> 
> 
> In the webadmin go to Administration -> Configure > System
> Permissions. If the user is there, remove him. Then search for the
> VM and add permissions to the user on the VM Check your end result
> in the 'permisions' section of the VM to see who has permissions on
> it.
> 
> This should be helpful, quite long though 
> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
>
> 
This is for the tool itself
> https://www.ovirt.org/develop/release-management/features/infra/aaa-jd
bc/
>
> 
> 
> 
> Thanks
> 
> On Tue, May 15, 2018 at 6:31 PM, Roy Golan <rgo...@redhat.com 
> <mailto:rgo...@redhat.com>> wrote:
> 
> 1. Make sure your users use the VM portal 2. Assign permission on
> VM to a certain user to make sure it apears in the portal. The Role
> should be VmOperator afaik.
> 
> Permission set on objects higher in the hierarchy are cascading, 
> i.e a user with permission on a cluster would have the permission
> on the all the vm in cluster.
> 
> 
> On Tue, 15 May 2018 at 20:59 Aziz <azizgst...@gmail.com 
> <mailto:azizgst...@gmail.com>> wrote:
> 
> Hi list,
> 
> I'm trying to remove the default "everyone" user from Ovirt, so
> that each user can have access to its own interface to manage a
> unique VM. I wonder if this is possible, because so far I'm unable
> to remove everyone user.
> 
> Thank you
> 
> 
> ___ 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>
> 
> 
> 
> 
> ___ Users mailing list
> -- users@ovirt.org To unsubscribe send an email to
> users-le...@ovirt.org
> 


- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr7StYACgkQQnvVWOJ3
5BCYbQ//WiZTpgyHY6eD3kjtoomYu6UiuKCXYD0uhezUVFV7zROk85jp7BcoU847
MVRMKcu/5YOMBWyXpVy27OtQwCcquz5aChreYUH8zaPlH3O3qkf2ohziKsXlMAol
/75g+Ha+Zyueuv7afx+UIxgaDv7tkGWEnrXn5LBxuQjZqq1NLDMueQaD/fPwPlw+
SRXo4nGnvnsKIZGjsX+Otd73l8JlCr0apzYYC2KOHhM1Tfw2fRphPDk/zLOvjv2X
sxKrIWsK7OgBt5lDG0rzVj/qdf4SnsxXgbgvo03yc0MwBBX+NLRmwOLUjFiovze+
NwPuos87Iwo3Dv+wJ1oxYkAGgjl0t+TxbJP6SMwAH1g7T1jvA/aCeC/Bk7RXPldL
pI+cAqvNtNfidxx7CyKjgKn4MA3dT9lq95FOV1CgMP4xQcliqofOeZrW93dvDnE8
LBlni7okv1xjw3rj6MTjdkSCN+Hh8L5GY+WbZbx5An5aCVdkYjTNw0K5UWbBNxua
fAJKBf5UidYXjxSHxgE21JKscX0wzZUOtGn11qmXp/zAwvfn4yfIQzJiii2XCIZT
J9mcyb1084bGlK86wrRNLRMDAVkN4Rh3cWY2NRhe8hKpjOCqWC88QkmTi4SXjMRy
L/cOC+ea5/by1gCE5xKinaHNZaZDM/3rBYJW2HxJkCzdOBwxxIQ=
=cvu1
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] data flow for statistics for hosts and vms

2018-05-15 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm trying to understand the flow how the stats from the VM and HOSTS
are imported  into the engine.

On each host there is VDSM. Using the vsdm-client I'm able to get HOST
and VM stats

vdsm-client Host getAllVmStats
vdsm-client Host getStats

Are the hosts pushing the data to the engine or vice versa? On the
engine side there is java based vdsm-jsonrpc client so I guess the
data are pulled from the hosts to the engine database.

And of course the question is which component on engine side is
getting/requesting the data.

I'm trying to get the stat less painless as query the API.
Maybe the engine/dwh database could help but the scheme could change
between releases, isn't it. or the engine DB.

regards
Peter

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr63zYACgkQQnvVWOJ3
5BC1BxAApSg29lv1KohiVeJNsFdF4i77e2H77drLe9Ffq1kg/+VESh6+ggeZIH1U
W5e06PJeifoZbtWL2enaJsml9JZM/3kvqU5TC93sR8chvhfRo3GXS50tWCEe5b0R
UPdpjgyYipN+i3Xibl/YxHMu9fwpFIH+VY+JWn70Dz5pjvgwn71ogCcRUA6Itvom
700Pwv4yV31hWyE6qXiWOth0Rfey3+QkEXtNhRrEOHeAzpNABS5Zixjocr9c5xhz
AdLkUAGVvEQEYy/Nzyv8A8KRSY1z63Ijyv5hgQIpGkKfbXhRYrotY6EeqdJ6PYsF
tQvkjjT+kJ5SBYClK/et9X4y2ZMe+4YX7lrsZnk8V/Oj3YYw2y1XlvXcrt0pZlHA
G9QIhcn/chtBTslGOW0t4B603YRykausunc9XXq1IGKNyLHb/lrDiDh+x2dCg5vT
sGJE/gQffSNSwk5oFBlG2U9aOgWvZ8m3nVCDdGo+1a9fc/KR8toQi9axsiIMVYb/
dzbDmaYlXbKNwWdVirftTetxuwn44j2Kgv4b048ZmGwTvwc79UuoS8H9hv9LlBM6
7E7iqaGfKbExg0/EMZurd90P62zn8nIGnYEJUrxVU3aJ4E2gWflfSelYMymNtE+u
aZAMxvK6gILQP2n45AVkKOTacQwX07QCzlvJ2sL4gNzQQ+UL52c=
=RNAH
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: sdk api and follow question / bug

2018-05-14 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm running query

uri:
https://dipovirt-engine02.cnc.sk//ovirt-engin/api/vms?follow=statistics,
nics.statistics,disk_attachments.disk.statistics

headers: {'Accept': 'application/json'}

The result contains the disk_attachments.disk.statistics section only
for the first VM.

regards
Peter Hudec


On 14/05/2018 09:45, Ondra Machacek wrote:
> On 05/10/2018 10:32 AM, Peter Hudec wrote: Hi,
> 
> I'm using API to get stats about the VM using the FOLLOW syntax 
> described in 
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#documents/003_commo
n_
>
> 
concepts/follow
> 
> In my case I list all VM with FOLLOWING - 'statistics', -
> 'nics.statistics', - 'disk_attachments.disk.statistics'
> 
> On my env with about 50 VM the query took about 12s but the paring
> for the monitoring system is easy.
> 
> The question is, it's better to split the code and use more queries
> as the note in the API docs recommends? Not sure it will be faster
> and less cpu intensive on the engine side.
> 
>> It won't. It's better just in terms of network load, not engine
>> load.
> 
> 
> Also the disk_attachments.disk.statistics on VMs seems to be
> broken, I'm not getting the data on 4.2.2 installation. /using json
> syntax, not xml/
> 
>> Can you please describe what exactly isn't working? You won't get
>> that for any VM? Can describe the steps how to reproduce it? Do
>> you get HTTP 404 or 500?
> 
> 
> regards Peter
> 
> -- *Peter Hudec* Infraštruktúrny architekt phu...@cnc.sk
> <mailto:phu...@cnc.sk>
> 
> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2  35 000
> 100
> 
> Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>
> 
>> ___ Users mailing
>> list -- users@ovirt.org To unsubscribe send an email to
>> users-le...@ovirt.org
>> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlr557QACgkQQnvVWOJ3
5BBlvxAAknUNEAzVdHpTf9uvE0IkOkdxfj79cEKOWDjRoDVjK+XOUOjvlxDKOjHe
0LZC3cfrEL8ASLFkzT16NYpX16SNXHgobbHcMBjy6xAs8r2hqSdG9D5bjrjoYO6R
Wsm8qewnINkaKyGYF7vKP72o9o7pGhY2MArR1IJjAjFGqUd0uXHoK4T1IkVv59q9
2DuiCFaAIrrVYUQnYrjHp994Bk0CalXzKrtVmYHoOUAvsd6kPpNRSjJpwReor2XI
sf6jr+TzhQtMokLbfW5GnvvkeQVDQDzDhqHnCuv5wEsMF63oFDIGNcL/bOgcqXh/
BVkTqnZqeL3B++GccJgRWbojZ8wk3mUuNyccHifjJiFPogvokcSppPI6EY4tJXM1
slX6WXIJnpMbcFBRrLYyCrN9C0qY3YSYP41AP8YwJGWHJNI6eG7at3eQn+Fs6ipj
XVTswVOx7MV7z4M5eWFnqnTRQkKyDtVVgcjom6LJMd0LdN5RJt6HbfbAvPeTw06h
ExLXis73A1ARgFx4Xf4SHXmqkHB3xmwB46KHFzL/u06AXHVgnQczViaQ//V6EveV
gZQc2eYk+QC3wkFq1Fkt0/1dYDZ2Mfsx/LOjZo6BfWKJUmIdDRQHIi0Akg0yRQ+L
2/3QL0kOHE5dV2JnAeMHv8tdcKAQSWWdnqJtXoDRgW4GaMxbHw8=
=scp6
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Hosted Engine dependency issue

2018-05-11 Thread Peter Harman
Hello,

I am new to Ovirt (and linux) , I successfully installed a working hosted 
engine twice but am now running into a dependency issue. I keep getting the 
below message:

Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
   Requires: storaged-iscsi >= 2.1.1
   Available: storaged-iscsi-2.5.2-2.el7.x86_64 
(ovirt-4.2-centos-ovirt42)
   storaged-iscsi = 2.5.2-2.el7
   Available: storaged-iscsi-2.5.2-4.el7.x86_64 (extras)
   storaged-iscsi = 2.5.2-4.el7
Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
   Requires: storaged >= 2.1.1
   Available: storaged-2.5.2-2.el7.x86_64 (ovirt-4.2-centos-ovirt42)
   storaged = 2.5.2-2.el7
   Available: storaged-2.5.2-4.el7.x86_64 (extras)
   storaged = 2.5.2-4.el7
Error: Package: cockpit-storaged-160-1.el7.centos.noarch (extras)
   Requires: storaged-lvm2 >= 2.1.1
   Available: storaged-lvm2-2.5.2-2.el7.x86_64 
(ovirt-4.2-centos-ovirt42)
   storaged-lvm2 = 2.5.2-2.el7
   Available: storaged-lvm2-2.5.2-4.el7.x86_64 (extras)
   storaged-lvm2 = 2.5.2-4.el7

I wiped the machine and tried again with no luck. Does anybody know what I am 
doing wrong?

Peter Harman - Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
|<mailto:phar...@homeyertool.com%20%7C> P 636.433.2244 | F 636.433.5257

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] sdk api and follow question / bug

2018-05-10 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I'm using API to get stats about the VM using the FOLLOW syntax
described in
http://ovirt.github.io/ovirt-engine-api-model/4.2/#documents/003_common_
concepts/follow

In my case I list all VM with FOLLOWING
 - 'statistics',
 - 'nics.statistics',
 - 'disk_attachments.disk.statistics'

On my env with about 50 VM the query took about 12s but the paring for
the monitoring system is easy.

The question is, it's better to split the code and use more queries as
the note in the API docs recommends? Not sure it will be faster and
less cpu intensive on the engine side.

Also the disk_attachments.disk.statistics on VMs seems to be broken,
I'm not getting the data on 4.2.2 installation. /using json syntax,
not xml/

regards
Peter

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEERCwM7E/ZOYb1ejhCbZu8qDuIhFsFAlr0A60ACgkQbZu8qDuI
hFuh9RAAxP7o7Ve7tGN2c9ClG5FQcOpUH9Jwa6JiieEauFP3ivIdN1vVwA+YhgVW
Ij9iDrXBWdtlVrlQojqInMrWjNUQoeSAiJGTee/LztjeKrxK7Hkbd6JC8GAL0WbK
NWjHtzODX98MHhY7tgFoCW0xApUcN4c+jp5E8IuN/Gh19Ml3Nk9okUbbXDAnOxNK
1n5y1wnye2Gjk7hVwHoccY4V74FgjQ/hKbVRwjhDXHsHa9VHBpLJKtRhu1+5JdDj
ba79B5KM7w9CYI/QnLDsKeGLHsEylEnw6zY6+seitRAtIGfe7XB+PDddt9dSoC91
bwZfVEx6GCUr6lp+YJsbd/BCFdjLpMhWuI1q3d0A1rzuB4P/9/ehK2fB5ZtE5IDx
snkfNOk9sn/+AxuR79GnORdAOL38VFtNg1vZeHBVCg9byQ+mPcIlXdavYmZw9Sn3
lqsuS8xzcVltRw30eF9ne8uIlDETUdLQ84/RI2kxcbXT6naGWH9pbtto5ttY84Oc
QLAzIKeSFj9GFQm06b5wCReA7gpApU1eMeBlXEhGfUwwpQ4Ma2QjGVHLM6yyIbHG
uqKQcaU2z0gZANmDMw1RSv6AbDiDYvF5UNznCJklrxKycLKgiLVYEfsDcT8+mSKK
pFqazDVn6HzEa+SnU+peSQxb0N1oCfnufUqyCumih+8FNmjr1V8=
=u7vS
-END PGP SIGNATURE-
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] libzbxovirt - zabbix module for oVirt (proof-of-concept)

2018-04-20 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Added GPL License

On 20/04/2018 08:28, Peter Hudec wrote:
> You're right, I forget to add it. It's GNU General Public License,
> I will add notes about into the project .
> 
> Peter
> 
> On 20/04/2018 08:15, Yaniv Kaul wrote:
> 
> 
>> On Fri, Apr 20, 2018, 1:25 AM Peter Hudec <phu...@cnc.sk 
>> <mailto:phu...@cnc.sk>> wrote:
> 
>> Hi,
> 
>> I just wanted to share my work to get oVirt monitored by Zabbix. 
>> It could be good start for future work.
> 
>> If interested, please see https://github.com/hudecof/libzbxovirt
> 
> 
>>> Before we look at this, can you clarify under which license it 
>>> is? Y.
> 
> 
> 
>> There is still a lot of work on this, so any help is welcome.
> 
>> regards Peter
> 
>> ___ Users mailing
>> list Users@ovirt.org <mailto:Users@ovirt.org> 
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrZixgACgkQQnvVWOJ3
5BBOMg/8DGO4Ctu3//50TrxpF+uEl/T8O4f1ehbjhT0uSKkYchxuEXl2tGjUrGKF
EPGHpnqQrRZUyjiriPIc40NgtwcmzcZCfmGkHvYB6zdLuCZu6eqkdBu1MxFlAbCO
hZ/dQtjJ07ETdDu0TvbvVWl4Fl1q4XfmpXgA2uRJUmTZYcE7HvkYO01Ie0ZRdrFG
bqF6jGKmgi+f7bZH8cfVze+CJW9GfxuUuxBq2daZkAb/DZFyFqbU+9j3Om/EJMUA
VHlMCdE3SbeXYLfdmkO/N4+soF+FvVp346a123htWYFSA1pske/Sn+kedf1qHnLM
iY8x0Xz8ohnQXlT+9Nvmgb9Ucvrxx7X1KNPozQ6hYFSPQ2Ommvp0T/rUL5AP4B/b
JTC4vuV62xpFAkCTDK5LD2yF3nRN6ae8+DRR1wSOMuo7aXgEFGgGpVq6r2/DoDD6
4mZ0dvJ/3++XGlmf5gR4SFapC7u2Kak944+3JYUe8yQDrGMa+QTDl2MFulW5vTXv
khkuK49mT7amedtDSS25CWfS7A4RRMBDnDfzlnhvjIIQNJAnOy1up4l3U2JNxHoE
hwFiGM2wl15GdwUFOkypqnLNKZglh5TyrprzX/lifhPEmY4GFvqJFAk5u3G6RnCY
blIHRf/r3DzOmX8oTVEjn8tGE7kQla3Pngb6AP9cva4AS8y61AY=
=P46M
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] libzbxovirt - zabbix module for oVirt (proof-of-concept)

2018-04-20 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

You're right, I forget to add it.
It's GNU General Public License, I will add notes about into the project
.

Peter

On 20/04/2018 08:15, Yaniv Kaul wrote:
> 
> 
> On Fri, Apr 20, 2018, 1:25 AM Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi,
> 
> I just wanted to share my work to get oVirt monitored by Zabbix.
> It could be good start for future work.
> 
> If interested, please see https://github.com/hudecof/libzbxovirt
> 
> 
>> Before we look at this, can you clarify under which license it
>> is? Y.
> 
> 
> 
> There is still a lot of work on this, so any help is welcome.
> 
> regards Peter
> 
> ___ Users mailing list 
> Users@ovirt.org <mailto:Users@ovirt.org> 
> http://lists.ovirt.org/mailman/listinfo/users
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrZiKcACgkQQnvVWOJ3
5BADpg//XfXPR0UROAHWaGf6j8Iigco3E2E5YtZvP78HXVrBMzhMIyKwBgm1hgFC
5ei2OseKHnqt+L4JkXdnLJCLZZoXPpxs/zlogLSzRGHyYTKrUv70LDrhtHn3bZb6
Hy7NB0IN3MPx6k/hCRAr+tt5JNMWZ9AfrjjbTSGhl9DjzYfZIbmi0+0CR8fcW5Dg
yfO5wexFhcH/bpEHHI7HvoOhNfKF7fsMqI1lkbiOX3z6DaZnlxN2xZ0GtF5iUsP3
fszy7WeiD0ZRlMVozoWYz4FEKgwNWi8/JOhuWSmJunLr0pDEHbulFoUBEUxkcguF
qgCAQSu4X8FLSaepYsyN8pNGUwldJCAQDvrZwspcgNttR1ALs3ZBcf+7pevRMQyH
rarAtv184H05Bm1pOw0r5Un3QNb3rtqPOx6tIsO9byRSJOy+HaKlRvOy/tzBUdPp
yKtOYSp7A5zKCZ/5UUFbgBrQHwxZgoo7tzzHRdYe6uTazNIYuVPBvrrnG54gGGI9
3qCtjRE/xDKlKwdU3kohZBiS7rJ1cDYCVewgPRXcPwhKGVKJVHga7tvYA5cXJkop
7tr+hdgikq4Vu2zRDsA7Mlz0NodREL//zstRiSf2MjVVNPpfFaumS0yjsyLX1UhD
sTT3StizY2V54eEDRli3P0tZPX8vHmrC9JDfJqQByWgV8ZQytNQ=
=BFWK
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Postgresql tables

2018-04-20 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Yes, it does, but you have to use follow=statistics on disks endpoint,
see See
http://ovirt.github.io/ovirt-engine-api-model/4.2/#documents/003_common_
concepts/follow


For all disks
https://dipovirt-engine02.cnc.sk/ovirt-engine/api/disks?follow=statistic
s

For all disks of one VMS
https://dipovirt-engine02.cnc.sk/ovirt-engine/api/vms/963d7540-619c-437d
- -978a-86e550e5e571?follow=disk_attachments.disk.statistics



Peter

On 20/04/2018 08:14, Hari Prasanth Loganathan wrote:
> Ovirt API doesn't provide the API to get all the disk statistics
> at once. We need to hit for each Disk. It is an overhead.
> 
> 
> 
> On Fri, Apr 20, 2018 at 11:43 AM, Yaniv Kaul <yk...@redhat.com 
> <mailto:yk...@redhat.com>> wrote:
> 
> May I ask what are you trying to achieve? Why not use the oVirt
> REST API? Y.
> 
> 
> On Fri, Apr 20, 2018, 8:57 AM Hari Prasanth Loganathan 
> <hariprasant...@msystechnologies.com 
> <mailto:hariprasant...@msystechnologies.com>> wrote:
> 
> How frequently is the 'disk_all table' is updated with new 
> statistics?
> 
> On Fri, Apr 20, 2018 at 11:15 AM, Hari Prasanth Loganathan 
> <hariprasant...@msystechnologies.com 
> <mailto:hariprasant...@msystechnologies.com>> wrote:
> 
> How is the disk id mapped to this table : disk_image_dynamic 
> table?
> 
> If I need statistics of all the disk, How can I get it?
> 
> On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik 
> <bzlot...@redhat.com <mailto:bzlot...@redhat.com>> wrote:
> 
> It is in the disk_image_dynamic table
> 
> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan
> <hariprasant...@msystechnologies.com 
> <mailto:hariprasant...@msystechnologies.com>> wrote:
> 
> Hi Team,
> 
> I am trying to get the disk level statistics using oVirt with the
> following API,
> 
> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
> 
> *and I get this response : * { "statistic": [ { "kind": "gauge", 
> "type": "decimal", "unit": "bytes_per_second", "values": { "value":
> [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" },* "name":
> "data.current.read",* "description": "Read data rate", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>
> 
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> }, { "kind": "gauge", "type": "decimal", "unit":
> "bytes_per_second", "values": { "value": [ { "datum": 0 } ] }, 
> "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, * "name":
> "data.current.write",* "description": "Write data rate", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/2f23addd-4ebd-3d82-a449-c28778bc33eb",
>
> 
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> }, { "kind": "gauge", "type": "decimal", "unit": "seconds", 
> "values": { "value": [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *   "name":
> "disk.read.latency",* "description": "Read latency", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
>
> 
"id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> }, { "kind": "gauge", "type": "decimal", "unit": "seconds", 
> "values": { "value": [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *  "name":
> "disk.write.latency",* "description": "Write latency", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/b1e75c7b-cea4-37d2-8459-f7d6

Re: [ovirt-users] Postgresql tables

2018-04-19 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Hari,

there are also another way how to get VM stats.

You could hook into VDSM, see
https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client/,
command vdsm-client Host getAllVmStats

Peter

On 19/04/2018 18:48, Hari Prasanth Loganathan wrote:
> Appreciated for your help. Could you tell me how frequently the 
> statistics are updated in this table ?
> 
> I also found one more way to get the statistics, which is the 
> recommended way?
> 
> select * from 
> getdiskbydiskid('a570a8a4-d4ff-4826-bc39-50bb0b42785c','27e73630-3688-
11e8-8432-000c29cc7b80','f');
>
>  Thanks, Hari
> 
> On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik
> <bzlot...@redhat.com <mailto:bzlot...@redhat.com>> wrote:
> 
> It is in the disk_image_dynamic table
> 
> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan 
> <hariprasant...@msystechnologies.com 
> <mailto:hariprasant...@msystechnologies.com>> wrote:
> 
> Hi Team,
> 
> I am trying to get the disk level statistics using oVirt with the
> following API,
> 
> /ovirt-engine/api/disks/{unique_disk_id}/statistics/
> 
> *and I get this response : * { "statistic": [ { "kind": "gauge", 
> "type": "decimal", "unit": "bytes_per_second", "values": { "value":
> [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" },* "name":
> "data.current.read",* "description": "Read data rate", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/33b9212b-f9cb-3fd0-b364-248fb61e1272",
>
> 
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
> }, { "kind": "gauge", "type": "decimal", "unit":
> "bytes_per_second", "values": { "value": [ { "datum": 0 } ] }, 
> "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, * "name":
> "data.current.write",* "description": "Write data rate", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/2f23addd-4ebd-3d82-a449-c28778bc33eb",
>
> 
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
> }, { "kind": "gauge", "type": "decimal", "unit": "seconds", 
> "values": { "value": [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *   "name":
> "disk.read.latency",* "description": "Read latency", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
>
> 
"id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
> }, { "kind": "gauge", "type": "decimal", "unit": "seconds", 
> "values": { "value": [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, *  "name":
> "disk.write.latency",* "description": "Write latency", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
>
> 
"id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
> }, { "kind": "gauge", "type": "decimal", "unit": "seconds", 
> "values": { "value": [ { "datum": 0 } ] }, "disk": { "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c", 
> "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c" }, "name":
> "disk.flush.latency", "description": "Flush latency", "href": 
> "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statisti
cs/9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0",
>
> 
"id": "9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0"
> } ] }
&

[ovirt-users] libzbxovirt - zabbix module for oVirt (proof-of-concept)

2018-04-19 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I just wanted to share my work to get oVirt monitored by Zabbix. It
could be good start for future work.

If interested, please see https://github.com/hudecof/libzbxovirt

There is still a lot of work on this, so any help is welcome.

regards
Peter

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrZFzYACgkQQnvVWOJ3
5BBd2A/9FrRa9Yq75iqBksjk1+KsinjVXCwoxT8FDpsUWg2wjx4TvOlDFJ7e8z7c
QRtauYsXPlertCKTnWTRl9dyKfk9qQxe90TxuZUDyeuH9/8on7fBlHT14S+lvh+6
lJ9Q2S4nGqPPS2tcH3gdZ7Zs1MF+tj4B0snAIrQG0/kARUHBeM1ez52EZRK/N/5J
QAtNHLz2R4Ownpc7M28on/a1qGN3QUrSeWaeugvOD27ARBGTaaoHk3Q7lp+Z9VTX
4b2wI0n9rbZSvEeiqtkRzQqDY1GtpsS/g9h3cTT0fYHiWkTd50yo2/p69xRpUCfB
4j+rgVQqhFDXxAB3PBNahfWD2sNYOht6MIQnzexLgm5DY/RuqsLHfdX8ZKnGJJdm
l25n+er6sciPfCDPo7Ola96J0jqGO7zR1IAV7K20e3RVage7cBEfXbsZRszhfDfr
bwWj/MRBBVbnpjob8TzIdUiLRnJdkHyZNiICDC8dTleWIfgnYASa/ljAssrWuZYF
VYnKrUG/tORlxcn5P/kzUThUASXpyO0bTx+IwY79ruDAgnumKHK+zs8r8Nimrn/G
NxYWhC4FyWfyqb5vpaYI0jeeuVAKy+6HCZk66xqdtHO5kBYmtizLZVkfu0++Ji7F
6QTfu8OImx0q25uvsBZxX0mfHy0Rs7QVkQjUvK+CWqvK9mjSoQo=
=m7tM
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vdsm hook noipspoof on interface level

2018-04-14 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Thanks,

this was the last part into my puzzle, HOST INTERFACE params.

The example hook provided in
https://bugzilla.redhat.com/show_bug.cgi?id=1366905#c8,
https://bugzilla.redhat.com/attachment.cgi?id=1232201 looks good, but
it seems to set the IP param on all interfaces too, regardless on
which interface the NIC PARAM is set.

The hooks should be called per vNIC, as reading the
https://www.ovirt.org/documentation/admin-guide/appe-VDSM_and_Hooks/#the
- -vdsm-hook-domain-xml-object,
the one/several of thees hooks should be used or maybe I'm wrong ;(

Peter

On 14/04/2018 07:04, Eitan Raviv wrote:
> You might find the following useful:
> 
> https://ovirt.org/develop/release-management/features/network/networkf
ilterparameters/
>
>  HTH
> 
> On Thu, Apr 12, 2018, 14:52 Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi,
> 
> I would like to restrict of usage IP address on VMs. Thos could be 
> achied by usinf clear-filter instead of vdsm-no-mac-spoofing.
> 
> I have found noipspoof vdsm hook, 
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/noipspoof.
> 
> This hook but set the filtering on all interfaces, the setting is
> on VM level, not interface level. So if the there are more
> interfaces on all of them. I would like just restrict the WAN
> interface on multi homed VMs.
> 
> Peter
> 
> -- *Peter Hudec* Infraštruktúrny architekt phu...@cnc.sk
> <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk 
> <mailto:phu...@cnc.sk>>
> 
> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2  35 000
> 100
> 
> Mobil:+421 905 997 203 *www.cnc.sk <http://www.cnc.sk>*
> <http:///www.cnc.sk <http://www.cnc.sk>>
> 
> _______ Users mailing list 
> Users@ovirt.org <mailto:Users@ovirt.org> 
> http://lists.ovirt.org/mailman/listinfo/users
> 


- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrSm54ACgkQQnvVWOJ3
5BDz5A//dqyf9wnvkRCjEmeUkMsN72qL7o+utazM7L8S4sY4Pu6INsPhpy7QtwHw
fyXbdrU9qy+5ts3g+yoxpsdkTWUk47m/6nQR3fiw0nXJu44/ABl+Hw4g0H3/k86f
7sYOYvZ8IfCpL9/2r1VRlP8j7e+CdI8Ltcjppn7PtKhPT03f87p2PT1pJd95DYS+
GbqZZ6yOAUlePP/808+f7hYxKNz0ek1tf/ZxzLgSJsCl1PsIhKiCBiuze/5hdeL5
/VNWVSqVXNZdzOZkupxas50f/AH6g4DXniyChqvoTi+D37Wpf5yTxXM5C+Qf36Ok
2qZEovxuno51A5l9qIE0n2LQ3I6zJbybdth33sV1uxFK65CWxlfLgbPxb4+9JONF
2yozK/DtmGC7Hree2INBGOJA/55fCrccxSMuLW8JbmZqx43uCrE/FBWZhXE6Lx+f
F5hR5e3kJEWjEtyPKpdtXedmOsb06xvGq+WFOGl8VgaRmNgsuLN/YYy13kRDY+0K
j//ZX7ZqBaP9TqaW9y1LljTPLGugqVX+uzPdbUvW4vqahNU8mT5Kq1pBrrGPdY+C
FolC1CLiWixAAhtSXfJihflFUJq+pYkAXDYBNPj/uyuIyeGXABw1UkJqgc0bVAal
lSAMK2P09xwJ8Db5HpqxXpOHe/s5XdYD8Mj0jebQ2308CPNxfQM=
=AvLd
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Engine reports

2018-04-13 Thread Peter Hudec
thanks, problem was with the selinux. I applied the permission on the
/var/lib/elasticsearch once again.

Deployment is done ;)

Right now mi browser is complaining about certificate on SSO.
When I try to reach https://kibana.
I'm redirected to SSO

https:// :8443/oauth/authorize?...

An error occurred during a connection to metrics.ovirt.cnc.sk:8443. You
have received an invalid certificate. Please contact the server
administrator or email correspondent and give them the following
information: Your certificate contains the same serial number as another
certificate issued by the certificate authority. Please get a new
certificate containing a unique serial number. Error code:
SEC_ERROR_REUSED_ISSUER_AND_SERIAL


Peter

On 12/04/2018 19:47, Rich Megginson wrote:
> sudo ls -alrtF -Z /var/lib/elasticsearch
> 
> oc logs logging-es-data-master-z6zbv4v2-2-deploy
> 
> oc describe pod logging-es-data-master-z6zbv4v2-2-deploy
> 
> sudo grep type=AVC /var/log/audit/audit.log | tail
> 
> On 04/12/2018 02:32 AM, Peter Hudec wrote:
>> back to this issue.
>>
>> something went wrong ;( The status command got error. I'm not familiar
>> with openshift, so the log processing will took me a while.
>>
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc project logging
>> Already on project "logging" on server
>> "https://metrics.ovirt.cnc.sk:8443;.
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc adm policy add-scc-to-user
>> hostmount-anyuid \
>>>    system:serviceaccount:logging:aggregated-logging-elasticsearch
>> scc "hostmount-anyuid" added to:
>> ["system:serviceaccount:logging:aggregated-logging-elasticsearch"]
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc rollout cancel $( oc get -n
>> logging dc -l component=es -o name )
>> No rollout is in progress (latest rollout #2 failed 3 days ago)
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc rollout latest $( oc get -n
>> logging dc -l component=es -o name )
>> deploymentconfig "logging-es-data-master-z6zbv4v2" rolled out
>> [PROD] r...@dipostat01.cnc.sk: ~ #  oc rollout status -w $( oc get -n
>> logging dc -l component=es -o name )
>> Waiting for rollout to finish: 0 of 1 updated replicas are available...
>> error: replication controller "logging-es-data-master-z6zbv4v2-3" has
>> failed progressing
>>
>>
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
>> NAME   READY STATUS    RESTARTS
>>   AGE
>> logging-curator-1-c894f    1/1   Running  
>> 904    5d
>> logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error
>> 0  3d
>> logging-fluentd-x9vzs  1/1   Running  
>> 1  5d
>> logging-kibana-1-6bvvw 2/2   Running  
>> 2  5d
>> logging-mux-1-xxmdj    1/1   Running  
>> 1  5d
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
>> NAME   READY STATUS    RESTARTS
>>   AGE
>> logging-curator-1-c894f    1/1   Running  
>> 904    5d
>> logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error
>> 0  3d
>> logging-fluentd-x9vzs  1/1   Running  
>> 1  5d
>> logging-kibana-1-6bvvw 2/2   Running  
>> 2  5d
>> logging-mux-1-xxmdj    1/1   Running  
>> 1  5d
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
>> NAME   READY STATUS    RESTARTS
>>   AGE
>> logging-curator-1-c894f    1/1   Running  
>> 904    5d
>> logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error
>> 0  3d
>> logging-fluentd-x9vzs  1/1   Running  
>> 1  5d
>> logging-kibana-1-6bvvw 2/2   Running  
>> 2  5d
>> logging-mux-1-xxmdj    1/1   Running  
>> 1  5d
>> [PROD] r...@dipostat01.cnc.sk: ~ # oc get svc
>> NAME    TYPE    CLUSTER-IP   EXTERNAL-IP
>> PORT(S) AGE
>> logging-es  ClusterIP   172.30.249.174   
>> 9200/TCP    5d
>> logging-es-cluster  ClusterIP   172.30.114.201   
>> 9300/TCP    5d
>> logging-es-prometheus   ClusterIP   172.30.203.113   
>> 443/TCP 5d
>> logging-kibana  ClusterIP   172.30.29.192    
>> 443/TCP 5d
>> logging-mux ClusterIP   172.30.170.158   192.168.16.17
>> 24284/TCP   5d
>>
>&

[ovirt-users] vdsm hook noipspoof on interface level

2018-04-12 Thread Peter Hudec
Hi,

I would like to restrict of usage IP address on VMs. Thos could be
achied by usinf clear-filter instead of vdsm-no-mac-spoofing.

I have found noipspoof vdsm hook,
https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/noipspoof.

This hook but set the filtering on all interfaces, the setting is on VM
level, not interface level. So if the there are more interfaces on all
of them. I would like just restrict the WAN interface on multi homed VMs.

Peter

-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] Engine reports

2018-04-12 Thread Peter Hudec
back to this issue.

something went wrong ;( The status command got error. I'm not familiar
with openshift, so the log processing will took me a while.

[PROD] r...@dipostat01.cnc.sk: ~ # oc project logging
Already on project "logging" on server "https://metrics.ovirt.cnc.sk:8443;.
[PROD] r...@dipostat01.cnc.sk: ~ # oc adm policy add-scc-to-user
hostmount-anyuid \
>   system:serviceaccount:logging:aggregated-logging-elasticsearch
scc "hostmount-anyuid" added to:
["system:serviceaccount:logging:aggregated-logging-elasticsearch"]
[PROD] r...@dipostat01.cnc.sk: ~ # oc rollout cancel $( oc get -n
logging dc -l component=es -o name )
No rollout is in progress (latest rollout #2 failed 3 days ago)
[PROD] r...@dipostat01.cnc.sk: ~ # oc rollout latest $( oc get -n
logging dc -l component=es -o name )
deploymentconfig "logging-es-data-master-z6zbv4v2" rolled out
[PROD] r...@dipostat01.cnc.sk: ~ #  oc rollout status -w $( oc get -n
logging dc -l component=es -o name )
Waiting for rollout to finish: 0 of 1 updated replicas are available...
error: replication controller "logging-es-data-master-z6zbv4v2-3" has
failed progressing


[PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
NAME   READY STATUSRESTARTS
 AGE
logging-curator-1-c894f1/1   Running   9045d
logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error 0  3d
logging-fluentd-x9vzs  1/1   Running   1  5d
logging-kibana-1-6bvvw 2/2   Running   2  5d
logging-mux-1-xxmdj1/1   Running   1  5d
[PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
NAME   READY STATUSRESTARTS
 AGE
logging-curator-1-c894f1/1   Running   9045d
logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error 0  3d
logging-fluentd-x9vzs  1/1   Running   1  5d
logging-kibana-1-6bvvw 2/2   Running   2  5d
logging-mux-1-xxmdj1/1   Running   1  5d
[PROD] r...@dipostat01.cnc.sk: ~ # oc get pods
NAME   READY STATUSRESTARTS
 AGE
logging-curator-1-c894f1/1   Running   9045d
logging-es-data-master-z6zbv4v2-2-deploy   0/1   Error 0  3d
logging-fluentd-x9vzs  1/1   Running   1  5d
logging-kibana-1-6bvvw 2/2   Running   2  5d
logging-mux-1-xxmdj1/1   Running   1  5d
[PROD] r...@dipostat01.cnc.sk: ~ # oc get svc
NAMETYPECLUSTER-IP   EXTERNAL-IP
PORT(S) AGE
logging-es  ClusterIP   172.30.249.174   
9200/TCP5d
logging-es-cluster  ClusterIP   172.30.114.201   
9300/TCP5d
logging-es-prometheus   ClusterIP   172.30.203.113   
443/TCP 5d
logging-kibana  ClusterIP   172.30.29.192
443/TCP 5d
logging-mux ClusterIP   172.30.170.158   192.168.16.17
24284/TCP   5d


On 07/04/2018 01:09, Rich Megginson wrote:
> Great!
> 
> On 04/06/2018 04:43 PM, Peter Hudec wrote:
>> Ansible playbook finished OK. The next step after weekend.
>>
>> thanks
>>     Peter
>>
>> On 06/04/2018 23:34, Rich Megginson wrote:
>>> On 04/06/2018 03:08 PM, Peter Hudec wrote:
>>>> Hi,
>>>>
>>>> https://tools.apps.hudecof.net/paste/view/1d493d52
>>>>
>>>> The difference is
>>>> - I used latest ansible 2.5 from PIPY source, since the RPM package do
>>>> not fit requirements
>>>> - I used GIT repo for openshift-ansible.
>>>>
>>>> I could start it over with the RPM based openshift-ansible
>>> I recommend that you start over with the RPM based openshift-ansible,
>>> which is what the instructions say, which is what I have tested
>>>
>>> alternately - if you want to go the more experimental route, you could
>>> enable the epel-testing yum repo - ansible-2.5 is in epel-testing which
>>> I've been told by the openshift-ansible guys should work
>>>
>>>>  Peter
>>>>
>>>> On 06/04/2018 20:23, Rich Megginson wrote:
>>>>> I'm assuming you are running on a CentOS7 machine, recently updated to
>>>>> the latest base packages. Please confirm.
>>>>>
>>>>> Please provide the output of the following commands:
>>>>>
>>>>> sudo yum repolist
>>>>>
>>>>> sudo rpm -q ansible
>>>>>
>>>>> sudo yum repoquery -i ansible
>>>>>
&

Re: [ovirt-users] Engine reports

2018-04-06 Thread Peter Hudec
Ansible playbook finished OK. The next step after weekend.

thanks
Peter

On 06/04/2018 23:34, Rich Megginson wrote:
> On 04/06/2018 03:08 PM, Peter Hudec wrote:
>> Hi,
>>
>> https://tools.apps.hudecof.net/paste/view/1d493d52
>>
>> The difference is
>> - I used latest ansible 2.5 from PIPY source, since the RPM package do
>> not fit requirements
>> - I used GIT repo for openshift-ansible.
>>
>> I could start it over with the RPM based openshift-ansible
> 
> I recommend that you start over with the RPM based openshift-ansible,
> which is what the instructions say, which is what I have tested
> 
> alternately - if you want to go the more experimental route, you could
> enable the epel-testing yum repo - ansible-2.5 is in epel-testing which
> I've been told by the openshift-ansible guys should work
> 
>>
>> Peter
>>
>> On 06/04/2018 20:23, Rich Megginson wrote:
>>> I'm assuming you are running on a CentOS7 machine, recently updated to
>>> the latest base packages. Please confirm.
>>>
>>> Please provide the output of the following commands:
>>>
>>> sudo yum repolist
>>>
>>> sudo rpm -q ansible
>>>
>>> sudo yum repoquery -i ansible
>>>
>>> sudo rpm -q openshift-ansible
>>>
>>> sudo yum repoquery -i openshift-ansible
>>>
>>> sudo rpm -q origin
>>>
>>> sudo yum repoquery -i origin
>>>
>>> sudo cat
>>> /usr/share/ansible/openshift-ansible/roles/lib_utils/callback_plugins/aa_version_requirement.py
>>>
>>>
>>>
>>> sudo ls -alrtF /etc/origin/logging
>>>
>>> Please confirm that you followed the steps listed in the link below,
>>> including the use of the ansible inventory, vars.yaml.template, and repo
>>> files:
>>> https://github.com/richm/Main/blob/7e663351dc371b7895564072c7656ebfda45068d/README-install.md
>>>
>>>
>>>
>>> On 04/06/2018 03:19 AM, Peter Hudec wrote:
>>>> first issue is ansible version, could be solved by virtual env
>>>>
>>>> FATAL: Current Ansible version (2.4.2.0) is not supported. Supported
>>>> versions: 2.4.3.0 or newer
>>>>
>>>> yum install -y python-virtualenv
>>>> virtualenv ansible
>>>> . ./ansible/bin/activate
>>>> pip install -U pip setuptolls
>>>> pip install -U pip setuptools
>>>> pip install ansible
>>>>
>>>>
>>>> Second issue is a little bit strange for me
>>>>
>>>> 2018-04-06 10:00:30,264 p=68226 u=root |  Failure summary:
>>>>
>>>>
>>>>     1. Hosts:    localhost
>>>>    Play: OpenShift Aggregated Logging
>>>>    Task: pulling down signing items from host
>>>>    Message:  ESC[0;31mAll items completedESC[0m
>>>>
>>>> I have found in logs
>>>>
>>>> 2018-04-06 10:00:28,356 p=68226 u=root |  failed: [localhost]
>>>> (item=ca.crl.srl) => {
>>>>   "changed": false,
>>>>   "invocation": {
>>>>   "module_args": {
>>>>   "src": "/etc/origin/logging/ca.crl.srl"
>>>>   }
>>>>   },
>>>>   "item": "ca.crl.srl",
>>>>   "msg": "file not found: /etc/origin/logging/ca.crl.srl"
>>>>
>>>>
>>>> Is this good or bad ?
>>>>
>>>>  Peter
>>>>
>>>> On 05/04/2018 16:11, Rich Megginson wrote:
>>>>> Is it possible that you could start over from scratch, using the
>>>>> latest
>>>>> instructions/files at
>>>>> https://github.com/ViaQ/Main/pull/37/files?
>>>>>
>>>>> On 04/05/2018 07:19 AM, Peter Hudec wrote:
>>>>>> The version is from
>>>>>>
>>>>>> /usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py:get_openshift_version
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> [PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
>>>>>> /usr/bin/openshift version
>>>>>> openshift v3.10.0-alpha.0+f0186dd-401
>>>>>> kubernetes v1.9.1+a0ce1bc657
>>>>>> etcd 3.2.16
>>>>>>
>>

Re: [ovirt-users] Engine reports

2018-04-06 Thread Peter Hudec
Hi,

https://tools.apps.hudecof.net/paste/view/1d493d52

The difference is
- I used latest ansible 2.5 from PIPY source, since the RPM package do
not fit requirements
- I used GIT repo for openshift-ansible.

I could start it over with the RPM based openshift-ansible

Peter

On 06/04/2018 20:23, Rich Megginson wrote:
> I'm assuming you are running on a CentOS7 machine, recently updated to
> the latest base packages. Please confirm.
> 
> Please provide the output of the following commands:
> 
> sudo yum repolist
> 
> sudo rpm -q ansible
> 
> sudo yum repoquery -i ansible
> 
> sudo rpm -q openshift-ansible
> 
> sudo yum repoquery -i openshift-ansible
> 
> sudo rpm -q origin
> 
> sudo yum repoquery -i origin
> 
> sudo cat
> /usr/share/ansible/openshift-ansible/roles/lib_utils/callback_plugins/aa_version_requirement.py
> 
> 
> sudo ls -alrtF /etc/origin/logging
> 
> Please confirm that you followed the steps listed in the link below,
> including the use of the ansible inventory, vars.yaml.template, and repo
> files:
> https://github.com/richm/Main/blob/7e663351dc371b7895564072c7656ebfda45068d/README-install.md
> 
> 
> On 04/06/2018 03:19 AM, Peter Hudec wrote:
>> first issue is ansible version, could be solved by virtual env
>>
>> FATAL: Current Ansible version (2.4.2.0) is not supported. Supported
>> versions: 2.4.3.0 or newer
>>
>> yum install -y python-virtualenv
>> virtualenv ansible
>> . ./ansible/bin/activate
>> pip install -U pip setuptolls
>> pip install -U pip setuptools
>> pip install ansible
>>
>>
>> Second issue is a little bit strange for me
>>
>> 2018-04-06 10:00:30,264 p=68226 u=root |  Failure summary:
>>
>>
>>    1. Hosts:    localhost
>>   Play: OpenShift Aggregated Logging
>>   Task: pulling down signing items from host
>>   Message:  ESC[0;31mAll items completedESC[0m
>>
>> I have found in logs
>>
>> 2018-04-06 10:00:28,356 p=68226 u=root |  failed: [localhost]
>> (item=ca.crl.srl) => {
>>  "changed": false,
>>  "invocation": {
>>  "module_args": {
>>  "src": "/etc/origin/logging/ca.crl.srl"
>>  }
>>  },
>>  "item": "ca.crl.srl",
>>  "msg": "file not found: /etc/origin/logging/ca.crl.srl"
>>
>>
>> Is this good or bad ?
>>
>> Peter
>>
>> On 05/04/2018 16:11, Rich Megginson wrote:
>>> Is it possible that you could start over from scratch, using the latest
>>> instructions/files at
>>> https://github.com/ViaQ/Main/pull/37/files?
>>>
>>> On 04/05/2018 07:19 AM, Peter Hudec wrote:
>>>> The version is from
>>>>
>>>> /usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py:get_openshift_version
>>>>
>>>>
>>>>
>>>> [PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
>>>> /usr/bin/openshift version
>>>> openshift v3.10.0-alpha.0+f0186dd-401
>>>> kubernetes v1.9.1+a0ce1bc657
>>>> etcd 3.2.16
>>>>
>>>> this binary is from the origin-3.7.2-1.el7.git.0.f0186dd.x86_64 package
>>>>
>>>> [PROD] r...@dipostat01.cnc.sk: ~ # rpm -qf /usr/bin/openshift
>>>> origin-3.7.2-1.el7.git.0.f0186dd.x86_64
>>>>
>>>> Hmm, why the version do not match ?
>>>>
>>>>  Peter
>>>>
>>>> On 04/04/2018 17:41, Shirly Radco wrote:
>>>>> Hi,
>>>>>
>>>>>
>>>>> I have a updated the installation instructions for installing
>>>>> OpenShift
>>>>> 3.9, based on Rich's work , for the oVirt use case.
>>>>>
>>>>> Please make sure where you get the 3.10 rpm and disable that repo.
>>>>>
>>>>> This is the PR that includes the metrics store installation of
>>>>> OpenShift 3.9
>>>>>
>>>>> https://github.com/sradco/ovirt-site/blob/74f1e772c8ca75d4b9e57a3c02cce49c5030f7f7/source/develop/release-management/features/metrics/setting-up-viaq-logging.html.md
>>>>>
>>>>>
>>>>>
>>>>> It should be merged soon, but you can use it to install.
>>>>>
>>>>>
>>>>> Please make sure to add the ansible-inventory-origin-39-aio file as
>>>>> described below.
>>>>> These are 

[ovirt-users] how do you backup VM

2018-04-06 Thread Peter Hudec
Hi,

one general question. See the $SUBJ.

I have found https://github.com/openbacchus/bacchus, that good as start
point, but still missing some features. i was thinking to contribute
here, but first I want to known another solutions.

regards
Peter
-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] Engine reports

2018-04-06 Thread Peter Hudec
first issue is ansible version, could be solved by virtual env

FATAL: Current Ansible version (2.4.2.0) is not supported. Supported
versions: 2.4.3.0 or newer

yum install -y python-virtualenv
virtualenv ansible
. ./ansible/bin/activate
pip install -U pip setuptolls
pip install -U pip setuptools
pip install ansible


Second issue is a little bit strange for me

2018-04-06 10:00:30,264 p=68226 u=root |  Failure summary:


  1. Hosts:localhost
 Play: OpenShift Aggregated Logging
 Task: pulling down signing items from host
 Message:  ESC[0;31mAll items completedESC[0m

I have found in logs

2018-04-06 10:00:28,356 p=68226 u=root |  failed: [localhost]
(item=ca.crl.srl) => {
"changed": false,
"invocation": {
"module_args": {
"src": "/etc/origin/logging/ca.crl.srl"
}
},
"item": "ca.crl.srl",
"msg": "file not found: /etc/origin/logging/ca.crl.srl"


Is this good or bad ?

Peter

On 05/04/2018 16:11, Rich Megginson wrote:
> Is it possible that you could start over from scratch, using the latest
> instructions/files at
> https://github.com/ViaQ/Main/pull/37/files?
> 
> On 04/05/2018 07:19 AM, Peter Hudec wrote:
>> The version is from
>>
>> /usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py:get_openshift_version
>>
>>
>> [PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
>> /usr/bin/openshift version
>> openshift v3.10.0-alpha.0+f0186dd-401
>> kubernetes v1.9.1+a0ce1bc657
>> etcd 3.2.16
>>
>> this binary is from the origin-3.7.2-1.el7.git.0.f0186dd.x86_64 package
>>
>> [PROD] r...@dipostat01.cnc.sk: ~ # rpm -qf /usr/bin/openshift
>> origin-3.7.2-1.el7.git.0.f0186dd.x86_64
>>
>> Hmm, why the version do not match ?
>>
>> Peter
>>
>> On 04/04/2018 17:41, Shirly Radco wrote:
>>> Hi,
>>>
>>>
>>> I have a updated the installation instructions for installing OpenShift
>>> 3.9, based on Rich's work , for the oVirt use case.
>>>
>>> Please make sure where you get the 3.10 rpm and disable that repo.
>>>
>>> This is the PR that includes the metrics store installation of
>>> OpenShift 3.9
>>>
>>> https://github.com/sradco/ovirt-site/blob/74f1e772c8ca75d4b9e57a3c02cce49c5030f7f7/source/develop/release-management/features/metrics/setting-up-viaq-logging.html.md
>>>
>>>
>>> It should be merged soon, but you can use it to install.
>>>
>>>
>>> Please make sure to add the ansible-inventory-origin-39-aio file as
>>> described below.
>>> These are required parameters for the ansible playbook.
>>>
>>>
>>> Best regards,
>>>
>>> -- 
>>>
>>> SHIRLY RADCO
>>>
>>> BI SeNIOR SOFTWARE ENGINEER
>>>
>>> Red Hat Israel <https://www.redhat.com/>
>>>
>>> <https://red.ht/sig>   
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>> On Wed, Apr 4, 2018 at 5:41 PM, Rich Megginson <rmegg...@redhat.com
>>> <mailto:rmegg...@redhat.com>> wrote:
>>>
>>>  I'm sorry.  I misunderstood the request.
>>>
>>>  We are in the process of updating the instructions for installing
>>>  viaq logging based on upstream origin 3.9 -
>>>  https://github.com/ViaQ/Main/pull/37
>>>  <https://github.com/ViaQ/Main/pull/37>
>>>
>>>  In the meantime, you can follow along on that PR, and we will have
>>>  instructions very soon.
>>>
>>>
>>>  On 04/04/2018 08:26 AM, Rich Megginson wrote:
>>>
>>>  On 04/04/2018 08:22 AM, Shirly Radco wrote:
>>>
>>>
>>>
>>>  --
>>>
>>>  SHIRLY RADCO
>>>
>>>  BI SeNIOR SOFTWARE ENGINEER
>>>
>>>  Red Hat Israel <https://www.redhat.com/>
>>>
>>>  <https://red.ht/sig>
>>>  TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>>  On Wed, Apr 4, 2018 at 5:07 PM, Peter Hudec <phu...@cnc.sk
>>>  <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk
>>>  <mailto:phu...@cnc.sk>>> wrote:
>>>
>>>      almost the same issue, the versio for openshoft release
>>> 

Re: [ovirt-users] Engine reports

2018-04-05 Thread Peter Hudec
Since it's still not installed, yes ;)

On 05/04/2018 16:11, Rich Megginson wrote:
> Is it possible that you could start over from scratch, using the latest
> instructions/files at
> https://github.com/ViaQ/Main/pull/37/files?
> 
> On 04/05/2018 07:19 AM, Peter Hudec wrote:
>> The version is from
>>
>> /usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py:get_openshift_version
>>
>>
>> [PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
>> /usr/bin/openshift version
>> openshift v3.10.0-alpha.0+f0186dd-401
>> kubernetes v1.9.1+a0ce1bc657
>> etcd 3.2.16
>>
>> this binary is from the origin-3.7.2-1.el7.git.0.f0186dd.x86_64 package
>>
>> [PROD] r...@dipostat01.cnc.sk: ~ # rpm -qf /usr/bin/openshift
>> origin-3.7.2-1.el7.git.0.f0186dd.x86_64
>>
>> Hmm, why the version do not match ?
>>
>> Peter
>>
>> On 04/04/2018 17:41, Shirly Radco wrote:
>>> Hi,
>>>
>>>
>>> I have a updated the installation instructions for installing OpenShift
>>> 3.9, based on Rich's work , for the oVirt use case.
>>>
>>> Please make sure where you get the 3.10 rpm and disable that repo.
>>>
>>> This is the PR that includes the metrics store installation of
>>> OpenShift 3.9
>>>
>>> https://github.com/sradco/ovirt-site/blob/74f1e772c8ca75d4b9e57a3c02cce49c5030f7f7/source/develop/release-management/features/metrics/setting-up-viaq-logging.html.md
>>>
>>>
>>> It should be merged soon, but you can use it to install.
>>>
>>>
>>> Please make sure to add the ansible-inventory-origin-39-aio file as
>>> described below.
>>> These are required parameters for the ansible playbook.
>>>
>>>
>>> Best regards,
>>>
>>> -- 
>>>
>>> SHIRLY RADCO
>>>
>>> BI SeNIOR SOFTWARE ENGINEER
>>>
>>> Red Hat Israel <https://www.redhat.com/>
>>>
>>> <https://red.ht/sig>   
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>> On Wed, Apr 4, 2018 at 5:41 PM, Rich Megginson <rmegg...@redhat.com
>>> <mailto:rmegg...@redhat.com>> wrote:
>>>
>>>  I'm sorry.  I misunderstood the request.
>>>
>>>  We are in the process of updating the instructions for installing
>>>  viaq logging based on upstream origin 3.9 -
>>>  https://github.com/ViaQ/Main/pull/37
>>>  <https://github.com/ViaQ/Main/pull/37>
>>>
>>>  In the meantime, you can follow along on that PR, and we will have
>>>  instructions very soon.
>>>
>>>
>>>  On 04/04/2018 08:26 AM, Rich Megginson wrote:
>>>
>>>  On 04/04/2018 08:22 AM, Shirly Radco wrote:
>>>
>>>
>>>
>>>  --
>>>
>>>  SHIRLY RADCO
>>>
>>>  BI SeNIOR SOFTWARE ENGINEER
>>>
>>>  Red Hat Israel <https://www.redhat.com/>
>>>
>>>  <https://red.ht/sig>
>>>  TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>
>>>  On Wed, Apr 4, 2018 at 5:07 PM, Peter Hudec <phu...@cnc.sk
>>>  <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk
>>>  <mailto:phu...@cnc.sk>>> wrote:
>>>
>>>      almost the same issue, the versio for openshoft release
>>>  changed to 3.9
>>>
>>>      Failure summary:
>>>
>>>
>>>        1. Hosts:    localhost
>>>           Play:     Determine openshift_version to configure
>>>  on first
>>>      master
>>>           Task:     For an RPM install, abort when the
>>> release
>>>      requested does
>>>      not match the available version.
>>>           Message:  You requested openshift_release 3.9,
>>>  which is not
>>>      matched by
>>>                     the latest OpenShift RPM we detected as
>>>  origin-3.10.0
>>>                     on host localhost.
>>>                     We will only install the latest RPMs, so
>>>  please ensure
>>>      yo

Re: [ovirt-users] Engine reports

2018-04-05 Thread Peter Hudec
The version is from

/usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py:get_openshift_version

[PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
/usr/bin/openshift version
openshift v3.10.0-alpha.0+f0186dd-401
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.16

this binary is from the origin-3.7.2-1.el7.git.0.f0186dd.x86_64 package

[PROD] r...@dipostat01.cnc.sk: ~ # rpm -qf /usr/bin/openshift
origin-3.7.2-1.el7.git.0.f0186dd.x86_64

Hmm, why the version do not match ?

Peter

On 04/04/2018 17:41, Shirly Radco wrote:
> Hi,
> 
> 
> I have a updated the installation instructions for installing OpenShift
> 3.9, based on Rich's work , for the oVirt use case.
> 
> Please make sure where you get the 3.10 rpm and disable that repo.
> 
> This is the PR that includes the metrics store installation of OpenShift 3.9
> 
> https://github.com/sradco/ovirt-site/blob/74f1e772c8ca75d4b9e57a3c02cce49c5030f7f7/source/develop/release-management/features/metrics/setting-up-viaq-logging.html.md
> 
> It should be merged soon, but you can use it to install.
> 
> 
> Please make sure to add the ansible-inventory-origin-39-aio file as
> described below.
> These are required parameters for the ansible playbook.
> 
> 
> Best regards,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig>  
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> 
> 
> On Wed, Apr 4, 2018 at 5:41 PM, Rich Megginson <rmegg...@redhat.com
> <mailto:rmegg...@redhat.com>> wrote:
> 
> I'm sorry.  I misunderstood the request.
> 
> We are in the process of updating the instructions for installing
> viaq logging based on upstream origin 3.9 -
> https://github.com/ViaQ/Main/pull/37
> <https://github.com/ViaQ/Main/pull/37>
> 
> In the meantime, you can follow along on that PR, and we will have
> instructions very soon.
> 
> 
> On 04/04/2018 08:26 AM, Rich Megginson wrote:
> 
> On 04/04/2018 08:22 AM, Shirly Radco wrote:
> 
> 
> 
> -- 
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> 
> 
> On Wed, Apr 4, 2018 at 5:07 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk
> <mailto:phu...@cnc.sk>>> wrote:
> 
>     almost the same issue, the versio for openshoft release
> changed to 3.9
> 
>     Failure summary:
> 
> 
>       1. Hosts:    localhost
>          Play:     Determine openshift_version to configure
> on first
>     master
>          Task:     For an RPM install, abort when the release
>     requested does
>     not match the available version.
>          Message:  You requested openshift_release 3.9,
> which is not
>     matched by
>                    the latest OpenShift RPM we detected as
> origin-3.10.0
>                    on host localhost.
>                    We will only install the latest RPMs, so
> please ensure
>     you are getting the release
>                    you expect. You may need to adjust your
> Ansible
>     inventory, modify the repositories
>                    available on the host, or run the
> appropriate OpenShift
>     upgrade playbook.
> 
> 
> What is the rpm version installed of OpenShift origin?
> Do you perhaps have another repo that includes the OpenShift
> origin-3.10.0?
> 
> 
> origin is the upstream version of OpenShift, which is unsupported.
> 
> sudo repoquery -i origin
> 
> This will tell you which repo it came from
> 
> You will need to disable that repo and uninstall any packages
> which came from that repo
> 
> Another mystery is why it is trying to install origin in the
> first place.  openshift-ansible with
> openshift_deployment_type=openshift-enterprise should not try to
> install origin, it should install packages with names like
> atomic-openshift-master, atomic-openshift-node, etc.
> 
> 
> 
> 
>     On 04/04/20

Re: [ovirt-users] Engine reports

2018-04-04 Thread Peter Hudec
[PROD] r...@dipostat01.cnc.sk: /usr/share/ansible/openshift-ansible #
repoquery -i origin
Repository centos-openshift-origin is listed more than once in the
configuration

Name: origin
Version : 3.7.2
Release : 1.el7.git.0.f0186dd
Architecture: x86_64
Size: 957727742
Packager: CBS <c...@centos.org>
Group   : Unspecified
URL : https://github.com/openshift/origin
Repository  : centos-openshift-origin37-candidate
Summary : Open Source Container Management by Red Hat
Source  : origin-3.7.2-1.el7.git.0.f0186dd.src.rpm
Description :
OpenShift is a distribution of Kubernetes optimized for enterprise
application
development and deployment. OpenShift adds developer and operational centric
tools on top of Kubernetes to enable rapid application development, easy
deployment and scaling, and long-term lifecycle maintenance for small
and large
teams and applications. It provides a secure and multi-tenant
configuration for
Kubernetes allowing you to safely host many different applications and
workloads
on a unified cluster.

On 04/04/2018 16:26, Rich Megginson wrote:
> sudo repoquery -i origin


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] Engine reports

2018-04-04 Thread Peter Hudec
almost the same issue, the versio for openshoft release changed to 3.9

Failure summary:


  1. Hosts:localhost
 Play: Determine openshift_version to configure on first master
 Task: For an RPM install, abort when the release requested does
not match the available version.
 Message:  You requested openshift_release 3.9, which is not matched by
   the latest OpenShift RPM we detected as origin-3.10.0
   on host localhost.
   We will only install the latest RPMs, so please ensure
you are getting the release
   you expect. You may need to adjust your Ansible
inventory, modify the repositories
   available on the host, or run the appropriate OpenShift
upgrade playbook.


On 04/04/2018 14:18, Shirly Radco wrote:
> Adding Nicolas since he hit the same issue.
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig>  
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> 
> 
> On Wed, Apr 4, 2018 at 3:17 PM, Shirly Radco <sra...@redhat.com
> <mailto:sra...@redhat.com>> wrote:
> 
> Hi Peter,
> 
> The installation instructions currently support OpenShift 3.6.
> 
> I'm now working on updating them to support 3.9.
> 
> You currently have 3.10 installed.
> 
> Please install OpenShift 3.9 using this repository 
> https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo
> <https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo>
> 
> And add the following file to your vm 
> 
> Run:
> vi /root/ansible-inventory-origin-39-aio
> 
> Add:
> 
> --
> [OSEv3:children]
> nodes
> masters
> etcd
> 
> [OSEv3:vars]
> ansible_connection=local
> openshift_release=v3.9
> openshift_logging_install_logging=true
> short_version=3.9
> openshift_deployment_type=origin
> openshift_master_identity_providers=[{'mappingMethod': 'lookup',
> 'challenge': 'true', 'login': 'true', 'kind':
> 'AllowAllPasswordIdentityProvider', 'name': 'allow_all'}]
> # bug - doesn't use correct tag
> openshift_logging_image_version=v3.9
> openshift_logging_elasticsearch_proxy_image_version=v1.0.0
> 
> openshift_logging_es_allow_external=True
> openshift_logging_use_mux=True
> openshift_logging_mux_allow_external=True
> openshift_logging_mux_file_buffer_storage_type=hostmount
> openshift_logging_elasticsearch_storage_type=hostmount
> openshift_logging_elasticsearch_hostmount_path=/var/lib/elasticsearch
> 
> [nodes]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> [masters]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> [etcd]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> 
> 
> 
> Save and exit.
> 
> 
> ***Please make sure that you use /var as your Elasticsearch
> persistent storage directory.
> 
> And when you run the OpenShift ansible
> 
> (https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/#running-ansible
> 
> <https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/#running-ansible>)
> use the file you just created like this:
> 
> # cd /usr/share/ansible/openshift-ansible
> # (or wherever you cloned the git repo if using git)
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/*ansible-inventory-origin-39-aio*
> playbooks/byo/config.yml
> 
> Best regards,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig>  
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> 
> 
> On Wed, Apr 4, 2018 at 12:17 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> Tried to install ovirt metrics, but got error
> 
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
> playbooks/byo/config.yml
> 
>   1. Hosts:    localhost
>      Play:     Determine openshift_version to configure on first
> master
>      Task:     For an RPM install, abort when the release
> req

Re: [ovirt-users] Engine reports

2018-04-04 Thread Peter Hudec
Hi SHIRLY,

I had clean server before installing. I will try to follow your advice.

Peter

On 04/04/2018 14:17, Shirly Radco wrote:
> Hi Peter,
> 
> The installation instructions currently support OpenShift 3.6.
> 
> I'm now working on updating them to support 3.9.
> 
> You currently have 3.10 installed.
> 
> Please install OpenShift 3.9 using this repository 
> https://github.com/ViaQ/Main/blob/master/centos7-viaq.repo
> 
> And add the following file to your vm 
> 
> Run:
> vi /root/ansible-inventory-origin-39-aio
> 
> Add:
> 
> --
> [OSEv3:children]
> nodes
> masters
> etcd
> 
> [OSEv3:vars]
> ansible_connection=local
> openshift_release=v3.9
> openshift_logging_install_logging=true
> short_version=3.9
> openshift_deployment_type=origin
> openshift_master_identity_providers=[{'mappingMethod': 'lookup',
> 'challenge': 'true', 'login': 'true', 'kind':
> 'AllowAllPasswordIdentityProvider', 'name': 'allow_all'}]
> # bug - doesn't use correct tag
> openshift_logging_image_version=v3.9
> openshift_logging_elasticsearch_proxy_image_version=v1.0.0
> 
> openshift_logging_es_allow_external=True
> openshift_logging_use_mux=True
> openshift_logging_mux_allow_external=True
> openshift_logging_mux_file_buffer_storage_type=hostmount
> openshift_logging_elasticsearch_storage_type=hostmount
> openshift_logging_elasticsearch_hostmount_path=/var/lib/elasticsearch
> 
> [nodes]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> [masters]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> [etcd]
> localhost storage=True openshift_node_labels="{'region': 'infra'}"
> openshift_schedulable=True
> 
> 
> 
> 
> Save and exit.
> 
> 
> ***Please make sure that you use /var as your Elasticsearch persistent
> storage directory.
> 
> And when you run the OpenShift ansible
> (https://www.ovirt.org/develop/release-management/features/metrics/setting-up-viaq-logging/#running-ansible)
> use the file you just created like this:
> 
> # cd /usr/share/ansible/openshift-ansible
> # (or wherever you cloned the git repo if using git)
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/*ansible-inventory-origin-39-aio*
> playbooks/byo/config.yml
> 
> Best regards,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig>  
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> 
> 
> On Wed, Apr 4, 2018 at 12:17 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> Tried to install ovirt metrics, but got error
> 
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
> playbooks/byo/config.yml
> 
>   1. Hosts:    localhost
>      Play:     Determine openshift_version to configure on first master
>      Task:     For an RPM install, abort when the release requested does
> not match the available version.
>      Message:  You requested openshift_release 3.7, which is not
> matched by
>                the latest OpenShift RPM we detected as origin-3.10.0
>                on host localhost.
>                We will only install the latest RPMs, so please ensure
> you are getting the release
>                you expect. You may need to adjust your Ansible
> inventory, modify the repositories
>                available on the host, or run the appropriate OpenShift
> upgrade playbook.
> 
>         regards
>                 Peter
> 
> 
> On 04/04/2018 09:13, Fred Rolland wrote:
> > Hi,
> >
> > Check these links:
> >
> > https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
> <https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/>
> > 
> https://ovirt.org/develop/release-management/features/metrics/metrics-store/
> 
> <https://ovirt.org/develop/release-management/features/metrics/metrics-store/>
> >
> > Regards,
> > Fred
> >
> > On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava
> > <rag...@exzatechconsulting.com
> <mailto:rag...@exzatechconsulting.com>
> <mailto:rag...@exzatechconsulting.com
> <mailto:rag...@exzatechconsulting.com>>>
> > wrote:
> >
> >     Hi,
> >
> >     I see that oVirt 

Re: [ovirt-users] Engine reports

2018-04-04 Thread Peter Hudec
Tried to install ovirt metrics, but got error

ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
@/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
playbooks/byo/config.yml

  1. Hosts:localhost
 Play: Determine openshift_version to configure on first master
 Task: For an RPM install, abort when the release requested does
not match the available version.
 Message:  You requested openshift_release 3.7, which is not matched by
   the latest OpenShift RPM we detected as origin-3.10.0
   on host localhost.
   We will only install the latest RPMs, so please ensure
you are getting the release
   you expect. You may need to adjust your Ansible
inventory, modify the repositories
   available on the host, or run the appropriate OpenShift
upgrade playbook.

regards
Peter


On 04/04/2018 09:13, Fred Rolland wrote:
> Hi,
> 
> Check these links:
> 
> https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
> https://ovirt.org/develop/release-management/features/metrics/metrics-store/
> 
> Regards,
> Fred
> 
> On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava
> <rag...@exzatechconsulting.com <mailto:rag...@exzatechconsulting.com>>
> wrote:
> 
> Hi,
> 
> I see that oVirt DWH is installed with Version 4.2.x. Now, how do I
> take the reports? I version 3.5, we had Jasper reports module using
> which we could take utilization reports. Can we do something similar
> here?
> 
> -- 
> 
> Thanks & Regards,
> 
> 
> Anantha Raghava
> 
> 
> Do not print this e-mail unless required. Save Paper & trees.
> 
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] Any monitoring tool provided?

2018-03-29 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi SHIRLY,

first why zabbix. Zabbix is our primary monitoring tool. Zabbix have
native implementation for VmWare monitoring, which we of course use.
The idea was to use the same monitoring system, alerting for our NOC.

The performance problem is due the how zabbix works, especially zabbix
agent. You could return only one value each query, to to get stat for
VM you have to do  about 10-15 queries. Zabbix agent needs to for the
process ... So overhead is twice, to get the data using api and
forking process.

I see the grafana integration,
https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana/. This
seems to be dependent on oVirt version, as I see the table names.

So my next steps are:
a)
I took look at the ovirt metrics, looks good. Is it stable on 4.2?
b)
take a look on zabbix sender, but  this have another sets of issues.
For example how to send data olny for some VM/Hosts, not for all if I
do not want to monitor while platform. Data could be collected from
API or DWH
c)
try to do the oVirt poller into zabbix ??

Generally what we need is monitoring and alerting system.
 - alert if Vm is down
 - alert if VM CPU usage is high for period of time
 - alert if there is storage problem /latency, usage, .../


Peter

On 29/03/2018 08:41, Shirly Radco wrote:
> Hi Peter,
> 
> Using the oVirt API will add load on the engine and may affect the 
> engine performance. We have the DWH that collectd metrics and
> configuration data about the hosts and vms and can be used along
> with Grafana.
> 
> We also added the oVirt metrics store that collects the metrics
> directly from the host about the hosts and vms and from the engine
> about the machine itself and postgres db. This was done in order to
> lower the load on the engine. We also collect the engine.log and
> vdsm.log.
> 
> The metrics are collected to Elasticsearch and can be visualised
> in Kibana and Grafana and are collected in 10 sec interval that
> give you almost real time view. I would love to hear why you prefer
> using Zabbix for collecting the metrics data.
> 
> Best regards,
> 
> --
> 
> SHIRLY RADCO
> 
> BI SeNIOR SOFTWARE ENGINEER
> 
> Red Hat Israel <https://www.redhat.com/>
> 
> <https://red.ht/sig> TRIED. TESTED. TRUSTED.
> <https://redhat.com/trusted>
> 
> 
> On Wed, Mar 28, 2018 at 5:38 PM, Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> I have working proof-of-concept. There still could  be bug in 
> templates and not all parameters are monitored, but HOST and VM 
> discovery is working.
> 
> I will try to share it on github. At this moment I have some 
> performance issues, since it's using the zabbix-agent which needs
> to for a new process for each query ;(
> 
> Peter
> 
> On 26/03/2018 08:13, Peter Hudec wrote:
>> Yes, template and python
> 
>> at this moment I understand oVirt API. I needed to write own
>> small SDK, since the oVirt SDK is using SSO for login, that means
>> it do some additional requests for login process. There is no
>> option to use Basic Auth. The SESSION reuse could be useful, but
>> I do no want to add more
> 
>> First  I need to understand some basics from Zabbix Discovery 
>> Rules / Host Prototypes. I would like to have VM as separate
>> hosts in Zabbix, like VMWare does. The other stuff is quite
>> easy.
> 
>> There plugin for nagios/icinga if someone using this monitoring 
>> tool https://github.com/ovido/check_rhev3
> <https://github.com/ovido/check_rhev3>
> 
>> On 26/03/2018 08:02, Alex K wrote:
>>> Hi Peter,
> 
>>> This is interesting. Is it going to be a template with an 
>>> external python script?
> 
>>> Alex
> 
>>> On Mon, Mar 26, 2018, 08:50 Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>
>>> <mailto:phu...@cnc.sk <mailto:phu...@cnc.sk>>> wrote:
> 
>>> Hi Terry,
> 
>>> I started to work on ZABBIX integration based on oVirt API. 
>>> Basically it should be like VmWare integration in ZABBIX with 
>>> full hosts/vms discovery and statistic gathering.
> 
>>> The API provides  for each statistics service for NIC, VM as
>>> wall CPU and MEM utilization.
> 
>>> There is also solution based on reading data from VDSM to 
>>> prometheus
>>> 
> http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
>
>
> 
a
> 
>>> 
>>> 
> ta
> 
> 
>> center-with-prometheus
>>> 
> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-

Re: [ovirt-users] Any monitoring tool provided?

2018-03-28 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I have working proof-of-concept. There still could  be bug in
templates and not all parameters are monitored, but HOST and VM
discovery is working.

I will try to share it on github. At this moment I have some
performance issues, since it's using the zabbix-agent which needs to
for a new process for each query ;(

Peter

On 26/03/2018 08:13, Peter Hudec wrote:
> Yes, template and python
> 
> at this moment I understand oVirt API. I needed to write own small 
> SDK, since the oVirt SDK is using SSO for login, that means it do 
> some additional requests for login process. There is no option to 
> use Basic Auth. The SESSION reuse could be useful, but I do no
> want to add more
> 
> First  I need to understand some basics from Zabbix Discovery
> Rules / Host Prototypes. I would like to have VM as separate hosts
> in Zabbix, like VMWare does. The other stuff is quite easy.
> 
> There plugin for nagios/icinga if someone using this monitoring 
> tool https://github.com/ovido/check_rhev3
> 
> On 26/03/2018 08:02, Alex K wrote:
>> Hi Peter,
> 
>> This is interesting. Is it going to be a template with an 
>> external python script?
> 
>> Alex
> 
>> On Mon, Mar 26, 2018, 08:50 Peter Hudec <phu...@cnc.sk 
>> <mailto:phu...@cnc.sk>> wrote:
> 
>> Hi Terry,
> 
>> I started to work on ZABBIX integration based on oVirt API. 
>> Basically it should be like VmWare integration in ZABBIX with 
>> full hosts/vms discovery and statistic gathering.
> 
>> The API provides  for each statistics service for NIC, VM as wall
>> CPU and MEM utilization.
> 
>> There is also solution based on reading data from VDSM to 
>> prometheus 
>> http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
a
>
>>
>> 
ta
> 
> 
> center-with-prometheus
>> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-
d
>
>>
>> 
atacenter-with-prometheus>.
> 
> 
> 
>> Peter
> 
>> On 22/03/2018 04:41, Terry hey wrote:
>>> Dear all,
> 
>>> Now, we can just read how many storage used, cpu usage on
>>> ovirt dashboard. But is there any monitoring tool for
>>> monitoring virtual machine time to time? If yes, could you guys
>>> give me the procedure?
> 
> 
> 
>>> Regards Terry
> 
> 
>>> ___ Users mailing 
>>> list Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
>> ___ Users mailing 
>> list Users@ovirt.org <mailto:Users@ovirt.org> 
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq7qPsOHHBodWRlY0Bj
bmMuc2sACgkQQnvVWOJ35BDXzw/8ChApssWNkM0HiixYESQP+lgxJeHqHYgvBbrQ
DTfiOfTXrWDLIXn7LQdtt7IH4LtTDEwLcGBFSQCTUuX7W6y6Uj5y9pkcGLrtFYuP
g1yBEPuqO3RB2QoR6FLlEyfqfDpnIWiRbtFFpK4P6UmRNQX637GKcluMN8EXeujY
w/S+0JoV9ANEnDgsyCQvJ1f89D4KTiD9eTv0zijl7abRew8ioMVAmxt2YBFQf1KC
rZQ4h7qbymYNDWRv/n4qx3StBN8e0crty73glfWbHrCuw0/lfSMgELWelvvSR1YE
1oEMmRaqQr7poxtXTGdtkXRkvxil+Or/IQ6jibFjMt9rmmkJ4jgMkGdSkYSHlCJC
G2pjlN0nlghOmj9QDaX54EAXUeybVmoD8yGVlmREEl8jPYVxAmfasJ7zJ+mIBTU4
21Z7/yhFHINi6pez+3t/42BA11XtfTiUx5GVzj5M+Ky6bbkVOF5H+ndJzRA92UHj
lZOyoFP5cg9cFkdmAGep4pE9BdHEIFKnS7m0vVM0IwiKRQMprvAYyBuj23V+wtTc
FXauv7+xpyFiH/0IqFCeHn9DCIXnEQlGfwDkCt4PYS+p0Jfm2hlI3fvGqeHZngYz
NElJT59Sxc8kWayZrbr5uaw6csTwcXXhVcALaWB/q6DsqR2KyPWwbs3CtfH5OGWh
39Jz7aw=
=NcUr
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-26 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Yes, template and python

at this moment I understand oVirt API.
I needed to write own small SDK, since the oVirt SDK is using SSO for
login, that means it do some additional requests for login process.
There is no option to use Basic Auth. The SESSION reuse could be
useful, but I do no want to add more

First  I need to understand some basics from Zabbix Discovery Rules /
Host Prototypes. I would like to have VM as separate hosts in Zabbix,
like VMWare does. The other stuff is quite easy.

There plugin for nagios/icinga if someone using this monitoring tool
https://github.com/ovido/check_rhev3

On 26/03/2018 08:02, Alex K wrote:
> Hi Peter,
> 
> This is interesting. Is it going to be a template with an external 
> python script?
> 
> Alex
> 
> On Mon, Mar 26, 2018, 08:50 Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi Terry,
> 
> I started to work on ZABBIX integration based on oVirt API. 
> Basically it should be like VmWare integration in ZABBIX with full 
> hosts/vms discovery and statistic gathering.
> 
> The API provides  for each statistics service for NIC, VM as wall
> CPU and MEM utilization.
> 
> There is also solution based on reading data from VDSM to
> prometheus 
> http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-da
ta
>
> 
center-with-prometheus
> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
atacenter-with-prometheus>.
>
> 
> 
> Peter
> 
> On 22/03/2018 04:41, Terry hey wrote:
>> Dear all,
> 
>> Now, we can just read how many storage used, cpu usage on ovirt 
>> dashboard. But is there any monitoring tool for monitoring
>> virtual machine time to time? If yes, could you guys give me the
>> procedure?
> 
> 
> 
>> Regards Terry
> 
> 
>> ___ Users mailing
>> list Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> ___ Users mailing list 
> Users@ovirt.org <mailto:Users@ovirt.org> 
> http://lists.ovirt.org/mailman/listinfo/users
> 

- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq4j3cOHHBodWRlY0Bj
bmMuc2sACgkQQnvVWOJ35BCm2w/+Odg4Vw71pqj7qbipTK68udw+wl5zDD8NPVwi
z/Jcrhfz45xxdGqlgeP66ESEDHVBAg7O7q1bhTvxlf2gZqM2SM1XEh/zmX4OHeG0
XBVnJ1gCYtMiZKYr7/lBSfXpwor4VdB0rm9JjiyyNgsgFRtAY8ACSzn4P09FMr+T
fMPz2zbpLVpU+SpHOZm8eHTOTlvWqTH5vZ8ezGx32VYhmvfGHlWKffJtfKxnCQtp
q3D7cKe3OyeVoQ9QVFu58eiXKvlrDJ8kd5E+vSTMUYIZpX2NyOM1HCACwcxXtjgL
0sAxplDDXkVfJ5ekezbXp6yxOapTW4pkzy0AO1HFM37Mxq9+u9kTMOu1byxDprsY
9EmsWDQZlq1mZXAqWc9O2nKdF9Nw0s5aghaTEzqi0nhk9/TI49uSOmO9PKLTE19s
mxi/+EecHDoRGbWBQ+XTBOUNAOoeApXUvdJQ7SwlEQ4mEKDGf2Q7jGghnerlfW0c
bmQ+lpDbzKxtvTijFGySAFY2SIn2xzP9EYUFOnSwcuCuePufxKgglV6pQtx5ceGa
pxgdwHkxBILZYFfyuJHgLwXmKMcQIZhLFwK0ptgRfzw4Y1SMxh0kmSOhWDocOTY6
ySdWX9lCurFk3ounV8GqmG7yoM0n2G81ttXMzpIUhXWJVz7fKaGQrQ8HDtSrN7V0
7ahxRnQ=
=kq0J
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-25 Thread Peter Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Terry,

I started to work on ZABBIX integration based on oVirt API.
Basically it should be like VmWare integration in ZABBIX with full
hosts/vms discovery and statistic gathering.

The API provides  for each statistics service for NIC, VM as wall CPU
and MEM utilization.

There is also solution based on reading data from VDSM to prometheus
http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-data
center-with-prometheus.


Peter

On 22/03/2018 04:41, Terry hey wrote:
> Dear all,
> 
> Now, we can just read how many storage used, cpu usage on ovirt
> dashboard. But is there any monitoring tool for monitoring virtual
> machine time to time? If yes, could you guys give me the procedure?
> 
> 
> 
> Regards Terry
> 
> 
> ___ Users mailing list 
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> 


- -- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-BEGIN PGP SIGNATURE-

iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq4ihEOHHBodWRlY0Bj
bmMuc2sACgkQQnvVWOJ35BC5Xg//YqtoPKtmA8Y0APnQevX+LrRq8EuViWsn1Wfw
Xf2HogPs9vJB8W5PnpI9+jdRTrm4rL74V1qw8LEDWhIoag0n+r/PPk48sRTpQSMM
fkCjaNBL94SBc/Fjic7Gtn6IsTD9puPSmkJ7I6APC+c3RIVfYRaPXTSCW1dHkrzX
BuTHajuvL1Wdns+SSbGdGOGvegYpKfuFgiorm7eZ47WF2tJ1HlKKhYTiFaCTywo7
6gG2u18ezrEWGXa6MSFhw0NytUGC3JFvseA2jHj+NofRFEHpkhSvLgAYSHcJb1uQ
8IvH8gkY2wjYFk5jqqvxoMX9dtYfnZLtW0gtFNVoEzIwcOjuK7aVi/bdfFIl2P9r
CUD9h0O3xEO6BeHo9WZkRwNqOxQVRel/3x/jAu76Q5KPR3U4S7tezuH4xvH0i4g7
uEEc+BSECytfSGPFH41J5X1FflINt4F1tMpjXdaT5qEa9AWYuZddfHeQ9KSDqqBC
KOnr+9xRdhS1VYjm8FI3tpya0Mj/OjBJL2PMpEluJd5IpN9ggcfIlUpyCgAzFnUU
xyIz05pg35iCJ6FQZCYergQwh15RQLb9LTnCuB39wBfSKXeR27uXIZ8/p/8S5Un4
7uJmidsHF7OGtSFk48WwMGFg1in8ZSwbmNnxR1WkJPJAkxxbXp07an+OzugOnsgR
y1b8OkE=
=BKxT
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Using VDSM to edit management interface

2018-03-16 Thread Peter Hudec
Remove any settings about dns from the network manager adn the
/etc/resolv.conf won't be auto generated.

https://ma.ttias.be/centos-7-networkmanager-keeps-overwriting-etcresolv-conf/

Peter

On 16/03/2018 02:15, Kirin van der Veer wrote:
> Ďakujem Peter, but this doesn't seem to work in my case. 
> /etc/resolv.conf is regenerated by Network Manager after a reboot
> and my domain settings are lost. Your comments regarding the
> reliance on DNS make sense for most installations, but in my case
> oVirt is a secondary service that I would not expect to run unless
> our core infrastructure is working correctly. I'm hesitant to edit
> /etc/hosts directly, since that can lead to confusion when the
> underlying IP addresses change. For now I will hardcode the IPs of
> my servers. It's frustrating (and surprising) that there is not an
> easy way to do this.
> 
> Kirin.
> 
> On Thu, Mar 15, 2018 at 5:17 PM, Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi Kirin,
> 
> I suggest to do it old way and edit the /etc/resolv.conf manually.
> 
> And one advice. Do not relay on the DNS on infrastructure servers.
> Use /etc/hosts. If he DNS will not be accessible, you will have
> problem to put it infrastructure up/working. As side effect the
> hosts allow you to use short names to access servers.
> 
> If you are ansible positive, you could use
> 
> hudecof.resolv  https://galaxy.ansible.com/hudecof/resolv/ 
> <https://galaxy.ansible.com/hudecof/resolv/> hudecof.hosts
> https://galaxy.ansible.com/hudecof/hosts/ 
> <https://galaxy.ansible.com/hudecof/hosts/>
> 
> 
> Peter
> 
> On 15/03/2018 06:03, Kirin van der Veer wrote:
>> Hi oVirt people, I have setup a new cluster consisting of many 
>> oVirt Nodes with a single dedicated oVirt Engine machine. For
>> the most part things are working, however despite entering the
>> DNS search domain during install on the Nodes the management
>> interface is not aware of my search domain and it has not been
>> added to /etc/resolv.conf (perhaps that is unnecessary?). I
>> eventually worked out that the DNS search domain should be
>> included in /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
>> However as per the header/warning, that file is generated by
>> VDSM. I assumed that I should be able to edit the search domain
>> with vdsClient, but when I run "vdsClient -m" I don't see any
>> options related to network config. I found the following page on
>> DNS config:
>> 
> https://www.ovirt.org/develop/release-management/features/network/allowExplicitDnsConfiguration/
>
> 
<https://www.ovirt.org/develop/release-management/features/network/allowExplicitDnsConfiguration/>
>> 
>> 
> But it does not seem to offer a way of specifying the DNS search
> domain
>> (other than perhaps directly editing /etc/resolv.conf - which is 
>> generated/managed by Network Manager). nmcli reports that all of
>> my interfaces (including ovirtmgmt) are "unmanaged". Indeed when
>> I attempt to run nmtui there is nothing listed to configure.
>> This should be really simple! I just want to add my local search
>> domain so I can use the short name for my NFS server. I'd
>> appreciate any advice.
>> 
>> Thanks in advance, Kirin.
>> 
>> 
>> .
>> 
>> *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this 
>> e-mail, please contact Planet Innovation Pty Ltd by return
>> e-mail or by telephone on +613 9945 7510
>> <tel:%2B613%209945%207510>.  In
> this case, you should not
>> read, print, re-transmit, store or act in reliance on this
>> e-mail or any attachments, and should destroy all copies of them.
>> This e-mail and any attachments are confidential and may contain
>> legally privileged information and/or copyright material of
>> Planet Innovation Pty Ltd or third parties.  You should only
>> re-transmit, distribute or commercialise the material if you are
>> authorised to do so.  Although we use virus scanning software, we
>> deny all liability for viruses or alike in any message or
>> attachment. This notice should not be removed.
>> 
>> **
>> 
>> 
>> ___ Users mailing
>> list Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>
>> 
> 
> 
> -- *Peter Hudec* Infraštruktúrny architekt phu...@cnc.sk
> <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk 
> <mailto:phu...@cnc.sk>>
> 
> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepci

Re: [ovirt-users] Using VDSM to edit management interface

2018-03-15 Thread Peter Hudec
Hi Kirin,

I suggest to do it old way and edit the /etc/resolv.conf manually.

And one advice. Do not relay on the DNS on infrastructure servers. Use
/etc/hosts. If he DNS will not be accessible, you will have problem to
put it infrastructure up/working. As side effect the hosts allow you
to use short names to access servers.

If you are ansible positive, you could use

hudecof.resolv  https://galaxy.ansible.com/hudecof/resolv/
hudecof.hosts   https://galaxy.ansible.com/hudecof/hosts/


Peter

On 15/03/2018 06:03, Kirin van der Veer wrote:
> Hi oVirt people, I have setup a new cluster consisting of many
> oVirt Nodes with a single dedicated oVirt Engine machine. For the
> most part things are working, however despite entering the DNS 
> search domain during install on the Nodes the management interface
> is not aware of my search domain and it has not been added to 
> /etc/resolv.conf (perhaps that is unnecessary?). I eventually
> worked out that the DNS search domain should be included in 
> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt However as per the
> header/warning, that file is generated by VDSM. I assumed that I
> should be able to edit the search domain with vdsClient, but when I
> run "vdsClient -m" I don't see any options related to network
> config. I found the following page on DNS config: 
> https://www.ovirt.org/develop/release-management/features/network/allowExplicitDnsConfiguration/
>
> 
But it does not seem to offer a way of specifying the DNS search domain
> (other than perhaps directly editing /etc/resolv.conf - which is 
> generated/managed by Network Manager). nmcli reports that all of my
> interfaces (including ovirtmgmt) are "unmanaged". Indeed when I
> attempt to run nmtui there is nothing listed to configure. This
> should be really simple! I just want to add my local search domain 
> so I can use the short name for my NFS server. I'd appreciate any
> advice.
> 
> Thanks in advance, Kirin.
> 
> 
> .
> 
> *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this
> e-mail, please contact Planet Innovation Pty Ltd by return e-mail
> or by telephone on +613 9945 7510.  In this case, you should not
> read, print, re-transmit, store or act in reliance on this e-mail
> or any attachments, and should destroy all copies of them.  This
> e-mail and any attachments are confidential and may contain legally
> privileged information and/or copyright material of Planet
> Innovation Pty Ltd or third parties.  You should only re-transmit,
> distribute or commercialise the material if you are authorised to
> do so.  Although we use virus scanning software, we deny all
> liability for viruses or alike in any message or attachment. This
> notice should not be removed.
> 
> **
> 
> 
> ___ Users mailing list 
> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] cocpit is not running on hosts

2018-03-13 Thread Peter Hudec
Hi Martin,

thanks. It works. I just wantd to known if any special 'ovirt' commands
are needed, seems not.

regards
Peter

On 13/03/2018 16:14, Martin Sivak wrote:
> Hi,
> 
> make sure the service is actually started and the firewall is
> configured properly:
> 
> systemctl status cockpit
> firewall-cmd --list-all
> 
> You can make sure all is fine by doing the following:
> 
> systemctl enable cockpit
> systemctl start cockpit
> firewall-cmd --add-service=cockpit --permanent
> firewall-cmd --reload
> 
> Best regards
> 
> Martin Sivak
> 
> On Tue, Mar 13, 2018 at 3:33 PM, Peter Hudec <phu...@cnc.sk> wrote:
>> Hi,
>>
>> after upgrade to 4.2. there was running the cockpit on each host.
>> Right now, there is no service on port 9090. Is there any special setup
>> how to put it back?
>>
>> [PROD] r...@dipovirt03.cnc.sk: /home/phudec # rpm -qa | grep ovirt
>> ovirt-imageio-common-1.2.1-0.el7.centos.noarch
>> ovirt-vmconsole-1.0.4-1.el7.centos.noarch
>> ovirt-provider-ovn-driver-1.2.5-1.el7.centos.noarch
>> ovirt-setup-lib-1.1.4-1.el7.centos.noarch
>> ovirt-host-4.2.1-1.el7.centos.x86_64
>> ovirt-host-deploy-1.7.2-1.el7.centos.noarch
>> ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch
>> ovirt-host-dependencies-4.2.1-1.el7.centos.x86_64
>> ovirt-hosted-engine-setup-2.2.9-1.el7.centos.noarch
>> ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch
>> python-ovirt-engine-sdk4-4.2.4-2.el7.centos.x86_64
>> ovirt-imageio-daemon-1.2.1-0.el7.centos.noarch
>> cockpit-ovirt-dashboard-0.11.11-0.1.el7.centos.noarch
>> ovirt-hosted-engine-ha-2.2.4-1.el7.centos.noarch
>> ovirt-engine-appliance-4.2-20180214.1.el7.centos.noarch
>> ovirt-release42-4.2.1.1-1.el7.centos.noarch
>>
>> [PROD] r...@dipovirt03.cnc.sk: /home/phudec # rpm -qa | grep cockpit
>> cockpit-system-160-1.el7.centos.noarch
>> cockpit-networkmanager-160-1.el7.centos.noarch
>> cockpit-160-1.el7.centos.x86_64
>> cockpit-bridge-160-1.el7.centos.x86_64
>> cockpit-dashboard-160-1.el7.centos.x86_64
>> cockpit-storaged-160-1.el7.centos.noarch
>> cockpit-ovirt-dashboard-0.11.11-0.1.el7.centos.noarch
>> cockpit-ws-160-1.el7.centos.x86_64
>>
>> regards
>> Peter
>>
>> --
>> *Peter Hudec*
>> Infraštruktúrny architekt
>> phu...@cnc.sk <mailto:phu...@cnc.sk>
>>
>> *CNC, a.s.*
>> Borská 6, 841 04 Bratislava
>> Recepcia: +421 2  35 000 100
>>
>> Mobil:+421 905 997 203
>> *www.cnc.sk* <http:///www.cnc.sk>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] Host has no default route.

2018-03-13 Thread Peter Hudec
Hi Michael,

thanks.
Seems to be fixed int 4.2.1. I was just upgrading the whole oVirt
cluster while writing the mail.
Right now i do not see it any more.

Peter

On 13/03/2018 16:02, Michael Burman wrote:
> Hi Peter
> 
> It's a bug and it was fixed in
> https://bugzilla.redhat.com/show_bug.cgi?id=1477589 (fixed in 4.2.2-0.1.el7)
> Any how it's should not affect in any way, it's just a wrong report in
> the UI.
> 
> Cheers)
> 
> 
> On Tue, Mar 13, 2018 at 4:36 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> Hi,
> 
> the hosted engine shows warning on each node about
>  - Host has no default route.
> 
> my routing on one of the node
> 
> [PROD] r...@dipovirt03.cnc.sk <mailto:r...@dipovirt03.cnc.sk>:
> /home/phudec # ip r s
> default via 192.168.16.1 dev ovirtmgmt
> 192.168.16.0/24 <http://192.168.16.0/24> dev ovirtmgmt proto kernel
> scope link src 192.168.16.23
> 192.168.85.0/24 <http://192.168.85.0/24> dev storage proto kernel
> scope link src 192.168.85.23
> 
>         regards
>                 Peter
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk
> <mailto:phu...@cnc.sk>>
> 
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100 <tel:%2B421%202%C2%A0%2035%2%20100>
> 
> Mobil:+421 905 997 203 <tel:%2B421%C2%A0905%20997%20203>
> *www.cnc.sk <http://www.cnc.sk>* <http:///www.cnc.sk
> <http://www.cnc.sk>>
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
> 
> 
> -- 
> 
> Michael Burman
> 
> Senior Quality engineer - rhv network - redhat israel
> 
> Red Hat
> 
> <https://www.redhat.com>
> 
> mbur...@redhat.com <mailto:mbur...@redhat.com>    M: 0545355725
>      IM: mburman
> 
> <https://red.ht/sig>
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


[ovirt-users] Host has no default route.

2018-03-13 Thread Peter Hudec
Hi,

the hosted engine shows warning on each node about
 - Host has no default route.

my routing on one of the node

[PROD] r...@dipovirt03.cnc.sk: /home/phudec # ip r s
default via 192.168.16.1 dev ovirtmgmt
192.168.16.0/24 dev ovirtmgmt proto kernel scope link src 192.168.16.23
192.168.85.0/24 dev storage proto kernel scope link src 192.168.85.23

regards
Peter
-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


[ovirt-users] cocpit is not running on hosts

2018-03-13 Thread Peter Hudec
Hi,

after upgrade to 4.2. there was running the cockpit on each host.
Right now, there is no service on port 9090. Is there any special setup
how to put it back?

[PROD] r...@dipovirt03.cnc.sk: /home/phudec # rpm -qa | grep ovirt
ovirt-imageio-common-1.2.1-0.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.centos.noarch
ovirt-provider-ovn-driver-1.2.5-1.el7.centos.noarch
ovirt-setup-lib-1.1.4-1.el7.centos.noarch
ovirt-host-4.2.1-1.el7.centos.x86_64
ovirt-host-deploy-1.7.2-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch
ovirt-host-dependencies-4.2.1-1.el7.centos.x86_64
ovirt-hosted-engine-setup-2.2.9-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch
python-ovirt-engine-sdk4-4.2.4-2.el7.centos.x86_64
ovirt-imageio-daemon-1.2.1-0.el7.centos.noarch
cockpit-ovirt-dashboard-0.11.11-0.1.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7.centos.noarch
ovirt-engine-appliance-4.2-20180214.1.el7.centos.noarch
ovirt-release42-4.2.1.1-1.el7.centos.noarch

[PROD] r...@dipovirt03.cnc.sk: /home/phudec # rpm -qa | grep cockpit
cockpit-system-160-1.el7.centos.noarch
cockpit-networkmanager-160-1.el7.centos.noarch
cockpit-160-1.el7.centos.x86_64
cockpit-bridge-160-1.el7.centos.x86_64
cockpit-dashboard-160-1.el7.centos.x86_64
cockpit-storaged-160-1.el7.centos.noarch
cockpit-ovirt-dashboard-0.11.11-0.1.el7.centos.noarch
cockpit-ws-160-1.el7.centos.x86_64

regards
Peter

-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt-guest-agent.service has broken in Debian 8 virtual machines after updates hosts to 4.2

2018-01-30 Thread Peter Hudec
I wrote small ansile role to fix it, eg install ovirt-guest-agent and
fix the configuration., check it interested
https://galaxy.ansible.com/hudecof/ovirt-guest-agent/

But I'm not happy with the debian package version. It should be split to
server and deskop version. Right now it installs usermode and all the
graphical stuff I do not need on servers.

I loved the packages on
http://download.opensuse.org/repositories/home:/evilissimo:/deb/Debian_7.0/,
but not maintained any more.

And the DEBAIN directory has been removed from the sources, by commit
0bd04757b6c2087186eee64a9b12049b8ea77c20.

Peter

So it would be nice to kick the debian maintainer tos plit the packages.
On 09/01/2018 08:47, Алексей Максимов wrote:
> 
> Thank You Milan.
> 
> 08.01.2018, 20:10, "Milan Zamazal" <mzama...@redhat.com>:
>> Алексей Максимов <aleksey.i.maksi...@yandex.ru> writes:
>>
>>>  # wget 
>>> http://ftp.us.debian.org/debian/pool/main/o/ovirt-guest-agent/ovirt-guest-agent_1.0.13.dfsg-2_all.deb
>>>  # apt-get install gir1.2-glib-2.0 libdbus-glib-1-2 libgirepository-1.0-1 
>>> libpango1.0-0 libuser1 python-dbus python-dbus-dev python-ethtool python-gi 
>>> qemu-guest-agent usermode
>>>  # dpkg -i ~/packages/ovirt-guest-agent_1.0.13.dfsg-2_all.deb
>>
>> Yes, right, you need newer ovirt-guest-agent version, so to install it
>> from testing.
>>
>> I filed a Debian bug asking for a backport of the package for stable:
>> https://bugs.debian.org/886661
>>
>>>  # udevadm trigger --subsystem-match="virtio-ports"
>>>
>>>  # systemctl restart ovirt-guest-agent.service
>>
>> Yes, alternatively you can reboot the VM, whatever is easier :-).
>>
>> However the package should do it itself, I think there is a bug in its
>> installation script, so I filed another bug against the package:
>> https://bugs.debian.org/886660
>>
>>>  Now the service is working.
>>>  But I do not know if it's the right way :(
>>
>> Yes, it is.
>>
>> Regards,
>> Milan
> 
> -- 
> С наилучшими пожеланиями,
> Максимов Алексей
> 
> Email: aleksey.i.maksi...@yandex.ru
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt-websoclket-proxy: handler exception: Incorrect padding

2018-01-23 Thread Peter Hudec
last mail today

browser is repeatedly generating the WSS request

wss://dipovirt-engine02.cnc.sk:6100/undefined
error:NS_ERROR_NET_ON_WAITING_FOR
Host: dipovirt-engine02.cnc.sk:6100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0)
Gecko/20100101 Firefox/57.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://dipovirt-engine02.cnc.sk
Sec-WebSocket-Protocol: binary
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: 7qajQa3GfcAYifwiZASD8Q==
Cookie: _ga=GA1.2.409688984.1460846635; locale=en_US
Connection: keep-alive


In Ubuntu FF do not repeat it, there are only 2 WSS connection with
correct ticket.

regards
Peter

On 23/01/2018 15:04, Peter Hudec wrote:
> in
> 
> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
> line 60, in get_target\n
> self._proxy._ticketDecoder.decode(path[1:])))\n',
> 
> the content of the path[1:] is 'undefined'
> 
>   Peter
> 
> On 23/01/2018 14:35, Peter Hudec wrote:
>> stack trace
>>
>> Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100
>> ovirt-websocket-proxy: INFO msg:871 handler exception t:
>>
>> ['  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
>> line 930, in top_new_client\nclient = self.do_handshake(startsock,
>> address)\n',
>> '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line
>> 860, in do_handshake\nself.RequestHandlerClass(retsock, address,
>> self)\n',
>>  '  File
>> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
>> line 50, in __init__\n*args, **kwargs)\n',
>>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
>> line 114, in __init__\nSimpleHTTPRequestHandler.__init__(self, req,
>> addr, server)\n',
>>  '  File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n
>>self.handle()\n',
>>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
>> line 581, in handle\nSimpleHTTPRequestHandler.handle(self)\n',
>>  '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n
>>self.handle_one_request()\n',
>>  '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in
>> handle_one_request\nmethod()\n', '  File
>> "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in
>> do_GET\nif not self.handle_websocket():\n',
>>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
>> line 485, in handle_websocket\nself.validate_connection()\n',
>>  '  File
>> "/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line
>> 52, in validate_connection\n(self.server.target_host,
>> self.server.target_port) = self.get_target(self.server.token_plugin,
>> self.path)\n',
>>  '  File
>> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
>> line 60, in get_target\n
>> self._proxy._ticketDecoder.decode(path[1:])))\n',
>>  '  File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line
>> 77, in decode\ndecoded = json.loads(base64.b64decode(ticket))\n',
>>  '  File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n
>> raise TypeError(msg)\n']
>>
>> On 23/01/2018 12:56, Peter Hudec wrote:
>>> forgot to add information  aboout ovirt
>>>
>>> Version 4.2.0.2-1.el7.centos
>>>
>>> ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
>>>
>>> On 23/01/2018 12:54, Peter Hudec wrote:
>>>> Hi all,
>>>>
>>>> I'm using VNC/noVNC for accessing the servers console in case of emergency.
>>>> The console works fine, but I have got repeadly warning on the screen,
>>>> that the wss://:6100 could bot be connected with 3 recommendations
>>>>
>>>> - process is running /the console works/
>>>> - I'm able to connect the 6100 port by teknet form my  pc
>>>> - the certificate is imported
>>>>
>>>> In the /var/log/messages on HE I have found repeating message when the
>>>> dialog appears.
>>>>
>>>> Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py:
>>>> ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect 
>>>> padding
>>>>
>>>> Nothing more is logged. The popus is quite annoing, since it appears
>>>> every few seconds.
>>>>
>>>> my side:
>>>>Mac OS X 10.13.2
>>>>FireFox 57.0.4
>>>>
>>>> tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
>>>>
>>>> Any help or advise to figure what's wrong?
>>>>regards
>>>>Peter
>>>>
>>>
>>>
>>
>>
> 
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt-websoclket-proxy: handler exception: Incorrect padding

2018-01-23 Thread Peter Hudec
in

"/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
line 60, in get_target\n
self._proxy._ticketDecoder.decode(path[1:])))\n',

the content of the path[1:] is 'undefined'

    Peter

On 23/01/2018 14:35, Peter Hudec wrote:
> stack trace
> 
> Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100
> ovirt-websocket-proxy: INFO msg:871 handler exception t:
> 
> ['  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
> line 930, in top_new_client\nclient = self.do_handshake(startsock,
> address)\n',
> '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line
> 860, in do_handshake\nself.RequestHandlerClass(retsock, address,
> self)\n',
>  '  File
> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
> line 50, in __init__\n*args, **kwargs)\n',
>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
> line 114, in __init__\nSimpleHTTPRequestHandler.__init__(self, req,
> addr, server)\n',
>  '  File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n
>self.handle()\n',
>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
> line 581, in handle\nSimpleHTTPRequestHandler.handle(self)\n',
>  '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n
>self.handle_one_request()\n',
>  '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in
> handle_one_request\nmethod()\n', '  File
> "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in
> do_GET\nif not self.handle_websocket():\n',
>  '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
> line 485, in handle_websocket\nself.validate_connection()\n',
>  '  File
> "/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line
> 52, in validate_connection\n(self.server.target_host,
> self.server.target_port) = self.get_target(self.server.token_plugin,
> self.path)\n',
>  '  File
> "/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
> line 60, in get_target\n
> self._proxy._ticketDecoder.decode(path[1:])))\n',
>  '  File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line
> 77, in decode\ndecoded = json.loads(base64.b64decode(ticket))\n',
>  '  File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n
> raise TypeError(msg)\n']
> 
> On 23/01/2018 12:56, Peter Hudec wrote:
>> forgot to add information  aboout ovirt
>>
>> Version 4.2.0.2-1.el7.centos
>>
>> ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
>>
>> On 23/01/2018 12:54, Peter Hudec wrote:
>>> Hi all,
>>>
>>> I'm using VNC/noVNC for accessing the servers console in case of emergency.
>>> The console works fine, but I have got repeadly warning on the screen,
>>> that the wss://:6100 could bot be connected with 3 recommendations
>>>
>>> - process is running /the console works/
>>> - I'm able to connect the 6100 port by teknet form my  pc
>>> - the certificate is imported
>>>
>>> In the /var/log/messages on HE I have found repeating message when the
>>> dialog appears.
>>>
>>> Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py:
>>> ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
>>>
>>> Nothing more is logged. The popus is quite annoing, since it appears
>>> every few seconds.
>>>
>>> my side:
>>> Mac OS X 10.13.2
>>> FireFox 57.0.4
>>>
>>> tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
>>>
>>> Any help or advise to figure what's wrong?
>>> regards
>>> Peter
>>>
>>
>>
> 
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt-websoclket-proxy: handler exception: Incorrect padding

2018-01-23 Thread Peter Hudec
stack trace

Jan 23 14:01:22 dipovirt-engine02 journal: 2018-01-23 14:01:22,636+0100
ovirt-websocket-proxy: INFO msg:871 handler exception t:

['  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
line 930, in top_new_client\nclient = self.do_handshake(startsock,
address)\n',
'  File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line
860, in do_handshake\nself.RequestHandlerClass(retsock, address,
self)\n',
 '  File
"/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
line 50, in __init__\n*args, **kwargs)\n',
 '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
line 114, in __init__\nSimpleHTTPRequestHandler.__init__(self, req,
addr, server)\n',
 '  File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__\n
   self.handle()\n',
 '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
line 581, in handle\nSimpleHTTPRequestHandler.handle(self)\n',
 '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle\n
   self.handle_one_request()\n',
 '  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 328, in
handle_one_request\nmethod()\n', '  File
"/usr/lib/python2.7/site-packages/websockify/websocket.py", line 543, in
do_GET\nif not self.handle_websocket():\n',
 '  File "/usr/lib/python2.7/site-packages/websockify/websocket.py",
line 485, in handle_websocket\nself.validate_connection()\n',
 '  File
"/usr/lib/python2.7/site-packages/websockify/websocketproxy.py", line
52, in validate_connection\n(self.server.target_host,
self.server.target_port) = self.get_target(self.server.token_plugin,
self.path)\n',
 '  File
"/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py",
line 60, in get_target\n
self._proxy._ticketDecoder.decode(path[1:])))\n',
 '  File "/usr/lib/python2.7/site-packages/ovirt_engine/ticket.py", line
77, in decode\ndecoded = json.loads(base64.b64decode(ticket))\n',
 '  File "/usr/lib64/python2.7/base64.py", line 76, in b64decode\n
raise TypeError(msg)\n']

On 23/01/2018 12:56, Peter Hudec wrote:
> forgot to add information  aboout ovirt
> 
> Version 4.2.0.2-1.el7.centos
> 
> ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch
> 
> On 23/01/2018 12:54, Peter Hudec wrote:
>> Hi all,
>>
>> I'm using VNC/noVNC for accessing the servers console in case of emergency.
>> The console works fine, but I have got repeadly warning on the screen,
>> that the wss://:6100 could bot be connected with 3 recommendations
>>
>> - process is running /the console works/
>> - I'm able to connect the 6100 port by teknet form my  pc
>> - the certificate is imported
>>
>> In the /var/log/messages on HE I have found repeating message when the
>> dialog appears.
>>
>> Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py:
>> ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
>>
>> Nothing more is logged. The popus is quite annoing, since it appears
>> every few seconds.
>>
>> my side:
>>  Mac OS X 10.13.2
>>  FireFox 57.0.4
>>
>> tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
>>
>> Any help or advise to figure what's wrong?
>>  regards
>>  Peter
>>
> 
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt-websoclket-proxy: handler exception: Incorrect padding

2018-01-23 Thread Peter Hudec
forgot to add information  aboout ovirt

Version 4.2.0.2-1.el7.centos

ovirt-engine-websocket-proxy-4.2.0.2-1.el7.centos.noarch

On 23/01/2018 12:54, Peter Hudec wrote:
> Hi all,
> 
> I'm using VNC/noVNC for accessing the servers console in case of emergency.
> The console works fine, but I have got repeadly warning on the screen,
> that the wss://:6100 could bot be connected with 3 recommendations
> 
> - process is running /the console works/
> - I'm able to connect the 6100 port by teknet form my  pc
> - the certificate is imported
> 
> In the /var/log/messages on HE I have found repeating message when the
> dialog appears.
> 
> Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py:
> ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding
> 
> Nothing more is logged. The popus is quite annoing, since it appears
> every few seconds.
> 
> my side:
>   Mac OS X 10.13.2
>   FireFox 57.0.4
> 
> tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.
> 
> Any help or advise to figure what's wrong?
>   regards
>   Peter
> 


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


[ovirt-users] ovirt-websoclket-proxy: handler exception: Incorrect padding

2018-01-23 Thread Peter Hudec
Hi all,

I'm using VNC/noVNC for accessing the servers console in case of emergency.
The console works fine, but I have got repeadly warning on the screen,
that the wss://:6100 could bot be connected with 3 recommendations

- process is running /the console works/
- I'm able to connect the 6100 port by teknet form my  pc
- the certificate is imported

In the /var/log/messages on HE I have found repeating message when the
dialog appears.

Jan 23 12:33:32 dipovirt-engine02 ovirt-websocket-proxy.py:
ovirt-websocket-proxy[356] INFO msg:871 handler exception: Incorrect padding

Nothing more is logged. The popus is quite annoing, since it appears
every few seconds.

my side:
Mac OS X 10.13.2
FireFox 57.0.4

tested also on Ubuntu and Firefox 57.0.4 and works good,no exception.

Any help or advise to figure what's wrong?
regards
Peter
-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
for example
./ovirt-engine/host-deploy/ovirt-host-mgmt-2018010924-dipovirt03.cnc.sk-15970547.log

ansible firewalld module is not working if the firewalld is not running.
In my case the cluster settings is set to 'iptables' so thos was my mistake.

Consider this to be solved ;)

Peter

On 09/01/2018 15:01, Yedidyah Bar David wrote:
> On Tue, Jan 9, 2018 at 3:25 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> It's not a bug as I'm digging.
> 
> 
> Very well :-)
>  
> 
> 
> In logs I found
> 
> 
> Which logs?
>  
> 
> 
> 2018-01-09 08:23:22,421+0100 DEBUG otopi.context
> context.dumpEnvironment:831 ENV NETWORK/firewalldEnable=bool:'False'
> 2018-01-09 08:23:22,422+0100 DEBUG otopi.context
> context.dumpEnvironment:831 ENV NETWORK/iptablesEnable=bool:'True'
> 
> So how to disable iptables and enable firewalld ?
> 
> 
> If host-deploy, then it's a per-host/per-cluster option you should
> be able to choose in the web admin ui.
>  
> 
> 
>         Peter
> 
> On 09/01/2018 13:47, Yedidyah Bar David wrote:
> > (Adding Ondra for the firewalld stuff. But I think it's probably
> > easier to debug if you open a bug and attach logs there).
> >
> > On Tue, Jan 9, 2018 at 2:34 PM, Peter Hudec <phu...@cnc.sk 
> <mailto:phu...@cnc.sk>
> > <mailto:phu...@cnc.sk <mailto:phu...@cnc.sk>>> wrote:
> >
> >     If I run host reinstall with custom firewall rules in
> >     /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml the task 
> will
> >     fails due the firewalld is not running.
> >
> >     The reinstall task will disable firewalld and enable 
> iptables-services.
> >     I'm little bit confused ;(
> >
> >     ---
> >     - name: Enable additional port on firewalld
> >       firewalld:
> >         port: "10050/tcp"
> >         permanent: yes
> >         immediate: yes
> >         state: enabled
> >
> >
> >     2018-01-09 13:27:30,103 p=13550 u=ovirt |  included:
> >     /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml for
> >     dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> <http://dipovirt01.cnc.sk>
> >     2018-01-09 13:27:30,134 p=13550 u=ovirt |  TASK [Enable additional 
> port
> >     on firewalld] *
> >     2018-01-09 13:27:32,089 p=13550 u=ovirt |  fatal: 
> [dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> >     <http://dipovirt01.cnc.sk>]:
> >     FAILED! => {"changed": false, "module_stderr": "Shared connection to
> >     dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> <http://dipovirt01.cnc.sk> closed.\r\n",
> >     "module_stdout": "Traceback (most recent
> >     call last):\r\n  File
> >     \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 936, in
> >     \r\n    main()\r\n  File
> >     \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 788, in
> >     main\r\n    module.fail(msg='firewall is not currently running, 
> unable
> >     to perform immediate actions without a running firewall
> >     daemon')\r\nAttributeError: 'AnsibleModule' object has no attribute
> >     'fail'\r\n", "msg": "MODULE FAILURE", "rc": 0}
> >     2018-01-09 13:27:32,095 p=13550 u=ovirt |  PLAY RECAP
> >     
> *
> >
> >
> >     After reinstalation the status of firewalld is
> >     [PROD] r...@dipovirt01.cnc.sk <mailto:r...@dipovirt01.cnc.sk>
> <mailto:r...@dipovirt01.cnc.sk <mailto:r...@dipovirt01.cnc.sk>>:
> >     /var/log/vdsm # systemctl status firewalld
> >     ● firewalld.service - firewalld - dynamic firewall daemon
> >        Loaded: loaded (/usr/lib/systemd/system/firewalld.service; 
> disabled;
> >     vendor preset: enabled)
> >        Active: inactive (dead)
> >          Docs: man:firewalld(1)
> >
> >
> >     So how could I switch to firewalld? package iptables-service could 
> not
> >     be removed due the dependencies.
> >
> >             Peter
> >
> >     On 09/01/2018 09:35, Yedidyah Bar David wrote:
> >     >
> >     >     1) firewalld

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
thanks. The upgrade is in process. I needed to solve some issues before.

Peter

On 09/01/2018 14:39, Martin Perina wrote:
> 
> 
> On Tue, Jan 9, 2018 at 2:25 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> It's not a bug as I'm digging.
> 
> In logs I found
> 
> 2018-01-09 08:23:22,421+0100 DEBUG otopi.context
> context.dumpEnvironment:831 ENV NETWORK/firewalldEnable=bool:'False'
> 2018-01-09 08:23:22,422+0100 DEBUG otopi.context
> context.dumpEnvironment:831 ENV NETWORK/iptablesEnable=bool:'True'
> 
> So how to disable iptables and enable firewalld ?
> 
> 
> ​Hi,
> 
> firewall type is a cluster level option. Please go to Clusters, edit
> selected cluster and change Firewall type to firewalld. After that you
> need to execute Reinstall on all hosts​ in the cluster to switch from
> iptables to firewalld on them.
> 
> Btw, I assume this is upgraded cluster, so please make sure that VDSM
> 4.20 (from oVirt 4.2) is installed on all hosts before making this change.
> 
> Thanks
> 
> Martin
> 
> 
>         Peter
> 
> On 09/01/2018 13:47, Yedidyah Bar David wrote:
> > (Adding Ondra for the firewalld stuff. But I think it's probably
> > easier to debug if you open a bug and attach logs there).
> >
> > On Tue, Jan 9, 2018 at 2:34 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>
> > <mailto:phu...@cnc.sk <mailto:phu...@cnc.sk>>> wrote:
> >
> >     If I run host reinstall with custom firewall rules in
> >     /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml the
> task will
> >     fails due the firewalld is not running.
> >
> >     The reinstall task will disable firewalld and enable
> iptables-services.
> >     I'm little bit confused ;(
> >
> >     ---
> >     - name: Enable additional port on firewalld
> >       firewalld:
> >         port: "10050/tcp"
> >         permanent: yes
> >         immediate: yes
> >         state: enabled
> >
> >
> >     2018-01-09 13:27:30,103 p=13550 u=ovirt |  included:
> >     /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml for
> >     dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> <http://dipovirt01.cnc.sk>
> >     2018-01-09 13:27:30,134 p=13550 u=ovirt |  TASK [Enable
> additional port
> >     on firewalld] *
> >     2018-01-09 13:27:32,089 p=13550 u=ovirt |  fatal:
> [dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> >     <http://dipovirt01.cnc.sk>]:
> >     FAILED! => {"changed": false, "module_stderr": "Shared
> connection to
> >     dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> <http://dipovirt01.cnc.sk> closed.\r\n",
> >     "module_stdout": "Traceback (most recent
> >     call last):\r\n  File
> >     \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 936, in
> >     \r\n    main()\r\n  File
> >     \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 788, in
> >     main\r\n    module.fail(msg='firewall is not currently
> running, unable
> >     to perform immediate actions without a running firewall
> >     daemon')\r\nAttributeError: 'AnsibleModule' object has no
> attribute
> >     'fail'\r\n", "msg": "MODULE FAILURE", "rc": 0}
> >     2018-01-09 13:27:32,095 p=13550 u=ovirt |  PLAY RECAP
> >   
>  *
> >
> >
> >     After reinstalation the status of firewalld is
> >     [PROD] r...@dipovirt01.cnc.sk <mailto:r...@dipovirt01.cnc.sk>
> <mailto:r...@dipovirt01.cnc.sk <mailto:r...@dipovirt01.cnc.sk>>:
> >     /var/log/vdsm # systemctl status firewalld
> >     ● firewalld.service - firewalld - dynamic firewall daemon
> >        Loaded: loaded (/usr/lib/systemd/system/firewalld.service;
> disabled;
> >     vendor preset: enabled)
> >        Active: inactive (dead)
> >          Docs: man:firewalld(1)
> >
> >
> >     So how could I switch to firewalld? package iptables-service
> could not
> >     be removed due the dependencies.
> >
> >             Peter
> >
> >     On 09/01/2018 09

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
It's not a bug as I'm digging.

In logs I found

2018-01-09 08:23:22,421+0100 DEBUG otopi.context
context.dumpEnvironment:831 ENV NETWORK/firewalldEnable=bool:'False'
2018-01-09 08:23:22,422+0100 DEBUG otopi.context
context.dumpEnvironment:831 ENV NETWORK/iptablesEnable=bool:'True'

So how to disable iptables and enable firewalld ?

Peter

On 09/01/2018 13:47, Yedidyah Bar David wrote:
> (Adding Ondra for the firewalld stuff. But I think it's probably
> easier to debug if you open a bug and attach logs there).
> 
> On Tue, Jan 9, 2018 at 2:34 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> If I run host reinstall with custom firewall rules in
> /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml the task will
> fails due the firewalld is not running.
> 
> The reinstall task will disable firewalld and enable iptables-services.
> I'm little bit confused ;(
> 
> ---
> - name: Enable additional port on firewalld
>   firewalld:
>     port: "10050/tcp"
>     permanent: yes
>     immediate: yes
>     state: enabled
> 
> 
> 2018-01-09 13:27:30,103 p=13550 u=ovirt |  included:
> /etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml for
> dipovirt01.cnc.sk <http://dipovirt01.cnc.sk>
> 2018-01-09 13:27:30,134 p=13550 u=ovirt |  TASK [Enable additional port
> on firewalld] *
> 2018-01-09 13:27:32,089 p=13550 u=ovirt |  fatal: [dipovirt01.cnc.sk
> <http://dipovirt01.cnc.sk>]:
> FAILED! => {"changed": false, "module_stderr": "Shared connection to
> dipovirt01.cnc.sk <http://dipovirt01.cnc.sk> closed.\r\n",
> "module_stdout": "Traceback (most recent
> call last):\r\n  File
> \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 936, in
> \r\n    main()\r\n  File
> \"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 788, in
> main\r\n    module.fail(msg='firewall is not currently running, unable
> to perform immediate actions without a running firewall
> daemon')\r\nAttributeError: 'AnsibleModule' object has no attribute
> 'fail'\r\n", "msg": "MODULE FAILURE", "rc": 0}
> 2018-01-09 13:27:32,095 p=13550 u=ovirt |  PLAY RECAP
> *
> 
> 
> After reinstalation the status of firewalld is
> [PROD] r...@dipovirt01.cnc.sk <mailto:r...@dipovirt01.cnc.sk>:
> /var/log/vdsm # systemctl status firewalld
> ● firewalld.service - firewalld - dynamic firewall daemon
>    Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled;
> vendor preset: enabled)
>    Active: inactive (dead)
>      Docs: man:firewalld(1)
> 
> 
> So how could I switch to firewalld? package iptables-service could not
> be removed due the dependencies.
> 
>         Peter
> 
> On 09/01/2018 09:35, Yedidyah Bar David wrote:
> >
> >     1) firewalld
> >     after upgrade the hot server, the i needed to stop firewalld. It 
> seems,
> >     that, the rules are not generated correctly. The engine was not 
> able to
> >     connect to the host. How do I could fix it?
> >
> >
> > Please check/share relevant files from /var/log/ovirt-engine/ansible/
> > and /var/log/ovirt-engine/host-deploy/ . Or perhaps file a bug and
> > attach them there.
> 
> 
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk> <mailto:phu...@cnc.sk
> <mailto:phu...@cnc.sk>>
> 
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100 <tel:%2B421%202%C2%A0%2035%2%20100>
> 
> Mobil:+421 905 997 203 <tel:%2B421%C2%A0905%20997%20203>
> *www.cnc.sk <http://www.cnc.sk>* <http:///www.cnc.sk
> <http://www.cnc.sk>>
> 
> 
> 
> 
> -- 
> Didi


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
If I run host reinstall with custom firewall rules in
/etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml the task will
fails due the firewalld is not running.

The reinstall task will disable firewalld and enable iptables-services.
I'm little bit confused ;(

---
- name: Enable additional port on firewalld
  firewalld:
port: "10050/tcp"
permanent: yes
immediate: yes
state: enabled


2018-01-09 13:27:30,103 p=13550 u=ovirt |  included:
/etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml for
dipovirt01.cnc.sk
2018-01-09 13:27:30,134 p=13550 u=ovirt |  TASK [Enable additional port
on firewalld] *
2018-01-09 13:27:32,089 p=13550 u=ovirt |  fatal: [dipovirt01.cnc.sk]:
FAILED! => {"changed": false, "module_stderr": "Shared connection to
dipovirt01.cnc.sk closed.\r\n", "module_stdout": "Traceback (most recent
call last):\r\n  File
\"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 936, in
\r\nmain()\r\n  File
\"/tmp/ansible_2Ilnjq/ansible_module_firewalld.py\", line 788, in
main\r\nmodule.fail(msg='firewall is not currently running, unable
to perform immediate actions without a running firewall
daemon')\r\nAttributeError: 'AnsibleModule' object has no attribute
'fail'\r\n", "msg": "MODULE FAILURE", "rc": 0}
2018-01-09 13:27:32,095 p=13550 u=ovirt |  PLAY RECAP
*


After reinstalation the status of firewalld is
[PROD] r...@dipovirt01.cnc.sk: /var/log/vdsm # systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled;
vendor preset: enabled)
   Active: inactive (dead)
 Docs: man:firewalld(1)


So how could I switch to firewalld? package iptables-service could not
be removed due the dependencies.

Peter

On 09/01/2018 09:35, Yedidyah Bar David wrote:
> 
> 1) firewalld
> after upgrade the hot server, the i needed to stop firewalld. It seems,
> that, the rules are not generated correctly. The engine was not able to
> connect to the host. How do I could fix it?
> 
> 
> Please check/share relevant files from /var/log/ovirt-engine/ansible/
> and /var/log/ovirt-engine/host-deploy/ . Or perhaps file a bug and
> attach them there.


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
guest migration issue was due the firewalld, in logs a I found in logs

2018-01-09 10:12:06,700+0100 ERROR (migsrc/d6e3745b) [virt.vm]
(vmId='d6e3745b-1444-42a3-8cc0-29eaf59b8520') Failed to migrate
(migration:429)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line
382, in run
self._setupVdsConnection()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line
219, in _setupVdsConnection
client = self._createClient(port)
  File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line
206, in _createClient
client_socket = utils.create_connected_socket(host, int(port), sslctx)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 950, in
create_connected_socket
sock.connect((host, port))
  File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py",
line 181, in connect
self.socket.connect(addr)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

disabling the firewalld solved the issue, so back to the orininal
problem with the firewall ;)



On 09/01/2018 11:08, Yedidyah Bar David wrote:
> On Tue, Jan 9, 2018 at 12:04 PM, Peter Hudec <phu...@cnc.sk
> <mailto:phu...@cnc.sk>> wrote:
> 
> quick fix is follow the
> 
> https://gerrit.ovirt.org/#/c/84802/2/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/IOvfBuilder.java
> 
> <https://gerrit.ovirt.org/#/c/84802/2/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/IOvfBuilder.java>
> 
> and remove trailing '/' in
> 
> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py
> 
> 
> Adding Denis. Thanks for the logs!
>  
> 
> 
> 
> On 09/01/2018 10:45, Peter Hudec wrote:
> > the old  hypervisoer /oVirt 4.1.8/ got probblem to release the HE due
> > this exception.  The HE is on the NFS store.
> >
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,497::upgrade::998::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade_35_36)
> > Host configuration is already up-to-date
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,498::config::493::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_vm_conf)
> > Reloading vm.conf from the shared storage domain
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,498::config::416::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
> > Trying to get a fresher copy of vm configuration from the OVF_STORE
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,498::ovf_store::132::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> > Extracting Engine VM OVF from the OVF_STORE
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,498::ovf_store::134::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> > OVF_STORE volume path:
> >
> 
> /var/run/vdsm/storage/3981424d-a55c-4f07-bff2-aca316a95d1f/3513775f-d6b0-4423-be19-bbeb79c72ad2/7ee3f450-5976-48f8-b667-27b48f6cf778
> > MainThread::INFO::2018-01-09
> >
> 
> 10:40:28,517::config::435::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
> > Found an OVF for HE VM, trying to convert
> > MainThread::ERROR::2018-01-09
> >
> 
> 10:40:28,523::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
> > Traceback (most recent call last):
> >   File
> >
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> > line 191, in _run_agent
> >     return action(he)
> >   File
> >
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> > line 64, in action_proper
> >     return he.start_monitoring()
> >   File
> >
> 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
> > line 421, in start_monitoring
> >     self._config.refresh_vm_conf()
> >   File
> >
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
> > line 496, in refresh_vm_conf
> >     content_from_ovf = self._get_vm_conf_content_from_ovf_store()
> >   File
> >
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
> > line 438

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
quick fix is follow the
https://gerrit.ovirt.org/#/c/84802/2/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/IOvfBuilder.java

and remove trailing '/' in
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py


On 09/01/2018 10:45, Peter Hudec wrote:
> the old  hypervisoer /oVirt 4.1.8/ got probblem to release the HE due
> this exception.  The HE is on the NFS store.
> 
> MainThread::INFO::2018-01-09
> 10:40:28,497::upgrade::998::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade_35_36)
> Host configuration is already up-to-date
> MainThread::INFO::2018-01-09
> 10:40:28,498::config::493::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_vm_conf)
> Reloading vm.conf from the shared storage domain
> MainThread::INFO::2018-01-09
> 10:40:28,498::config::416::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
> Trying to get a fresher copy of vm configuration from the OVF_STORE
> MainThread::INFO::2018-01-09
> 10:40:28,498::ovf_store::132::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> Extracting Engine VM OVF from the OVF_STORE
> MainThread::INFO::2018-01-09
> 10:40:28,498::ovf_store::134::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
> OVF_STORE volume path:
> /var/run/vdsm/storage/3981424d-a55c-4f07-bff2-aca316a95d1f/3513775f-d6b0-4423-be19-bbeb79c72ad2/7ee3f450-5976-48f8-b667-27b48f6cf778
> MainThread::INFO::2018-01-09
> 10:40:28,517::config::435::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
> Found an OVF for HE VM, trying to convert
> MainThread::ERROR::2018-01-09
> 10:40:28,523::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 191, in _run_agent
> return action(he)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 64, in action_proper
> return he.start_monitoring()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
> line 421, in start_monitoring
> self._config.refresh_vm_conf()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
> line 496, in refresh_vm_conf
> content_from_ovf = self._get_vm_conf_content_from_ovf_store()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
> line 438, in _get_vm_conf_content_from_ovf_store
> conf = ovf2VmParams.confFromOvf(heovf)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
> line 283, in confFromOvf
> vmConf = toDict(ovf)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
> line 210, in toDict
> vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id']
>   File "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__
> (src/lxml/lxml.etree.c:55336)
> KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'
> 
> 
> On 09/01/2018 10:18, Peter Hudec wrote:
>> The HA is flapping between 3400 nad 0. ;(
>> And I'm not able to migrate also any other Vm to this host.
>>
>> Loggs fromthe /var/log/ovirt-hosted-engine-ha/agent.log file
>>
>> MainThread::INFO::2018-01-08
>> 21:44:45,805::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
>> Host dipovirt03.cnc.sk (id 1): {'conf_on_shared_storage': True, 'extra':
>> 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=8232312
>> (Mon Jan  8 21:44:29
>> 2018)\nhost-id=1\nscore=3400\nvm_conf_refresh_time=8232316 (Mon Jan  8
>> 21:44:33
>> 2018)\nconf_on_shared_storage=True\nmaintenance=False\nstate=EngineUp\nstopped=False\n',
>> 'hostname': 'dipovirt03.cnc.sk', 'host-id': 1, 'engine-status':
>> {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'score': 3400,
>> 'stopped': False, 'maintenance': False, 'crc32': 'f28d4648',
>> 'local_conf_timestamp': 8232316, 'host-ts': 8232312}
>> MainThread::INFO::2018-01-08
>> 21:44:45,805::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
>> Host dipovirt02.cnc.sk (id 3): {'conf_on_shared_storage': True, 'extra':
>> 'metadata_parse_version=1\nmetada...skipping...
>> neVMOVF) OVF_STORE volume path:
>> /var/run/vdsm/storage/3981424d-a55c-4f07-bff2-aca316a95d1f/3513775f-d6b0-4423-be19-bbe
>> b79c72ad2/7ee3f450-5976-48f8-b667-27b48f6cf778
>> MainThrea

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
the old  hypervisoer /oVirt 4.1.8/ got probblem to release the HE due
this exception.  The HE is on the NFS store.

MainThread::INFO::2018-01-09
10:40:28,497::upgrade::998::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade_35_36)
Host configuration is already up-to-date
MainThread::INFO::2018-01-09
10:40:28,498::config::493::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_vm_conf)
Reloading vm.conf from the shared storage domain
MainThread::INFO::2018-01-09
10:40:28,498::config::416::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
Trying to get a fresher copy of vm configuration from the OVF_STORE
MainThread::INFO::2018-01-09
10:40:28,498::ovf_store::132::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
Extracting Engine VM OVF from the OVF_STORE
MainThread::INFO::2018-01-09
10:40:28,498::ovf_store::134::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF)
OVF_STORE volume path:
/var/run/vdsm/storage/3981424d-a55c-4f07-bff2-aca316a95d1f/3513775f-d6b0-4423-be19-bbeb79c72ad2/7ee3f450-5976-48f8-b667-27b48f6cf778
MainThread::INFO::2018-01-09
10:40:28,517::config::435::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store)
Found an OVF for HE VM, trying to convert
MainThread::ERROR::2018-01-09
10:40:28,523::agent::205::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
Traceback (most recent call last):
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
line 191, in _run_agent
return action(he)
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
line 64, in action_proper
return he.start_monitoring()
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
line 421, in start_monitoring
self._config.refresh_vm_conf()
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
line 496, in refresh_vm_conf
content_from_ovf = self._get_vm_conf_content_from_ovf_store()
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py",
line 438, in _get_vm_conf_content_from_ovf_store
conf = ovf2VmParams.confFromOvf(heovf)
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
line 283, in confFromOvf
vmConf = toDict(ovf)
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
line 210, in toDict
vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id']
  File "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__
(src/lxml/lxml.etree.c:55336)
KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'


On 09/01/2018 10:18, Peter Hudec wrote:
> The HA is flapping between 3400 nad 0. ;(
> And I'm not able to migrate also any other Vm to this host.
> 
> Loggs fromthe /var/log/ovirt-hosted-engine-ha/agent.log file
> 
> MainThread::INFO::2018-01-08
> 21:44:45,805::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Host dipovirt03.cnc.sk (id 1): {'conf_on_shared_storage': True, 'extra':
> 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=8232312
> (Mon Jan  8 21:44:29
> 2018)\nhost-id=1\nscore=3400\nvm_conf_refresh_time=8232316 (Mon Jan  8
> 21:44:33
> 2018)\nconf_on_shared_storage=True\nmaintenance=False\nstate=EngineUp\nstopped=False\n',
> 'hostname': 'dipovirt03.cnc.sk', 'host-id': 1, 'engine-status':
> {'health': 'good', 'vm': 'up', 'detail': 'up'}, 'score': 3400,
> 'stopped': False, 'maintenance': False, 'crc32': 'f28d4648',
> 'local_conf_timestamp': 8232316, 'host-ts': 8232312}
> MainThread::INFO::2018-01-08
> 21:44:45,805::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Host dipovirt02.cnc.sk (id 3): {'conf_on_shared_storage': True, 'extra':
> 'metadata_parse_version=1\nmetada...skipping...
> neVMOVF) OVF_STORE volume path:
> /var/run/vdsm/storage/3981424d-a55c-4f07-bff2-aca316a95d1f/3513775f-d6b0-4423-be19-bbe
> b79c72ad2/7ee3f450-5976-48f8-b667-27b48f6cf778
> MainThread::INFO::2018-01-09
> 10:15:13,904::state_machine::169::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Global metadata: {'maintenance': False}
> MainThread::INFO::2018-01-09
> 10:15:13,905::state_machine::174::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(refresh)
> Host dipovirt03.cnc.sk (id 1): {'conf_on_shared_storage': True, 'extra':
> 'metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=38598
> (Tue Jan  9 09:23:33
> 2018)\nhost-id=1\nscore=3400\nvm_conf_refresh_time=38598 (Tue Jan  9
> 09:23:34
> 2018)\nconf_on_shared_storage=True\nmaintenance=False\nstate=EngineUp\nstopped=False\n',
> 'hostname': 'dipovi

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
751-93aee3e7b347'} failed:
(code=1, message=Virtual machine does not exist: {'vmId':
u'9a8ea503-f598-433e-9751-93aee3e7b347'})

MainThread::ERROR::2018-01-09
10:15:15,199::hosted_engine::1019::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_stop_engine_vm)
Failed to stop engine VM: Command VM.destroy with args {'vmID':
'9a8ea503-f598-433e-9751-93aee3e7b347'} failed:
(code=1, message=Virtual machine does not exist: {'vmId':
u'9a8ea503-f598-433e-9751-93aee3e7b347'})

MainThread::INFO::2018-01-09
10:15:15,317::brokerlink::68::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
Success, was notification of state_transition
(EngineForceStop-ReinitializeFSM) sent? sent
MainThread::INFO::2018-01-09
10:15:15,356::hosted_engine::494::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
Current state ReinitializeFSM (score: 0)
MainThread::INFO::2018-01-09
10:15:25,560::brokerlink::68::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify)
Success, was notification of state_transition
(ReinitializeFSM-EngineDown) sent? sent

    Peter

On 09/01/2018 09:35, Yedidyah Bar David wrote:
> 
> 3) Hosted Engine HA:
> Hosted Engine HA on upgraded hosts is 3400, the same as on the 4.1
> hosts. Is this good or bad?
> 
> 
> It's good.


-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


[ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
Hi,

maybe it was already here, but I haven't found it quickly in archive ;(

I upgrade the hosted engine and one hots, my notes and questions.
The upgrade goes well, I only needed to manually fix the memy value in
database for hosted engine

[ ERROR ] schema.sh: FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
[ ERROR ] Failed to execute stage 'Misc configuration': Engine schema
refresh failed


1) firewalld
after upgrade the hot server, the i needed to stop firewalld. It seems,
that, the rules are not generated correctly. The engine was not able to
connect to the host. How do I could fix it?

2) old repo removal
Could i remove the 4.1 repo? If yes, what is the best way to do that?

3) Hosted Engine HA:
Hosted Engine HA on upgraded hosts is 3400, the same as on the 4.1
hosts. Is this good or bad?

regards
Peter

-- 
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

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


  1   2   >