Re: [ovirt-devel] Check-merged is broken since we added network test to it

2016-12-25 Thread Dan Kenigsberg
On Thu, Dec 22, 2016 at 5:59 PM, Leon Goldberg  wrote:
> So it's not about the added network tests (these were added in the one I've
> mentioned, the one who had successful runs after being merged), and I don't
> see how the patch you've mentioned breaks anything (as it merely moves
> pieces around).
>
> I could of course be wrong entirely and there's something I'm missing about
> the patch you're claiming is the guilty one, but it won't be about the
> network tests either way.
>
> If it's then not about the network tests, then my immediate suspicion is
> that the problem lies somewhere else and isn't in either of the patches. I
> am far from able to prove this either way, though, so if reverting the patch
> you've mentioned somehow fixes check-merged, then it is of course fine by
> me.
>
> On Thu, Dec 22, 2016 at 5:45 PM, Yaniv Bronheim  wrote:
>>
>>
>>
>> On Thu, Dec 22, 2016 at 5:39 PM, Leon Goldberg 
>> wrote:
>>>
>>> Doesn't seem related; the patch does nothing but move pieces around.
>>>
>>> Judging by the title I guess you're referring to
>>> https://gerrit.ovirt.org/#/c/67787/ ?
>>
>>
>>
>> no.. you can see that after this patch it used to work (check the jobs
>> after the merge)
>> so  something in  https://gerrit.ovirt.org/#/c/68078/ broke it
>>
>>>
>>>
>>> On Thu, Dec 22, 2016 at 5:14 PM, Yaniv Bronheim 
>>> wrote:

 Hi guys and Leon,

 https://gerrit.ovirt.org/#/c/68078/ broke the check-merged job with
 really tough exception:

 15:23:34 sh: [17766: 1 (255)] tcsetattr: Inappropriate ioctl for device
 15:23:34 Took 2586 seconds
 15:23:34 Slave went offline during the build
 15:23:34 ERROR: Connection was broken: java.io.IOException: Unexpected

Maybe the problem is few line above this. Could Jenkins simply timeout?


Ran 44 tests in 1752.270s

OK
+ return 0
sh: [9520: 1 (255)] tcsetattr: Inappropriate ioctl for device

Anyway, a revert is available https://gerrit.ovirt.org/#/c/69078/ and
I'm trying to see if it helps.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Dan Kenigsberg
On Sun, Dec 25, 2016 at 4:53 PM, Eyal Edri  wrote:
> Why do we need to wait for a review and not revert the offending patch in
> the meantime?

I want to verify that a revert helps. but I'm getting

14:41:29  > git -c core.askpass=true fetch --tags --progress
git://gerrit.ovirt.org/vdsm.git refs/changes/93/69093/1  --prune
14:41:29 ERROR: Error fetching remote repo 'origin'
14:41:29 hudson.plugins.git.GitException: Failed to fetch from
git://gerrit.ovirt.org/vdsm.git

review of a forward-looking fix can be done in parallel.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Eyal Edri
Why do we need to wait for a review and not revert the offending patch in
the meantime?

On Sun, Dec 25, 2016 at 4:26 PM, Dan Kenigsberg  wrote:

