[PVE-User] Ceph and Containers...
sysadmin-pve at cognitec.com
Fri Oct 14 18:59:08 CEST 2016
On 10/14/2016 06:31 PM, Marco Gaiarin wrote:
> Mandi! Alwin Antreich
> In chel di` si favelave...
>> Did you copy the keyring to /etc/pve/priv/ceph/ and named it lxc.keyring?
> Yes. 'LXC' storage works perfectly. If i enable disk images on it, i
> can create disk images (VMs) as i like.
> Simply, if i try to create a container, there's no storage 'LXC'
> available, only 'local'. So i cannot choose/select it.
> This make me think about... wait...
> root at hulk:~# pct create 999 Backup:vztmpl/debian-8.0-standard_8.4-1_amd64.tar.gz -description test -hostname test -ostype debian -storage LXC
> 2016-10-14 18:28:48.961168 7faf3ce89780 -1 did not load config file, using default settings.
> 2016-10-14 18:28:50.405365 7fe03972c780 -1 did not load config file, using default settings.
> mke2fs 1.42.12 (29-Aug-2014)
> Discarding device blocks: done
> Creating filesystem with 1048576 4k blocks and 262144 inodes
> Filesystem UUID: dbca2b28-bb79-4fe7-8bcb-8143e3c89163
> Superblock backups stored on blocks:
> 32768, 98304, 163840, 229376, 294912, 819200, 884736
> Allocating group tables: done
> Writing inode tables: done
> Creating journal (32768 blocks): done
> Multiple mount protection is enabled with update interval 5 seconds.
> Writing superblocks and filesystem accounting information: done
> extracting archive '/mnt/pve/Backup/template/cache/debian-8.0-standard_8.4-1_amd64.tar.gz'
> Total bytes read: 533678080 (509MiB, 104MiB/s)
> Detected container architecture: amd64
> Creating SSH host key 'ssh_host_dsa_key' - this may take some time ...
> Creating SSH host key 'ssh_host_ecdsa_key' - this may take some time ...
> Creating SSH host key 'ssh_host_rsa_key' - this may take some time ...
> Creating SSH host key 'ssh_host_ed25519_key' - this may take some time ...
> Creating SSH host key 'ssh_host_key' - this may take some time ...
> 2016-10-14 18:29:04.026132 7f85c37e4780 -1 did not load config file, using default settings.
> OK, container created. Disk is on storage LXC.
> So, seems only a web interface glitch. Strange...
As it's a cluster after all, why not try to reboot the host and see if it goes away? Well, it's using the hammer instead
of the screw driver, but it may fix it faster.
More information about the pve-user