Modefy configuration for refstack_defcore 73/44973/1
authorwutianwei <wutianwei1@huawei.com>
Thu, 12 Oct 2017 06:50:42 +0000 (14:50 +0800)
committerJustin chi <chigang@huawei.com>
Fri, 13 Oct 2017 07:03:47 +0000 (07:03 +0000)
1. set the log level debug to true
2. add oslo_middleware enable_proxy_headers_parsing: True
   in cinder.conf

Change-Id: I555345ab2e1ea2ff0b56f0b9279ed7141bde2282
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit b3aec6773447e8ab0b532723b08fd76ebddf9d8c)

deploy/adapters/ansible/roles/config-osa/templates/user_variables.yml.j2

index e43aa22..ebd8ff0 100644 (file)
@@ -19,7 +19,7 @@
 # ##
 
 # # Debug and Verbose options.
-debug: false
+debug: true
 
 haproxy_keepalived_external_vip_cidr: "{{ public_vip.ip }}/32"
 haproxy_keepalived_internal_vip_cidr: "{{ internal_vip.ip }}/32"
@@ -28,8 +28,10 @@ haproxy_keepalived_internal_interface: br-mgmt
 keepalived_ping_address: "{{ ntp_server }}"
 
 cinder_cinder_conf_overrides:
-  DEFAULT:
-    public_endpoint: "https://{{ public_vip.ip }}"
+  oslo_middleware:
+    enable_proxy_headers_parsing: True
+
+nfs_file_gw: False
 
 {% if "openvswitch" == NEUTRON_MECHANISM_DRIVERS[0] or
    "opendaylight" == NEUTRON_MECHANISM_DRIVERS[0]