> On Sun, Dec 25, 2016 at 3:59 PM, Dan Kenigsberg  wrote:
> > On Sun, Dec 25, 2016 at 3:40 PM, Barak Korren 
> wrote:
> >>>
> >>> Can you tell if /var/run/vdsm/svdsm.sock exists?
> >>
> >> # ls -l /var/run/vdsm/svdsm.sock
> >> ls: cannot access /var/run/vdsm/svdsm.sock: No such file or directory
> >>
> >>> What's `ls -lZ /var/run/vdsm` ?
> >>
> >> # ls -lZ /var/run/vdsm
> >> ls: cannot access /var/run/vdsm: No such file or directory
> >>
> >>> Can you manually run supervdsmServer --sockfile=/var/run/vdsm/
> svdsm.sock
> >>> on that host?
> >>
> >> I get this:
> >>
> >> [2016-12-25 08:39:01,224 pyinotify ERROR] add_watch: cannot watch
> >> /var/run/vdsm/sourceRoutes WD=-1, Errno=Not a directory (ENOTDIR)
> >> Exception in thread sourceRoute:
> >> Traceback (most recent call last):
> >>   File "/usr/lib64/python2.7/threading.py", line 811, in
> __bootstrap_inner
> >> self.run()
> >>   File "/usr/lib64/python2.7/threading.py", line 764, in run
> >> self.__target(*self.__args, **self.__kwargs)
> >>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 368, in
> wrapper
> >> return f(*a, **kw)
> >>   File "/usr/lib/python2.7/site-packages/vdsm/network/
> sourceroutethread.py",
> >> line 90, in _subscribeToInotifyLoop
> >> for filePath in sorted(os.listdir(SOURCE_ROUTES_FOLDER)):
> >> OSError: [Errno 20] Not a directory: '/var/run/vdsm/sourceRoutes'
> >
> > Now that's completely my fault.
> >
> > I probably did not verify https://gerrit.ovirt.org/#/c/68662/ on a
> > clean installation.
> >
> > Barak, do you know if there's a standard way of triggering
> > systemd-tmpfiles in %post ?
> >
> > https://gerrit.ovirt.org/#/c/69092/ would revert my offending patch.
>
> But https://gerrit.ovirt.org/#/c/69093/1/vdsm.spec.in may be a proper
> fix. Would you care to review?
> ___
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
>
>


-- 
Eyal Edri
Associate Manager
RHV DevOps
EMEA ENG Virtualization R
Red Hat Israel

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Dan Kenigsberg
On Sun, Dec 25, 2016 at 3:59 PM, Dan Kenigsberg  wrote:
> On Sun, Dec 25, 2016 at 3:40 PM, Barak Korren  wrote:
>>>
>>> Can you tell if /var/run/vdsm/svdsm.sock exists?
>>
>> # ls -l /var/run/vdsm/svdsm.sock
>> ls: cannot access /var/run/vdsm/svdsm.sock: No such file or directory
>>
>>> What's `ls -lZ /var/run/vdsm` ?
>>
>> # ls -lZ /var/run/vdsm
>> ls: cannot access /var/run/vdsm: No such file or directory
>>
>>> Can you manually run supervdsmServer --sockfile=/var/run/vdsm/svdsm.sock
>>> on that host?
>>
>> I get this:
>>
>> [2016-12-25 08:39:01,224 pyinotify ERROR] add_watch: cannot watch
>> /var/run/vdsm/sourceRoutes WD=-1, Errno=Not a directory (ENOTDIR)
>> Exception in thread sourceRoute:
>> Traceback (most recent call last):
>>   File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
>> self.run()
>>   File "/usr/lib64/python2.7/threading.py", line 764, in run
>> self.__target(*self.__args, **self.__kwargs)
>>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 368, in wrapper
>> return f(*a, **kw)
>>   File "/usr/lib/python2.7/site-packages/vdsm/network/sourceroutethread.py",
>> line 90, in _subscribeToInotifyLoop
>> for filePath in sorted(os.listdir(SOURCE_ROUTES_FOLDER)):
>> OSError: [Errno 20] Not a directory: '/var/run/vdsm/sourceRoutes'
>
> Now that's completely my fault.
>
> I probably did not verify https://gerrit.ovirt.org/#/c/68662/ on a
> clean installation.
>
> Barak, do you know if there's a standard way of triggering
> systemd-tmpfiles in %post ?
>
> https://gerrit.ovirt.org/#/c/69092/ would revert my offending patch.

