[lxc-users] Can't ssh my lxc instances and no instance console on Horizon
Muneeb Ahmad
muneeb.gandapur at gmail.com
Sat May 28 19:56:50 UTC 2016
Hi,
Any idea when the fix for OpenStack instance console access will be
proposed?
And I have another question. When starting containers using OpenStack, I
can't access the outside network. I tried to assign a floating IP, nova
list says it has a floating ip assigned but when I access the container
using lxc exec, it's still the same with no floating IP and still can't
access the outside network.
Thanks
On Mon, Apr 18, 2016 at 7:31 PM, Serge Hallyn <serge.hallyn at ubuntu.com>
wrote:
> Quoting Muneeb Ahmad (14mseemahmad at seecs.edu.pk):
> > Hello guys,
> > I deployed OpenStack with LXD as a hypervisor. Everything is working
> > fine but I'm unable to access the console on horizon of any instance I
> > run. I'm unable to ssh into any instance except the CirrOS. Log file
> > an instance shows the following errors something regarding cloud-init;
> >
> >
> > * Starting Mount filesystems on boot ...done.
> > * Starting Signal sysvinit that the rootfs is mounted ...done.
> > * Starting Populate /dev filesystem ...done.
> > * Stopping Read required files in advance (for other mountpoints)
> ...done.
> > * Starting Clean /tmp directory ...done.
> > * Starting Populate and link to /run filesystem ...done.
> > * Starting Track if upstart is running in a container ...done.
> > * Stopping Clean /tmp directory ...done.
> > * Stopping Populate and link to /run filesystem ...done.
> > * Starting load fallback graphics devices ...done.
> > * Starting workaround for missing events in container ...done.
> > * Stopping load fallback graphics devices ...done.
> > * Stopping workaround for missing events in container ...done.
> > cloud-init-container: emitted ifup for eth0
> > * Starting Uncomplicated firewall ...done.
> > * Starting configure network device security ...done.
> > * Starting set console font ...done.
> > * Starting enable remaining boot-time encrypted block devices ...done.
> > * Stopping set console font ...done.
> > * Starting userspace bootsplash ...done.
> > * Starting Initialize or finalize resolvconf ...done.
> > * Stopping userspace bootsplash ...done.
> > * Starting configure network device security ...done.
> > * Starting Send an event to indicate plymouth is up ...done.
> > * Starting Mount network filesystems ...done.
> > * Stopping Send an event to indicate plymouth is up ...done.
> > * Stopping Mount network filesystems ...done.
> > * Starting Bridge socket events into upstart ...done.
> > * Starting configure network device ...done.
> > Traceback (most recent call last):
> > File "/usr/bin/cloud-init", line 618, in <module>
> > sys.exit(main())
> > File "/usr/bin/cloud-init", line 614, in main
> > get_uptime=True, func=functor, args=(name, args))
> > File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line
> > 1900, in log_time
> > ret = func(*args, **kwargs)
> > File "/usr/bin/cloud-init", line 448, in status_wrapper
> > util.ensure_dirs((data_d, link_d,))
> > File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line
> > 1278, in ensure_dirs
> > ensure_dir(d, mode)
> > File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line
> > 1318, in ensure_dir
> > chmod(path, mode)
> > File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1497,
> in chmod
> > os.chmod(path, real_mode)
> > OSError: [Errno 1] Operation not permitted: '/var/lib/cloud/data'
>
> Hi,
>
> this should be fixed as of early last week. (by a fix i nova-lxd)
>
> -serge
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160529/6b79ab02/attachment.html>
More information about the lxc-users
mailing list