Re: [openstack-dev] Looking for help getting git-review to work over https
On 12 June 2015 at 10:49, ZZelle wrote: > Indeed, the doc[1] is unclear > > > git-review can be installed using: python setup.py install or pip install . Of those two things we only support "pip install ." - in part because you have much less control over mirrors, proxies and inferior SSL support with 'python setup.py install'. http://docs.openstack.org/developer/pbr/ "Note that we don’t support the easy_install aspects of setuptools: while we depend on setup_requires, for any install_requires we recommend that they be installed prior to running setup.py install - either by hand, or by using an install tool such as pip." As pip doesn't yet support setup_requires itself, this will currently need a manual 'sudo pip install pbr' beforehand :/ -Rob -- Robert Collins Distinguished Technologist HP Converged Cloud __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: KARR, DAVID > Sent: Thursday, June 11, 2015 8:00 AM > To: OpenStack Development Mailing List (not for usage questions) > Subject: [openstack-dev] Looking for help getting git-review to > work over https > > *** Security Advisory: This Message Originated Outside of AT&T ***. > Reference http://cso.att.com/EmailSecurity/IDSP.html for more > information. > > I could use some help with setting up git-review in a slightly > unfriendly firewall situation. > > I'm trying to set up git-review on my CentOS7 VM, and our firewall > blocks the non-standard ssh port. I'm following the instructions > at > http://docs.openstack.org/infra/manual/developers.html#accessing- > gerrit-over-https , for configuring git-review to use https on port > 443, but this still isn't working (times out with "Could not > connect to gerrit"). I've confirmed that I can reach other > external sites on port 443. > > Can someone give me a hand with this? Thanks to everyone who helped. I believe I've finally got it working with https tunneling. It's amazing how many twisty little paths I had to to through. Now to get my repo into a state where I can actually create a review. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On 6/12/15, 14:46, "KARR, DAVID" wrote: >> -Original Message- >> From: Kevin L. Mitchell [mailto:kevin.mitch...@rackspace.com] >> Sent: Friday, June 12, 2015 12:05 PM >> To: openstack-dev@lists.openstack.org >> Subject: Re: [openstack-dev] Looking for help getting git-review to >> work over https >> >> On Fri, 2015-06-12 at 17:08 +, KARR, DAVID wrote: >> > Thanks. I already tried that. It's not even clear this is >> failing to >> > connect. I don't know what this is telling me. >> > -- >> > # pip install --proxy http://one.proxy.att.com:8080 . >> > Processing /home/dk068x/work/git-review >> > Complete output from command python setup.py egg_info: >> > Download error on https://pypi.python.org/simple/pbr/: [Errno >> 1] >> > _ssl.c:504: error:140770FC:SSL >> routines:SSL23_GET_SERVER_HELLO:unknown >> > protocol -- Some packages may not be found! >> > Couldn't find index page for 'pbr' (maybe misspelled?) >> > Download error on https://pypi.python.org/simple/: [Errno 1] >> > _ssl.c:504: error:140770FC:SSL >> routines:SSL23_GET_SERVER_HELLO:unknown >> > protocol -- Some packages may not be found! >> > No local packages or download links found for pbr >> > Traceback (most recent call last): >> > File "", line 20, in >> > File "/tmp/pip-MStPEo-build/setup.py", line 20, in >> > setuptools.setup(setup_requires=['pbr'], pbr=True) >> >> Have you confirmed that your proxy at 8080 is capable of SSL? >> Usually, >> people use port 8080 for plain old HTTP servers or proxies, and >> trying >> to talk SSL to a plain HTTP proxy would probably result in that >> error. >> >> (Also noticed that your proxy URL is specified as "http://";; if you >> know >> that proxy works for SSL, try "https://"…) > >Yes, we have both http and https versions of that proxy. I've tried both >of them here, with the same result. Can you get onto IRC? We might be able to fix this faster using a more immediate medium. If so, I'm sigmavirus24 in #openstack-dev on irc.freenode.net so feel free to ping me there. -- Ian __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: Ian Cordasco [mailto:ian.corda...@rackspace.com] > Sent: Friday, June 12, 2015 12:05 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] Looking for help getting git-review to > work over https > > It looks like it can't run the setup.py because it can't find pbr. > > Could you provide the following: > > - Version of pip you're using (pip --version) pip 7.0.3 from /usr/lib/python2.7/site-packages (python 2.7) > - How you installed pip (e.g., apt-get install -y python-pip) Sigh. I no longer remember. I know I had to install the EPEL repo. It would have been through "yum", most likely. > - Contents of your global pip configuration (if one exists, it will > be in > ~/.pip/) [global] proxy=https://one.proxy.att.com:8080 > - What you get when you do `python -c 'import setuptools; > print(setuptools.__version__)'` -- $ `python -c 'import setuptools; > print(setuptools.__version__)'` File "", line 1 import setuptools; > print(setuptools.__version__) ^ SyntaxError: invalid syntax --- I also tried without the wrapping backticks, which you may have used just to wrap the command line. Same result. > - Output of python -V Python 2.7.5 > On 6/12/15, 12:08, "KARR, DAVID" wrote: > > >> -Original Message- > >> From: Ian Cordasco [mailto:ian.corda...@rackspace.com] > >> Sent: Friday, June 12, 2015 9:57 AM > >> To: OpenStack Development Mailing List (not for usage questions) > >> Subject: Re: [openstack-dev] Looking for help getting git-review > to > >> work over https > >> > >> Python has generally awful support for doing HTTPS over an HTTPS > >> proxy. > >> Can you try doing: > >> > >> # pip install --proxy http://one.proxy.att.com: port> > > > >Thanks. I already tried that. It's not even clear this is failing > to > >connect. I don't know what this is telling me. > >-- > ># pip install --proxy http://one.proxy.att.com:8080 . > >Processing /home/dk068x/work/git-review > >Complete output from command python setup.py egg_info: > >Download error on https://pypi.python.org/simple/pbr/: [Errno > 1] > >_ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > >protocol -- Some packages may not be found! > >Couldn't find index page for 'pbr' (maybe misspelled?) > >Download error on https://pypi.python.org/simple/: [Errno 1] > >_ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > >protocol -- Some packages may not be found! > >No local packages or download links found for pbr > >Traceback (most recent call last): > > File "", line 20, in > > File "/tmp/pip-MStPEo-build/setup.py", line 20, in > >setuptools.setup(setup_requires=['pbr'], pbr=True) > >- > > > >> > >> Cheers, > >> Ian > >> > >> On 6/12/15, 10:26, "KARR, DAVID" wrote: > >> > >> >As I apparently have to sudo this, it would likely be more > >> effective, if > >> >at all, to specify the proxy on the command line. > Unfortunately, > >> > it didn’t make any difference: > >> > > >> ># pip install --proxy "https://one.proxy.att.com:8080"; . > >> >Processing /home/dk068x/work/git-review > >> >Complete output from command python setup.py egg_info: > >> >Download error on https://pypi.python.org/simple/pbr/: > [Errno > >> 1] > >> >_ssl.c:504: error:140770FC:SSL > >> routines:SSL23_GET_SERVER_HELLO:unknown > >> >protocol -- Some packages may > >> > not be found! > >> >Couldn't find index page for 'pbr' (maybe misspelled?) > >> >Download error on https://pypi.python.org/simple/: [Errno > 1] > >> >_ssl.c:504: error:140770FC:SSL > >> routines:SSL23_GET_SERVER_HELLO:unknown > >> >protocol -- Some packages may not > >> > be found! > >> > No local packages or download links found for pbr > >> >Traceback (most recent call last): > >> > File "", line 20, in > >> > File "/tmp/pip-D5jhCD-build/setup.py", line 20, in > > >> >setuptools.setup(setup_requires=['pbr'], pbr=True) > >> > File "/
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: Kevin L. Mitchell [mailto:kevin.mitch...@rackspace.com] > Sent: Friday, June 12, 2015 12:05 PM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] Looking for help getting git-review to > work over https > > On Fri, 2015-06-12 at 17:08 +, KARR, DAVID wrote: > > Thanks. I already tried that. It's not even clear this is > failing to > > connect. I don't know what this is telling me. > > -- > > # pip install --proxy http://one.proxy.att.com:8080 . > > Processing /home/dk068x/work/git-review > > Complete output from command python setup.py egg_info: > > Download error on https://pypi.python.org/simple/pbr/: [Errno > 1] > > _ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > > protocol -- Some packages may not be found! > > Couldn't find index page for 'pbr' (maybe misspelled?) > > Download error on https://pypi.python.org/simple/: [Errno 1] > > _ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > > protocol -- Some packages may not be found! > > No local packages or download links found for pbr > > Traceback (most recent call last): > > File "", line 20, in > > File "/tmp/pip-MStPEo-build/setup.py", line 20, in > > setuptools.setup(setup_requires=['pbr'], pbr=True) > > Have you confirmed that your proxy at 8080 is capable of SSL? > Usually, > people use port 8080 for plain old HTTP servers or proxies, and > trying > to talk SSL to a plain HTTP proxy would probably result in that > error. > > (Also noticed that your proxy URL is specified as "http://";; if you > know > that proxy works for SSL, try "https://"…) Yes, we have both http and https versions of that proxy. I've tried both of them here, with the same result. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
It looks like it can't run the setup.py because it can't find pbr. Could you provide the following: - Version of pip you're using (pip --version) - How you installed pip (e.g., apt-get install -y python-pip) - Contents of your global pip configuration (if one exists, it will be in ~/.pip/) - What you get when you do `python -c 'import setuptools; print(setuptools.__version__)'` - Output of python -V On 6/12/15, 12:08, "KARR, DAVID" wrote: >> -Original Message- >> From: Ian Cordasco [mailto:ian.corda...@rackspace.com] >> Sent: Friday, June 12, 2015 9:57 AM >> To: OpenStack Development Mailing List (not for usage questions) >> Subject: Re: [openstack-dev] Looking for help getting git-review to >> work over https >> >> Python has generally awful support for doing HTTPS over an HTTPS >> proxy. >> Can you try doing: >> >> # pip install --proxy http://one.proxy.att.com: > >Thanks. I already tried that. It's not even clear this is failing to >connect. I don't know what this is telling me. >-- ># pip install --proxy http://one.proxy.att.com:8080 . >Processing /home/dk068x/work/git-review >Complete output from command python setup.py egg_info: >Download error on https://pypi.python.org/simple/pbr/: [Errno 1] >_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown >protocol -- Some packages may not be found! >Couldn't find index page for 'pbr' (maybe misspelled?) >Download error on https://pypi.python.org/simple/: [Errno 1] >_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown >protocol -- Some packages may not be found! >No local packages or download links found for pbr >Traceback (most recent call last): > File "", line 20, in > File "/tmp/pip-MStPEo-build/setup.py", line 20, in >setuptools.setup(setup_requires=['pbr'], pbr=True) >- > >> >> Cheers, >> Ian >> >> On 6/12/15, 10:26, "KARR, DAVID" wrote: >> >> >As I apparently have to sudo this, it would likely be more >> effective, if >> >at all, to specify the proxy on the command line. Unfortunately, >> > it didn’t make any difference: >> > >> ># pip install --proxy "https://one.proxy.att.com:8080"; . >> >Processing /home/dk068x/work/git-review >> >Complete output from command python setup.py egg_info: >> >Download error on https://pypi.python.org/simple/pbr/: [Errno >> 1] >> >_ssl.c:504: error:140770FC:SSL >> routines:SSL23_GET_SERVER_HELLO:unknown >> >protocol -- Some packages may >> > not be found! >> >Couldn't find index page for 'pbr' (maybe misspelled?) >> >Download error on https://pypi.python.org/simple/: [Errno 1] >> >_ssl.c:504: error:140770FC:SSL >> routines:SSL23_GET_SERVER_HELLO:unknown >> >protocol -- Some packages may not >> > be found! >> >No local packages or download links found for pbr >> >Traceback (most recent call last): >> > File "", line 20, in >> > File "/tmp/pip-D5jhCD-build/setup.py", line 20, in >> > setuptools.setup(setup_requires=['pbr'], pbr=True) >> > File "/usr/lib64/python2.7/distutils/core.py", line 112, in >> setup >> >_setup_distribution = dist = klass(attrs) >> >... >> > >> > >> >I’m providing the appropriate https proxy url, as pip appears to >> be using >> >a https url. >> > >> >From: Asselin, Ramy [mailto:ramy.asse...@hp.com] >> > >> >Sent: Thursday, June 11, 2015 4:35 PM >> >To: OpenStack Development Mailing List (not for usage questions) >> >Subject: Re: [openstack-dev] Looking for help getting git-review >> to work >> >over https >> > >> > >> > >> >Try creating/updated ~/.pip/pip.conf >> > >> >With contents: >> > >> >[global] >> >proxy = >> >http://your_proxy:port/ >> > >> >From: KARR, DAVID [mailto:dk0...@att.com] >> > >> >Sent: Thursday, June 11, 2015 4:16 PM >> >To: OpenStack Development Mailing List (not for usage questions) >> >Subject: Re: [openstack-dev] Looking for help getting git-review >> to work >> >over https >> > >> > >> > >> >This is just going swimmingly. >> > >> >% sudo python setup.py install >> >Download error on >
Re: [openstack-dev] Looking for help getting git-review to work over https
On Fri, 2015-06-12 at 17:08 +, KARR, DAVID wrote: > Thanks. I already tried that. It's not even clear this is failing to > connect. I don't know what this is telling me. > -- > # pip install --proxy http://one.proxy.att.com:8080 . > Processing /home/dk068x/work/git-review > Complete output from command python setup.py egg_info: > Download error on https://pypi.python.org/simple/pbr/: [Errno 1] > _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol -- Some packages may not be found! > Couldn't find index page for 'pbr' (maybe misspelled?) > Download error on https://pypi.python.org/simple/: [Errno 1] > _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol -- Some packages may not be found! > No local packages or download links found for pbr > Traceback (most recent call last): > File "", line 20, in > File "/tmp/pip-MStPEo-build/setup.py", line 20, in > setuptools.setup(setup_requires=['pbr'], pbr=True) Have you confirmed that your proxy at 8080 is capable of SSL? Usually, people use port 8080 for plain old HTTP servers or proxies, and trying to talk SSL to a plain HTTP proxy would probably result in that error. (Also noticed that your proxy URL is specified as "http://";; if you know that proxy works for SSL, try "https://"…) -- Kevin L. Mitchell Rackspace __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: Ian Cordasco [mailto:ian.corda...@rackspace.com] > Sent: Friday, June 12, 2015 9:57 AM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] Looking for help getting git-review to > work over https > > Python has generally awful support for doing HTTPS over an HTTPS > proxy. > Can you try doing: > > # pip install --proxy http://one.proxy.att.com: Thanks. I already tried that. It's not even clear this is failing to connect. I don't know what this is telling me. -- # pip install --proxy http://one.proxy.att.com:8080 . Processing /home/dk068x/work/git-review Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! No local packages or download links found for pbr Traceback (most recent call last): File "", line 20, in File "/tmp/pip-MStPEo-build/setup.py", line 20, in setuptools.setup(setup_requires=['pbr'], pbr=True) - > > Cheers, > Ian > > On 6/12/15, 10:26, "KARR, DAVID" wrote: > > >As I apparently have to sudo this, it would likely be more > effective, if > >at all, to specify the proxy on the command line. Unfortunately, > > it didn’t make any difference: > > > ># pip install --proxy "https://one.proxy.att.com:8080"; . > >Processing /home/dk068x/work/git-review > >Complete output from command python setup.py egg_info: > >Download error on https://pypi.python.org/simple/pbr/: [Errno > 1] > >_ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > >protocol -- Some packages may > > not be found! > >Couldn't find index page for 'pbr' (maybe misspelled?) > >Download error on https://pypi.python.org/simple/: [Errno 1] > >_ssl.c:504: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown > >protocol -- Some packages may not > > be found! > >No local packages or download links found for pbr > >Traceback (most recent call last): > > File "", line 20, in > > File "/tmp/pip-D5jhCD-build/setup.py", line 20, in > >setuptools.setup(setup_requires=['pbr'], pbr=True) > > File "/usr/lib64/python2.7/distutils/core.py", line 112, in > setup > >_setup_distribution = dist = klass(attrs) > >... > > > > > >I’m providing the appropriate https proxy url, as pip appears to > be using > >a https url. > > > >From: Asselin, Ramy [mailto:ramy.asse...@hp.com] > > > >Sent: Thursday, June 11, 2015 4:35 PM > >To: OpenStack Development Mailing List (not for usage questions) > >Subject: Re: [openstack-dev] Looking for help getting git-review > to work > >over https > > > > > > > >Try creating/updated ~/.pip/pip.conf > > > >With contents: > > > >[global] > >proxy = > >http://your_proxy:port/ > > > >From: KARR, DAVID [mailto:dk0...@att.com] > > > >Sent: Thursday, June 11, 2015 4:16 PM > >To: OpenStack Development Mailing List (not for usage questions) > >Subject: Re: [openstack-dev] Looking for help getting git-review > to work > >over https > > > > > > > >This is just going swimmingly. > > > >% sudo python setup.py install > >Download error on > >https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed > out -- > >Some packages may not be found! > >Couldn't find index page for 'pbr' (maybe misspelled?) > >Download error on > >https://pypi.python.org/simple/: [Errno 110] Connection timed out > -- Some > >packages may not be found! > >No local packages or download links found for pbr > > > > > >Do I have to do something special to set the proxy for this? I > have > >“http_proxy” and “https_proxy” already set. > > > >From: ZZelle [mailto:zze...@gmail.com] > > > >Sent: Thursday, June 11, 2015 3:50 PM > >To: OpenStack Development Mailing List (not for usage questions) > >Subject: Re: [openstack-dev] Looking for help getting git-review > to work > >over https > > > > > > > &
Re: [openstack-dev] Looking for help getting git-review to work over https
Python has generally awful support for doing HTTPS over an HTTPS proxy. Can you try doing: # pip install --proxy http://one.proxy.att.com: Cheers, Ian On 6/12/15, 10:26, "KARR, DAVID" wrote: >As I apparently have to sudo this, it would likely be more effective, if >at all, to specify the proxy on the command line. Unfortunately, > it didn’t make any difference: > ># pip install --proxy "https://one.proxy.att.com:8080"; . >Processing /home/dk068x/work/git-review >Complete output from command python setup.py egg_info: >Download error on https://pypi.python.org/simple/pbr/: [Errno 1] >_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown >protocol -- Some packages may > not be found! >Couldn't find index page for 'pbr' (maybe misspelled?) >Download error on https://pypi.python.org/simple/: [Errno 1] >_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown >protocol -- Some packages may not > be found! >No local packages or download links found for pbr >Traceback (most recent call last): > File "", line 20, in > File "/tmp/pip-D5jhCD-build/setup.py", line 20, in >setuptools.setup(setup_requires=['pbr'], pbr=True) > File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup >_setup_distribution = dist = klass(attrs) >... > > >I’m providing the appropriate https proxy url, as pip appears to be using >a https url. > >From: Asselin, Ramy [mailto:ramy.asse...@hp.com] > >Sent: Thursday, June 11, 2015 4:35 PM >To: OpenStack Development Mailing List (not for usage questions) >Subject: Re: [openstack-dev] Looking for help getting git-review to work >over https > > > >Try creating/updated ~/.pip/pip.conf > >With contents: > >[global] >proxy = >http://your_proxy:port/ > >From: KARR, DAVID [mailto:dk0...@att.com] > >Sent: Thursday, June 11, 2015 4:16 PM >To: OpenStack Development Mailing List (not for usage questions) >Subject: Re: [openstack-dev] Looking for help getting git-review to work >over https > > > >This is just going swimmingly. > >% sudo python setup.py install >Download error on >https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- >Some packages may not be found! >Couldn't find index page for 'pbr' (maybe misspelled?) >Download error on >https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some >packages may not be found! >No local packages or download links found for pbr > > >Do I have to do something special to set the proxy for this? I have >“http_proxy” and “https_proxy” already set. > >From: ZZelle [mailto:zze...@gmail.com] > >Sent: Thursday, June 11, 2015 3:50 PM >To: OpenStack Development Mailing List (not for usage questions) >Subject: Re: [openstack-dev] Looking for help getting git-review to work >over https > > > >Indeed, the doc[1] is unclear > >git-review can be installed using: python setup.py install or pip install >. > > >[1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit >-over-https > > > >On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID wrote: > >I see. I would guess a footnote on the instructions about this would be >useful. Is >https://github.com/openstack-infra/git-review the proper location to get >the buildable source? I don’t see any obvious build instructions there. > >From: ZZelle [mailto:zze...@gmail.com] > >Sent: Thursday, June 11, 2015 2:01 PM > >To: OpenStack Development Mailing List (not for usage questions) >Subject: Re: [openstack-dev] Looking for help getting git-review to work >over https > > > > > >Hi David, > > >Following git config options are supported by git-review >(https://review.openstack.org/116035) > > git config --global gitreview.scheme https > git config --global gitreview.port 443 > >BUT the feature was merged after 1.24 (it's highlighted by your git >review -vs) > >so the feature is currently only available on the git-review master >branch (which > >is quite stable, i use it every day). > > > > > >Cedric/ZZelle@irc > > > > >On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID wrote: > >I followed the instructions for installing and configuring corkscrew, >similar to what you provided here. The > result seems to indicate it did something, but the overall result is the >same: > >2015-06-11 13:07:25.866568 Running: git log --color=never --oneline >HEAD^1..HEAD >2015-06-11 13:07:25.869309 Running: git remote >2015-06-11 13:07:25.872742 Running: git config --g
Re: [openstack-dev] Looking for help getting git-review to work over https
Good idea, but that also made no difference. In any case, I don’t think this is attempting a direct ssh connection, so I don’t see how setting up a ssh proxy would make any difference. I tried this as “myself” and also with “sudo –E bash” with the same result: $ pip install . Processing /home/dk068x/work/git-review Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! No local packages or download links found for pbr Traceback (most recent call last): File "", line 20, in File "/tmp/pip-DQrJTz-build/setup.py", line 20, in setuptools.setup(setup_requires=['pbr'], pbr=True) From: Paul Michali [mailto:p...@michali.net] Sent: Friday, June 12, 2015 9:31 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https David, FYI, I used corkscrew with pypi as well with another .ssh/config line of: Host pypi.python.org<http://pypi.python.org> ProxyCommand corkscrew 80 %h %p On Fri, Jun 12, 2015 at 11:29 AM KARR, DAVID mailto:dk0...@att.com>> wrote: As I apparently have to sudo this, it would likely be more effective, if at all, to specify the proxy on the command line. Unfortunately, it didn’t make any difference: # pip install --proxy "https://one.proxy.att.com:8080"; . Processing /home/dk068x/work/git-review Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! No local packages or download links found for pbr Traceback (most recent call last): File "", line 20, in File "/tmp/pip-D5jhCD-build/setup.py", line 20, in setuptools.setup(setup_requires=['pbr'], pbr=True) File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) ... I’m providing the appropriate https proxy url, as pip appears to be using a https url. From: Asselin, Ramy [mailto:ramy.asse...@hp.com<mailto:ramy.asse...@hp.com>] Sent: Thursday, June 11, 2015 4:35 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Try creating/updated ~/.pip/pip.conf With contents: [global] proxy = http://your_proxy:port/ From: KARR, DAVID [mailto:dk0...@att.com] Sent: Thursday, June 11, 2015 4:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https This is just going swimmingly. % sudo python setup.py install Download error on https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for pbr Do I have to do something special to set the proxy for this? I have “http_proxy” and “https_proxy” already set. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https
Re: [openstack-dev] Looking for help getting git-review to work over https
David, FYI, I used corkscrew with pypi as well with another .ssh/config line of: Host pypi.python.org ProxyCommand corkscrew 80 %h %p On Fri, Jun 12, 2015 at 11:29 AM KARR, DAVID wrote: > As I apparently have to sudo this, it would likely be more effective, > if at all, to specify the proxy on the command line. Unfortunately, it > didn’t make any difference: > > # pip install --proxy "https://one.proxy.att.com:8080"; . > > Processing /home/dk068x/work/git-review > > Complete output from command python setup.py egg_info: > > Download error on https://pypi.python.org/simple/pbr/: [Errno 1] > _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol -- Some packages may not be found! > > Couldn't find index page for 'pbr' (maybe misspelled?) > > Download error on https://pypi.python.org/simple/: [Errno 1] > _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol -- Some packages may not be found! > > No local packages or download links found for pbr > > Traceback (most recent call last): > > File "", line 20, in > > File "/tmp/pip-D5jhCD-build/setup.py", line 20, in > > setuptools.setup(setup_requires=['pbr'], pbr=True) > > File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup > > _setup_distribution = dist = klass(attrs) > > ... > > > > I’m providing the appropriate https proxy url, as pip appears to be using > a https url. > > > > *From:* Asselin, Ramy [mailto:ramy.asse...@hp.com] > *Sent:* Thursday, June 11, 2015 4:35 PM > > > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Try creating/updated ~/.pip/pip.conf > > > > With contents: > > > > [global] > > proxy = http://your_proxy:port/ > > > > *From:* KARR, DAVID [mailto:dk0...@att.com ] > *Sent:* Thursday, June 11, 2015 4:16 PM > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > This is just going swimmingly. > > % sudo python setup.py install > > Download error on https://pypi.python.org/simple/pbr/: [Errno 110] > Connection timed out -- Some packages may not be found! > > Couldn't find index page for 'pbr' (maybe misspelled?) > > Download error on https://pypi.python.org/simple/: [Errno 110] Connection > timed out -- Some packages may not be found! > > No local packages or download links found for pbr > > > > Do I have to do something special to set the proxy for this? I have > “http_proxy” and “https_proxy” already set. > > > > *From:* ZZelle [mailto:zze...@gmail.com ] > *Sent:* Thursday, June 11, 2015 3:50 PM > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Indeed, the doc[1] is unclear > > git-review can be installed using: python setup.py install or pip install . > > > > [1] > http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https > > > > On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID wrote: > > I see. I would guess a footnote on the instructions about this would be > useful. Is https://github.com/openstack-infra/git-review the proper > location to get the buildable source? I don’t see any obvious build > instructions there. > > > > *From:* ZZelle [mailto:zze...@gmail.com] > *Sent:* Thursday, June 11, 2015 2:01 PM > > > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Hi David, > > > Following git config options are supported by git-review ( > https://review.openstack.org/116035) > >git config --global gitreview.scheme https >git config --global gitreview.port 443 > > BUT the feature was merged after 1.24 (it's highlighted by your git review > -vs) > so the feature is currently only available on the git-review master branch > (which > > is quite stable, i use it every day). > > > > > > Cedric/ZZelle@irc > > > > > > On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID wrote: > > I followed the instructions for installing and configuring corkscrew, > similar to what you provided here. The result seems to indicate it did > something, but the overall resul
Re: [openstack-dev] Looking for help getting git-review to work over https
As I apparently have to sudo this, it would likely be more effective, if at all, to specify the proxy on the command line. Unfortunately, it didn’t make any difference: # pip install --proxy "https://one.proxy.att.com:8080"; . Processing /home/dk068x/work/git-review Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found! No local packages or download links found for pbr Traceback (most recent call last): File "", line 20, in File "/tmp/pip-D5jhCD-build/setup.py", line 20, in setuptools.setup(setup_requires=['pbr'], pbr=True) File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) ... I’m providing the appropriate https proxy url, as pip appears to be using a https url. From: Asselin, Ramy [mailto:ramy.asse...@hp.com] Sent: Thursday, June 11, 2015 4:35 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Try creating/updated ~/.pip/pip.conf With contents: [global] proxy = http://your_proxy:port/ From: KARR, DAVID [mailto:dk0...@att.com] Sent: Thursday, June 11, 2015 4:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https This is just going swimmingly. % sudo python setup.py install Download error on https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for pbr Do I have to do something special to set the proxy for this? I have “http_proxy” and “https_proxy” already set. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:2
Re: [openstack-dev] Looking for help getting git-review to work over https
Hi David, Ok, sudo python setup.py install without pbr install is not working behind an http proxy. Because you should use sudo -E python setup.py install to pass http(s)_proxy ernv variables. But even if you do so python setup.py install will try to install pbr WITHOUT taking into account proxy info :( Option 1: you wait for the 1.25 :) Option 2: you install manually pbr with pip or aptitude/yum and requests with aptitude/yum (otherwise requests will complain with https certificates) than On Fri, Jun 12, 2015 at 2:55 AM, Jeremy Stanley wrote: > On 2015-06-11 23:32:58 + (+), KARR, DAVID wrote: > > I managed to install pip, but I don’t understand what “pip install > > git-review” is doing. It doesn’t appear to be replacing the > > already installed git-review. > > `pip install git-review` installs the latest git-review release from > pypi.python.org, but `pip install .` installs the source tree from > your current working directory. > -- > Jeremy Stanley > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On 2015-06-11 23:00:52 +0200 (+0200), ZZelle wrote: > > Following git config options are supported by git-review ( > https://review.openstack.org/116035) > >git config --global gitreview.scheme https >git config --global gitreview.port 443 > > BUT the feature was merged after 1.24 (it's highlighted by your > git review -vs) so the feature is currently only available on the > git-review master branch (which is quite stable, i use it every > day). I guess I should try to get a 1.25 tagged tomorrow. Thanks for the reminder! ;) -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On 2015-06-11 23:32:58 + (+), KARR, DAVID wrote: > I managed to install pip, but I don’t understand what “pip install > git-review” is doing. It doesn’t appear to be replacing the > already installed git-review. `pip install git-review` installs the latest git-review release from pypi.python.org, but `pip install .` installs the source tree from your current working directory. -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
Try creating/updated ~/.pip/pip.conf With contents: [global] proxy = http://your_proxy:port/ From: KARR, DAVID [mailto:dk0...@att.com] Sent: Thursday, June 11, 2015 4:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https This is just going swimmingly. % sudo python setup.py install Download error on https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for pbr Do I have to do something special to set the proxy for this? I have “http_proxy” and “https_proxy” already set. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net<mailto:p...@michali.net>] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@revi
Re: [openstack-dev] Looking for help getting git-review to work over https
I managed to install pip, but I don’t understand what “pip install git-review” is doing. It doesn’t appear to be replacing the already installed git-review. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net<mailto:p...@michali.net>] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git config --global -l user.name<http://user.name>=David Karr user.email=dk0...@att.com<mailto:dk0...@att.com> gitreview.scheme=https gitreview.port=443 Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key, but I’m not sure exactly what is entai
Re: [openstack-dev] Looking for help getting git-review to work over https
Making progress. I didn’t realize I had to reset proxy vars after sudo. From: KARR, DAVID Sent: Thursday, June 11, 2015 4:16 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. This is just going swimmingly. % sudo python setup.py install Download error on https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for pbr Do I have to do something special to set the proxy for this? I have “http_proxy” and “https_proxy” already set. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net<mailto:p...@michali.net>] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon
Re: [openstack-dev] Looking for help getting git-review to work over https
This is just going swimmingly. % sudo python setup.py install Download error on https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for pbr Do I have to do something special to set the proxy for this? I have “http_proxy” and “https_proxy” already set. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 3:50 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1]http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com<mailto:zze...@gmail.com>] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net<mailto:p...@michali.net>] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git
Re: [openstack-dev] Looking for help getting git-review to work over https
Indeed, the doc[1] is unclear git-review can be installed using: python setup.py install or pip install . [1] http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https On Thu, Jun 11, 2015 at 11:16 PM, KARR, DAVID wrote: > I see. I would guess a footnote on the instructions about this would be > useful. Is https://github.com/openstack-infra/git-review the proper > location to get the buildable source? I don’t see any obvious build > instructions there. > > > > *From:* ZZelle [mailto:zze...@gmail.com] > *Sent:* Thursday, June 11, 2015 2:01 PM > > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Hi David, > > > Following git config options are supported by git-review ( > https://review.openstack.org/116035) > >git config --global gitreview.scheme https >git config --global gitreview.port 443 > > BUT the feature was merged after 1.24 (it's highlighted by your git review > -vs) > so the feature is currently only available on the git-review master branch > (which > > is quite stable, i use it every day). > > > > > > Cedric/ZZelle@irc > > > > > > On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID wrote: > > I followed the instructions for installing and configuring corkscrew, > similar to what you provided here. The result seems to indicate it did > something, but the overall result is the same: > > 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline > HEAD^1..HEAD > > 2015-06-11 13:07:25.869309 Running: git remote > > 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username > > No remote set, testing ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git > > 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git --all > > The authenticity of host '[review.openstack.org]:29418 ( proxy command>)' can't be established. > > RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. > > Are you sure you want to continue connecting (yes/no)? yes > > ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not > work. > > Could not connect to gerrit. > > Enter your gerrit username: > > ------------------- > > > > *From:* Paul Michali [mailto:p...@michali.net] > *Sent:* Thursday, June 11, 2015 11:09 AM > > > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Do you know if you have SSH access to the outside world through the > firewall? > > > > Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, > created a .ssh/config file with: > > > > Host review.openstack.org > > ProxyCommand corkscrew 80 %h %p > > > > The proxy host is one that allows HTTP/HTTPS to outside world and > corkscrew tunnels the SSH through to port 80. > > > > HTHs, > > > > PCM > > > > On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID wrote: > > Thanks for replying. > > > > % git review -vs > > 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline > HEAD^1..HEAD > > 2015-06-11 09:30:38.399021 Running: git remote > > 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username > > No remote set, testing ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git > > 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git --all > > ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not > work. > > Could not connect to gerrit. > > Enter your gerrit username: > > > > This output is interesting, because I followed the instructions to set the > scheme and port to https and 443, which can be seen from: > > % git config --global -l > > user.name=David Karr > > user.email=dk0...@att.com > > gitreview.scheme=https > > gitreview.port=443 > > > > Concerning the question ‘Do you have "gerrit" remote already configured?’, > I guess I’d have to say I don’t know. I’ve followed instructions for > setting up my pub key, but I’m not sure exactly what is entailed in “gerrit > remote”. > > > > I can get to https://review.openstack.org/ from my browser and from the > command line with curl. > > > > The “ls-remote” command returns without error (or any other output). > > > &g
Re: [openstack-dev] Looking for help getting git-review to work over https
I see. I would guess a footnote on the instructions about this would be useful. Is https://github.com/openstack-infra/git-review the proper location to get the buildable source? I don’t see any obvious build instructions there. From: ZZelle [mailto:zze...@gmail.com] Sent: Thursday, June 11, 2015 2:01 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Hi David, Following git config options are supported by git-review (https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID mailto:dk0...@att.com>> wrote: I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all The authenticity of host '[review.openstack.org<http://review.openstack.org>]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net<mailto:p...@michali.net>] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git config --global -l user.name<http://user.name>=David Karr user.email=dk0...@att.com<mailto:dk0...@att.com> gitreview.scheme=https gitreview.port=443 Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key, but I’m not sure exactly what is entailed in “gerrit remote”. I can get to https://review.openstack.org/ from my browser and from the command line with curl. The “ls-remote” command returns without error (or any other output). From: Yuriy Taraday [mailto:yorik@gmail.com<mailto:yorik@gmail.com>] Sent: Thursday, June 11, 2015 9:19 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https On Thu, Jun 11, 2015, 18:09 KARR, DAVID mailto:dk0...@att.com>> wrote: I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our
Re: [openstack-dev] Looking for help getting git-review to work over https
Hi David, Following git config options are supported by git-review ( https://review.openstack.org/116035) git config --global gitreview.scheme https git config --global gitreview.port 443 BUT the feature was merged after 1.24 (it's highlighted by your git review -vs) so the feature is currently only available on the git-review master branch (which is quite stable, i use it every day). Cedric/ZZelle@irc On Thu, Jun 11, 2015 at 10:14 PM, KARR, DAVID wrote: > I followed the instructions for installing and configuring corkscrew, > similar to what you provided here. The result seems to indicate it did > something, but the overall result is the same: > > 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline > HEAD^1..HEAD > > 2015-06-11 13:07:25.869309 Running: git remote > > 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username > > No remote set, testing ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git > > 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git --all > > The authenticity of host '[review.openstack.org]:29418 ( proxy command>)' can't be established. > > RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. > > Are you sure you want to continue connecting (yes/no)? yes > > ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not > work. > > Could not connect to gerrit. > > Enter your gerrit username: > > --- > > > > *From:* Paul Michali [mailto:p...@michali.net] > *Sent:* Thursday, June 11, 2015 11:09 AM > > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > Do you know if you have SSH access to the outside world through the > firewall? > > > > Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, > created a .ssh/config file with: > > > > Host review.openstack.org > > ProxyCommand corkscrew 80 %h %p > > > > The proxy host is one that allows HTTP/HTTPS to outside world and > corkscrew tunnels the SSH through to port 80. > > > > HTHs, > > > > PCM > > > > On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID wrote: > > Thanks for replying. > > > > % git review -vs > > 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline > HEAD^1..HEAD > > 2015-06-11 09:30:38.399021 Running: git remote > > 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username > > No remote set, testing ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git > > 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git --all > > ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not > work. > > Could not connect to gerrit. > > Enter your gerrit username: > > > > This output is interesting, because I followed the instructions to set the > scheme and port to https and 443, which can be seen from: > > % git config --global -l > > user.name=David Karr > > user.email=dk0...@att.com > > gitreview.scheme=https > > gitreview.port=443 > > > > Concerning the question ‘Do you have "gerrit" remote already configured?’, > I guess I’d have to say I don’t know. I’ve followed instructions for > setting up my pub key, but I’m not sure exactly what is entailed in “gerrit > remote”. > > > > I can get to https://review.openstack.org/ from my browser and from the > command line with curl. > > > > The “ls-remote” command returns without error (or any other output). > > > > *From:* Yuriy Taraday [mailto:yorik@gmail.com] > *Sent:* Thursday, June 11, 2015 9:19 AM > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > On Thu, Jun 11, 2015, 18:09 KARR, DAVID wrote: > > I could use some help with setting up git-review in a slightly unfriendly > firewall situation. > > I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks > the non-standard ssh port. I'm following the instructions at > http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https > , for configuring git-review to use https on port 443, but this still isn't > working (times out with "Could not connect to gerrit"). I've
Re: [openstack-dev] Looking for help getting git-review to work over https
I followed the instructions for installing and configuring corkscrew, similar to what you provided here. The result seems to indicate it did something, but the overall result is the same: 2015-06-11 13:07:25.866568 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 13:07:25.869309 Running: git remote 2015-06-11 13:07:25.872742 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git 2015-06-11 13:07:25.874869 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git --all The authenticity of host '[review.openstack.org]:29418 ()' can't be established. RSA key fingerprint is 28:c6:42:b7:44:d2:48:64:c1:3f:31:d8:1b:6e:3b:63. Are you sure you want to continue connecting (yes/no)? yes ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not work. Could not connect to gerrit. Enter your gerrit username: --- From: Paul Michali [mailto:p...@michali.net] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git config --global -l user.name<http://user.name>=David Karr user.email=dk0...@att.com<mailto:dk0...@att.com> gitreview.scheme=https gitreview.port=443 Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key, but I’m not sure exactly what is entailed in “gerrit remote”. I can get to https://review.openstack.org/ from my browser and from the command line with curl. The “ls-remote” command returns without error (or any other output). From: Yuriy Taraday [mailto:yorik@gmail.com<mailto:yorik@gmail.com>] Sent: Thursday, June 11, 2015 9:19 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https On Thu, Jun 11, 2015, 18:09 KARR, DAVID mailto:dk0...@att.com>> wrote: I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other external sites on port 443. Can someone give me a hand with this? Hello. - Can you please post all output from "git review -vs"? - Do you have "gerrit" remote already configured? - Do you have access to https://review.openstack.org/ from your browser? - Can you access it from command line (via "curl -I https://review.openstack.org/"; for example)? - Does "git ls-remote https://review.openstack.org/openstack/nova > /dev/null" produce and error? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: Jeremy Stanley [mailto:fu...@yuggoth.org] > Sent: Thursday, June 11, 2015 1:11 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] Looking for help getting git-review to > work over https > > On 2015-06-11 19:53:25 + (+), KARR, DAVID wrote: > > Ok, the output from "git remote -v" is this: > > -- > > origin https://github.com/openstack/horizon.git (fetch) > > origin https://github.com/openstack/horizon.git (push) > > --- > > > > So there's obviously nothing to remove. As usual, running "git > > review -sv" times out on the ssh:29418 request. Are the > > "gitreview.scheme" and "gitreview.port" properties completely > > ignored here? > > I don't recall seeing what git-review version you're running, but > keep in mind that HTTPS Gerrit support only really showed up in > git-review 1.24 (the latest release on pypi.python.org) so if > you're > running an older version that that it's probably not going to do > what you want here regardless. There are also I think some further > improvements for it in the master Git branch since the last release > (we're long overdue to tag another one) so you might consider > giving > that a try too. I have version 1.24. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On 2015-06-11 19:53:25 + (+), KARR, DAVID wrote: > Ok, the output from "git remote -v" is this: > -- > originhttps://github.com/openstack/horizon.git (fetch) > originhttps://github.com/openstack/horizon.git (push) > --- > > So there's obviously nothing to remove. As usual, running "git > review -sv" times out on the ssh:29418 request. Are the > "gitreview.scheme" and "gitreview.port" properties completely > ignored here? I don't recall seeing what git-review version you're running, but keep in mind that HTTPS Gerrit support only really showed up in git-review 1.24 (the latest release on pypi.python.org) so if you're running an older version that that it's probably not going to do what you want here regardless. There are also I think some further improvements for it in the master Git branch since the last release (we're long overdue to tag another one) so you might consider giving that a try too. -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
I don’t know if ssh is general is blocked. I’ve been hearing about Corkscrew. I guess I’ll try installing it on my CentOS7 VM. Does anyone know if this page is accurate: http://www.confignotes.com/2013/10/corkscrew/ ? From: Paul Michali [mailto:p...@michali.net] Sent: Thursday, June 11, 2015 11:09 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org<http://review.openstack.org> ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID mailto:dk0...@att.com>> wrote: Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git<http://dk0...@review.openstack.org:29418/openstack/horizon.git> did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git config --global -l user.name<http://user.name>=David Karr user.email=dk0...@att.com<mailto:dk0...@att.com> gitreview.scheme=https gitreview.port=443 Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key, but I’m not sure exactly what is entailed in “gerrit remote”. I can get to https://review.openstack.org/ from my browser and from the command line with curl. The “ls-remote” command returns without error (or any other output). From: Yuriy Taraday [mailto:yorik@gmail.com<mailto:yorik@gmail.com>] Sent: Thursday, June 11, 2015 9:19 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https On Thu, Jun 11, 2015, 18:09 KARR, DAVID mailto:dk0...@att.com>> wrote: I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other external sites on port 443. Can someone give me a hand with this? Hello. - Can you please post all output from "git review -vs"? - Do you have "gerrit" remote already configured? - Do you have access to https://review.openstack.org/ from your browser? - Can you access it from command line (via "curl -I https://review.openstack.org/"; for example)? - Does "git ls-remote https://review.openstack.org/openstack/nova > /dev/null" produce and error? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
> -Original Message- > From: Kevin L. Mitchell [mailto:kevin.mitch...@rackspace.com] > Sent: Thursday, June 11, 2015 10:46 AM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] Looking for help getting git-review to > work over https > > On Thu, 2015-06-11 at 16:42 +, KARR, DAVID wrote: > > Concerning the question ‘Do you have "gerrit" remote already > > configured?’, I guess I’d have to say I don’t know. I’ve followed > > instructions for setting up my pub key, but I’m not sure exactly > what > > is entailed in “gerrit remote”. > > The "git review" command does its magic, in part, through > configuring a > "git remote" on the repository. Go to the repository and do a "git > remote -v" and look for any lines beginning with "gerrit"; they > probably > have the SSH URL instead of the https URL. You should be able to > use > "git remote remove gerrit" and re-run the "git review -s" to get > that > all fixed up. (Could also use "git remote set-url", FYI, but I > figured > starting from scratch may be easier for you…) Ok, the output from "git remote -v" is this: -- origin https://github.com/openstack/horizon.git (fetch) origin https://github.com/openstack/horizon.git (push) --- So there's obviously nothing to remove. As usual, running "git review -sv" times out on the ssh:29418 request. Are the "gitreview.scheme" and "gitreview.port" properties completely ignored here? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
Do you know if you have SSH access to the outside world through the firewall? Did you setup a proxy? I setup 'corkscrew' under Ubuntu. After installing, created a .ssh/config file with: Host review.openstack.org ProxyCommand corkscrew 80 %h %p The proxy host is one that allows HTTP/HTTPS to outside world and corkscrew tunnels the SSH through to port 80. HTHs, PCM On Thu, Jun 11, 2015 at 12:44 PM KARR, DAVID wrote: > Thanks for replying. > > > > % git review -vs > > 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline > HEAD^1..HEAD > > 2015-06-11 09:30:38.399021 Running: git remote > > 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username > > No remote set, testing ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git > > 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh:// > dk0...@review.openstack.org:29418/openstack/horizon.git --all > > ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not > work. > > Could not connect to gerrit. > > Enter your gerrit username: > > > > This output is interesting, because I followed the instructions to set the > scheme and port to https and 443, which can be seen from: > > % git config --global -l > > user.name=David Karr > > user.email=dk0...@att.com > > gitreview.scheme=https > > gitreview.port=443 > > > > Concerning the question ‘Do you have "gerrit" remote already configured?’, > I guess I’d have to say I don’t know. I’ve followed instructions for > setting up my pub key, but I’m not sure exactly what is entailed in “gerrit > remote”. > > > > I can get to https://review.openstack.org/ from my browser and from the > command line with curl. > > > > The “ls-remote” command returns without error (or any other output). > > > > *From:* Yuriy Taraday [mailto:yorik....@gmail.com] > *Sent:* Thursday, June 11, 2015 9:19 AM > *To:* OpenStack Development Mailing List (not for usage questions) > *Subject:* Re: [openstack-dev] Looking for help getting git-review to > work over https > > > > On Thu, Jun 11, 2015, 18:09 KARR, DAVID wrote: > > I could use some help with setting up git-review in a slightly unfriendly > firewall situation. > > I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks > the non-standard ssh port. I'm following the instructions at > http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https > , for configuring git-review to use https on port 443, but this still isn't > working (times out with "Could not connect to gerrit"). I've confirmed > that I can reach other external sites on port 443. > > Can someone give me a hand with this? > > > > > > Hello. > > > > - Can you please post all output from "git review -vs"? > > - Do you have "gerrit" remote already configured? > > - Do you have access to https://review.openstack.org/ from your browser? > > - Can you access it from command line (via "curl -I > https://review.openstack.org/"; for example)? > > - Does "git ls-remote https://review.openstack.org/openstack/nova > > /dev/null" produce and error? > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On Thu, 2015-06-11 at 16:42 +, KARR, DAVID wrote: > Concerning the question ‘Do you have "gerrit" remote already > configured?’, I guess I’d have to say I don’t know. I’ve followed > instructions for setting up my pub key, but I’m not sure exactly what > is entailed in “gerrit remote”. The "git review" command does its magic, in part, through configuring a "git remote" on the repository. Go to the repository and do a "git remote -v" and look for any lines beginning with "gerrit"; they probably have the SSH URL instead of the https URL. You should be able to use "git remote remove gerrit" and re-run the "git review -s" to get that all fixed up. (Could also use "git remote set-url", FYI, but I figured starting from scratch may be easier for you…) -- Kevin L. Mitchell Rackspace __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
Thanks for replying. % git review -vs 2015-06-11 09:30:38.396076 Running: git log --color=never --oneline HEAD^1..HEAD 2015-06-11 09:30:38.399021 Running: git remote 2015-06-11 09:30:38.401033 Running: git config --get gitreview.username No remote set, testing ssh://dk0...@review.openstack.org:29418/openstack/horizon.git 2015-06-11 09:30:38.402988 Running: git push --dry-run ssh://dk0...@review.openstack.org:29418/openstack/horizon.git --all ssh://dk0...@review.openstack.org:29418/openstack/horizon.git did not work. Could not connect to gerrit. Enter your gerrit username: This output is interesting, because I followed the instructions to set the scheme and port to https and 443, which can be seen from: % git config --global -l user.name=David Karr user.email=dk0...@att.com gitreview.scheme=https gitreview.port=443 Concerning the question ‘Do you have "gerrit" remote already configured?’, I guess I’d have to say I don’t know. I’ve followed instructions for setting up my pub key, but I’m not sure exactly what is entailed in “gerrit remote”. I can get to https://review.openstack.org/ from my browser and from the command line with curl. The “ls-remote” command returns without error (or any other output). From: Yuriy Taraday [mailto:yorik@gmail.com] Sent: Thursday, June 11, 2015 9:19 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] Looking for help getting git-review to work over https On Thu, Jun 11, 2015, 18:09 KARR, DAVID mailto:dk0...@att.com>> wrote: I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other external sites on port 443. Can someone give me a hand with this? Hello. - Can you please post all output from "git review -vs"? - Do you have "gerrit" remote already configured? - Do you have access to https://review.openstack.org/ from your browser? - Can you access it from command line (via "curl -I https://review.openstack.org/"; for example)? - Does "git ls-remote https://review.openstack.org/openstack/nova > /dev/null" produce and error? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
On Thu, Jun 11, 2015, 18:09 KARR, DAVID wrote: I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other external sites on port 443. Can someone give me a hand with this? Hello. - Can you please post all output from "git review -vs"? - Do you have "gerrit" remote already configured? - Do you have access to https://review.openstack.org/ from your browser? - Can you access it from command line (via "curl -I https://review.openstack.org/"; for example)? - Does "git ls-remote https://review.openstack.org/openstack/nova > /dev/null" produce and error? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Looking for help getting git-review to work over https
In our environment we're using SOCKS proxy to bypass firewall. Maybe it's an option for you? I just execute tsocks git-review instead of plain git-review and it seem to work. I've just tried solution you've mentioned and it doesn't help in my case. > -Original Message- > From: KARR, DAVID [mailto:dk0...@att.com] > Sent: Thursday, June 11, 2015 5:00 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: [openstack-dev] Looking for help getting git-review to work over > https > > I could use some help with setting up git-review in a slightly unfriendly > firewall situation. > > I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the > non-standard ssh port. I'm following the instructions at > http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit- > over-https , for configuring git-review to use https on port 443, but this > still > isn't working (times out with "Could not connect to gerrit"). I've confirmed > that I can reach other external sites on port 443. > > Can someone give me a hand with this? > > -- > David M. Karr | AT&T | Service Standards - Open Platform for Network > Function Virtualization > (425) 580-4547 work > (206) 909-0664 cell > (425) 892-5432 cell > > > __ > > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: OpenStack-dev- > requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Looking for help getting git-review to work over https
I could use some help with setting up git-review in a slightly unfriendly firewall situation. I'm trying to set up git-review on my CentOS7 VM, and our firewall blocks the non-standard ssh port. I'm following the instructions at http://docs.openstack.org/infra/manual/developers.html#accessing-gerrit-over-https , for configuring git-review to use https on port 443, but this still isn't working (times out with "Could not connect to gerrit"). I've confirmed that I can reach other external sites on port 443. Can someone give me a hand with this? -- David M. Karr | AT&T | Service Standards - Open Platform for Network Function Virtualization (425) 580-4547 work (206) 909-0664 cell (425) 892-5432 cell __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev