<div dir="ltr">maybe I'm with the same problem, because i'm not setting those.<div><br></div><div>What are that urls? theres a real example for better understanding?</div><div class="gmail_extra"><br clear="all"><div>
<div dir="ltr">Sebas.<br><div><br></div></div></div>
<br><br><div class="gmail_quote">2014-03-28 1:57 GMT-03:00 Andrew Wilkins <span dir="ltr"><<a href="mailto:andrew.wilkins@canonical.com" target="_blank">andrew.wilkins@canonical.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Fri, Mar 28, 2014 at 12:49 PM, Hui Xiang <span dir="ltr"><<a href="mailto:hui.xiang@canonical.com" target="_blank">hui.xiang@canonical.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">Hi Andrew,<div><br></div><div> I didn't set tools-url and tools-metadata-url, looks like you find the root cause, what it should be like, I failed to find info of it except :</div>
<div> # tools-url: <a href="https://you-tools-url" target="_blank">https://you-tools-url</a></div>
<div> </div><div> I am not sure what tools url is, juju tool?</div><div><br></div><div> Thanks for your great help : )</div></div></blockquote><div><br></div></div><div>The other place that Juju consults is the "juju-tools" keystone service endpoint. Did you define that?<br>
</div><div>If not, I'm probably not going to be of much more help - I don't know the OpenStack provider all that well.</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Sebas,</div><div><br></div><div> Try to redeploy OpenStack with enable swift, that's what I did to move on fast.</div>
<div><br></div><div>Regards.</div><span><font color="#888888"><div>Hui</div><div> </div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 12:42 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"><div>yeah, maybe you are right, well at least Im not the only one suffering from swift and juju relationship, hehe.</div>
<div><br></div><div>Seems to me juju is getting a wrong url for their tools, as Andrew noticed.</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Abs,<div>Sebas.</div><div><br></div></div></div>
<br><br><div class="gmail_quote">2014-03-28 1:39 GMT-03:00 Andrew Wilkins <span dir="ltr"><<a href="mailto:andrew.wilkins@canonical.com" target="_blank">andrew.wilkins@canonical.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr"><div><div><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 28, 2014 at 12:24 PM, Hui Xiang <span dir="ltr"><<a href="mailto:hui.xiang@canonical.com" target="_blank">hui.xiang@canonical.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">Hi juju community,<div><br></div><div> I hit en error when using juju plus OpenStack provider, below is the environment and what I found, please give me a help to let me move on.</div>
<div><br></div><div> OpenStack: Havana(deployed with devstack)</div>
<div> juju : 1.16.6-precise-amd64</div><div><br></div><div> swift works well:</div><div> ubuntu@havana:~$ swift list</div><div> dfc9e845-2d67-4be4-892a-648a7a13e881</div><div><br></div><div> But when running "ubuntu@havana:~/.juju$ sudo juju bootstrap --debug" , it goes wrong with log:</div>
<div><br></div><div> 2014-03-28 04:09:16 DEBUG juju.environs.simplestreams simplestreams.go:458 fetchData failed for "<b><a href="http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/streams/v1/index.json" target="_blank">http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/streams/v1/index.json</a></b>": failed to GET object streams/v1/index.json from container 2ae43fe4-eb72-4402-9c5c-4a42749cfee3</div>
<div> ERROR juju supercommand.go:282 cannot start bootstrap instance: index file has no data for cloud {RegionOne <a href="http://10.55.32.149:35357/v2.0/" target="_blank">http://10.55.32.149:35357/v2.0/</a>} not found</div>
<div><br></div>
<div> So I check the swift container, juju seems create the container with my specified control_bucket, adding a new container:</div><div> ubuntu@havana:~$ swift list</div><div> <b>2ae43fe4-eb72-4402-9c5c-4a42749cfee3</b></div>
<div> dfc9e845-2d67-4be4-892a-648a7a13e881</div><div><br></div><div><br></div><div> Then I try to check the link automatically</div><div> ubuntu@havana:~/.juju$ curl <a href="http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/streams/v1/index.json" target="_blank">http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/streams/v1/index.json</a></div>
<div><html><h1>Not Found</h1><p><b>The resource could not be found.</b></p></html></div><div> But it will success by add the "tools" in front of /streams/v1/index.json</div>
<div>
ubuntu@havana:~/.juju$ curl <a href="http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/" target="_blank">http://10.55.32.149:8080/v1/AUTH_02db550787604a85a3df364b5cdf9ac4/2ae43fe4-eb72-4402-9c5c-4a42749cfee3/</a><b>tools</b>/streams/v1/index.json</div>
<div>{</div><div> "index": {</div><div> "com.ubuntu.juju:released:tools": {</div><div> "updated": "Fri, 28 Mar 2014 04:09:15 +0000",</div><div> "format": "products:1.0",</div>
<div> "datatype": "content-download",</div><div> "path": "streams/v1/com.ubuntu.juju:released:tools.json",</div><div> "products": [</div>
<div>
"com.ubuntu.juju:12.04:amd64",</div><div> "com.ubuntu.juju:12.04:armhf",</div><div> "com.ubuntu.juju:12.04:i386",</div><div> "com.ubuntu.juju:12.10:amd64",</div>
<div> "com.ubuntu.juju:12.10:i386",</div><div> "com.ubuntu.juju:13.10:amd64",</div><div> "com.ubuntu.juju:13.10:armhf",</div><div> "com.ubuntu.juju:13.10:i386",</div>
<div> "com.ubuntu.juju:14.04:amd64",</div><div> "com.ubuntu.juju:14.04:armhf",</div><div> "com.ubuntu.juju:14.04:i386"</div><div> ]</div>
<div> }</div><div> },</div><div> "updated": "Fri, 28 Mar 2014 04:09:15 +0000",</div><div> "format": "index:1.0"</div><div><br></div><div><br></div><div> How should I fix this, as juju changed the link but when bootstrap did not call with the same link, anyone can help me is really appreciated.</div>
<div><br></div><div>Regards.</div><span><font color="#888888"><div><br></div><div>Hui.</div></font></span></div></blockquote></div><br></div></div></div><div class="gmail_extra">Have you set tools-url or tools-metadata-url in your environments.yaml?</div>
<div class="gmail_extra">Looks a bit like they might be set (incorrectly).</div></div>
<br></div></div><div>--<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></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>