Consolidate IP address configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
High
|
Kien Nguyen |
Bug Description
There are several IP address / hostname related configs (i.e. api.host_ip, docker.
* [DEFAULT] my_ip: The IP address which the host is using to connect to the management network.
* [DEFAULT] host: Hostname, FQDN or IP address of this host.
Then, use $my_ip as default for all configs that requires an IP address, and use $host as default for all configs that requires a hostname. For example:
cfg.
...
Appendix
========
Below is the list of related configs:
[DEFAULT]
# Name of this node. This can be an opaque identifier. It is not necessarily a
# hostname, FQDN, or IP address. However, the node name must be valid within an
# AMQP key, and if using ZeroMQ, a valid hostname, FQDN, or IP address.
# (unknown value)
#host = localhost
[api]
# The listen IP for the zun API server. (IP address value)
#host_ip = 127.0.0.1
[docker]
# API endpoint of docker daemon (string value)
#api_url = unix://
# Remote API endpoint of docker daemon (string value)
#docker_
# Defines the remote api host for the docker daemon. (string value)
#docker_
[etcd]
# Host IP address on which etcd service running. (unknown value)
#etcd_host = 127.0.0.1
[websocket_proxy]
#
# The URL an end user would use to connect to the ``zun-wsproxy`` service.
#
# The ``zun-wsproxy`` service is called with this token enriched URL
# and establishes the connection to the proper instance.
#
# Related options:
#
# * The IP address must be the same as the address to which the
# ``zun-wsproxy`` service is listening (see option ``wsproxy_host``
# in this section).
# * The port must be the same as ``wsproxy_port``in this section.
# (uri value)
#base_url = ws://$wsproxy_
#
# The IP address which is used by the ``zun-wsproxy`` service to listen
# for incoming requests.
#
# The ``zun-wsproxy`` service listens on this IP address for incoming
# connection requests.
#
# Related options:
#
# * Ensure that this is the same IP address which is defined in the option
# ``base_url`` of this section or use ``0.0.0.0`` to listen on all addresses.
# (string value)
#wsproxy_host = 127.0.0.1
description: | updated |
description: | updated |
Changed in zun: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in zun: | |
assignee: | nobody → Kien Nguyen (kiennt2609) |
Fix proposed to branch: master /review. openstack. org/512183
Review: https:/