But https://gerrit.ovirt.org/#/c/69093/1/vdsm.spec.in may be a proper
fix. Would you care to review?
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Dan Kenigsberg
On Sun, Dec 25, 2016 at 3:40 PM, Barak Korren  wrote:
>>
>> Can you tell if /var/run/vdsm/svdsm.sock exists?
>
> # ls -l /var/run/vdsm/svdsm.sock
> ls: cannot access /var/run/vdsm/svdsm.sock: No such file or directory
>
>> What's `ls -lZ /var/run/vdsm` ?
>
> # ls -lZ /var/run/vdsm
> ls: cannot access /var/run/vdsm: No such file or directory
>
>> Can you manually run supervdsmServer --sockfile=/var/run/vdsm/svdsm.sock
>> on that host?
>
> I get this:
>
> [2016-12-25 08:39:01,224 pyinotify ERROR] add_watch: cannot watch
> /var/run/vdsm/sourceRoutes WD=-1, Errno=Not a directory (ENOTDIR)
> Exception in thread sourceRoute:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
> self.run()
>   File "/usr/lib64/python2.7/threading.py", line 764, in run
> self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 368, in wrapper
> return f(*a, **kw)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/sourceroutethread.py",
> line 90, in _subscribeToInotifyLoop
> for filePath in sorted(os.listdir(SOURCE_ROUTES_FOLDER)):
> OSError: [Errno 20] Not a directory: '/var/run/vdsm/sourceRoutes'

Now that's completely my fault.

I probably did not verify https://gerrit.ovirt.org/#/c/68662/ on a
clean installation.

Barak, do you know if there's a standard way of triggering
systemd-tmpfiles in %post ?

https://gerrit.ovirt.org/#/c/69092/ would revert my offending patch.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Barak Korren
>
> Can you tell if /var/run/vdsm/svdsm.sock exists?

# ls -l /var/run/vdsm/svdsm.sock
ls: cannot access /var/run/vdsm/svdsm.sock: No such file or directory

> What's `ls -lZ /var/run/vdsm` ?

# ls -lZ /var/run/vdsm
ls: cannot access /var/run/vdsm: No such file or directory

> Can you manually run supervdsmServer --sockfile=/var/run/vdsm/svdsm.sock
> on that host?

I get this:

[2016-12-25 08:39:01,224 pyinotify ERROR] add_watch: cannot watch
/var/run/vdsm/sourceRoutes WD=-1, Errno=Not a directory (ENOTDIR)
Exception in thread sourceRoute:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 368, in wrapper
return f(*a, **kw)
  File "/usr/lib/python2.7/site-packages/vdsm/network/sourceroutethread.py",
line 90, in _subscribeToInotifyLoop
for filePath in sorted(os.listdir(SOURCE_ROUTES_FOLDER)):
OSError: [Errno 20] Not a directory: '/var/run/vdsm/sourceRoutes'



-- 
Barak Korren
bkor...@redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Dan Kenigsberg
On Sun, Dec 25, 2016 at 3:01 PM, Barak Korren  wrote:
> On 23 December 2016 at 21:43, Nir Soffer  wrote:
>>
>> The fix seems to work, do you want to review or test it?
>> https://gerrit.ovirt.org/69052
>>
>
>
> Fix merged, and looking at hosts it seems to do what it was supposed to:
>
> # ls -ld /var/log/ovirt-imageio-daemon/
> drwxr-xr-x. 2 vdsm kvm 4096 Dec 25 07:45 /var/log/ovirt-imageio-daemon/
>
>
> But now we have a new failure, SuperVDSM not starting with this in the logs:
>
> MainThread::DEBUG::2016-12-25
> 07:45:36,018::supervdsmServer::275::SuperVdsm.Server::(main) Making
> sure I'm root - SuperVdsm
> MainThread::DEBUG::2016-12-25
> 07:45:36,018::supervdsmServer::284::SuperVdsm.Server::(main) Parsing
> cmd args
> MainThread::DEBUG::2016-12-25
> 07:45:36,018::supervdsmServer::287::SuperVdsm.Server::(main) Cleaning
> old socket /var/run/vdsm/svdsm.sock
> MainThread::DEBUG::2016-12-25
> 07:45:36,018::supervdsmServer::291::SuperVdsm.Server::(main) Setting
> up keep alive thread
> MainThread::DEBUG::2016-12-25
> 07:45:36,018::supervdsmServer::297::SuperVdsm.Server::(main) Creating
> remote object manager
> MainThread::ERROR::2016-12-25
> 07:45:36,018::supervdsmServer::321::SuperVdsm.Server::(main) Could not
> start Super Vdsm
> Traceback (most recent call last):
>   File "/usr/share/vdsm/supervdsmServer", line 301, in main
> server = anager.get_server()
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 493,
> in get_server
> self._authkey, self._serializer)
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 162, in 
> __init__
> self.listener = Listener(address=address, backlog=16)
>   File "/usr/lib64/python2.7/multiprocessing/connection.py", line 136,
> in __init__
> self._listener = SocketListener(address, family, backlog)
>   File "/usr/lib64/python2.7/multiprocessing/connection.py", line 260,
> in __init__
> self._socket.bind(address)
>   File "/usr/lib64/python2.7/socket.py", line 224, in meth
> return getattr(self._sock,name)(*args)
> error: [Errno 2] No such file or directory
> MainThread::DEBUG::2016-12-25
> 07:45:36,338::supervdsmServer::275::SuperVdsm.Server::(main) Making
> sure I'm root - SuperVdsm

