Browse Source

Set sample_default for rpc_zmq_host

oslo-config-generator will use the sample_default for the sample
config file rather than the hostname of the system it happens to
be running on.

Change-Id: I9c7bf24cfe5c66155d00d9a1b390894d1ccb6bd8
changes/31/114031/1
Brant Knudson 7 years ago
parent
commit
92d56790a6
  1. 1
      oslo/messaging/_drivers/impl_zmq.py

1
oslo/messaging/_drivers/impl_zmq.py

@ -77,6 +77,7 @@ zmq_opts = [
help='Directory for holding IPC sockets.'),
cfg.StrOpt('rpc_zmq_host', default=socket.gethostname(),
sample_default='localhost',
help='Name of this node. Must be a valid hostname, FQDN, or '
'IP address. Must match "host" option, if running Nova.'),

Loading…
Cancel
Save