Openstack bootstrap error

dinesh.senapaty at wipro.com dinesh.senapaty at wipro.com
Thu Jul 2 12:32:36 UTC 2015


The 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 command ends up failing showing a message. Below is the screenshot of the error.

[cid:image001.png at 01D0B4F1.45C46040]
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.

From: Marco Ceppi [mailto:marco at ondina.co]
Sent: Thursday, July 02, 2015 5:47 PM
To: Dinesh Kumar Senapaty (WT01 - Global Media & Telecom); mark at ubuntu.com; juju at lists.ubuntu.com
Subject: Re: Openstack bootstrap error

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.

Marco

On Thu, Jul 2, 2015 at 7:21 AM <dinesh.senapaty at wipro.com<mailto:dinesh.senapaty at wipro.com>> wrote:
I have tried on manual provisioning and local provider and I was able to ssh to the machine.

Below is my 'Environments.yaml' for openstack

openstack:
        type: openstack
        auth-url: http://10.200.8.203:5000/v2.0
        auth-mode: userpass
        use-floating-ip: true
        use-default-secgroup: true
        admin-secret: 81a1e7429e6847c4941fda7591246594
        image-metadata-url: file:///home/controller/opt/stack/images<file:///\\home\controller\opt\stack\images>
        agent-metadata-url: file:///home/controller/opt/stack/tools<file:///\\home\controller\opt\stack\tools>
        network: demo-net
        region: regionOne
        username: admin
        password: password
        tenant-name: admin



-----Original Message-----
From: Mark Shuttleworth [mailto:mark at ubuntu.com<mailto:mark at ubuntu.com>]
Sent: Thursday, July 02, 2015 4:40 PM
To: Dinesh Kumar Senapaty (WT01 - Global Media & Telecom); juju at lists.ubuntu.com<mailto:juju at lists.ubuntu.com>
Subject: Re: Openstack bootstrap error

On 02/07/15 06:50, dinesh.senapaty at wipro.com<mailto:dinesh.senapaty at wipro.com> wrote:
> Hi,
> 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?

Are you able to deploy trusty with MAAS and ssh to the machine?

Are you otherwise able to bootstrap on public clouds?

Mark
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<http://www.wipro.com>
--
Juju mailing list
Juju at lists.ubuntu.com<mailto:Juju at lists.ubuntu.com>
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150702/d2e8cf6f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11312 bytes
Desc: image001.png
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150702/d2e8cf6f/attachment.png>


More information about the Juju mailing list