Can you tell if /var/run/vdsm/svdsm.sock exists?

What's `ls -lZ /var/run/vdsm` ?

Can you manually run supervdsmServer --sockfile=/var/run/vdsm/svdsm.sock
on that host?
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] oVirt system tests currently failing to AddHost on master

2016-12-25 Thread Barak Korren
On 23 December 2016 at 21:43, Nir Soffer  wrote:
>
> The fix seems to work, do you want to review or test it?
> https://gerrit.ovirt.org/69052
>


Fix merged, and looking at hosts it seems to do what it was supposed to:

# ls -ld /var/log/ovirt-imageio-daemon/
drwxr-xr-x. 2 vdsm kvm 4096 Dec 25 07:45 /var/log/ovirt-imageio-daemon/


But now we have a new failure, SuperVDSM not starting with this in the logs:

MainThread::DEBUG::2016-12-25
07:45:36,018::supervdsmServer::275::SuperVdsm.Server::(main) Making
sure I'm root - SuperVdsm
MainThread::DEBUG::2016-12-25
07:45:36,018::supervdsmServer::284::SuperVdsm.Server::(main) Parsing
cmd args
MainThread::DEBUG::2016-12-25
07:45:36,018::supervdsmServer::287::SuperVdsm.Server::(main) Cleaning
old socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2016-12-25
07:45:36,018::supervdsmServer::291::SuperVdsm.Server::(main) Setting
up keep alive thread
MainThread::DEBUG::2016-12-25
07:45:36,018::supervdsmServer::297::SuperVdsm.Server::(main) Creating
remote object manager
MainThread::ERROR::2016-12-25
07:45:36,018::supervdsmServer::321::SuperVdsm.Server::(main) Could not
start Super Vdsm
Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsmServer", line 301, in main
server = anager.get_server()
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 493,
in get_server
self._authkey, self._serializer)
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 162, in __init__
self.listener = Listener(address=address, backlog=16)
  File "/usr/lib64/python2.7/multiprocessing/connection.py", line 136,
in __init__
self._listener = SocketListener(address, family, backlog)
  File "/usr/lib64/python2.7/multiprocessing/connection.py", line 260,
in __init__
self._socket.bind(address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 2] No such file or directory
MainThread::DEBUG::2016-12-25
07:45:36,338::supervdsmServer::275::SuperVdsm.Server::(main) Making
sure I'm root - SuperVdsm


... Repeat ...



-- 
Barak Korren
bkor...@redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


[ovirt-devel] ovirt.org is back online

2016-12-25 Thread Eyal Edri
The site is back online thanks for Duck in helping clearing the log files
which caused the gear to get stuck.

I understood that the site is planned to move to another location, with
more storage so hopefully these kind of outage will be rare soon after.

-- 
Eyal Edri
Associate Manager
RHV DevOps
EMEA ENG Virtualization R
Red Hat Israel

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] [Attention] Gerrit 'git://' protocol error

2016-12-25 Thread Nadav Goldin
Hi,
Currently git-daemon is not working on gerrit.ovirt.org, so all
actions with remote configured with  'git://' prefix would
fail(including Jenkins jobs). We are working on resolving the issue,
until then you can use 'https://' for anonymous clones, or
SSH(ssh://usern...@gerrit.ovirt.org:29418/repo.git).

Thanks,

Nadav.
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel