<div dir="ltr"><div><div><div>Hi,<br><br></div>Reported as <a href="https://github.com/lxc/nova-lxd/issues/119">https://github.com/lxc/nova-lxd/issues/119</a><br><br></div>Fixed by: <a href="https://github.com/lxc/nova-lxd/commit/84c7d4e4d0033fe94b013d9b5d852306e78e920e">https://github.com/lxc/nova-lxd/commit/84c7d4e4d0033fe94b013d9b5d852306e78e920e</a><br><br></div>chuck<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 2:44 AM, Muneeb Ahmad <span dir="ltr"><<a href="mailto:14mseemahmad@seecs.edu.pk" target="_blank">14mseemahmad@seecs.edu.pk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys,<br>
I deployed OpenStack with LXD as a hypervisor. Everything is working<br>
fine but I'm unable to access the console on horizon of any instance I<br>
run. I'm unable to ssh into any instance except the CirrOS. Log file<br>
an instance shows the following errors something regarding cloud-init;<br>
<br>
<br>
* Starting Mount filesystems on boot ...done.<br>
* Starting Signal sysvinit that the rootfs is mounted ...done.<br>
* Starting Populate /dev filesystem ...done.<br>
* Stopping Read required files in advance (for other mountpoints) ...done.<br>
* Starting Clean /tmp directory ...done.<br>
* Starting Populate and link to /run filesystem ...done.<br>
* Starting Track if upstart is running in a container ...done.<br>
* Stopping Clean /tmp directory ...done.<br>
* Stopping Populate and link to /run filesystem ...done.<br>
* Starting load fallback graphics devices ...done.<br>
* Starting workaround for missing events in container ...done.<br>
* Stopping load fallback graphics devices ...done.<br>
* Stopping workaround for missing events in container ...done.<br>
cloud-init-container: emitted ifup for eth0<br>
* Starting Uncomplicated firewall ...done.<br>
* Starting configure network device security ...done.<br>
* Starting set console font ...done.<br>
* Starting enable remaining boot-time encrypted block devices ...done.<br>
* Stopping set console font ...done.<br>
* Starting userspace bootsplash ...done.<br>
* Starting Initialize or finalize resolvconf ...done.<br>
* Stopping userspace bootsplash ...done.<br>
* Starting configure network device security ...done.<br>
* Starting Send an event to indicate plymouth is up ...done.<br>
* Starting Mount network filesystems ...done.<br>
* Stopping Send an event to indicate plymouth is up ...done.<br>
* Stopping Mount network filesystems ...done.<br>
* Starting Bridge socket events into upstart ...done.<br>
* Starting configure network device ...done.<br>
Traceback (most recent call last):<br>
File "/usr/bin/cloud-init", line 618, in <module><br>
sys.exit(main())<br>
File "/usr/bin/cloud-init", line 614, in main<br>
get_uptime=True, func=functor, args=(name, args))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1900, in log_time<br>
ret = func(*args, **kwargs)<br>
File "/usr/bin/cloud-init", line 448, in status_wrapper<br>
util.ensure_dirs((data_d, link_d,))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1278, in ensure_dirs<br>
ensure_dir(d, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1318, in ensure_dir<br>
chmod(path, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1497, in chmod<br>
os.chmod(path, real_mode)<br>
OSError: [Errno 1] Operation not permitted: '/var/lib/cloud/data'<br>
cloud-init-nonet[3.0]: waiting 10 seconds for network device<br>
* Starting Mount network filesystems ...done.<br>
cloud-init-nonet[3.0]: static networking is now up<br>
* Starting configure network device ...done.<br>
* Stopping Mount network filesystems ...done.<br>
* Starting set sysctls from /etc/sysctl.conf ...done.<br>
* Stopping set sysctls from /etc/sysctl.conf ...done.<br>
Traceback (most recent call last):<br>
File "/usr/bin/cloud-init", line 618, in <module><br>
sys.exit(main())<br>
File "/usr/bin/cloud-init", line 614, in main<br>
get_uptime=True, func=functor, args=(name, args))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1900, in log_time<br>
ret = func(*args, **kwargs)<br>
File "/usr/bin/cloud-init", line 448, in status_wrapper<br>
util.ensure_dirs((data_d, link_d,))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1278, in ensure_dirs<br>
ensure_dir(d, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1318, in ensure_dir<br>
chmod(path, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1497, in chmod<br>
os.chmod(path, real_mode)<br>
OSError: [Errno 1] Operation not permitted: '/var/lib/cloud/data'<br>
* Stopping Populate /dev filesystem ...done.<br>
* Starting Signal sysvinit that virtual filesystems are mounted ...done.<br>
* Starting Signal sysvinit that virtual filesystems are mounted ...done.<br>
* Starting Bridge udev events into upstart ...done.<br>
* Starting Signal sysvinit that local filesystems are mounted ...done.<br>
* Starting configure network device security ...done.<br>
* Starting device node and kernel event manager ...done.<br>
* Starting Signal sysvinit that remote filesystems are mounted ...done.<br>
* Starting load modules from /etc/modules ...done.<br>
* Starting D-Bus system message bus ...done.<br>
* Stopping Mount filesystems on boot ...done.<br>
* Stopping load modules from /etc/modules ...done.<br>
* Starting flush early job output to logs ...done.<br>
* Stopping Failsafe Boot Delay ...done.<br>
* Starting System V initialisation compatibility ...done.<br>
* Stopping flush early job output to logs ...done.<br>
* Starting configure virtual network devices ...done.<br>
* Starting SystemD login management service ...done.<br>
* Starting Seed the pseudo random number generator on first boot ...done.<br>
* Starting Bridge file events into upstart ...done.<br>
* Starting system logging daemon ...done.<br>
* Starting early crypto disks...<br>
...done.<br>
* Starting Handle applying cloud-config ...done.<br>
lxc<br>
* Not starting AppArmor in container<br>
...done.<br>
* Stopping System V initialisation compatibility ...done.<br>
* Starting System V runlevel compatibility ...done.<br>
* Starting save kernel messages ...done.<br>
* Starting regular background program processing daemon ...done.<br>
* Starting deferred execution scheduler ...done.<br>
* Starting ACPI daemon ...done.<br>
* Starting CPU interrupts balancing daemon ...done.<br>
* Starting automatic crash report generation ...done.<br>
* Starting OpenSSH server ...done.<br>
* Starting open-vm daemon vmtoolsd<br>
* Stopping save kernel messages ...done.<br>
Traceback (most recent call last):<br>
File "/usr/bin/cloud-init", line 618, in <module><br>
sys.exit(main())<br>
File "/usr/bin/cloud-init", line 614, in main<br>
get_uptime=True, func=functor, args=(name, args))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1900, in log_time<br>
ret = func(*args, **kwargs)<br>
File "/usr/bin/cloud-init", line 448, in status_wrapper<br>
util.ensure_dirs((data_d, link_d,))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1278, in ensure_dirs<br>
ensure_dir(d, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1318, in ensure_dir<br>
chmod(path, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1497, in chmod<br>
os.chmod(path, real_mode)<br>
OSError: [Errno 1] Operation not permitted: '/var/lib/cloud/data'<br>
...done.<br>
* Starting Handle applying cloud-config ...fail!<br>
landscape-client is not configured, please run landscape-config.<br>
* Restoring resolver state...<br>
...done.<br>
* Stopping System V runlevel compatibility ...done.<br>
[r[H[J<br>
Ubuntu 14.04.4 LTS ubuntu console<br>
<br>
ubuntu login: * Starting execute cloud user/final scripts ...done.<br>
Traceback (most recent call last):<br>
File "/usr/bin/cloud-init", line 618, in <module><br>
sys.exit(main())<br>
File "/usr/bin/cloud-init", line 614, in main<br>
get_uptime=True, func=functor, args=(name, args))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1900, in log_time<br>
ret = func(*args, **kwargs)<br>
File "/usr/bin/cloud-init", line 448, in status_wrapper<br>
util.ensure_dirs((data_d, link_d,))<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1278, in ensure_dirs<br>
ensure_dir(d, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line<br>
1318, in ensure_dir<br>
chmod(path, mode)<br>
File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1497, in chmod<br>
os.chmod(path, real_mode)<br>
OSError: [Errno 1] Operation not permitted: '/var/lib/cloud/data'<br>
<br>
<br>
Any help would be appreciated.<br>
Regards<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>