diff --git a/solum/api/app.py b/solum/api/app.py index e2d07bfa6..bacbe8c07 100644 --- a/solum/api/app.py +++ b/solum/api/app.py @@ -27,9 +27,9 @@ API_SERVICE_OPTS = [ cfg.IntOpt('port', default=9777, help='The port for the solum API server'), - cfg.StrOpt('host', - default='127.0.0.1', - help='The listen IP for the solum API server'), + cfg.HostAddressOpt('host', + default='127.0.0.1', + help='The listen IP for the solum API server'), cfg.IntOpt('max_apps_per_tenant', default=10, help='Maximum number of application allowed per tenant'), diff --git a/solum/conductor/config.py b/solum/conductor/config.py index 81bcbdbb0..bfe91e6f0 100644 --- a/solum/conductor/config.py +++ b/solum/conductor/config.py @@ -21,9 +21,9 @@ SERVICE_OPTS = [ cfg.StrOpt('topic', default='solum-conductor', help='The queue to add conductor tasks to'), - cfg.StrOpt('host', - default='localhost', - help='The location of the conductor rpc queue'), + cfg.HostAddressOpt('host', + default='localhost', + help='The location of the conductor rpc queue'), ] opt_group = cfg.OptGroup( diff --git a/solum/deployer/config.py b/solum/deployer/config.py index 655525211..e8c1f5d68 100644 --- a/solum/deployer/config.py +++ b/solum/deployer/config.py @@ -21,9 +21,9 @@ SERVICE_OPTS = [ cfg.StrOpt('topic', default='solum-deployer', help='The queue to add deployer tasks to'), - cfg.StrOpt('host', - default='localhost', - help='The location of the deployer rpc queue'), + cfg.HostAddressOpt('host', + default='localhost', + help='The location of the deployer rpc queue'), cfg.StrOpt('handler', default='heat', help='The deployer endpoint to deploy'), diff --git a/solum/worker/config.py b/solum/worker/config.py index 145f7e73a..d3ff26bb1 100644 --- a/solum/worker/config.py +++ b/solum/worker/config.py @@ -21,9 +21,9 @@ SERVICE_OPTS = [ cfg.StrOpt('topic', default='solum-worker', help='The queue to add build tasks to'), - cfg.StrOpt('host', - default='localhost', - help='The location of the build rpc queue'), + cfg.HostAddressOpt('host', + default='localhost', + help='The location of the build rpc queue'), cfg.StrOpt('handler', default='shell', help='The worker endpoint to employ'),