Merge "dsvm: Use devstack's s3api "service""
This commit is contained in:
		| @@ -206,6 +206,7 @@ | |||||||
|       devstack_services: |       devstack_services: | ||||||
|         keystone: true |         keystone: true | ||||||
|         swift: true |         swift: true | ||||||
|  |         s3api: true | ||||||
|       zuul_work_dir: src/opendev.org/openstack/swift |       zuul_work_dir: src/opendev.org/openstack/swift | ||||||
|     pre-run: tools/playbooks/dsvm/pre.yaml |     pre-run: tools/playbooks/dsvm/pre.yaml | ||||||
|     run: tools/playbooks/dsvm/run.yaml |     run: tools/playbooks/dsvm/run.yaml | ||||||
|   | |||||||
| @@ -5,13 +5,6 @@ | |||||||
|     replace: "cache domain_remap etag-quoter listing_formats" |     replace: "cache domain_remap etag-quoter listing_formats" | ||||||
|   become: true |   become: true | ||||||
|  |  | ||||||
| - name: Add s3api and s3token to pipeline |  | ||||||
|   replace: |  | ||||||
|     path: "/etc/swift/proxy-server.conf" |  | ||||||
|     regexp: "authtoken keystoneauth tempauth" |  | ||||||
|     replace: "authtoken s3api s3token keystoneauth tempauth" |  | ||||||
|   become: true |  | ||||||
|  |  | ||||||
| - name: Set domain_remap domain | - name: Set domain_remap domain | ||||||
|   ini_file: |   ini_file: | ||||||
|     path: /etc/swift/proxy-server.conf |     path: /etc/swift/proxy-server.conf | ||||||
| @@ -52,22 +45,6 @@ | |||||||
|     value: true |     value: true | ||||||
|   become: true |   become: true | ||||||
|  |  | ||||||
| - name: Configure s3token auth_uri |  | ||||||
|   ini_file: |  | ||||||
|     path: /etc/swift/proxy-server.conf |  | ||||||
|     section: filter:s3token |  | ||||||
|     option: auth_uri |  | ||||||
|     value: http://localhost/identity/v3 |  | ||||||
|   become: true |  | ||||||
|  |  | ||||||
| - name: Configure s3token delay_auth_decision |  | ||||||
|   ini_file: |  | ||||||
|     path: /etc/swift/proxy-server.conf |  | ||||||
|     section: filter:s3token |  | ||||||
|     option: delay_auth_decision |  | ||||||
|     value: true |  | ||||||
|   become: true |  | ||||||
|  |  | ||||||
| - name: Copy ring for Policy-1 | - name: Copy ring for Policy-1 | ||||||
|   copy: |   copy: | ||||||
|     remote_src: true |     remote_src: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zuul
					Zuul