You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfigC version 5.0.3
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-6.5.0-9-generic
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
The template below is mostly useful for bug reports and support questions.
Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Required information
cat /proc/self/cgroup doesn't work, because containter failed to start..
cat /proc/1/mounts doesn't work because container failed to start ...
LinuxLinux ncd 6.5.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 7 01:35:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linnux
Issue description
I use lxc over years now, and I use always openvswitch to generate staticly internal nic, for example ub224 which
are then used a phys nic in the lxc (ub224) config file. The internal nic's have always names which are disjunct to all
present nic's an still remain their names in the lxc => the local ub224 nic goes as phys nic into lxc with the name ub224
as ub224 nic (so no renaming at all is necessary...)
This gives me a scalable solution, if I try to start several lxc on one physical maschine...
While doing so under Ubuntu 23.10 (beta, but daily updated) this fails
1.) I can see some kernel output like this
[ 8088.422700] ub224: entered promiscuous mode
[ 8093.428247] physd6aL8D: renamed from ub224
[ 8093.452651] ub224: renamed from physd6aL8D
[ 8093.517798] ub224: left promiscuous mode
2.) lxc-start ub224 failed, and the ub224 internal openvswitch nic is gone !!
3.) ovs-vsctl --version =>
ovs-vsctl (Open vSwitch) 3.2.0
DB Schema 8.4.0
So, it seems that the renaming of the ovs interal nic will just lost it, and the ub224 nic never arrived in the lxc
=> Error at start.
Information to attach
any relevant kernel output (dmesg)
container log (The file from running lxc-start -n <c> -l TRACE -o <logfile> )
Description: Ubuntu 23.10
LXC version 5.0.3
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-6.5.0-9-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
--- Control groups ---
Cgroups: enabled
Cgroup namespace: enabled
Cgroup v1 mount points:
Cgroup v2 mount points:
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded
--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfigC version 5.0.3
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-6.5.0-9-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
--- Control groups ---
Cgroups: enabled
Cgroup namespace: enabled
Cgroup v1 mount points:
Cgroup v2 mount points:
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled, not loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, not loaded
Advanced netfilter: enabled, loaded
CONFIG_IP_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled, not loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, not loaded
FUSE (for use with lxcfs): enabled, not loaded
--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
The template below is mostly useful for bug reports and support questions.
Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Required information
cat /proc/self/cgroup
doesn't work, because containter failed to start..cat /proc/1/mounts
doesn't work because container failed to start ...LinuxLinux ncd 6.5.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 7 01:35:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linnux
Issue description
I use lxc over years now, and I use always openvswitch to generate staticly internal nic, for example ub224 which
are then used a phys nic in the lxc (ub224) config file. The internal nic's have always names which are disjunct to all
present nic's an still remain their names in the lxc => the local ub224 nic goes as phys nic into lxc with the name ub224
as ub224 nic (so no renaming at all is necessary...)
This gives me a scalable solution, if I try to start several lxc on one physical maschine...
While doing so under Ubuntu 23.10 (beta, but daily updated) this fails
1.) I can see some kernel output like this
[ 8088.422700] ub224: entered promiscuous mode
[ 8093.428247] physd6aL8D: renamed from ub224
[ 8093.452651] ub224: renamed from physd6aL8D
[ 8093.517798] ub224: left promiscuous mode
2.) lxc-start ub224 failed, and the ub224 internal openvswitch nic is gone !!
3.) ovs-vsctl --version =>
ovs-vsctl (Open vSwitch) 3.2.0
DB Schema 8.4.0
So, it seems that the renaming of the ovs interal nic will just lost it, and the ub224 nic never arrived in the lxc
=> Error at start.
Information to attach
dmesg
)lxc-start -n <c> -l TRACE -o <logfile>
)config.txt
e containers configuration file
logfile.txt
The text was updated successfully, but these errors were encountered: