~ubuntu-branches/ubuntu/saucy/heat/saucy

« back to all changes in this revision

Viewing changes to bin/heat-engine

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Yolanda Robla, Chuck Short
  • Date: 2013-07-22 16:22:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130722162229-zzvfu40id94ii0hc
Tags: 2013.2~b2-0ubuntu1
[ Yolanda Robla ]
* debian/tests: added autopkg tests

[ Chuck Short ]
* New upstream release
* debian/control:
  - Add python-pbr to build-depends.
  - Add python-d2to to build-depends.
  - Dropped python-argparse.
  - Add python-six to build-depends.
  - Dropped python-sendfile.
  - Dropped python-nose.
  - Added testrepository.
  - Added python-testtools.
* debian/rules: Run testrepository instead of nosetets.
* debian/patches/removes-lxml-version-limitation-from-pip-requires.patch: Dropped
  no longer needed.
* debian/patches/fix-package-version-detection-when-building-doc.patch: Dropped
  no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
which then calls into this engine.
21
21
"""
22
22
 
23
 
import gettext
24
23
import eventlet
25
24
eventlet.monkey_patch()
26
25
 
35
34
if os.path.exists(os.path.join(POSSIBLE_TOPDIR, 'heat', '__init__.py')):
36
35
    sys.path.insert(0, POSSIBLE_TOPDIR)
37
36
 
38
 
gettext.install('heat', unicode=1)
 
37
from heat.openstack.common import gettextutils
 
38
 
 
39
gettextutils.install('heat')
39
40
 
40
41
from oslo.config import cfg
41
42
 
44
45
 
45
46
from heat.common import config
46
47
from heat.db import api as db_api
 
48
from heat.rpc import api as rpc_api
47
49
 
48
50
 
49
51
LOG = logging.getLogger('heat.engine')
62
64
    from heat.engine import service as engine
63
65
 
64
66
    db_api.configure()
65
 
    srv = engine.EngineService(cfg.CONF.host, 'engine')
 
67
    config.register_engine_opts()
 
68
    srv = engine.EngineService(cfg.CONF.host, rpc_api.ENGINE_TOPIC)
66
69
    launcher = service.launch(srv)
67
70
    launcher.wait()