<div dir="ltr">This looks like it's due to the way we deploy OpenStack with NovaLXD in all containers, this effectively breaks anyone wanting to do an all-in-one install on their system.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 21, 2016 at 10:22 AM Adam Stokes <<a href="mailto:adam.stokes@canonical.com">adam.stokes@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">So it looks like a recent change to the LXD charm, see here:<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><a href="https://github.com/openstack/charm-lxd/commit/017246768e097c5fcd5283e23f19f075ff9f9d4e" class="gmail_msg" target="_blank">https://github.com/openstack/charm-lxd/commit/017246768e097c5fcd5283e23f19f075ff9f9d4e</a><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Chuck, are you aware of this issue?</div></div><div dir="ltr" class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Fri, Oct 21, 2016 at 10:19 AM Heather Lanigan <<a href="mailto:hmlanigan@gmail.com" class="gmail_msg" target="_blank">hmlanigan@gmail.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">Adam,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The entire container is not readonly.  Just /sys, the mount point for /dev/.lxc/sys.  I choose another charm (neutron-api) to look at, /sys on that unit is readonly as well.    Is that normal?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What would be different in my config?  My Xenial install is on a VM, but I’ve been running that way for weeks.  I did have the openstack-novalxd bundle successfully deployed on it previously using juju 2.0_rc1.</div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">-Heather</div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg">On Oct 20, 2016, at 11:30 PM, Adam Stokes <<a href="mailto:adam.stokes@canonical.com" class="gmail_msg" target="_blank">adam.stokes@canonical.com</a>> wrote:</div><br class="m_5008318016247581015m_-1076634622985991156Apple-interchange-newline gmail_msg"><div class="gmail_msg"><p dir="ltr" class="gmail_msg">Odd it looks like the container has a read only file system? I ran through a full openstack-novalxd deployment today and one of the upstream maintainers ran through the same deployment and didn't run into any issues. </p>
<br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Thu, Oct 20, 2016, 10:02 PM Heather Lanigan <<a href="mailto:hmlanigan@gmail.com" class="gmail_msg" target="_blank">hmlanigan@gmail.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I used conjure-up to deploy openstack-novalxd on a Xenial system.  Before deploying, the operating system was updated.  LXD init was setup with dir, not xfs.  All but one of the charms has a status of “unit is ready"</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The lxd/0 subordinate charm has a status of: hook failed: "config-changed”.  See details below.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I can boot an instance within this OpenStack deployment.  However deleting the instance fails. A side effect of the lxd/0 issues?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Juju version 2.0.0-xenial-amd64</div><div class="gmail_msg">conjure-up version 2.0.2</div><div class="gmail_msg">lxd charm version 2.0.5</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Any ideas?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks in advance,</div><div class="gmail_msg">Heather</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">++++++++++++++++++++++++++++++++++++++++++++++</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg"><br class="gmail_msg"></font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">The /var/log/juju/unit-lxd-0.log on the unit reports:</font></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed Traceback (most recent call last):</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 140, in <module></font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     main()</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 134, in main</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     hooks.execute(sys.argv)</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/charmhelpers/core/hookenv.py", line 715, in execute</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     self._hooks[hook_name]()</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/config-changed", line 78, in config_changed</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     configure_lxd_host()</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/charmhelpers/core/decorators.py", line 40, in _retry_on_exception_inner_2</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     return f(*args, **kwargs)</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed   File "/var/lib/juju/agents/unit-lxd-0/charm/hooks/lxd_utils.py", line 429, in configure_lxd_host</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed     with open(EXT4_USERNS_MOUNTS, 'w') as userns_mounts:</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 INFO config-changed IOError: [Errno 30] Read-only file system: '/sys/module/ext4/parameters/userns_mounts'</font></div></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">2016-10-21 01:09:33 ERROR juju.worker.uniter.operation runhook.go:107 hook "config-changed" failed: exit status 1</font></div></div></blockquote><div class="gmail_msg"><font face="Courier New" class="gmail_msg"><br class="gmail_msg"></font></div><div class="gmail_msg"><div class="gmail_msg"><font face="Courier New" class="gmail_msg">root@juju-456efd-13:~# touch /sys/module/ext4/parameters/temp-file</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">touch: cannot touch '/sys/module/ext4/parameters/temp-file': Read-only file system</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">root@juju-456efd-13:~# df -h /sys/module/ext4/parameters/userns_mounts</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">Filesystem      Size  Used Avail Use% Mounted on</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">sys                0     0     0    - /dev/.lxc/sys</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">root@juju-456efd-13:~# touch /home/ubuntu/temp-file</font></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">root@juju-456efd-13:~# l</font><span style="font-family:'Courier New'" class="gmail_msg">s /home/ubuntu/temp-file</span></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg">/home/ubuntu/temp-file</font></div><div class="gmail_msg"><span style="font-family:'Courier New'" class="gmail_msg">root@juju-456efd-13:~# df -h</span></div></div><div class="gmail_msg"><font face="Courier New" class="gmail_msg"><div class="gmail_msg">Filesystem                   Size  Used Avail Use% Mounted on</div><div class="gmail_msg">/dev/mapper/mitaka--vg-root  165G   47G  110G  30% /</div><div class="gmail_msg">none                         492K     0  492K   0% /dev</div><div class="gmail_msg">udev                          16G     0   16G   0% /dev/fuse</div><div class="gmail_msg">tmpfs                         16G     0   16G   0% /dev/shm</div><div class="gmail_msg">tmpfs                         16G   49M   16G   1% /run</div><div class="gmail_msg">tmpfs                        5.0M     0  5.0M   0% /run/lock</div><div class="gmail_msg">tmpfs                         16G     0   16G   0% /sys/fs/cgroup</div><div class="gmail_msg">tmpfs                        3.2G     0  3.2G   0% /run/user/112</div><div class="gmail_msg">tmpfs                        3.2G     0  3.2G   0% /run/user/1000</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">+++++++++++++++++++++++++++++++++++++++++</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div style="font-family:Helvetica" class="gmail_msg"><font face="Courier New" class="gmail_msg">heather@mitaka:~$ nova boot --image d2eba22a-e1b1-4a2b-aa87-450ee9d9e492 --flavor d --nic net-name=ubuntu-net --key-name keypair-admin xenial-instance</font></div></div><div class="gmail_msg">heather@mitaka:~/goose-work/src/<a href="http://gopkg.in/goose.v1$" class="gmail_msg" target="_blank">gopkg.in/goose.v1$</a> nova list</div><div class="gmail_msg"><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+-----------------------+</div><div class="gmail_msg">| ID                                   | Name            | Status | Task State | Power State | Networks              |</div><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+-----------------------+</div><div class="gmail_msg">| 80424b94-f24d-45ff-a330-7b67a911fbc6 | xenial-instance | ACTIVE | -          | Running     | ubuntu-net=10.101.0.8 |</div><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+-----------------------+</div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg"><div class="gmail_msg">heather@mitaka:~$ nova delete 80424b94-f24d-45ff-a330-7b67a911fbc6</div><div class="gmail_msg">Request to delete server 80424b94-f24d-45ff-a330-7b67a911fbc6 has been accepted.</div><div class="gmail_msg">heather@mitaka:~$ nova list</div><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+----------+</div><div class="gmail_msg">| ID                                   | Name            | Status | Task State | Power State | Networks |</div><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+----------+</div><div class="gmail_msg">| 80424b94-f24d-45ff-a330-7b67a911fbc6 | xenial-instance | ERROR  | -          | Running     |          |</div><div class="gmail_msg">+--------------------------------------+-----------------+--------+------------+-------------+----------+</div><div class="gmail_msg">heather@mitaka:~$ nova show 80424b94-f24d-45ff-a330-7b67a911fbc6</div></div><div class="gmail_msg">…</div><div class="gmail_msg"><div class="gmail_msg">| fault                                | {"message": "Failed to communicate with LXD API instance-00000006: Error 400 - Profile is currently in use.", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 375, in decorated_function |</div><div class="gmail_msg">|                                     </div></div><div class="gmail_msg">...</div><div class="gmail_msg"><br class="gmail_msg"></div></font></div><div class="gmail_msg"><br class="gmail_msg"></div></div><div style="word-wrap:break-word" class="gmail_msg">CONFIDENTIAL This electronic message contains information from TransCirrus, Inc. which may be confidential, privileged or otherwise protected from disclosure, and is to be used solely by the intended recipient. Any unauthorized review, disclosure, copying, distribution or use of this transmission or its contents is prohibited. If you have received this transmission in error, please notify the sender immediately by reply email to <a href="mailto:info@transcirrus.com" class="gmail_msg" target="_blank">info@transcirrus.com</a>, and destroy all copies of the original message. Thank you.</div></blockquote></div>
</div></blockquote></div><br class="gmail_msg"></div></div></blockquote></div></div></blockquote></div>