[SOLVED] Can't create LXC container on RBD type storage.

maly_glod

New Member
Oct 2, 2023
5
1
3
Hi,

I've 3 node cluster with shared RBD type (ceph-slow) storage. Ceph outside proxmox.
Screenshot 2023-11-17 at 14.31.00.png

When I try to create LXC container on ceph-slow it ends with exit code 1
Screenshot 2023-11-17 at 14.34.08.png

Task output:
Code:
did not load config file, using default settings.
2023-11-17 13:13:41.913 7fe1b870b080 -1 Errors while parsing config file!
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2023-11-17 13:13:41.913 7fe1b870b080 -1 Errors while parsing config file!
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:41.913 7fe1b870b080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
did not load config file, using default settings.
2023-11-17 13:13:42.097 7ff176f15080 -1 Errors while parsing config file!
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.097 7ff176f15080 -1 Errors while parsing config file!
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
/dev/rbd0
2023-11-17 13:13:42.097 7ff176f15080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
The file /dev/rbd-pve/14ca2f04-f497-11ec-bf1f-8fad64b280aa/proxmox-storage/vm-120-disk-0 does not exist and no size was specified.
did not load config file, using default settings.
2023-11-17 13:13:42.233 7f5475e19080 -1 Errors while parsing config file!
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.233 7f5475e19080 -1 Errors while parsing config file!
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.233 7f5475e19080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
did not load config file, using default settings.
2023-11-17 13:13:42.489 7f58b41bc080 -1 Errors while parsing config file!
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.489 7f58b41bc080 -1 Errors while parsing config file!
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.489 7f58b41bc080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
did not load config file, using default settings.
2023-11-17 13:13:42.585 7f46b4bbb080 -1 Errors while parsing config file!
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.585 7f46b4bbb080 -1 Errors while parsing config file!
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2023-11-17 13:13:42.585 7f46b4bbb080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
Removing image: 1% complete...
Removing image: 2% complete...
Removing image: 3% complete...
...
Removing image: 98% complete...
Removing image: 99% complete...
Removing image: 100% complete...done.
TASK ERROR: unable to create CT 120 - command 'mkfs.ext4 -O mmp -E 'root_owner=100000:100000' /dev/rbd-pve/14ca2f04-f497-11ec-bf1f-8fad64b280aa/proxmox-storage/vm-120-disk-0' failed: exit code 1

VM's works fine. And CT's on local storage works fine as well.
Screenshot 2023-11-17 at 14.38.50.png
Screenshot 2023-11-17 at 14.39.02.png
Screenshot 2023-11-17 at 14.39.11.png
Screenshot 2023-11-17 at 14.43.53.png

But why it won't work on shared RDB storage? Any suggestions?
 

Attachments

  • Screenshot 2023-11-17 at 14.38.50.png
    Screenshot 2023-11-17 at 14.38.50.png
    64.4 KB · Views: 2
  • Screenshot 2023-11-17 at 14.39.02.png
    Screenshot 2023-11-17 at 14.39.02.png
    95.7 KB · Views: 2

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!