File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ test-with-ironic: ## Launch test suite with Ironic
9595 mkdir -p tests/logs
9696 ANSIBLE_CONFIG=$(TEST_CONFIG ) ansible-playbook -v -i $(TEST_INVENTORY ) -e @$(TEST_SECRETS ) -e @$(TEST_VARS ) $(TEST_ARGS ) tests/playbooks/test_with_ironic.yaml 2>&1 | tee $(TEST_OUTFILE )
9797
98+ test-configure-object : TEST_OUTFILE ?= tests/logs/test_configure_object_out_$(shell date +% FT% T% Z) .log
99+ test-configure-object : # # Configure Swift object store to use Ceph RGW
100+ mkdir -p tests/logs
101+ ANSIBLE_CONFIG=$(TEST_CONFIG ) ansible-playbook -v -i $(TEST_INVENTORY ) -e @$(TEST_SECRETS ) -e @$(TEST_VARS ) $(TEST_ARGS ) tests/playbooks/configure_swift_rgw.yaml 2>&1 | tee $(TEST_OUTFILE )
102+
98103# #@ DOCS
99104
100105docs-dependencies : .bundle
Original file line number Diff line number Diff line change 1+ ---
2+ - name : Configure Ceph RGW Keystone settings
3+ hosts : " {{ groups['ceph'][0] | default([]) }}"
4+ gather_facts : true
5+ tasks :
6+ - name : Configure Ceph RGW Keystone settings
7+ ansible.builtin.shell : |
8+ sudo cephadm shell -- ceph config set global rgw_keystone_url {{ ceph_keystone_ep }}
9+ sudo cephadm shell -- ceph config set global rgw_keystone_admin_password {{ ceph_keystone_swift_pwd }}
10+ # refresh rgw after updating keystone rgw config
11+ sudo cephadm shell -- ceph orch redeploy rgw.rgw
12+ changed_when : true
13+
14+ - name : Configure swift object store
15+ hosts : localhost
16+ gather_facts : true
17+ vars :
18+ shell_header : " set -euo pipefail"
19+ tasks :
20+ - name : Configure swift endpoints to use rgw
21+ ansible.builtin.import_role :
22+ name : ceph_migrate
23+ tasks_from : configure_object
You can’t perform that action at this time.
0 commit comments