This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:openstack-ansible:10-storage-backend [2025/11/27 10:16] – [glance] igor | projects:openstack-ansible:10-storage-backend [2025/11/27 10:18] (current) – [nova] igor | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| </ | </ | ||
| - | * rbd_pool = volumes e rbd_user = cinder - pool e utente configurati devono esistere in ceph | ||
| - | * rbd_secret_uuid = ad44c82d-e905-4d13-bfad-8fe47567a8e0 - secret per '' | ||
| - | * rbd_flatten_volume_from_snapshot = False e rbd_max_clone_depth = 5 - ottimizzazione COW (copy-on-write) | ||
| - | * image_upload_use_cinder_backend = True - consente di caricare immagini direttamente nel backend Cinder (utile per glance-cinder integration) | ||
| - | * image_upload_use_internal_tenant = True - usa un tenant interno per l' | ||
| - | * report_discard_supported = True - abilita il supporto TRIM/ | ||
| - | * rados_connect_timeout = -1 - timeout infinito (attenzione: | ||
| Per verificare che le secret corrispondano, | Per verificare che le secret corrispondano, | ||
| Line 88: | Line 81: | ||
| </ | </ | ||
| - | === Configurazione Ceph corretta === | ||
| - | |||
| - | * images_type = rbd - usa Ceph RBD per le immagini delle VM | ||
| - | * images_rbd_pool = vms - pool dedicato per le VM | ||
| - | * images_rbd_ceph_conf = / | ||
| - | * rbd_user = cinder e rbd_secret_uuid = ad44c82d-e905-4d13-bfad-8fe47567a8e0 - autenticazione (stesso UUID di Cinder) | ||
| - | |||
| - | === Ottimizzazioni performance === | ||
| - | |||
| - | * hw_disk_discard = unmap - abilita TRIM per recuperare spazio su Ceph | ||
| - | * disk_cachemodes = network=writeback - cache writeback per migliori performance su storage di rete | ||
| - | |||
| - | === Live migration configurata === | ||
| - | |||
| - | * live_migration_with_native_tls = true - migrazione sicura con TLS | ||
| - | * live_migration_scheme = tls - schema TLS | ||
| - | * live_migration_inbound_addr = 10.224.10.34 - indirizzo per connessioni in entrata | ||
| - | |||
| - | === Sicurezza: === | ||
| - | |||
| - | injection disabilitato (best practice con cloud-init) | ||
| - | |||
| - | * inject_partition = -2 | ||
| - | * inject_password = False | ||
| - | * inject_key = False - | ||