error 'file-storage_cfg' when trying to add PBS on PVE cluster

Ataxya

New Member
Jul 12, 2020
3
0
1
24
Hi !

I have a 3-nodes cluster running with the latest version of proxmox.
Today i tried to install PBS for testing purposes, and i can't add the PBS server to my PVE
I get this error: "create storage failed: error during cfs-locked 'file-storage_cfg' operation: proxmox-backup-client failed: exit code 255 (500)"

pveversion -v:
Code:
root@pve6:~# pveversion -v
proxmox-ve: 6.2-1 (running kernel: 5.4.44-2-pve)
pve-manager: 6.2-9 (running version: 6.2-9/4d363c5b)
pve-kernel-5.4: 6.2-4
pve-kernel-helper: 6.2-4
pve-kernel-5.4.44-2-pve: 5.4.44-2
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.4
libpve-access-control: 6.1-2
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-5
libpve-guest-common-perl: 3.0-11
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-3
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.2-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-9
pve-cluster: 6.1-8
pve-container: 3.1-10
pve-docs: 6.2-4
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-1
pve-ha-manager: 3.0-9
pve-i18n: 2.1-3
pve-qemu-kvm: 5.0.0-9
pve-xtermjs: 4.3.0-1
qemu-server: 6.2-8
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.4-pve1

proxmox-backup-client version:
Code:
root@pve6:~# proxmox-backup-client version
client version: 0.8.6

I tried to reboot (of course), and add a new user with a password which didn't have special characters (since i seen this: https://forum.proxmox.com/threads/c...fg-working-now-but-shows-question-mark.45962/)

My configuration:

1594560381762.png

Any ideas ?

Thanks in advance !
 
Oh ok, it was just this... Thanks a lot !

And, i don't know if it's a normal behavior, but i can use my root account to connect to the pbs, i get this message:
"create storage failed: error during cfs-locked 'file-storage_cfg' operation: proxmox-backup-client failed: Error: HTTP Error 401 Unauthorized: permission check failed. (500) "
But with a other account it works perfectly !

Thanks again !
 
For the datastore you only have to specify the datastore name not the path :) Maybe that helps

That UI field is for sure missing a stricter validator to improve user experience a bit here, will update on Monday :)
 
but i can use my root account to connect to the pbs

Yes, that should be possible. Be sure to use root@pam for that one, as it's a system user (PAM) and not a "virtual" Proxmox Backup Server user (which use <username>@pbs)
 

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!