[PVE-User] Proxmox storage -> adding ceph storage monhost issue

Alwin Antreich sysadmin-pve at cognitec.com
Wed Jul 6 15:18:30 CEST 2016


Hi Wolfgang,

On 07/06/2016 03:03 PM, Wolfgang Bumiller wrote:
> On Wed, Jul 06, 2016 at 02:16:41PM +0200, Alwin Antreich wrote:
>> Hi all,
>>
>> there is an issue when adding IPs in the storage.cfg file at the line monhost, when formatted with commas as opposed to
>> spaces as separator between IPs.
> 
> We expect semicolons (';') (though spaces seem to work, too, and commas
> work everywhere except with qemu). We should probably enforce semicolons
> via the schema definition and improve the documentation & error messages
> there.
> 
>> rbd: rbd
>> 	monhost 192.168.4.50,192.168.4.51,192.168.4.52
>> 	content images,rootdir
>> 	krbd
>> 	username admin
>> 	pool rbd
>>
>> rbd: rbd2
>> 	monhost 192.168.4.50 192.168.4.51 192.168.4.52
>> 	content images
>> 	username admin
>> 	pool rbd2
>>
>>
>> == error message wit comma separated list of IPs ==
>> kvm: -drive
>> file=rbd:rbd2/vm-101-disk-1:mon_host=192.168.4.50,192.168.4.51,192.168.4.52:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/rbd2.keyring,if=none,id=drive-virtio0,cache=writeback,discard=on,format=raw,aio=threads,detect-zeroes=unmap:
>> Block format 'raw' used by device 'drive-virtio0' doesn't support the option '192.168.4.51'
>>
>> Is this issue a Proxmox or Ceph one?

Thanks to Markus & Holger, I got that. :-)

I have added the storage through the GUI, with all those notations. Do you mean by error message also one when adding
the storage trough the GUI?

>>
>> Thanks.
>>
>> Cheers,
>> Alwin
>>
>> == pveversion -v ==
>> proxmox-ve: 4.2-54 (running kernel: 4.4.10-1-pve)
>> pve-manager: 4.2-15 (running version: 4.2-15/6669ad2c)
>> pve-kernel-4.4.6-1-pve: 4.4.6-48
>> pve-kernel-4.2.6-1-pve: 4.2.6-36
>> pve-kernel-4.2.8-1-pve: 4.2.8-41
>> pve-kernel-4.4.10-1-pve: 4.4.10-54
>> lvm2: 2.02.116-pve2
>> corosync-pve: 2.3.5-2
>> libqb0: 1.0-1
>> pve-cluster: 4.0-42
>> qemu-server: 4.0-81
>> pve-firmware: 1.1-8
>> libpve-common-perl: 4.0-68
>> libpve-access-control: 4.0-16
>> libpve-storage-perl: 4.0-55
>> pve-libspice-server1: 0.12.5-2
>> vncterm: 1.2-1
>> pve-qemu-kvm: 2.5-19
>> pve-container: 1.0-68
>> pve-firewall: 2.0-29
>> pve-ha-manager: 1.0-32
>> ksm-control-daemon: 1.2-1
>> glusterfs-client: 3.5.2-2+deb8u2
>> lxc-pve: 1.1.5-7
>> lxcfs: 2.0.0-pve2
>> cgmanager: 0.39-pve1
>> criu: 1.6.0-1
>> zfsutils: 0.6.5-pve9~jessie
>> ceph: 0.94.7-1~bpo80+1
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
> 

Cheers,
Alwin



More information about the pve-user mailing list