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

2022-07-09 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] 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-22 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
r4OpjMEM37eU

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

[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 > <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 > <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 > <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  <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  <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  <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] 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-19 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 > <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-19 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  <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-19 Thread Peter Hudec
": "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"
> } ] }
> 
> I am able to get the disk write and read latency, write and read
> bandwidth.
> 
> *But I am not able to find the postgresql tables used for these
> statistics in oVirt? * *Could somebody let me know the statistics
> table for the disk?*
> 
> Any help is much Appreciated.
> 
> Thanks, Harry
> 
> ___ 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 <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>

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrZhxkACgkQQnvVWOJ3
5BA7+hAAp194pPXA1q1kCC1lkXZBISrcJsubzgEjD6lwZX936tHDGFqWHAQY6QZJ
xX9+3L7VXkpmk/eGqvFvUOt7FQJUNGTV37KobdxmgtlJ9lLXDBu62LN92RtVpb9L
U7LYvh25UHYmCo5hD6YQgLFi45UnBqoS8l8Js2CtjW5ZWQzOqlx5//zdZtZjg+qy
XVs82Ircx8S0Ue4e70YFhghN5y6UHPiyo+fq2QFLtsDIm0blOfGd1VfJ93QQZYEE
pc4svxnGDZH9Nd5sTTqH7pbaTE5O52AK1vud2Sn0PC8wK09xpuF2PdmBqBVwat6A
D0ikPl0m9GpNoaI/hcGM70dNqoO6HfWnj4fio/67qloCX+9j46qSYtRYw0KPk1dQ
JNQwY7bdbwZfSutcxiswz3usglCgfl0NgOKglzY2rLsqbwm52YhEZOH9IBMiaisP
RxRyF6AVasuYkp/wAoEoZGF0yzJhYUWLzrZkMYCk2/pAr/drCcpYefSKwLMOp2i7
Wz1iAj5X2hf+CKJ2kP++cXVmhki6S+K3B2+IE3mazrSOGtY5os95NWGfxRzUUJSE
+9B1mPorHJXCIWJkPUtnCegVSJ8/Vsuom8p95GhJtvbqk3TheS1SfqeGKHJtJWdj
C15HfIZfb9VO6YMl7zzinJaB83P0bTNs4PwQwqj0lWMEPzVA1SM=
=aqdJ
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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
> 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 
>  <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"
> } ] }
> 
> I am able to ge

[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  <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
>>>>>&g

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.

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

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

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  <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  <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/2018 14:18, Shirly Radco 

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

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  <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
> >  <mailto:rag...@exzatechconsulting.com>
> <mailto:rag...@exzatechconsulting.com
> <mailto:rag...@exzatechconsulting.com&g

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
> 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  <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  <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-
> <http://rmohr.github.io/virtuali

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 > <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-25 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  <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-15 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  <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
>> .  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 Recepcia: +421 2 35 000 100
>

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

2018-03-14 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  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  <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 
> 
> 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
> <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" :
>> Алексей Максимов  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  <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  <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:
> >     >
> > 

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

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  <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 
> 
> Mobil:+421 905 997 203 
> *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  <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, in _get

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&

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':
> &#x

Re: [ovirt-users] ovirt 4.2 upgrade questions

2018-01-09 Thread Peter Hudec
(_stop_engine_vm)
Shutting down vm using `/usr/sbin/hosted-engine --vm-poweroff`
MainThread::INFO::2018-01-09
10:15:15,198::hosted_engine::1007::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_stop_engine_vm)
stdout:
MainThread::INFO::2018-01-09
10:15:15,198::hosted_engine::1008::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_stop_engine_vm)
stderr: 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::ERROR::2018-01-09
10:15:15,199::hosted_engine::1013::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_stop_engine_vm)
Failed to stop engine vm with /usr/sbin/hosted-engine --vm-poweroff:
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::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


Re: [ovirt-users] Upgrade path from running 3.6 (centos 7) to 4.1

2017-03-02 Thread Peter Hudec
A Few weeks ago I did upgrade from 3.5 to 4.1
The release-by-release (3.5 -> 3.6 -> 4.0 -> 4.1)upgrade we found out as
very time consuming, since we were running CentOS 6 on all HOST and
Engine too. We decided to install new 4.1 and migrate the VM.

The only  disadvantage of this upgrade is the VM downtime during the
migration. You need to export and import them again.

Peter


On 02/03/2017 08:09, Lionel Caignec wrote:
> Ok thank you,
> 
> Ok another question, i need to ugprade engine to 4.0 first and then to 4.1, 
> do i need to do the same for the hypervisor or can i directly go to 4.1?
> 
> - Mail original -
> De: "Yedidyah Bar David" 
> À: "Lionel Caignec" 
> Cc: "users" 
> Envoyé: Jeudi 2 Mars 2017 07:59:56
> Objet: Re: [ovirt-users] Upgrade path from running 3.6 (centos 7) to 4.1
> 
> On Thu, Mar 2, 2017 at 7:07 AM, Lionel Caignec  wrote:
>>  Hi,
>>  i'm running an ovirt cluster in 3.6 (centos 7) no hosted engine.
>>  Is it possible to upgrade directly from 3.6 to 4.1? Or this is not 
>> recommended.
> 
> It's not possible. You need to go through 4.0.
> 
> Best,
> 
>>
>>
>>  Thanks,
>>  Lionel
>> _______
>> 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] hosted engine from appliance and firewalld/iptables-services

2017-02-23 Thread Peter Hudec
Thx, very helpfull.

Peter

On 23/02/2017 11:49, Yedidyah Bar David wrote:
> On Thu, Feb 23, 2017 at 12:24 PM, Peter Hudec  wrote:
>> Hi,
>>
>> I installedHE form the appliance and need to switch the from firewalld
>> to iptables-services.
>>
>> Does the HE /4.1.0/ depends on firewalld or could be switched to
>> iptables services? IS there any templte for iptables-servicec like for
>> the nodes `engine-config -a | grep -i  iptables`
> 
> I assume you refer to the engine machine. On hosts, only iptables
> is supported currently [1].
> 
> You can install and activate iptables-services, remove (or at least
> disable) firewalld, and then run engine-setup again. It should ask
> you if you want to configure iptables.
> 
> Whatever you reply, it should also create a file
> /etc/ovirt-engine/iptables.example
> you can use.
> 
> Best,
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=995362
> 
>>
>> best regards
>> Peter Hudec
>> --
>> *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


[ovirt-users] hosted engine from appliance and firewalld/iptables-services

2017-02-23 Thread Peter Hudec
Hi,

I installedHE form the appliance and need to switch the from firewalld
to iptables-services.

Does the HE /4.1.0/ depends on firewalld or could be switched to
iptables services? IS there any templte for iptables-servicec like for
the nodes `engine-config -a | grep -i  iptables`

best regards
Peter Hudec
-- 
*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] hosted engine form appliance and user NODE, CENTOS

2017-02-23 Thread Peter Hudec
Hi,

I installed HE from appliance and there is user 'node' with uid 1000 and
the second is'centos' with uid 1001.

What is the purpose of this users?

Our configuration managment is trying to create regular users and I
nneed this UIDS.

best regards
        Peter Hudec

-- 
*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] [SOLVED] Re: VMs are not running/booting on one host

2017-02-20 Thread Peter Hudec
oVirt 4.1. run with the same issue.

So the problem was not oVirt related.

I tried the ELREPO kernel and that solved my issue. Kernel
4.9.11-1.el7.elrepo.x86_64 seems to be working without issues.

Conclusion: We triggered some bug in 3.10.0 kernel, but I was unable to
find out which one. We have 3 same hypervisors, but the problem was only
on the third none.

Peter

