<div dir="ltr">Heather,<div><br></div><div>A bug has been filed about this issue: <a href="https://bugs.launchpad.net/charm-lxd/+bug/1635659">https://bugs.launchpad.net/charm-lxd/+bug/1635659</a></div><div><br></div><div>I've asked that it get top priority in order to have this fixed pushed into the charmstore asap. I'll let you know once the updated charm is available for deployment again.</div><div><br></div><div>Sorry for the inconvenience<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 20, 2016 at 9:57 PM Heather Lanigan <<a href="mailto:hmlanigan@gmail.com">hmlanigan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" 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">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:0 0 0 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></blockquote></div></div></div>