diff --git a/doc/source/configuration/settings.rst b/doc/source/configuration/settings.rst index 5bdaf99..15f46d6 100644 --- a/doc/source/configuration/settings.rst +++ b/doc/source/configuration/settings.rst @@ -35,7 +35,7 @@ file ``skyline.yaml.sample`` in ``etc`` directory. qos: neutron_qos vpnaas: neutron_vpn interface_type: public - keystone_url: http://localhost:5000/v3/ + keystone_url: http://127.0.0.1:5000/v3/ nginx_prefix: /api/openstack reclaim_instance_interval: 604800 service_mapping: diff --git a/etc/skyline.yaml.sample b/etc/skyline.yaml.sample index c6f7961..ef41eab 100644 --- a/etc/skyline.yaml.sample +++ b/etc/skyline.yaml.sample @@ -24,7 +24,7 @@ openstack: qos: neutron_qos vpnaas: neutron_vpn interface_type: public - keystone_url: http://localhost:5000/v3/ + keystone_url: http://127.0.0.1:5000/v3/ nginx_prefix: /api/openstack reclaim_instance_interval: 604800 service_mapping: diff --git a/skyline_apiserver/config/openstack.py b/skyline_apiserver/config/openstack.py index 23cdaba..fbf3afd 100644 --- a/skyline_apiserver/config/openstack.py +++ b/skyline_apiserver/config/openstack.py @@ -23,9 +23,12 @@ from skyline_apiserver.types import InterfaceType keystone_url = Opt( name="keystone_url", - description="Keystone endpoint address", + description=( + "Keystone endpoint address. If using domain, " + "top level domain is required. For example: example.org" + ), schema=HttpUrl, - default="http://localhost:5000/v3/", + default="http://127.0.0.1:5000/v3/", ) system_project_domain = Opt(