<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Arial, sans-serif;">
<div>
<div>I’ve (at least) managed to get my containers back up and running by creating new ones and copying the file stores.</div>
<div><br>
</div>
<div>However, the annoying thing is I can’t even delete the old containers even though they don’t appear in the list. Any command I try to issue just returns the architecture not supported message. But it won’t let me re-use the container name because it (correctly)
believes it already exists.</div>
<div><br>
</div>
<div>So for now I’m stuck with all my containers being called <container_name>1.</div>
<div><br>
</div>
<div>Whilst I appreciate the frequent releases and that we’re still <1.0, a warning in the release notes about this would have been very helpful!</div>
<div><br>
</div>
<div>Is there a way to somehow force LXC to delete the incompatible containers? This is one of the major issues with the mysterious “lxd.db” file, unless I’m mistaken there is no easy way to open the database and tidy things up when things don’t quite go to
plan. I’m guessing if I could read and edit this file, I probably could have manually set the architecture for the containers and got them back up and running?</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Jamie</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Jamie Brown <<a href="mailto:Jamie.Brown@mpec.co.uk">Jamie.Brown@mpec.co.uk</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, 17 December 2015 at 08:05<br>
<span style="font-weight:bold">To: </span>LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>><br>
<span style="font-weight:bold">Subject: </span>Help, containers gone after upgrade to 0.24<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Arial, sans-serif;">
<div>Hello,</div>
<div><br>
</div>
<div>I’ve just upgraded to 0.24 from 0.23 and most of my containers have disappeared from
<b>lxc list </b>and are not starting up. The two that remain in the list were those added most recently (probably in 0.23), the others were added in an earlier release.</div>
<div><br>
</div>
<div>I guess there is a problem with backwards compatibility with a configuration.</div>
<div><br>
</div>
<div>If I run <b>lxc config show <container></b> on a missing container, it returns;</div>
<br>
<div><b>error: Architecture isn't supported: 0</b></div>
<div><br>
</div>
<div>Looking at the <b>lxc.conf</b> in the logs directories, there are some missing properties for these containers verses the newer containers, one of these properties being lxc.arch. However, I don’t know how I can set these properties for the missing containers.</div>
<div><br>
</div>
<div>The following properties are missing from the older lxc.conf files:</div>
<ul>
<li>Lxc.arch</li><li>Lxc.hook.pre-start</li><li>Lxc.hook.post-stop</li></ul>
<div>Please help!</div>
<div><br>
</div>
<div>Many thanks,</div>
<div><br>
</div>
<div>Jamie</div>
</div>
</div>
</span>
</body>
</html>