On 16/02/2017 15:35, Peter Hudec wrote:
> memtest run without issues.
> I'm thinking about install on this host latest ovirt and try running the vm.
> It may solve the issues if it's ovirt related and not hw/kvm.
> 
> latest stable version is 4.1.
> 
>   Peter
> 
> I'm thinking to try lastest oVirt
> On 15/02/2017 21:46, Peter Hudec wrote:
>> On 15/02/2017 21:20, Nir Soffer wrote:
>>> On Wed, Feb 15, 2017 at 10:05 PM, Peter Hudec  wrote:
>>>> Hi,
>>>>
>>>> so theproblem is little bit different. When I wait for a long time, the
>>>> VM boots ;(
>>>
>>> Is this an issue only with old vms imported from the old setup, or
>>> also with new vms?
>> I do not have new VMs, so with the OLD one.But I did not import them
>> from old setup.
>> The Host OS upgrade I did by our docs, creating new cluster, host
>> upgrade and vm migrations. There was no outage until now.
>>
>> I tried to install new VM, but the installer hangs on that host.
>>
>>
>>>
>>>>
>>>> But ... /see the log/. I'm invetigating the reason.
>>>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>>>> installation time. The first 2 was migrated last week, the last one
>>>> yesterday. There some newer packages, but nothing related to KVM.
>>>>
>>>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>>>> jiffies g=393 c=392 q=35)
>>>> [  292.430294] sending NMI to all CPUs:
>>>> [  292.430305] NMI backtrace for cpu 0
>>>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>>>> #1 Debian 3.16.39-1
>>>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>>>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>>>> 8180
>>>> [  292.430315] RIP: 0010:[]  []
>>>> native_write_msr_safe+0x6/0x10
>>>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>>>> [  292.430325] RAX: 0400 RBX:  RCX:
>>>> 0830
>>>> [  292.430326] RDX:  RSI: 0400 RDI:
>>>> 0830
>>>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>>>> 01e8
>>>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>>>> 
>>>> [  292.430330] R13: a0ea R14: 0002 R15:
>>>> 0008
>>>> [  292.430335] FS:  () GS:88001fc0()
>>>> knlGS:
>>>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>>>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>>>> 06f0
>>>> [  292.430343] Stack:
>>>> [  292.430344]  8104b30d 0002 0082
>>>> 88001fc0d6a0
>>>> [  292.430347]  81853800  818e2fe0
>>>> 0023
>>>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>>>> 810c73fa
>>>> [  292.430352] Call Trace:
>>>> [  292.430354]  
>>>>
>>>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>>>> [  292.430365]  [] ?
>>>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>>>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>>>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>>>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>>>> [  292.430381]  [] ? update_process_times+0x40/0x70
>>>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>>>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>>>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>>>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>>>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>>>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>>>> [  292.430422]  
>>>>
>>>> [  292.430425]  [] ? sched_clock_local+

Re: [ovirt-users] VMs are not running/booting on one host

2017-02-17 Thread Peter Hudec
As I'm deeping into the problem, your is described here

o   Booting Linux using a console connection that is too slow to
keep up with the boot-time console-message rate.  For example,
a 115Kbaud serial console can be -way- too slow to keep up
with boot-time message rates, and will frequently result in
RCU CPU stall warning messages.  Especially if you have added
debug printk()s.

https://www.kernel.org/doc/Documentation/RCU/stallwarn.txt

Peter

On 16/02/2017 06:09, Karli Sjöberg wrote:
> 
> Den 15 feb. 2017 9:06 em skrev Peter Hudec :
>>
>> Hi,
>>
>> so theproblem is little bit different. When I wait for a long time, the
>> VM boots ;(
> 
> Does the VM have VirtIO serial console activated? I had the same problem
> and removing that fixed it.
> 
> /K
> 
>>
>> But ... /see the log/. I'm invetigating the reason.
>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>> installation time. The first 2 was migrated last week, the last one
>> yesterday. There some newer packages, but nothing related to KVM.
>>
>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>> jiffies g=393 c=392 q=35)
>> [  292.430294] sending NMI to all CPUs:
>> [  292.430305] NMI backtrace for cpu 0
>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>> #1 Debian 3.16.39-1
>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>> 8180
>> [  292.430315] RIP: 0010:[]  []
>> native_write_msr_safe+0x6/0x10
>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>> [  292.430325] RAX: 0400 RBX:  RCX:
>> 0830
>> [  292.430326] RDX:  RSI: 0400 RDI:
>> 0830
>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>> 01e8
>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>> 
>> [  292.430330] R13: a0ea R14: 0002 R15:
>> 0008
>> [  292.430335] FS:  () GS:88001fc0()
>> knlGS:
>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>> 06f0
>> [  292.430343] Stack:
>> [  292.430344]  8104b30d 0002 0082
>> 88001fc0d6a0
>> [  292.430347]  81853800  818e2fe0
>> 0023
>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>> 810c73fa
>> [  292.430352] Call Trace:
>> [  292.430354]  
>>
>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>> [  292.430365]  [] ?
>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>> [  292.430381]  [] ? update_process_times+0x40/0x70
>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>> [  292.430422]  
>>
>> [  292.430425]  [] ? sched_clock_local+0x15/0x80
>> [  292.430428]  [] ? mwait_idle+0xa0/0xa0
>> [  292.430431]  [] ? native_safe_halt+0x2/0x10
>> [  292.430434]  [] ? default_idle+0x19/0xd0
>> [  292.430437]  [] ? cpu_startup_entry+0x374/0x470
>> [  292.430440]  [] ? start_kernel+0x497/0x4a2
>> [  292.430442]  [] ? set_init_arg+0x4e/0x4e
>> [  292.430445]  [] ? early_idt_handler_array+0x120/0x120
>> [  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
>> [  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
>> 89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
>> 0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
>> [  292.430579] Clocksource tsc unstable (delta = -289118137838 ns)
>>
>>
>> On 15/02/2017 20:39, Peter Hudec wrote:
>> > Hi,
>> >
>> > I did already, but not find any suspicious, see attached logs and the
>> > spice screenshot.
>> >
>> > Actually the VM is booting, but is stacked in some  bad state.
>> > When migrating

Re: [ovirt-users] VMs are not running/booting on one host

2017-02-16 Thread Peter Hudec
memtest run without issues.
I'm thinking about install on this host latest ovirt and try running the vm.
It may solve the issues if it's ovirt related and not hw/kvm.

latest stable version is 4.1.

Peter

I'm thinking to try lastest oVirt
On 15/02/2017 21:46, Peter Hudec wrote:
> On 15/02/2017 21:20, Nir Soffer wrote:
>> On Wed, Feb 15, 2017 at 10:05 PM, Peter Hudec  wrote:
>>> Hi,
>>>
>>> so theproblem is little bit different. When I wait for a long time, the
>>> VM boots ;(
>>
>> Is this an issue only with old vms imported from the old setup, or
>> also with new vms?
> I do not have new VMs, so with the OLD one.But I did not import them
> from old setup.
> The Host OS upgrade I did by our docs, creating new cluster, host
> upgrade and vm migrations. There was no outage until now.
> 
> I tried to install new VM, but the installer hangs on that host.
> 
> 
>>
>>>
>>> But ... /see the log/. I'm invetigating the reason.
>>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>>> installation time. The first 2 was migrated last week, the last one
>>> yesterday. There some newer packages, but nothing related to KVM.
>>>
>>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>>> jiffies g=393 c=392 q=35)
>>> [  292.430294] sending NMI to all CPUs:
>>> [  292.430305] NMI backtrace for cpu 0
>>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>>> #1 Debian 3.16.39-1
>>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>>> 8180
>>> [  292.430315] RIP: 0010:[]  []
>>> native_write_msr_safe+0x6/0x10
>>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>>> [  292.430325] RAX: 0400 RBX:  RCX:
>>> 0830
>>> [  292.430326] RDX:  RSI: 0400 RDI:
>>> 0830
>>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>>> 01e8
>>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>>> 
>>> [  292.430330] R13: a0ea R14: 0002 R15:
>>> 0008
>>> [  292.430335] FS:  () GS:88001fc0()
>>> knlGS:
>>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>>> 06f0
>>> [  292.430343] Stack:
>>> [  292.430344]  8104b30d 0002 0082
>>> 88001fc0d6a0
>>> [  292.430347]  81853800  818e2fe0
>>> 0023
>>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>>> 810c73fa
>>> [  292.430352] Call Trace:
>>> [  292.430354]  
>>>
>>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>>> [  292.430365]  [] ?
>>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>>> [  292.430381]  [] ? update_process_times+0x40/0x70
>>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>>> [  292.430422]  
>>>
>>> [  292.430425]  [] ? sched_clock_local+0x15/0x80
>>> [  292.430428]  [] ? mwait_idle+0xa0/0xa0
>>> [  292.430431]  [] ? native_safe_halt+0x2/0x10
>>> [  292.430434]  [] ? default_idle+0x19/0xd0
>>> [  292.430437]  [] ? cpu_startup_entry+0x374/0x470
>>> [  292.430440]  [] ? start_kernel+0x497/0x4a2
>>> [  292.430442]  [] ? set_init_arg+0x4e/0x4e
>>> [  292.430445]  [] ? early_idt_handler_array+0x120/0x120
>>> [  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
>>> [  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
>>> 89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
>>> 0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
>

Re: [ovirt-users] VMs are not running/booting on one host

2017-02-16 Thread Peter Hudec
Hi,

On 16/02/2017 06:09, Karli Sjöberg wrote:
> 
> Den 15 feb. 2017 9:06 em skrev Peter Hudec :
>>
>> Hi,
>>
>> so theproblem is little bit different. When I wait for a long time, the
>> VM boots ;(
> 
> Does the VM have VirtIO serial console activated? I had the same problem
> and removing that fixed it.
No, they don't. I planned to activate it in 3.6.

Peter

> /K
> 
>>
>> But ... /see the log/. I'm invetigating the reason.
>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>> installation time. The first 2 was migrated last week, the last one
>> yesterday. There some newer packages, but nothing related to KVM.
>>
>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>> jiffies g=393 c=392 q=35)
>> [  292.430294] sending NMI to all CPUs:
>> [  292.430305] NMI backtrace for cpu 0
>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>> #1 Debian 3.16.39-1
>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>> 8180
>> [  292.430315] RIP: 0010:[]  []
>> native_write_msr_safe+0x6/0x10
>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>> [  292.430325] RAX: 0400 RBX:  RCX:
>> 0830
>> [  292.430326] RDX:  RSI: 0400 RDI:
>> 0830
>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>> 01e8
>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>> 
>> [  292.430330] R13: a0ea R14: 0002 R15:
>> 0008
>> [  292.430335] FS:  () GS:88001fc0()
>> knlGS:
>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>> 06f0
>> [  292.430343] Stack:
>> [  292.430344]  8104b30d 0002 0082
>> 88001fc0d6a0
>> [  292.430347]  81853800  818e2fe0
>> 0023
>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>> 810c73fa
>> [  292.430352] Call Trace:
>> [  292.430354]  
>>
>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>> [  292.430365]  [] ?
>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>> [  292.430381]  [] ? update_process_times+0x40/0x70
>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>> [  292.430422]  
>>
>> [  292.430425]  [] ? sched_clock_local+0x15/0x80
>> [  292.430428]  [] ? mwait_idle+0xa0/0xa0
>> [  292.430431]  [] ? native_safe_halt+0x2/0x10
>> [  292.430434]  [] ? default_idle+0x19/0xd0
>> [  292.430437]  [] ? cpu_startup_entry+0x374/0x470
>> [  292.430440]  [] ? start_kernel+0x497/0x4a2
>> [  292.430442]  [] ? set_init_arg+0x4e/0x4e
>> [  292.430445]  [] ? early_idt_handler_array+0x120/0x120
>> [  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
>> [  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
>> 89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
>> 0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
>> [  292.430579] Clocksource tsc unstable (delta = -289118137838 ns)
>>
>>
>> On 15/02/2017 20:39, Peter Hudec wrote:
>> > Hi,
>> >
>> > I did already, but not find any suspicious, see attached logs and the
>> > spice screenshot.
>> >
>> > Actually the VM is booting, but is stacked in some  bad state.
>> > When migrating, the migration is sucessfull, but the vm is not acessible
>> > /even on network/
>> >
>> > Right now I found one VM, which is working well.
>> >
>> > In logs look for diplci01 at 2017-02-15 20:23:00,420, the VM ID is
>> > 7ddf349b-fb9a-44f4-9e88-73e84625a44e
>> >
>> >thanks
>> >Peter
>> >
>> > On 15/02/2017 19:40, 

Re: [ovirt-users] VMs are not running/booting on one host

2017-02-15 Thread Peter Hudec
On 15/02/2017 21:20, Nir Soffer wrote:
> On Wed, Feb 15, 2017 at 10:05 PM, Peter Hudec  wrote:
>> Hi,
>>
>> so theproblem is little bit different. When I wait for a long time, the
>> VM boots ;(
> 
> Is this an issue only with old vms imported from the old setup, or
> also with new vms?
I do not have new VMs, so with the OLD one.But I did not import them
from old setup.
The Host OS upgrade I did by our docs, creating new cluster, host
upgrade and vm migrations. There was no outage until now.

I tried to install new VM, but the installer hangs on that host.


> 
>>
>> But ... /see the log/. I'm invetigating the reason.
>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>> installation time. The first 2 was migrated last week, the last one
>> yesterday. There some newer packages, but nothing related to KVM.
>>
>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>> jiffies g=393 c=392 q=35)
>> [  292.430294] sending NMI to all CPUs:
>> [  292.430305] NMI backtrace for cpu 0
>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>> #1 Debian 3.16.39-1
>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>> 8180
>> [  292.430315] RIP: 0010:[]  []
>> native_write_msr_safe+0x6/0x10
>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>> [  292.430325] RAX: 0400 RBX:  RCX:
>> 0830
>> [  292.430326] RDX:  RSI: 0400 RDI:
>> 0830
>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>> 01e8
>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>> 
>> [  292.430330] R13: a0ea R14: 0002 R15:
>> 0008
>> [  292.430335] FS:  () GS:88001fc0()
>> knlGS:
>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>> 06f0
>> [  292.430343] Stack:
>> [  292.430344]  8104b30d 0002 0082
>> 88001fc0d6a0
>> [  292.430347]  81853800  818e2fe0
>> 0023
>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>> 810c73fa
>> [  292.430352] Call Trace:
>> [  292.430354]  
>>
>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>> [  292.430365]  [] ?
>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>> [  292.430381]  [] ? update_process_times+0x40/0x70
>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>> [  292.430422]  
>>
>> [  292.430425]  [] ? sched_clock_local+0x15/0x80
>> [  292.430428]  [] ? mwait_idle+0xa0/0xa0
>> [  292.430431]  [] ? native_safe_halt+0x2/0x10
>> [  292.430434]  [] ? default_idle+0x19/0xd0
>> [  292.430437]  [] ? cpu_startup_entry+0x374/0x470
>> [  292.430440]  [] ? start_kernel+0x497/0x4a2
>> [  292.430442]  [] ? set_init_arg+0x4e/0x4e
>> [  292.430445]  [] ? early_idt_handler_array+0x120/0x120
>> [  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
>> [  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
>> 89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
>> 0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
>> [  292.430579] Clocksource tsc unstable (delta = -289118137838 ns)
>>
>>
>> On 15/02/2017 20:39, Peter Hudec wrote:
>>> Hi,
>>>
>>> I did already, but not find any suspicious, see attached logs and the
>>> spice screenshot.
>>>
>>> Actually the VM is booting, but is stacked in some  bad state.
>>> When migrating, the migration is sucessfull, but the vm is not acessible
>>> /even on network/
>>>
>>> Right now I found one VM, which is working well.
>>>
>>> In logs look for diplci01 at 2017-02-15 20:23:00,420, the VM ID is
>>> 7ddf349b

Re: [ovirt-users] VMs are not running/booting on one host

2017-02-15 Thread Peter Hudec
Hi,

so theproblem is little bit different. When I wait for a long time, the
VM boots ;(

But ... /see the log/. I'm invetigating the reason.
The difference between the dipovirt0{1,2} and the dipovirt03 isthe
installation time. The first 2 was migrated last week, the last one
yesterday. There some newer packages, but nothing related to KVM.

[  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
jiffies g=393 c=392 q=35)
[  292.430294] sending NMI to all CPUs:
[  292.430305] NMI backtrace for cpu 0
[  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
#1 Debian 3.16.39-1
[  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
[  292.430313] task: 8181a460 ti: 8180 task.ti:
8180
[  292.430315] RIP: 0010:[]  []
native_write_msr_safe+0x6/0x10
[  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
[  292.430325] RAX: 0400 RBX:  RCX:
0830
[  292.430326] RDX:  RSI: 0400 RDI:
0830
[  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
01e8
[  292.430329] R10:  R11: 88001fc03b96 R12:

[  292.430330] R13: a0ea R14: 0002 R15:
0008
[  292.430335] FS:  () GS:88001fc0()
knlGS:
[  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
[  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
06f0
[  292.430343] Stack:
[  292.430344]  8104b30d 0002 0082
88001fc0d6a0
[  292.430347]  81853800  818e2fe0
0023
[  292.430349]  81853800 81047d63 88001fc0d6a0
810c73fa
[  292.430352] Call Trace:
[  292.430354]  

[  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
[  292.430365]  [] ?
arch_trigger_all_cpu_backtrace+0xc3/0x140
[  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
[  292.430373]  [] ? account_process_tick+0xde/0x180
[  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
[  292.430381]  [] ? update_process_times+0x40/0x70
[  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
[  292.430407]  [] ? tick_sched_timer+0x3c/0x60
[  292.430410]  [] ? __run_hrtimer+0x67/0x210
[  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
[  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
[  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
[  292.430422]  

[  292.430425]  [] ? sched_clock_local+0x15/0x80
[  292.430428]  [] ? mwait_idle+0xa0/0xa0
[  292.430431]  [] ? native_safe_halt+0x2/0x10
[  292.430434]  [] ? default_idle+0x19/0xd0
[  292.430437]  [] ? cpu_startup_entry+0x374/0x470
[  292.430440]  [] ? start_kernel+0x497/0x4a2
[  292.430442]  [] ? set_init_arg+0x4e/0x4e
[  292.430445]  [] ? early_idt_handler_array+0x120/0x120
[  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
[  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
[  292.430579] Clocksource tsc unstable (delta = -289118137838 ns)


On 15/02/2017 20:39, Peter Hudec wrote:
> Hi,
> 
> I did already, but not find any suspicious, see attached logs and the
> spice screenshot.
> 
> Actually the VM is booting, but is stacked in some  bad state.
> When migrating, the migration is sucessfull, but the vm is not acessible
> /even on network/
> 
> Right now I found one VM, which is working well.
> 
> In logs look for diplci01 at 2017-02-15 20:23:00,420, the VM ID is
> 7ddf349b-fb9a-44f4-9e88-73e84625a44e
> 
>   thanks
>   Peter
> 
> On 15/02/2017 19:40, Nir Soffer wrote:
>> On Wed, Feb 15, 2017 at 8:11 PM, Peter Hudec  wrote:
>>> Hi,
>>>
>>> I'm preparing to migrate from 3.5 to 3.6
>>> The first step is the CentOS6 -> CentOS7 for hosts.
>>>
>>> setup:
>>>   - 3x hosts /dipovitrt01, dipovirt02, dipovirt03/
>>>   - 1x hosted engine /on all 3 hosts/
>>>
>>> The upgrade of the first 2 hosts was OK, all VM are running OK.
>>> When I upgraded the 3rd host /dipovirt03/, some  VMs are not able to run
>>> on the or boot on this host. I tried  to full reinstall the host, but
>>> wth the same result.
>>>
>>> In case of migration the VMm will stop running in a while.
>>> In case of booting the VM will not boot, I see the 'Loading kernel ...'
>>>
>>> Almost all VMS are Debian 8 with guest tools, some Centos 6/7
>>>
>>> The hosts were OK with CentOS6.
>>>
>>>
>>> Where should I start to investigate ?
>>
>> Sharing vdsm logs showing the failed attempts to run or migrate

[ovirt-users] VMs are not running/booting on one host

2017-02-15 Thread Peter Hudec
Hi,

I'm preparing to migrate from 3.5 to 3.6
The first step is the CentOS6 -> CentOS7 for hosts.

setup:
  - 3x hosts /dipovitrt01, dipovirt02, dipovirt03/
  - 1x hosted engine /on all 3 hosts/

The upgrade of the first 2 hosts was OK, all VM are running OK.
When I upgraded the 3rd host /dipovirt03/, some  VMs are not able to run
on the or boot on this host. I tried  to full reinstall the host, but
wth the same result.

In case of migration the VMm will stop running in a while.
In case of booting the VM will not boot, I see the 'Loading kernel ...'

Almost all VMS are Debian 8 with guest tools, some Centos 6/7

The hosts were OK with CentOS6.


Where should I start to investigate ?

best 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] ipv6 in guests not worknig

2015-10-29 Thread Peter Hudec
Hi,

maybe there was some similar problem in past, but I haven't found any
solution for this.

I want to user IPv6 in our guest but it's not working.

When I try to ping the guest from out side world I see on the ovirt node
(3.5) following:

[root@dipovirt01 ~]# brctl show servers_dmz
bridge namebridge idSTP enabledinterfaces
servers_dmz8000.00269e02b640nobond0.30
vnet0

[root@dipovirt01 ~]# tcpdump -i bond0.30 -n icmp6
tcpdump: WARNING: bond0.30: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bond0.30, link-type EN10MB (Ethernet), capture size 65535 bytes
09:32:04.475918 IP6 2a02:6300:0:21e::1 > ff02::1:ff00:b: ICMP6, neighbor
solicitation, who has 2a02:6300:0:21e::b, length 32

[root@dipovirt01 ~]# tcpdump -i servers_dmz -n icmp6
tcpdump: WARNING: servers_dmz: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on servers_dmz, link-type EN10MB (Ethernet), capture size
65535 bytes
09:32:45.683960 IP6 2a02:6300:0:21e::1 > ff02::1:ff00:b: ICMP6, neighbor
solicitation, who has 2a02:6300:0:21e::b, length 32


[root@dipovirt01 ~]# tcpdump -i vnet0 -n icmp6
tcpdump: WARNING: vnet0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vnet0, link-type EN10MB (Ethernet), capture size 65535 bytes


On the vnet0 interface I do not see any IPv6 ICMP ND packets, so in the
virtual machine.
I allowed IPv6 forwarding in sysctl and rebooted the node /to be sure/

[root@dipovirt01 ~]# cat /etc/sysctl.d/ipv6.conf
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1

Any suggestion what's wrong?

bets 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