<div dir="ltr">Congratulations to everyone involved! <br>I really liked the new build page, pretty cool!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua, 7 de ago de 2019 às 02:05, James E. Blair <<a href="mailto:corvus@inaugust.com">corvus@inaugust.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
We've been working for some time[1] to retire our current static log<br>
server in favor of storing Zuul job logs in Swift.  We're just about<br>
ready to do that.<br>
<br>
This means that not only do we get to use another great OpenStack<br>
project, but we also can stop worrying about fscking our 14TB log<br>
partition whenever it gets hit with a comsic ray.<br>
<br>
The change will happen in two phases, only the first of which should be<br>
readily apparent.<br>
<br>
Phase 1:<br>
<br>
On Monday August 12, 2019 we will change the URL that Zuul reports back<br>
to Gerrit.  Instead of being a direct link to the log server, it will be<br>
a link to the Zuul Build page for the job.  This is part of Zuul's web<br>
interface which has been around for a while, but isn't well known since<br>
we haven't linked to it yet.<br>
<br>
The build page shows a summary of information about the build, including<br>
output snippets for failed tasks.  Next to the "Summary" tab, you'll<br>
find the "Logs" tab.  This contains an expandable index of all the log<br>
files uploaded for the build.  If they are text files, they can be<br>
rendered in-app with line-number hyperlinks and severity filtering.<br>
There are also direct links to the files on the log server.<br>
<br>
Links to preview sites (e.g., for docs builds) will show up in the<br>
"Artifacts" section.<br>
<br>
We also plan to further enhance the build page with additional features.<br>
<br>
Here are some links to sample build pages so you can see what it's like:<br>
<br>
  <a href="https://zuul.opendev.org/t/openstack/build/a6e13a8098fc4a1fbff43d8f2c27ad29" rel="noreferrer" target="_blank">https://zuul.opendev.org/t/openstack/build/a6e13a8098fc4a1fbff43d8f2c27ad29</a><br>
  <a href="https://zuul.opendev.org/t/openstack/build/75d1e8d4ffaf477db00520d7bfd77246" rel="noreferrer" target="_blank">https://zuul.opendev.org/t/openstack/build/75d1e8d4ffaf477db00520d7bfd77246</a><br>
<br>
This step is necessary because our static log server implements a number<br>
of features as WSGI middleware in Apache.  We have re-implemented the<br>
these on the Zuul build page, so there should be no loss in<br>
functionality (in fact, we think this is an improvement).  Once in<br>
place, we can change the backend storage options without impacting the<br>
user interface.<br>
<br>
Phase 2:<br>
<br>
Shortly afterwards (depending on how phase 1 goes), we will configure<br>
jobs to upload logs to Swift instead of the static log server.  At this<br>
point, there should be no user-visible change, since the main interface<br>
for interacting with logs is now the Zuul build page.  However, you may<br>
notice that log urls have changed from our static log server to one of<br>
six different Swift instances.<br>
<br>
The Swift instance used to store the logs for any given build is chosen<br>
at random from among our providers, and is yet another really cool<br>
multi-cloud feature we get by using OpenStack.<br>
<br>
Thanks to our amazing providers and all of the folks who have helped<br>
with this effort over the years[1].<br>
<br>
Please let us know if you have any questions or encounter any issues,<br>
either here, or in #openstack-infra on IRC.<br>
<br>
-Jim<br>
<br>
[1] Years.  So.  Many.  Years.<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font style="background-color:transparent"><div><div dir="ltr"><div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px"><i style="font-size:13px"><font style="color:rgb(0,0,0)">Att[]'s</font><br><font color="#500050"><span style="color:rgb(0,0,0)">Iury Gregory Melo Ferreira</span> </font><br></i><i><font color="#000000">MSc in Computer Science at UFCG<br></font></i></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px"><i><font color="#000000">Part of the puppet-manager-core team in OpenStack</font></i><br><i><font color="#000000"><span style="background-color:rgb(255,255,255)"><font style="background-color:transparent"><i><font color="#000000">Software Engineer at Red Hat Czech</font></i></font></span></font></i></div><div><font style="font-family:arial,sans-serif;font-size:12.8px" color="#000000"><i>Social</i>:</font><font style="font-family:arial,sans-serif;font-size:12.8px"><font color="#888888"> </font><a href="https://www.linkedin.com/in/iurygregory" target="_blank"><font color="#0b5394">https://www.linkedin.com/in/iurygregory</font></a></font></div><div><i style="color:rgb(136,136,136);background-color:transparent;font-size:13px"><font color="#500050"><span style="color:rgb(0,0,0)">E-mail: </span> </font><a href="mailto:iurygregory@gmail.com" style="color:rgb(0,84,136)" target="_blank">iurygregory@gmail.com</a></i></div></div></div></div></font></span></div></div></div></div></div></div></div></div></div></div>