<div dir="ltr">The gerrit connection section of your zuul.conf can take a username and sshkey (this is the method of authentication). Are you setting that? <a href="http://docs.openstack.org/infra/zuul/connections.html#gerrit">http://docs.openstack.org/infra/zuul/connections.html#gerrit</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 11:51 AM, <a href="mailto:wangxf@awcloud.com">wangxf@awcloud.com</a> <span dir="ltr"><<a href="mailto:wangxf@awcloud.com" target="_blank">wangxf@awcloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div><span></span></div><blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div><div><div>hi, everyone</div><div>     I'm trying to build the CI syste environment on my openstack env. It's use Gerrit,Zuul,Jenkins and JJB.</div><div>Up to now everything is ok. Use JJB builded all jobs. And Gearman is working with Jenkins. But Zuul and Gerrit</div><div>is not work will.When create a new patch though the git. I can check some error in zuul.log file. </div><div><img src="cid:_Foxmail.1@25dad442-6474-f6f6-a0da-0b4cadbccd9d"></div><div><br></div><div>Here I want to explain. My gerrit server is enable the <span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">authentication system. It's not allow to login as anonymous. I try to reconfig in zuul.conf file, But I can not find any opentional about use </span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">authentication for gerrit web server.</span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">I reconfig the value of the baseurl like this:</span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px"><a href="http://someuser:somepasswd@gerrit.server.com" target="_blank">http://someuser:somepasswd@gerrit.server.com</a></span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">in gerrit section.</span></div><div><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:16px;line-height:25.6px">but It's still does not work and have the other error in the zuul.log.</span></div><div><pre style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:13px;padding:2px;margin-top:20px;margin-bottom:20px;line-height:1.42857;color:rgb(51,51,51);word-break:break-all;border:1px solid rgb(136,136,136);letter-spacing:0.2px;border-radius:0px!important;border-collapse:collapse!important;background-image:none!important;background-color:rgb(245,245,245)"><code style="font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:1.1em;padding:5px 0px;color:inherit;border-radius:0px;word-break:break-all;word-wrap:break-word;line-height:1.1em;background-color:transparent"><span style="color:rgb(0,0,0)">httplib</span><span style="color:rgb(102,102,0)">.</span><span style="color:rgb(102,0,102)">InvalidURL</span><span style="color:rgb(102,102,0)">:</span><span style="color:rgb(0,0,0)"> nonnumeric port</span></code></pre></div><div><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:16px;line-height:25.6px">(I think this is a bug for urllib2)</span></font></div><div><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:16px;line-height:25.6px">So How Can I continue to do? modify the code or other? </span></font></div><div><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:16px;line-height:25.6px">Tips: </span></font></div><div><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:16px;line-height:25.6px">The zuul use the urllib2 that communication to the gerrit.</span></font></div><div><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:16px;line-height:25.6px">Please!!!</span></font></div><div><br></div><div><u></u><u></u></div></div></div></blockquote>
</div><br>_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
<br></blockquote></div><br></div>