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