]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fixup shrink_osd[_container] scenario config
authorNoah Watkins <noahwatkins@gmail.com>
Tue, 6 Nov 2018 16:49:39 +0000 (08:49 -0800)
committerSébastien Han <seb@redhat.com>
Wed, 30 Jan 2019 13:58:59 +0000 (14:58 +0100)
** configuration seems to be for filestore:

[ERROR]: [ceph-osd0] Validation failed for variable: lvm_volumes

** Removing `radosgw_interface: eth1` to resolve:

The task includes an option with an undefined variable. The error was:
'ansible.vars.hostvars.HostVarsVars object' has no attribute
u'ansible_eth1'

The error appears to have been in
'/home/nwatkins/src/ceph-ansible/roles/ceph-defaults/tasks/set_radosgw_address.yml':
line 21, column 5, but may be elsewhere in the file depending on the
exact syntax problem.

The offending line appears to be:

  - name: set_fact _radosgw_address to radosgw_interface - ipv4
    ^ here

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 50255b964084ab52d6ca949b50f413c0ad9e2362)

tests/functional/shrink_osd/container/group_vars/all
tests/functional/shrink_osd/container/group_vars/osds
tests/functional/shrink_osd/group_vars/all
tests/functional/shrink_osd/group_vars/osds

index bf9696ffd899b6ef13c758f3a0ea82f07041727a..a4806c26fd9532268be6a1f2ae248553a5f90ce2 100644 (file)
@@ -5,13 +5,10 @@ docker: True
 
 containerized_deployment: True
 monitor_interface: eth1
-radosgw_interface: eth1
 ceph_mon_docker_subnet: "{{ public_network }}"
 ceph_docker_on_openstack: False
 public_network: "192.168.73.0/24"
 cluster_network: "192.168.74.0/24"
-rgw_override_bucket_index_max_shards: 16
-rgw_bucket_default_quota_max_objects: 1638400
 ceph_conf_overrides:
   global:
     osd_pool_default_size: 1
index 152d0bd398b7fab86ec7ac20e9b2b249c6200c71..7a4bf927609df7419112c9c2cfbe9e0b1ab0b559 100644 (file)
@@ -1,5 +1,7 @@
 ---
 ceph_osd_docker_run_script_path: /var/tmp
+journal_size: 100
+osd_objectstore: "filestore"
 osd_scenario: lvm
 lvm_volumes:
   - data: data-lv1
@@ -8,4 +10,4 @@ lvm_volumes:
   - data: data-lv2
     journal: journal1
     data_vg: test_group
-    journal_vg: journals
\ No newline at end of file
+    journal_vg: journals
index 970a90f241b4f44053d3f4bc8279c0c48e41f7b4..6cd017ce17fb3baeb80f6042fcc553dfbdb1afec 100644 (file)
@@ -3,7 +3,6 @@ ceph_origin: repository
 ceph_repository: community
 public_network: "192.168.71.0/24"
 cluster_network: "192.168.72.0/24"
-radosgw_interface: eth1
 ceph_conf_overrides:
   global:
     osd_pool_default_size: 3
index 04c810dac96e688d117d1dbfca6b397adf5132df..d07a317fff43731f094b3963415a3350a6b1db9f 100644 (file)
@@ -2,6 +2,8 @@
 os_tuning_params:
   - { name: fs.file-max, value: 26234859 }
 osd_scenario: lvm
+journal_size: 100
+osd_objectstore: "filestore"
 lvm_volumes:
   - data: data-lv1
     journal: /dev/sdc1
@@ -9,4 +11,4 @@ lvm_volumes:
   - data: data-lv2
     journal: journal1
     data_vg: test_group
-    journal_vg: journals
\ No newline at end of file
+    journal_vg: journals