]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: add more memory for rgw_multsite scenarios
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 29 Oct 2018 17:50:31 +0000 (18:50 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 30 Oct 2018 13:00:28 +0000 (14:00 +0100)
Adding more memory to VMs for rgw_multisite scenarios could avoid this error
I have recently hit in the CI:

(It is worth it to set 1024Mb since there is only 2 nodes in those
scenarios.)

```
fatal: [osd0]: FAILED! => {
    "changed": false,
    "cmd": [
        "docker",
        "run",
        "--rm",
        "--entrypoint",
        "/usr/bin/ceph",
        "docker.io/ceph/daemon:latest-luminous",
        "--version"
    ],
    "delta": "0:00:04.799084",
    "end": "2018-10-29 17:10:39.136602",
    "rc": 1,
    "start": "2018-10-29 17:10:34.337518"
}

STDERR:

Traceback (most recent call last):
  File "/usr/bin/ceph", line 125, in <module>
    import rados
ImportError: libceph-common.so.0: cannot map zero-fill pages: Cannot allocate memory
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/centos/7/rgw-multisite-container/secondary/vagrant_variables.yml
tests/functional/centos/7/rgw-multisite-container/vagrant_variables.yml
tests/functional/centos/7/rgw-multisite/secondary/vagrant_variables.yml
tests/functional/centos/7/rgw-multisite/vagrant_variables.yml

index 3cc603eb1c4e53c704229c96ade693ba6c1d93a0..74bb8616a4ee9062c9833798b982cf647d628e25 100644 (file)
@@ -27,7 +27,7 @@ cluster_subnet: 192.168.108
 
 # MEMORY
 # set 1024 for CentOS
-memory: 512
+memory: 1024
 
 # Ethernet interface name
 # use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial
index 7cdd51acb704c0fab9cc28058ce1ebc2dafd7d7b..7ac4c64735a8909cfab9d047af4c8f13d5721354 100644 (file)
@@ -27,7 +27,7 @@ cluster_subnet: 192.168.106
 
 # MEMORY
 # set 1024 for CentOS
-memory: 512
+memory: 1024
 
 # Ethernet interface name
 # use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial
index 7c74ad97cd4df5ff9cfd2c5a61e19dac188aa4eb..17ebc959d3d1d3f001b503ebcbd111886ed1112d 100644 (file)
@@ -27,7 +27,7 @@ cluster_subnet: 192.168.104
 
 # MEMORY
 # set 1024 for CentOS
-memory: 512
+memory: 1024
 
 # Ethernet interface name
 # use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial
index f40a726e2911331f499fea10b1f2cfa9de22064e..a806e9bca4239e5d0fcde2c5705acd65c23cc477 100644 (file)
@@ -27,7 +27,7 @@ cluster_subnet: 192.168.102
 
 # MEMORY
 # set 1024 for CentOS
-memory: 512
+memory: 1024
 
 # Ethernet interface name
 # use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial