Hi Serge

I rebooted the host to see what happened and the lxc images that were
running fine all now have broken SSHD. This, to make absolutely clear
doesn't affect the Xenial image, just the trusty one I test with.

bugg@tomsdevbox:~$ lxc launch ubuntu-trusty fix-server2
Creating fix-server2
Starting fix-server2

bugg@tomsdevbox:~$ lxc exec fix-server2 /bin/bash
root@fix-server2:~# ps aux |grep ssh
root      1597  0.0  0.0   8868   660 ?        S+   09:41   0:00 grep
--color=auto ssh

exit

umount and remount kernel debug....


bugg@tomsdevbox:~$ lxc launch ubuntu-trusty fix-server3
Creating fix-server3
Starting fix-server3
bugg@tomsdevbox:~$ lxc exec fix-server3 /bin/bash
root@fix-server3:~# ps aux |grep ssh
root      1759  0.0  0.0  61380  3816 ?        Ss   09:42   0:00
/usr/sbin/sshd -D
root      1944  0.0  0.0   8868   604 ?        S+   09:43   0:00 grep
--color=auto ssh


bugg@tomsdevbox:~$ lxc-config -l
lxc.default_config
lxc.lxcpath
lxc.bdev.lvm.vg
lxc.bdev.lvm.thin_pool
lxc.bdev.zfs.root
lxc.cgroup.use
lxc.cgroup.pattern


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 29 February 2016 at 07:57, Serge E. Hallyn <[email protected]> wrote:

> Hi Tom,
>
> can you reproduce this with lxd alone?
>
> What does 'lxc config show tomsdevbox' show?
>
> -serge
>
> On Sat, Feb 27, 2016 at 11:42:51PM +0000, Tom Barber wrote:
> > 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@tomsdevbox ~ # umount /sys/kernel/debug
> > root@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 <[email protected]>
> 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 <[email protected]>
> 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 <[email protected]>
> 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 <[email protected]>
> > >>> wrote:
> > >>>
> > >>>> Also:
> > >>>>
> > >>>> bugg@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 <[email protected]>
> > >>>> wrote:
> > >>>>
> > >>>>>
> > >>>>> On 27 February 2016 at 14:53, John Meinel <[email protected]>
> > >>>>> 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>)
> > >>>>>
> > >>>>
> > >>>>
> > >>>
> > >>
> > >
>
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to