Errors while creating a container on a remote RBD Pool

brosky

Well-Known Member
Oct 13, 2015
55
4
48
Hi,

I have added a remote rbd pool (ceph cluster) to a proxmox machine that is not in that cluster. (added via GUI and copy the keyring in /etc/pve/priv/ceph/xxxx.keyring)

Things I noticed:
- after the RBD pool is added, I need to restart pvestatd.service so that the GUI shows the pool without errors (not stated in the docs)
- browsing through other local mounted storages is very slow after the RBD pool mount. Example, clicking on "Summary" shows nothing for 3-4 seconds.
- while creating a VM, I have this log :


Task viewer: VM 105 - Create



did not load config file, using default settings. 2022-04-14T14:22:27.854+0100 7f4540eb93c0 -1 Errors while parsing config file! 2022-04-14T14:22:27.854+0100 7f4540eb93c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T14:22:27.854+0100 7f4540eb93c0 -1 Errors while parsing config file! 2022-04-14T14:22:27.854+0100 7f4540eb93c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] TASK OK

- same VM, removing:

did not load config file, using default settings. 2022-04-14T14:24:14.543+0100 7f61ed1953c0 -1 Errors while parsing config file! 2022-04-14T14:24:14.543+0100 7f61ed1953c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T14:24:14.543+0100 7f61ed1953c0 -1 Errors while parsing config file! 2022-04-14T14:24:14.543+0100 7f61ed1953c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] did not load config file, using default settings. 2022-04-14T14:24:14.595+0100 7fcbc165d3c0 -1 Errors while parsing config file! 2022-04-14T14:24:14.595+0100 7fcbc165d3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T14:24:14.595+0100 7fcbc165d3c0 -1 Errors while parsing config file! 2022-04-14T14:24:14.595+0100 7fcbc165d3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] Removing image: 1% complete... Removing image: 2% complete... Removing image: 3% complete... ... Removing image: 99% complete... Removing image: 100% complete...done. purging VM 105 from related configurations.. TASK OK


LXC has the same issue:

did not load config file, using default settings. 2022-04-14T02:17:05.835-0400 7f1048e7f3c0 -1 Errors while parsing config file! 2022-04-14T02:17:05.835-0400 7f1048e7f3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T02:17:05.835-0400 7f1048e7f3c0 -1 Errors while parsing config file! 2022-04-14T02:17:05.835-0400 7f1048e7f3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] did not load config file, using default settings. 2022-04-14T02:17:07.323-0400 7fe23871a3c0 -1 Errors while parsing config file! 2022-04-14T02:17:07.323-0400 7fe23871a3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T02:17:07.323-0400 7fe23871a3c0 -1 Errors while parsing config file! /dev/rbd0 2022-04-14T02:17:07.323-0400 7fe23871a3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] Creating filesystem with 2097152 4k blocks and 524288 inodes Filesystem UUID: 777ae54a-6659-4776-b960-e6235bebfde8 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 extracting archive '/mnt/pve/ISO/template/cache/centos-7-default_20190926_amd64.tar.xz' Total bytes read: 422809600 (404MiB, 84MiB/s) Detected container architecture: amd64 Creating SSH host key 'ssh_host_dsa_key' - this may take some time ... done: SHA256:xzWHgM+gAfBLPYtP80dMr6MmPUeS4RfLF9BECEZsfXU root@sadad Creating SSH host key 'ssh_host_rsa_key' - this may take some time ... done: SHA256:rEcdsWKA+yXTaSfN8OYdWu9oQeOG783/9fTplVn0GHM root@sadad Creating SSH host key 'ssh_host_ed25519_key' - this may take some time ... done: SHA256:W7cMLXYwXE6abR4FUxV3VYhXw9c4PrQqy/Thb3eRTcQ root@sadad Creating SSH host key 'ssh_host_ecdsa_key' - this may take some time ... done: SHA256:OLAh1g0pjgOucveDUEOpwap5nK6pMJ7Mw0VPajyzTFs root@sadad did not load config file, using default settings. 2022-04-14T02:17:14.711-0400 7fd308aae3c0 -1 Errors while parsing config file! 2022-04-14T02:17:14.711-0400 7fd308aae3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] 2022-04-14T02:17:14.711-0400 7fd308aae3c0 -1 Errors while parsing config file! 2022-04-14T02:17:14.711-0400 7fd308aae3c0 -1 parse_file: filesystem error: cannot get file size: No such file or directory [ceph.conf] TASK OK


Am I missing something ?
 
These are nothing to worry about.
In the case of an external Ceph storage, no config will be available locally. It will still try to load it locally, resulting in those warnings.

Everything seems to work just fine, except for those warnings, right?