Following instructions for localhost bootstrap results in an error

Bug #1727430 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

I've just installed a fresh artful (desktop) system, and installed juju from the stable PPA. I want to bootstrap locally so I run `juju bootstrap` and follow the instructions. Eventually I get told:

  Please configure LXD by running:
   $ newgrp lxd
   $ lxd init

I do so, and then re-bootstrap, which ends up with me being told:

  ERROR juju doesn't support ipv6. Please disable LXD's IPV6:

   $ lxc network set lxdbr0 ipv6.address none

  and rebootstrap

Following these instructions results in an error:

$ lxc network set lxdbr0 ipv6.address none
error: Only managed networks can be modified.

Revision history for this message
Dan Watkins (oddbloke) wrote :

Some further digging in reveals that this is actually happening because I have a different lxd server configured as my default, so the lxd commands run against that remote rather than localhost.

I think the final command should be explicit about using the local "remote":

lxc network set local:lxdbr0 ipv6.address none

Changed in juju:
importance: Undecided → Low
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1727430] [NEW] Following instructions for localhost bootstrap results in an error

We're also looking at allowing you to have ipv6 for lxdbr0. But we're not
sure if that will land in 2.3 or not until 2.4.

John
=:->

On Oct 26, 2017 06:41, <email address hidden> wrote:

> I do believe you can say "no" to creating an IPv6 address during
> deb-reconfigure which I thought is what we ask you to run when we don't
> find lxdbr0.
>
> John
> =:->
>
> On Oct 25, 2017 20:50, "Dan Watkins" <email address hidden> wrote:
>
> Public bug reported:
>
> I've just installed a fresh artful (desktop) system, and installed juju
> from the stable PPA. I want to bootstrap locally so I run `juju
> bootstrap` and follow the instructions. Eventually I get told:
>
> Please configure LXD by running:
> $ newgrp lxd
> $ lxd init
>
> I do so, and then re-bootstrap, which ends up with me being told:
>
> ERROR juju doesn't support ipv6. Please disable LXD's IPV6:
>
> $ lxc network set lxdbr0 ipv6.address none
>
> and rebootstrap
>
> Following these instructions results in an error:
>
> $ lxc network set lxdbr0 ipv6.address none
> error: Only managed networks can be modified.
>
> ** Affects: juju
> Importance: Low
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1727430
>
> Title:
> Following instructions for localhost bootstrap results in an error
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1727430/+subscriptions
>
>
>

John A Meinel (jameinel)
tags: added: bite
tags: added: bitesize helptext
removed: bite
Changed in juju:
status: New → Triaged
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.