summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorEric Day <eday@oddments.org>2010-11-03 12:38:15 -0700
committerEric Day <eday@oddments.org>2010-11-03 12:38:15 -0700
commit60c82177da9c4ebbb89e5534959d0d5a52bfa49a (patch)
treeebe1d25154d711e1d56f1fdd0aeb80ad9ec569e4 /nova
parent2baf2127110929fb834042238058802dae8d725e (diff)
Fix for bug#613264, allowing hosts to be specified for nova-api and objectstore listeners.
Diffstat (limited to 'nova')
-rw-r--r--nova/objectstore/handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/objectstore/handler.py b/nova/objectstore/handler.py
index b26906001..aaf207db4 100644
--- a/nova/objectstore/handler.py
+++ b/nova/objectstore/handler.py
@@ -438,6 +438,7 @@ def get_application():
# Disabled because of lack of proper introspection in Twisted
# or possibly different versions of twisted?
# pylint: disable-msg=E1101
- objectStoreService = internet.TCPServer(FLAGS.s3_port, factory)
+ objectStoreService = internet.TCPServer(FLAGS.s3_port, factory,
+ interface=FLAGS.s3_host)
objectStoreService.setServiceParent(application)
return application