[ovirt-devel] 答复: Debug vdsm 4.0.0 report error: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

2016-07-25 Thread lifuqiong
On 26 Jul 2016, at 08:02, lifuqiong wrote: I do make a mistake because I just print os.getuid() show the user root; but os.geteuid() show the current user is still vdsm; Anyway , I still don’t know how to debug vdsm, I cann’t log in to centos with user VDSM, because I don’t know th

[ovirt-devel] 答复: Debug vdsm 4.0.0 report error: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

2016-07-25 Thread lifuqiong
I do make a mistake because I just print os.getuid() show the user root; but os.geteuid() show the current user is still vdsm; Anyway , I still don’t know how to debug vdsm, I cann’t log in to centos with user VDSM, because I don’t know the passwd of user vdsm and if I changed the passwor

Re: [ovirt-devel] Debug vdsm 4.0.0 report error: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

2016-07-25 Thread Michal Skrivanek
> On 26 Jul 2016, at 08:02, lifuqiong wrote: > > > I do make a mistake because I just print os.getuid() show the user root; but > os.geteuid() show the current user is still vdsm; > > Anyway , I still don’t know how to debug vdsm, I cann’t log in to centos with > user VDSM, because I don’t

[ovirt-devel] When debug vdsm branch 4.0, why there has some code will call function ping(self) in bindingxmlrpc.py cycle? Even the vdsm is not managed by ovirt-engine?

2016-07-25 Thread lifuqiong
Hi, I setup a breakpoint in Line 637 in bindingxmlrpc.py , which as follows: (branch:4.0; code url is: https://github.com/oVirt/vdsm/tree/ovirt-4.0) 636 def ping(self): 637 api = API.Global() 638 return api.ping() But even the vdsm is not managed by any ovirt-en

Re: [ovirt-devel] Debug vdsm 4.0.0 report error: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

2016-07-25 Thread Michal Skrivanek
> On 25 Jul 2016, at 21:50, Sandro Bonazzola wrote: > > Adding some people from virt team. > > Il 23/Lug/2016 11:44, "lifuqiong" ha scritto: > > > > I debugged vdsm with PyCharm, And I logged on my Centos 7.2 with root, and > > get an error as follows: > > > > > > > > Problem: > > > > >

Re: [ovirt-devel] Debug vdsm 4.0.0 report error: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

2016-07-25 Thread Sandro Bonazzola
Adding some people from virt team. Il 23/Lug/2016 11:44, "lifuqiong" ha scritto: > > I debugged vdsm with PyCharm, And I logged on my Centos 7.2 with root, and get an error as follows: > > > > Problem: > > > > Traceback (most recent call last): > > File "/usr/share/vdsm/vdsm", line 149, in run

[ovirt-devel] Type Safety on the Frontend (refactoring of all async queries)

2016-07-25 Thread Martin Betak
Hi All, today a *major* frontend refactoring was merged [1]. Its purpose was to remove some of the most significant artifacts of legacy C# code. Huge thanks to Vojtech and Alex for heavenly patience during code review! For a complete description please see the commit message, but here are some

Re: [ovirt-devel] How to build and install oVirt on Product Environment

2016-07-25 Thread Sandro Bonazzola
On Tue, Jun 14, 2016 at 2:28 AM, Dewey Du wrote: > To build and install ovirt-engine execute the folllowing command: > > $ make clean install-dev PREFIX="${PREFIX}" > > What about installing it on Product Environment. Is the folllowing command > right? > > $ make clean install PREFIX="${PREFIX}"

Re: [ovirt-devel] Blog post: Monitoring Improvements in oVirt

2016-07-25 Thread Arik Hadas
- Original Message - > Hi Arik, > > Very nice output.. Thank you > > see also our mojo page: > > https://mojo.redhat.com/groups/rhev-m-scalability-performance-team > > can you elaborate how did you rampup 6K vms? 1. Created a cluster with 1 real host, 1 fake-VDSM based host and 1 s

Re: [ovirt-devel] Blog post: Monitoring Improvements in oVirt

2016-07-25 Thread emarcian
Hi Arik, Very nice output.. see also our mojo page: https://mojo.redhat.com/groups/rhev-m-scalability-performance-team can you elaborate how did you rampup 6K vms? also can you elaborate the following: - HW definition? - java HEAP Size? - any postgres tuning ? we are about to scale out t

[ovirt-devel] anonymous upgrade script instead of tmp function ceremony

2016-07-25 Thread Roy Golan
We all use the pattern of temporary creating a function for upgrade script, declaring it (copy pasting from last script) and then calling it, then deleting it. This very verbose can be replaced with DO instruction which does essentially the same. # existing declaration ```sql CREATE OR REPLACE