<div dir="ltr">Hey <span style="font-family:arial,sans-serif;font-size:13px">Sebas,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">  Can you use the command of "swift list"?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">  At lease now I have the swift result as below, check yours, and you can move on and help each other .</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">  </span></div>
<div>  ubuntu@havana:~$ swift list</div><div>  2ae43fe4-eb72-4402-9c5c-4a42749cfee3</div><div>  dfc9e845-2d67-4be4-892a-648a7a13e881</div><div><br></div><div>Regards.</div><div>Hui</div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 9:05 AM, Sebastian <span dir="ltr"><<a href="mailto:sebas5384@gmail.com" target="_blank">sebas5384@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hey David! thanks for the tips.<div><br></div><div>I did another search trying to find something about this or someone else having this problem, but nothing founded yet.</div><div>The strange thing is that I can upload through the command line, so must be related only with the proxy server, right?</div>

<div><br></div><div>So now Im going to log capturing the traffic to see if we find something.</div><div><br></div><div>Thanks for the help guys!</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Cheers!,<div>

Sebas.</div><div><br></div></div></div>
<br><br><div class="gmail_quote">2014-03-27 5:23 GMT-03:00 David Cheney <span dir="ltr"><<a href="mailto:david.cheney@canonical.com" target="_blank">david.cheney@canonical.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">From the log file<div><br></div><div><ol style="margin:0px;padding:0px 0px 0px 48px;color:rgb(172,172,172);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif;font-size:12px;line-height:21px;background-color:rgb(248,248,248)">


<li><div style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)">==> /var/log/apache2/proxy-server <==</div>


</li><li><div style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)">[Wed Mar 26 23:41:28 2014] [error] [client x.x.x.x] Requested content-length of 9223372036854775807 is larger than the configured limit of <a href="tel:5368709122" value="+555368709122" target="_blank">5368709122</a></div>


</li></ol><div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>


</div><div><span style="line-height:21px;font-size:12px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif">9223372036854775807 is MAX_INT for an int64 value</span><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br>


</span></font></div><div><span style="line-height:21px;font-size:12px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif"><br>


</span></div><div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">Further down in that log apache is segfaulting</span></font></div>


<div><ol style="margin:0px;padding:0px 0px 0px 48px;color:rgb(172,172,172);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif;font-size:12px;line-height:21px;background-color:rgb(248,248,248)">


<li><div style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)">==> /var/log/apache2/error.log <==</div>


</li><li><div style="padding:0px 5px;vertical-align:top;color:rgb(0,0,0);border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);background-color:rgb(255,255,255)">[Wed Mar 26 23:42:00 2014] [notice] child pid 10445 exit signal Segmentation fault (11)</div>


</li></ol><div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">which is very worrying.</span></font></div>


</div><div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">If this service is *not* talking over https I recommended getting out a copy of ngrep and capturing the traffic on the wire. In their way it sounds like your Swift services is ill and that is where the problem lies.</span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">Cheers</span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">Dave</span></font></div>


<div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br></span></font></div>


</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 3:30 PM, Sebastian <span dir="ltr"><<a href="mailto:sebas5384@gmail.com" target="_blank">sebas5384@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes! thats right, there's something not working.<div><br></div><div>I tried to upload a file to a container through the havana dashboard and I get this error: "UnicodeDecodeError at /project/containers/[container-name]/upload".</div>



<div>Here are the logs of apache: <a href="http://pastebin.com/7iaf3tHg" target="_blank">http://pastebin.com/7iaf3tHg</a></div><div><br></div><div>Thank for the help! I know this seems to be non a juju issue</div><div class="gmail_extra">



<div><div dir="ltr"><div><br></div></div></div><br><div class="gmail_quote">2014-03-26 20:05 GMT-03:00 Gustavo Niemeyer <span dir="ltr"><<a href="mailto:gustavo.niemeyer@canonical.com" target="_blank">gustavo.niemeyer@canonical.com</a>></span>:<div>


<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's probably something else not quite okay with that deployment.<br>
Note that apparently all the interactions fail with several minutes of<br>
delay, until apache sends the 408. Some of these operations are GET<br>
requests, for files that tend to be very small. For example, one of<br>
the timeouts was from:<br>
<div><br>
2014-03-26 18:52:13 ERROR juju.cmd supercommand.go:300 failed to GET<br>
object provider-state from container juju-dist<br>
<br>
</div>How was the event reported in the logs of Apache and Swift?<br>
<div><div><br>
<br>
<br>
On Wed, Mar 26, 2014 at 7:24 PM, Sebastian <<a href="mailto:sebas5384@gmail.com" target="_blank">sebas5384@gmail.com</a>> wrote:<br>
> Yes!! it seems that the apache is giving the time out, for too long uploads.<br>
><br>
> Maybe apache tweeks to increase time out?<br>
><br>
> thank you people! :)<br>
><br>
> Abs,<br>
> Sebas.<br>
><br>
><br>
><br>
> 2014-03-26 18:54 GMT-03:00 Gustavo Niemeyer<br>
> <<a href="mailto:gustavo.niemeyer@canonical.com" target="_blank">gustavo.niemeyer@canonical.com</a>>:<br>
>><br>
>> The response was cut out:<br>
>><br>
>> > It's worth noting the timing between the first and the second entries<br>
>> > in the log above. It's taking quite a while for apache to respond with<br>
>> > the 408 timeout, which might indicate that the<br>
>><br>
>> ... swift in the backend isn't communicating properly for some reason.<br>
>><br>
>><br>
>> gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a><br>
>><br>
>> --<br>
>> Juju mailing list<br>
>> <a href="mailto:Juju@lists.ubuntu.com" target="_blank">Juju@lists.ubuntu.com</a><br>
>> Modify settings or unsubscribe at:<br>
>> <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div><div><div>--<br>
gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a><br>
</div></div></blockquote></div></div></div><br></div></div>
<br>--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com" target="_blank">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
<br>--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
<br></blockquote></div><br></div>