Merge "Fix xvpvncproxy error in nova-all (lp#928489)"
This commit is contained in:
commit
27ac9d5f0c
15
bin/nova-all
15
bin/nova-all
|
@ -45,6 +45,7 @@ from nova import log as logging
|
||||||
from nova import service
|
from nova import service
|
||||||
from nova import utils
|
from nova import utils
|
||||||
from nova.objectstore import s3server
|
from nova.objectstore import s3server
|
||||||
|
from nova.vnc import xvp_proxy
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -59,12 +60,14 @@ if __name__ == '__main__':
|
||||||
servers.append(service.WSGIService(api))
|
servers.append(service.WSGIService(api))
|
||||||
except (Exception, SystemExit):
|
except (Exception, SystemExit):
|
||||||
logging.exception(_('Failed to load %s') % '%s-api' % api)
|
logging.exception(_('Failed to load %s') % '%s-api' % api)
|
||||||
# nova-objectstore
|
|
||||||
try:
|
for mod in [s3server, xvp_proxy]:
|
||||||
servers.append(s3server.get_wsgi_server())
|
try:
|
||||||
except (Exception, SystemExit):
|
servers.append(mod.get_wsgi_server())
|
||||||
logging.exception(_('Failed to load %s') % 'objectstore-wsgi')
|
except (Exception, SystemExit):
|
||||||
for binary in ['nova-xvpvncproxy', 'nova-compute', 'nova-volume',
|
logging.exception(_('Failed to load %s') % mod.__name__)
|
||||||
|
|
||||||
|
for binary in ['nova-compute', 'nova-volume',
|
||||||
'nova-network', 'nova-scheduler', 'nova-vsa', 'nova-cert']:
|
'nova-network', 'nova-scheduler', 'nova-vsa', 'nova-cert']:
|
||||||
try:
|
try:
|
||||||
servers.append(service.Service.create(binary=binary))
|
servers.append(service.Service.create(binary=binary))
|
||||||
|
|
Loading…
Reference in New Issue