<div dir="ltr"><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 class="HOEnZb"><font color="#888888"><div><br></div><div>Hui.</div></font></span></div></blockquote></div><br></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>