~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to bin/nova-all

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-02-10 11:25:38 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: package-import@ubuntu.com-20120210112538-3jcp8w9huic41e45
Tags: upstream-2012.1~e4~20120210.12574
ImportĀ upstreamĀ versionĀ 2012.1~e4~20120210.12574

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
from nova import service
46
46
from nova import utils
47
47
from nova.objectstore import s3server
 
48
from nova.vnc import xvp_proxy
48
49
 
49
50
 
50
51
if __name__ == '__main__':
59
60
            servers.append(service.WSGIService(api))
60
61
        except (Exception, SystemExit):
61
62
            logging.exception(_('Failed to load %s') % '%s-api' % api)
62
 
    # nova-objectstore
63
 
    try:
64
 
        servers.append(s3server.get_wsgi_server())
65
 
    except (Exception, SystemExit):
66
 
        logging.exception(_('Failed to load %s') % 'objectstore-wsgi')
67
 
    for binary in ['nova-xvpvncproxy', 'nova-compute', 'nova-volume',
 
63
 
 
64
    for mod in [s3server, xvp_proxy]:
 
65
        try:
 
66
            servers.append(mod.get_wsgi_server())
 
67
        except (Exception, SystemExit):
 
68
            logging.exception(_('Failed to load %s') % mod.__name__)
 
69
 
 
70
    for binary in ['nova-compute', 'nova-volume',
68
71
                   'nova-network', 'nova-scheduler', 'nova-vsa', 'nova-cert']:
69
72
        try:
70
73
            servers.append(service.Service.create(binary=binary))