<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Re-bootstrapped and checked the console log, it is empty<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kapil Thangavelu [mailto:kapilt@gmail.com]
<br>
<b>Sent:</b> Thursday, July 02, 2015 6:30 PM<br>
<b>To:</b> Dinesh Kumar Senapaty (WT01 - Global Media & Telecom)<br>
<b>Cc:</b> Marco Ceppi; Mark Shuttleworth; Juju email list<br>
<b>Subject:</b> Re: Openstack bootstrap error<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">The console log of the instance would be useful (available via horizon or cli).<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">re bootstrap, it creates a security group, and launches an instances with user data, the user data functionality of the openstack cloud must be functional for this to work. the user data for the instance setups ssh keys, the juju client
 will then connect to the bootstrap server via ssh to complete initialization in the foreground. Subsequently all apis cloud to the iaas layer are made by the bootstrap server (or subsequent api servers if running w/ ha).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kapil<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jul 2, 2015 at 8:32 AM, <<a href="mailto:dinesh.senapaty@wipro.com" target="_blank">dinesh.senapaty@wipro.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">The
</span>image-metadata and agent-metadata URLs are addressible  because while  juju bootstrap is running, I can see the instance coming up successfully in the dashboard. Even I was able to ping and ssh to that instance . But the problem is the bootstrap<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
 command ends up failing showing a message. Below is the screenshot of the error.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><img border="0" width="998" height="82" id="_x0000_i1025" src="cid:image001.png@01D0B4F8.8EDA61B0"><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I am not understanding what is juju trying to do after the instance coming up. Because I am getting the above error
 at the end. Also please explain what juju bootstrap does in openstack environment.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Marco Ceppi [mailto:<a href="mailto:marco@ondina.co" target="_blank">marco@ondina.co</a>]
<br>
<b>Sent:</b> Thursday, July 02, 2015 5:47 PM<br>
<b>To:</b> Dinesh Kumar Senapaty (WT01 - Global Media & Telecom); <a href="mailto:mark@ubuntu.com" target="_blank">
mark@ubuntu.com</a>; <a href="mailto:juju@lists.ubuntu.com" target="_blank">juju@lists.ubuntu.com</a></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>Subject:</b> Re: Openstack bootstrap error<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">While I'm not 100% confident, I believe that the image-metadata and agent-metadata URLs need to be a URL that is addressible from within the OpenStack cloud as they're used by cloud-init
 when bootstrapping which may explain why you're not completing the process.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Marco<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Thu, Jul 2, 2015 at 7:21 AM <<a href="mailto:dinesh.senapaty@wipro.com" target="_blank">dinesh.senapaty@wipro.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have tried on manual provisioning and local provider and I was able to ssh to the machine.<br>
<br>
Below is my 'Environments.yaml' for openstack<br>
<br>
openstack:<br>
        type: openstack<br>
        auth-url: <a href="http://10.200.8.203:5000/v2.0" target="_blank">http://10.200.8.203:5000/v2.0</a><br>
        auth-mode: userpass<br>
        use-floating-ip: true<br>
        use-default-secgroup: true<br>
        admin-secret: 81a1e7429e6847c4941fda7591246594<br>
        image-metadata-url: <a href="file:///\\home\controller\opt\stack\images">
file:///home/controller/opt/stack/images</a><br>
        agent-metadata-url: <a href="file:///\\home\controller\opt\stack\tools">file:///home/controller/opt/stack/tools</a><br>
        network: demo-net<br>
        region: regionOne<br>
        username: admin<br>
        password: password<br>
        tenant-name: admin<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Mark Shuttleworth [mailto:<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>]<br>
Sent: Thursday, July 02, 2015 4:40 PM<br>
To: Dinesh Kumar Senapaty (WT01 - Global Media & Telecom); <a href="mailto:juju@lists.ubuntu.com" target="_blank">
juju@lists.ubuntu.com</a><br>
Subject: Re: Openstack bootstrap error<br>
<br>
On 02/07/15 06:50, <a href="mailto:dinesh.senapaty@wipro.com" target="_blank">dinesh.senapaty@wipro.com</a> wrote:<br>
> Hi,<br>
> I have been trying to bootstrap juju for 'openstack' environment. The instance being created and floating ip is also associated and also I am able to ping that instance but later bootstrap fails when it is "attempting to connect" giving the error "failed
 to bootstrap environment: waited for 10m0s without being able to connect: ssh: connect to host " .Can anyone help me regarding this issue?<br>
<br>
Are you able to deploy trusty with MAAS and ssh to the machine?<br>
<br>
Are you otherwise able to bootstrap on public clouds?<br>
<br>
Mark<br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
 not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
 for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a><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><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this
 email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
 not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
 for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
</body>
</html>