Reduce manila CI check memory consumption

New manila images require more then 300Mb of RAM. Otherwise
instance fail to boot with kernel panic.

Based on that we increase flavor for manila and trying to save
RAM in other places. While this works nicely for Ubuntu, CentOS
is still unhappy and needs more work.
But to unblock manila role, CentOS issue will be solved with
follow-up patch only.

Change-Id: I3a3bb59bb6ab8c5cb161e78accbbb45482e595a0
This commit is contained in:
Dmitriy Rabotyagov 2021-12-01 11:55:15 +02:00 committed by Dmitriy Rabotyagov
parent 195458eb62
commit 3c76df5f72
3 changed files with 9 additions and 2 deletions

View File

@ -8,11 +8,14 @@ ceph-osd_hosts:
aio1:
ip: 172.29.236.100
{% if 'manila' not in bootstrap_host_scenarios_expanded %}
# The nodes that the Ceph RadosGW object gateways will be running on
ceph-rgw_hosts:
aio1:
ip: 172.29.236.100
{% endif %}
{% if 'manila' in bootstrap_host_scenarios_expanded %}
ceph-mds_hosts:
aio1:
ip: 172.29.236.100
@ -20,3 +23,4 @@ ceph-mds_hosts:
ceph-nfs_hosts:
aio1:
ip: 172.29.236.100
{% endif %}

View File

@ -79,6 +79,7 @@ placement_wsgi_buffer_size: 16384
manila_wsgi_processes_max: 2
manila_wsgi_processes: 2
manila_wsgi_threads: 1
manila_osapi_share_workers: 2
manila_wsgi_buffer_size: 65535
## Nova

View File

@ -28,8 +28,8 @@ tempest_flavors:
vcpus: 1
- name: manila-service-flavor
id: 100
ram: 256
disk: 3
ram: 320
disk: 5
vcpus: 1
tempest_test_includelist:
@ -63,6 +63,8 @@ tempest_images:
format: "qcow2"
name: "manila-service-image"
nova_console_type: disabled
manila_backends:
cephfsnfs1:
cephfs_auth_id: manila