container not running

chocosabrinax2017

Active Member
Oct 23, 2017
29
0
41
34
Hai, i need a help.
I have a container running on my proxmox after cannot start . any solusion ?
root@serv:~# systemctl status pve-container@305.service
pve-container@305.service - PVE LXC Container: 305
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-11-07 03:27:31 WITA; 8h ago
Docs: man:lxc-start
man:lxc
man:pct
Process: 26362 ExecStart=/usr/bin/lxc-start -F -n 305 (code=exited, status=1/FAILURE)
Main PID: 26362 (code=exited, status=1/FAILURE)

Nov 07 03:27:29 serv systemd[1]: Started PVE LXC Container: 305.
Nov 07 03:27:30 serv ovs-vsctl[26381]: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl del-port fwln305i0
Nov 07 03:27:30 serv ovs-vsctl[26381]: ovs|00002|db_ctl_base|ERR|no port named fwln305i0
Nov 07 03:27:30 serv ovs-vsctl[26382]: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl del-port veth305i0
Nov 07 03:27:30 serv ovs-vsctl[26382]: ovs|00002|db_ctl_base|ERR|no port named veth305i0
Nov 07 03:27:31 serv systemd[1]: pve-container@305.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 03:27:31 serv systemd[1]: pve-container@305.service: Failed with result 'exit-code'.
root@serv:~# ^C
root@serv:~#cat /etc/pve/lxc/305.cof
GNU nano 3.2 /etc/pve/lxc/305.conf

arch: amd64
cores: 4
hostname:
memory: 4096
nameserver: 8.8.8.8
net0: name=eth0,bridge=vmbr0,firewall=1,gw=10.10.12.2,hwaddr=7E:69:FD:44:8D:CA,ip=10.101.132.130/29,tag=32,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-305-disk-0,size=15G
searchdomain:
swap: 512
unprivileged: 1



but i dont have any interface of it
root@serv:~# ip a | grep veth
13: veth116i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr116i0 state UP group default qlen 1000
19: veth119i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr119i0 state UP group default qlen 1000
23: veth119i1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr119i1 state UP group default qlen 1000
29: veth106i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
35: veth107i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr107i0 state UP group default qlen 1000
41: veth110i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr110i0 state UP group default qlen 1000
45: veth109i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr109i0 state UP group default qlen 1000
root@serv:~# ovs-vsctl show
Nov 07 03:27:31 serv systemd[1]: pve-container@305.service: Failed with result 'exit-code'.
root@serv:~#
root@serv:~# ip a | grep veth
13: veth116i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr116i0 state UP group default qlen 1000
19: veth119i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr119i0 state UP group default qlen 1000
23: veth119i1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr119i1 state UP group default qlen 1000
29: veth106i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
35: veth107i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr107i0 state UP group default qlen 1000
41: veth110i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr110i0 state UP group default qlen 1000
45: veth109i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr109i0 state UP group default qlen 1000
root@serv:~#

root@serv:~# ovs-vsctl show
c7fca57c-287e-4680-969f-554652575edd
Bridge "vmbr1"
Port "vmbr1"
Interface "vmbr1"
type: internal
Bridge "vmbr2"
Port "vmbr2"
Interface "vmbr2"
type: internal
ovs_version: "2.10.7"
root@serv:~# cat /etc/lxc/305.conf
root@serv:~# ovs-vsctl show
c7fca57c-287e-4680-969f-554652575edd
Bridge "vmbr1"
Port "vmbr1"
Interface "vmbr1"
type: internal
Bridge "vmbr2"
Port "vmbr2"
Interface "vmbr2"
type: internal
ovs_version: "2.10.7"
root@serv:~#
 
Last edited:
can you more explain ? this is my container configuration
arch: amd64
cores: 4
hostname: edeh
memory: 4096
nameserver: 8.8.8.8
net0: name=eth0,bridge=vmbr1,firewall=1,gw=10.101.132.129,hwaddr=F2:D7:7A:B4:FB:DC,ip=10.101.132.32/29,tag=32,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-305-disk-0,size=15G
searchdomain:
unprivileged:
 
this error is speaking me a missconfigured vlan /port vlan:
Nov 07 03:27:30 serv ovs-vsctl[26381]: ovs|00002|db_ctl_base|ERR|no port named fwln305i0

BUT, i don't use OVS for vlan managing, i cannot help you anymore in this setup :s
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!