[PVE-User] Ceph and Containers...
Marco Gaiarin
gaio at sv.lnf.it
Fri Oct 14 18:31:36 CEST 2016
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.
/dev/rbd0
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...
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the pve-user
mailing list