Hi Maokexu,

I'm very glad to hear that you want to work with oVirt Gerrit.
From the attached log, you are reaching gerrit.ovirt.org server throught port 22, but receving connection time out when connecting throught port 29418 (this is a gerrit default port).

There can be few reasons for that:
1. You are blocked by your local iptables\firewall <== already checked
2. You are blocked by your office or home firewall <== need to check

Best Regards,

Shlomi Ben-David | DevOps Engineer Red Hat ISRAEL
RHCSA | RHCE  
IRC: shlomibendavid (on #rhev-integ, #rhev-dev, #rhev-ci)

OPEN SOURCE - 1 4 011 && 011 4 1

On Thu, Sep 8, 2016 at 9:36 AM, maokexu@126.com <maokexu@126.com> wrote:
hi,Shomo Ben David:

The output in the attachment.
I want to working with oVirt Gerrit.
I have Registered as a user ,the name is maokexu.
I failed when ssh gerrit.ovirt.org.
For such a long time back to the information , I am very sorry.
Best Regards

 
Date: 2016-09-06 19:52
Subject: Re: Re: [ovirt-devel] I have this issue when trying to connect to gerrit
ok, can you please try to connect to gerrit.ovirt.org via port 22 and send me the output?

$ ssh -vv gerrit.ovirt.org -p 22 
(from your previous email i saw that your default port to the server is via 29418)

BTW, why are you trying to connect to gerrit? Is there anything that i can help you with?

Best Regards,

Shlomi Ben-David | DevOps Engineer Red Hat ISRAEL
RHCSA | RHCE  
IRC: shlomibendavid (on #rhev-integ, #rhev-dev, #rhev-ci)

OPEN SOURCE - 1 4 011 && 011 4 1

On Tue, Sep 6, 2016 at 11:44 AM, maokexu@126.com <maokexu@126.com> wrote:
hi,Shlomo Ben David and Eyal Edri:

Is not the problem:
[maokx@maokx ~]$ date
Tue Sep  6 16:42:15 CST 2016
[maokx@maokx ~]$ getenforce
Permissive
[maokx@maokx ~]$ systemctl status iptables
● iptables.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[maokx@maokx ~]$ systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Tue 2016-09-06 14:31:58 CST; 2h 10min ago
  Process: 851 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 851 (code=exited, status=0/SUCCESS)

Sep 06 08:57:24 maokx.com systemd[1]: Starting firewalld - dynamic firewall daemon...
Sep 06 08:57:30 maokx.com systemd[1]: Started firewalld - dynamic firewall daemon.
Sep 06 14:31:57 maokx.com systemd[1]: Stopping firewalld - dynamic firewall daemon...
Sep 06 14:31:58 maokx.com systemd[1]: Stopped firewalld - dynamic firewall daemon.
[maokx@maokx ~]$ 


 
Date: 2016-09-06 16:16
Subject: Re: [ovirt-devel] I have this issue when trying to connect to gerrit
Hi Maokexu,

Its seems that there is some iptables/firewall issue on your machine.
Please make sure that port 29418 (tcp) is open.

Best Regards,

Shlomi Ben-David | DevOps Engineer Red Hat ISRAEL
RHCSA | RHCE  
IRC: shlomibendavid (on #rhev-integ, #rhev-dev, #rhev-ci)

OPEN SOURCE - 1 4 011 && 011 4 1

On Tue, Sep 6, 2016 at 10:52 AM, Eyal Edri <eedri@redhat.com> wrote:
Adding infra.

On Tue, Sep 6, 2016 at 10:01 AM, maokexu@126.com <maokexu@126.com> wrote:
hi,all:
        I have this issue when trying to connect to gerrit:
        [maokx@maokx ~]$ ssh -vv gerrit.ovirt.org
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/maokx/.ssh/config
debug1: /home/maokx/.ssh/config line 1: Applying options for gerrit.ovirt.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to gerrit.ovirt.org [107.22.212.69] port 29418.
debug1: connect to address 107.22.212.69 port 29418: Connection timed out
ssh: connect to host gerrit.ovirt.org port 29418: Connection timed out

[root@maokx ~]# ping gerrit.ovirt.org
PING gerrit.ovirt.org (107.22.212.69) 56(84) bytes of data.
64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=1 ttl=25 time=272 ms
64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=2 ttl=25 time=285 ms
64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=3 ttl=25 time=275 ms
64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=4 ttl=25 time=270 ms
^C
--- gerrit.ovirt.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 270.741/275.835/285.228/5.694 ms
[root@maokx ~]# telnet gerrit.ovirt.org 29418
Trying 107.22.212.69...
telnet: connect to address 107.22.212.69: Connection timed out
[root@maokx ~]# 



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



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

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)