The console log of the instance would be useful (available via horizon or
cli).

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).

cheers,

Kapil



On Thu, Jul 2, 2015 at 8:32 AM, <[email protected]> wrote:

>  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.
>
>
>
>   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:[email protected]]
> *Sent:* Thursday, July 02, 2015 5:47 PM
> *To:* Dinesh Kumar Senapaty (WT01 - Global Media & Telecom);
> [email protected]; [email protected]
>
> *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 <[email protected]> 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
>         agent-metadata-url: file:///home/controller/opt/stack/tools
>         network: demo-net
>         region: regionOne
>         username: admin
>         password: password
>         tenant-name: admin
>
>
>
> -----Original Message-----
> From: Mark Shuttleworth [mailto:[email protected]]
> Sent: Thursday, July 02, 2015 4:40 PM
> To: Dinesh Kumar Senapaty (WT01 - Global Media & Telecom);
> [email protected]
> Subject: Re: Openstack bootstrap error
>
> On 02/07/15 06:50, [email protected] 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
> --
> Juju mailing list
> [email protected]
> 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
>
> --
> Juju mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to