LXC - Container not listed, after reboot

Reported by: tooliload
Created: 2 days ago
Last reply: 1 day ago
Views: 623

Hi, i have a problem with LXC / LXD. My Containers not listes any more, after reboot. Table are empty. On Host Container is available and running. Can you help? I updates to last TinyCP and have reboot a day after my host.

  at TL.API.Sys.LXD.LXD.get_Containers () [0x0006d] in <48321338e97940aa8f22d451d06d3c7c>:0 
at TL.API.Sys.LXD.LXDEP.ContainerList () [0x00001] in <48321338e97940aa8f22d451d06d3c7c>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in <8f2c484307284b51944a1a13a14c0266>:0

Hi.

What is your OS version ?

and tell me the output of command:

lxc list

Wojtek

  Ubuntu 18.04.1 LTS
  Linux ubuntu 4.15.0-88-generic

# lxc list
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
|         NAME         |  STATE  |         IPV4          |                     IPV6                     |    TYPE    | SNAPSHOTS |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
| GROUPWARE01-SCHWEDER | RUNNING | 10.173.165.105 (eth0) | fd42:fa97:f608:420:216:3eff:fe66:a446 (eth0) | PERSISTENT | 1         |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
| IMAPSYNC01           | STOPPED |                       |                                              | PERSISTENT | 0         |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
| SYNC01               | RUNNING | 10.173.165.102 (eth0) | fd42:fa97:f608:420:216:3eff:fe6d:789e (eth0) | PERSISTENT | 0         |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
| VHDDSTORE01            | RUNNING | 10.173.165.103 (eth0) | fd42:fa97:f608:420:216:3eff:fee1:867d (eth0) | PERSISTENT | 0         |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+
| WEB01-SCHWEDER       | RUNNING | 10.173.165.101 (eth0) | fd42:fa97:f608:420:216:3eff:fe4b:5f4c (eth0) | PERSISTENT | 5         |
+----------------------+---------+-----------------------+----------------------------------------------+------------+-----------+

tooliload

Error was, because IMAPSYNC01  not running. - Have start up this Container on CMD and now Web-Interface show all Container ...

This is buggy, if LXC in WebUI not listed, if Container have stopped. Can you fix this? (p.s. need help at tinycp?)

Join our Discord server
Write a reply Edit a reply