[SOLVED] lxr container disappears from GUI

LeifSec

New Member
Jul 25, 2023
9
1
3
I have got a lxr container which disappears suddenly from the list in the gui.

The configuration is still the same (e.g. cluster) and I can see / enter it via `pct` command from command line.

(Proxmox 8.2.4)
 
Please post the configuration of the CT:
Code:
pct config <id>

Then the storage configuration:
Code:
pvesm status

cat /etc/pve/storage.cfg

And the Clusterstatus:
Code:
pvecm status
 
I found the problem somewhere else - in `/etc/pve/user.cfg`:


changing ` acl:1:/pool/xxx:\@Administrators:NoAccess` to `acl:1:/pool/xxx:\@Administrators:VEAdmin:` solved it.


`pct config <id>`

```
arch: amd64
cores: 1
description: nameserver%3A 10.128.11.1%0A
features: nesting=1
hostname: xxxx
memory: 512
net0: name=eth0,bridge=xxxx,gw=10.208.241.1,hwaddr=BC:24:11:19:A8:3B,ip=10.208.241.27/24,tag=83,type=veth
ostype: debian
rootfs: vm_instances:vm-126-disk-0,size=8G
swap: 1024
unprivileged: 1
```

`pvesm status`
```
Name Type Status Total Used Available %
xx-back-wur01_pm-nfs nfs active 5813178368 4111262720 1408873472 70.72%
xx-back-wur01_pm-nfs2 nfs active 17576239104 11621453824 5954785280 66.12%
local dir active 61611976 30661344 27977284 49.77%
local-lvm lvmthin disabled 0 0 0 N/A
lxc_templates dir active 61611976 30661344 27977284 49.77%
os_images dir active 61611976 30661344 27977284 49.77%
vM_instances3 lvm active 1953476608 1101004800 852471808 56.36%
vm_instances lvmthin active 1841651712 1011803450 829848261 54.94%
vm_instances2 lvm active 1953480704 50331648 1903149056 2.58%
```

`cat /etc/pve/storage.cfg`
```
dir: local
path /var/lib/vz
content images
prune-backups keep-last=1
shared 0

lvmthin: local-lvm
disable
thinpool data
vgname pve
content rootdir,images

dir: os_images
path /mnt/data/os_images
content iso
shared 0

dir: lxc_templates
path /mnt/data/lxc_templates
content vztmpl
shared 0

lvmthin: vm_instances
thinpool vm_instances
vgname vm_instances
content images,rootdir
nodes hv1

nfs: axx-back-wur01_pm-nfs
export /mnt/sdd/proxmox_nfs
path /mnt/pve/xx-back-wur01_pm-nfs
server backup1.xxx
content backup
prune-backups keep-daily=6,keep-last=10,keep-monthly=2,keep-weekly=2

lvm: vm_instances2
vgname vm_instances2
content images,rootdir
shared 0

lvm: vM_instances3
vgname vM_instances3
content rootdir,images
nodes hv1
shared 0

nfs: axx-back-wur01_pm-nfs2
export /mnt/sdb/proxmox_nfs
path /mnt/pve/xx-back-wur01_pm-nfs2
server backup1.xxx
content backup
prune-backups keep-daily=6,keep-last=10,keep-monthly=2,keep-weekly=2
```

`pvecm status `
```
Error: Corosync config '/etc/pve/corosync.conf' does not exist - is this node part of a cluster?

```
 
changing ` acl:1:/pool/xxx:\@Administrators:NoAccess` to `acl:1:/pool/xxx:\@Administrators:VEAdmin:` solved it.
Nice that you found the error yourself! Good work :cool:

If your issue is resolved, please mark your thread as "solved". You can do this by editing your first post and setting the flag.