Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Anastasiya Ruzhanskaya
rpm -qa |grep postgres rh-postgresql95-postgresql-libs-9.5.9-1.el7.x86_64 postgresql-libs-9.2.23-3.el7_4.x86_64 rh-postgresql95-runtime-2.2-2.el7.x86_64 rh-postgresql95-postgresql-9.5.9-1.el7.x86_64 postgresql-jdbc-9.2.1002-5.el7.noarch postgresql-contrib-9.2.23-3.el7_4.x86_64

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Eli Mesika
On Mon, May 7, 2018 at 11:40 AM, Anastasiya Ruzhanskaya < anastasiya.ruzhansk...@frtk.ru> wrote: > If the engine user is not accessible directly, why then in this command > you use it?: > > psql -U engine engine -c "UPDATE vdc_options set option_value = 'false' >

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Martin Sivak
Hi, you must have postgresql installed or the engine would not work. I see I used the engine user there (the second engine is the database name), but both vdsm fake and my personal notes say to use postgres user. sudo -i -u postgres export ENGINE_DB=dbname psql $ENGINE_DB -c "UPDATE vdc_options

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Eli Mesika
On Mon, May 7, 2018 at 11:00 AM, Martin Sivak wrote: > Hi, > > I think what you are looking for is mostly this: > https://github.com/oVirt/vdsm/blob/master/lib/vdsm/api/vdsm-api.yml > > The best way to see what the traffic is is to disable SSL. The > postgres database is

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Anastasiya Ruzhanskaya
If the engine user is not accessible directly, why then in this command you use it?: psql -U engine engine -c "UPDATE vdc_options set option_value = 'false' WHERE option_name = 'SSLEnabled';" I am not really good in managing databases, I also

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Anastasiya Ruzhanskaya
As a part of my university diploma, we are making kind of access control tool as a firewall without dependence on oVirt roles ( this tool should actually work for all libvirt based virtualization products for KVM). It should be similar to Hytrust products or these ones

Re: [ovirt-devel] oVirt messages from engine to vdsm

2018-05-07 Thread Martin Sivak
Hi, I think what you are looking for is mostly this: https://github.com/oVirt/vdsm/blob/master/lib/vdsm/api/vdsm-api.yml The best way to see what the traffic is is to disable SSL. The postgres database is installed and accessible using the postgres user (the engine user is not allowed to access