LXD Bootstrap

Tom Barber tom at analytical-labs.com
Sat Feb 27 23:42:51 UTC 2016


Okay I think I worked it out, but i dont' cause the cause in reality:

in upstart mountall was failing during the boot of the containers

so I did:

root at tomsdevbox ~ # umount /sys/kernel/debug
root at tomsdevbox ~ # mount -t debugfs none /sys/kernel/debug


and suddenly trusty images started booting......

--------------

Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316

(Thanks to the Saiku community we reached our Kickstart
<http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
goal, but you can always help by sponsoring the project
<http://www.meteorite.bi/products/saiku/sponsorship>)

On 27 February 2016 at 22:26, Tom Barber <tom at analytical-labs.com> wrote:

> Also, right on boot, like the moment the image spins up if I force the
> runlevel to 5, then the node gets bootstrapped without issue. So it is
> something to do with:
> https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337 or similar,
> just with a Xenial host.
>
> --------------
>
> Director Meteorite.bi - Saiku Analytics Founder
> Tel: +44(0)5603641316
>
> (Thanks to the Saiku community we reached our Kickstart
> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
> goal, but you can always help by sponsoring the project
> <http://www.meteorite.bi/products/saiku/sponsorship>)
>
> On 27 February 2016 at 22:11, Tom Barber <tom at analytical-labs.com> wrote:
>
>> Okay trusty images are failing for me because upstart borks and I get
>> dumped into runlevel unknown.
>>
>> Serge might have an idea as he was involved in a similar bug issue a
>> while ago on launchpad....
>>
>> --------------
>>
>> Director Meteorite.bi - Saiku Analytics Founder
>> Tel: +44(0)5603641316
>>
>> (Thanks to the Saiku community we reached our Kickstart
>> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
>> goal, but you can always help by sponsoring the project
>> <http://www.meteorite.bi/products/saiku/sponsorship>)
>>
>> On 27 February 2016 at 16:49, Tom Barber <tom at analytical-labs.com> wrote:
>>
>>> Okay so a summary from IRC investigations with Rick H.
>>>
>>> I thought yesterday on trusty manual sshd was running, i may have been
>>> wrong.
>>>
>>> Xenial image has a running sshd but I can't bootstrap it due to missing
>>> tools
>>>
>>> If anyone has a snippet for generating and using tools locally instead
>>> of from the platform, feel free to share so I can bootstrap a xenial node
>>> currently its failing with missing tools.
>>>
>>> Cheers
>>>
>>> Tom
>>>
>>> --------------
>>>
>>> Director Meteorite.bi - Saiku Analytics Founder
>>> Tel: +44(0)5603641316
>>>
>>> (Thanks to the Saiku community we reached our Kickstart
>>> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
>>> goal, but you can always help by sponsoring the project
>>> <http://www.meteorite.bi/products/saiku/sponsorship>)
>>>
>>> On 27 February 2016 at 15:17, Tom Barber <tom at analytical-labs.com>
>>> wrote:
>>>
>>>> Also:
>>>>
>>>> bugg at tomsdevbox:~$ lsb_release -a
>>>> No LSB modules are available.
>>>> Distributor ID: Ubuntu
>>>> Description: Ubuntu Xenial Xerus (development branch)
>>>> Release: 16.04
>>>> Codename: xenial
>>>>
>>>>
>>>> lxd-images import ubuntu xenial amd64 --sync --alias ubuntu-xenial
>>>>
>>>>
>>>>  juju bootstrap test-lxd lxd --debug --upload-tools --bootstrap-series
>>>> xenial
>>>>
>>>>
>>>> 2016-02-27 15:15:38 ERROR cmd supercommand.go:448 failed to bootstrap
>>>> model: no matching tools available
>>>>
>>>>
>>>> So that doesn't help ;)
>>>>
>>>> As this is an empty box, I'll happily give you access so you can prod
>>>> around and see if you can figure it out ;)
>>>>
>>>>
>>>>
>>>> --------------
>>>>
>>>> Director Meteorite.bi - Saiku Analytics Founder
>>>> Tel: +44(0)5603641316
>>>>
>>>> (Thanks to the Saiku community we reached our Kickstart
>>>> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
>>>> goal, but you can always help by sponsoring the project
>>>> <http://www.meteorite.bi/products/saiku/sponsorship>)
>>>>
>>>> On 27 February 2016 at 15:00, Tom Barber <tom at analytical-labs.com>
>>>> wrote:
>>>>
>>>>>
>>>>> On 27 February 2016 at 14:53, John Meinel <john at arbash-meinel.com>
>>>>> wrote:
>>>>>
>>>>>> juju bootstrap test-lxd lxd --debug --upload-tools --bootstrap-series
>>>>>> trusty"
>>>>>
>>>>>
>>>>> No difference. Im on juju-dev as magicaltrout.
>>>>>
>>>>> Tom
>>>>>
>>>>> --------------
>>>>>
>>>>> Director Meteorite.bi - Saiku Analytics Founder
>>>>> Tel: +44(0)5603641316
>>>>>
>>>>> (Thanks to the Saiku community we reached our Kickstart
>>>>> <http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
>>>>> goal, but you can always help by sponsoring the project
>>>>> <http://www.meteorite.bi/products/saiku/sponsorship>)
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160227/25a8be5e/attachment.html>


More information about the Juju mailing list