Error while doing bootstrap
Christian Muirhead
christian.muirhead at canonical.com
Thu Sep 1 08:51:57 UTC 2016
Hi Rajith -
You need to run that command on the machine that will host your containers
(it doesn't need to be run as root). It configures LXD to listen to HTTPS
traffic on port 8443, so that the connection to LXD from the bootstrapped
controller (inside the container) will succeed. If you run that command and
then bootstrap to LXD it should complete.
Is that enough information?
Cheers,
Christian
On Thu, Sep 1, 2016 at 8:34 AM Rajith P Venkata <rajith.pv at in.ibm.com>
wrote:
> Hi Christain,
>
> In bug 1618636, you have mentioned of workaround
>
> The workaround is to run this command to make lxd listen to https:
> lxc config set core.https_address [::]
>
> please give more details, so I can try with workaround
>
>
> Thanks and Regard
>
>
> Rajith
>
>
>
> From: Christian Muirhead <christian.muirhead at canonical.com>
> To: Rajith P Venkata/India/IBM at IBMIN
> Cc: juju at lists.ubuntu.com, Katherine Cox-Buday <
> katherine.cox-buday at canonical.com>
> Date: 31-08-16 01:43 PM
> Subject: Re: Error while doing bootstrap
> ------------------------------
>
>
>
> I've raised *http://pad.lv/1618636* <http://pad.lv/1618636> for this. I
> can reproduce it using the beta16 from the ppa but not from the beta16 tag
> built from source.
>
> The bug probably needs more logs - what should I add?
>
> On Wed, Aug 31, 2016 at 7:07 AM Rajith P Venkata <*rajith.pv at in.ibm.com*
> <rajith.pv at in.ibm.com>> wrote:
> Hi
>
> Error I am getting is different from lp:1605714. Below error I have
> encountered while bootstraping on juju 2 beta 16.
>
>
> Error details:
>
> tmux is already the newest version (2.1-3build1).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Attempt 1 to download tools from
> *https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz..*
> <https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz..>
> .
> tools from
> *https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz*
> <https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-ppc64el.tgz>downloaded:
> HTTP 200; time 22.641s; size 19586816 bytes; speed 865091.000 bytes/s Tools
> downloaded successfully.
> 5c8364fad79e358cf74713734a421dbd826edefe25c608583911770c75495e08
> /var/lib/juju/tools/2.0-beta16-xenial-ppc64el/tools.tar.gz
> ff24b22b83734a4c209ea825daa1106976a0001d30d58f1ef93ee07134b8c566
> /var/lib/juju/gui/gui.tar.bz2
> 2016-08-31 06:03:18 INFO juju.cmd supercommand.go:63 running jujud
> [2.0-beta16 gc go1.6.2]
> 2016-08-31 06:03:18 ERROR cmd supercommand.go:458 creating LXD client: Get
> *https://10.12.56.1:8443/1.0:* <https://10.12.56.1:8443/1.0:>Unable to
> connect to: *10.12.56.1:8443* <http://10.12.56.1:8443/>
> ERROR failed to bootstrap model: subprocess encountered error code 1
>
> Let us know if any other details required.
>
>
>
> Rajith
>
> IBM AIX Certified, OCPCertified
> ____________________________________
>
> Cell- 9901966577
> Email: *rajith.pv at in.ibm.com* <rajith.pv at in.ibm.com>
>
>
>
> From: Christian Muirhead <*christian.muirhead at canonical.com*
> <christian.muirhead at canonical.com>>
> To: Katherine Cox-Buday <*katherine.cox-buday at canonical.com*
> <katherine.cox-buday at canonical.com>>, Rajith P Venkata/India/IBM at IBMIN
> Cc: *juju at lists.ubuntu.com* <juju at lists.ubuntu.com>
> Date: 30-08-16 09:05 PM
> Subject: Re: Error while doing bootstrap
> ------------------------------
>
>
>
> Someone was just asking about the same error in #juju. I can reproduce it
> if I do a bootstrap inside a lxd container (with security.nesting on), with
> either lxd 2.1 or 2.0.4. Trying it with a built-from-source juju doesn't
> give the same error.
>
> On Tue, Aug 30, 2016 at 3:29 PM Katherine Cox-Buday <
> *katherine.cox-buday at canonical.com* <katherine.cox-buday at canonical.com>>
> wrote:
> Hey Rajith,
>
> This sounds like lp:1605714, do you agree? Mick (CCed) is currently
> investigating this as his top priority, so hopefully we'll have a fix soon.
>
> "Rajith P Venkata" <*rajith.pv at in.ibm.com* <rajith.pv at in.ibm.com>> writes:
>
> > Hi
> >
> > I am installing juju 2.16 on Ubuntu 16.04 power machine: ppc64le.
> > While doing bootstrap getting below error:
> >
> > 2016-08-30 04:40:24 ERROR cmd supercommand.go:458 creating LXD client:
> > Get *https://10.12.56.1:8443/1.0:Unable*
> <https://10.12.56.1:8443/1.0:Unable>to connect to: *10.12.56.1:8443*
> <http://10.12.56.1:8443/>
> > ERROR failed to bootstrap model: subprocess encountered error code 1
> >
> > Please fix this issue.
> >
> > Rajith
> >
> > IBM AIX Certified, OCPCertified
> > ____________________________________
> >
> > Cell- 9901966577
> > Email: *rajith.pv at in.ibm.com* <rajith.pv at in.ibm.com>
>
> --
> Katherine
>
> --
> Juju mailing list
> *Juju at lists.ubuntu.com* <Juju at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> *https://lists.ubuntu.com/mailman/listinfo/juju*
> <https://lists.ubuntu.com/mailman/listinfo/juju>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160901/7d51f32d/attachment.html>
More information about the Juju
mailing list