[ovirt-devel] I have this issue when trying to connect to gerrit

Eyal Edri eedri at redhat.com
Thu Sep 8 07:19:00 UTC 2016


Hi,

We're not allowing ssh with port 22 to the gerrit server, its reserved only
to Admins.
Can you elaborate why do you need it?

Its not needed to log into the UI or send patches, that is done with the 29418
port.

e.

On Thu, Sep 8, 2016 at 9:36 AM, maokexu at 126.com <maokexu at 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
> ------------------------------
> maokexu at 126.com
>
>
> *From:* Shlomo Ben David <sbendavi at redhat.com>
> *Date:* 2016-09-06 19:52
> *To:* maokexu at 126.com
> *CC:* Eyal Edri <eedri at redhat.com>; infra <infra at ovirt.org>
> *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 at 126.com <maokexu at 126.com> wrote:
>
>> hi,Shlomo Ben David and Eyal Edri:
>>
>> Is not the problem:
>> [maokx at maokx ~]$ date
>> Tue Sep  6 16:42:15 CST 2016
>> [maokx at maokx ~]$ getenforce
>> Permissive
>> [maokx at maokx ~]$ systemctl status iptables
>> ● iptables.service
>>    Loaded: not-found (Reason: No such file or directory)
>>    Active: inactive (dead)
>> [maokx at 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 --nopi
>> d $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 at maokx ~]$
>>
>> ------------------------------
>> maokexu at 126.com
>>
>>
>> *From:* Shlomo Ben David <sbendavi at redhat.com>
>> *Date:* 2016-09-06 16:16
>> *To:* Eyal Edri <eedri at redhat.com>
>> *CC:* maokexu at 126.com; infra <infra at ovirt.org>; devel <devel at ovirt.org>
>> *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 at redhat.com> wrote:
>>
>>> Adding infra.
>>>
>>> On Tue, Sep 6, 2016 at 10:01 AM, maokexu at 126.com <maokexu at 126.com>
>>> wrote:
>>>
>>>> hi,all:
>>>>         I have this issue when trying to connect to gerrit:
>>>>         [maokx at 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: Connect
>>>> ion timed out
>>>> ssh: connect to host gerrit.ovirt.org port 29418: Connection timed out
>>>>
>>>> [root at 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 t
>>>> tl=25 time=272 ms
>>>> 64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=2 t
>>>> tl=25 time=285 ms
>>>> 64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=3 t
>>>> tl=25 time=275 ms
>>>> 64 bytes from gerrit.ovirt.org (107.22.212.69): icmp_seq=4 t
>>>> tl=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 at maokx ~]# telnet gerrit.ovirt.org 29418
>>>> Trying 107.22.212.69...
>>>> telnet: connect to address 107.22.212.69: Connection timed out
>>>> [root at maokx ~]#
>>>>
>>>> ------------------------------
>>>> maokexu at 126.com
>>>>
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at 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)
>>>
>>
>>
>


-- 
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20160908/5807d67e/attachment.html>


More information about the Infra mailing list