On 07/09/2015 11:42 AM, Tang Chen wrote:
On 07/08/2015 05:58 PM, Abhishek Shrivastava wrote:
So as per my understanding this is happening after CI master VM
installation.
Yes, Jenkins master has been constructed and works fine.
And as an example, I can clone the sandbox repertory, and commit code
to Gerrit.
But since zuul cannot connect to review.openstack.org, Jenkins master
is not notified.
Would you please share some advices ?
And also, I cannot find anywhere to configure a proxy for zuul.
And this socket call is in the source code, and no proxy parameter can
be served.
Is there any way to configure a proxy for zuul ?
If not, I think I can post some patches for this.
Thanks.
Thanks.
On Wed, Jul 8, 2015 at 3:26 PM, Tang Chen <[email protected]
<mailto:[email protected]>> wrote:
Hi all,
I'm now installing constructing CI system following this document:
https://github.com/rasselin/os-ext-testing
When running zuul, I got this error:
2015-07-07 13:44:09,035 ERROR gerrit.GerritWatcher: Exception on
ssh event stream:
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/zuul/lib/gerrit.py", line
64, in _run
key_filename=self.keyfile)
File
"/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line
237, in connect
for (family, socktype, proto, canonname, sockaddr) in
socket.getaddrinfo(hostname, port, socket.AF_UNSPEC,
socket.SOCK_STREAM):
gaierror: [Errno -5] No address associated with hostname
This happens when zuul tries to access review.openstack.org
<http://review.openstack.org>.
In my environment, I have to access internet through through a
http proxy.
But referring to the source code, zuul calls functions in
paramiko/client.py to setup a connection using socket.
if not sock:
for (family, socktype, proto, canonname, sockaddr) in
socket.getaddrinfo(hostname, port, socket.AF_UNSPEC,
socket.SOCK_STREAM):
if socktype == socket.SOCK_STREAM:
af = family
addr = sockaddr
break
else:
# some OS like AIX don't indicate SOCK_STREAM
support, so just guess. :(
af, _, _, _, addr = socket.getaddrinfo(hostname,
port, socket.AF_UNSPEC, socket.SOCK_STREAM)
sock = socket.socket(af, socket.SOCK_STREAM)
I think the problem is that since it uses socket API to create
the connection, it does not go through the proxy.
So, could anyone tell me how to setup a proxy for zuul ?
Or, of course, the CI document is something very in progress. And
referring to the openstack site,
I cannot find any info up to date. Could anyone share with me
something that could construct a CI system ?
Thanks.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe:
[email protected]?subject:unsubscribe
<http://[email protected]?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
--
*
*
*Thanks & Regards,
*
*Abhishek*
/_Cloudbyte Inc. <http://www.cloudbyte.com>_/
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe:[email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev