diff options
| author | Brian Waldon <brian.waldon@rackspace.com> | 2011-08-02 18:37:49 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-08-02 18:37:49 +0000 |
| commit | cf7eefab9e7891d449b115c0c50c4b76ae45743f (patch) | |
| tree | 3fd97a06fda3cadd50b1a3595836a8ba5d29394d /bin | |
| parent | d6175dddfe481a9d3cd4e9d8c8570911fa785a7d (diff) | |
| parent | 07646e85841a4f7c81e80254ac63715bece2aadd (diff) | |
- Remove Twisted dependency from pip-requires
- Remove Twisted patch from tools/install_venv.py
- Remove eventlet patch from tools/install_venv.py
- Remove tools/eventlet-patch
- Remove nova/twistd.py
- Remove nova/tests/test_twistd.py
- Remove bin/nova-instancemonitor
- Remove nova/compute/monitor.py
- Add xattr to pip-requires until glance setup.py installs it correctly
- Remove references to removed files from docs/translations/code
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-instancemonitor | 59 | ||||
| -rw-r--r-- | bin/nova-logspool | 1 | ||||
| -rwxr-xr-x | bin/nova-objectstore | 2 |
3 files changed, 1 insertions, 61 deletions
diff --git a/bin/nova-instancemonitor b/bin/nova-instancemonitor deleted file mode 100755 index b9d4e49d7..000000000 --- a/bin/nova-instancemonitor +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env python -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# Copyright 2010 United States Government as represented by the -# Administrator of the National Aeronautics and Space Administration. -# All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -""" - Daemon for Nova RRD based instance resource monitoring. -""" - -import gettext -import os -import sys -from twisted.application import service - -# If ../nova/__init__.py exists, add ../ to Python search path, so that -# it will override what happens to be installed in /usr/(local/)lib/python... -possible_topdir = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]), - os.pardir, - os.pardir)) -if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')): - sys.path.insert(0, possible_topdir) - -gettext.install('nova', unicode=1) - -from nova import log as logging -from nova import utils -from nova import twistd -from nova.compute import monitor - -LOG = logging.getLogger('nova.instancemonitor') - - -if __name__ == '__main__': - utils.default_flagfile() - twistd.serve(__file__) - -if __name__ == '__builtin__': - LOG.warn(_('Starting instance monitor')) - # pylint: disable=C0103 - monitor = monitor.InstanceMonitor() - - # This is the parent service that twistd will be looking for when it - # parses this file, return it so that we can get it into globals below - application = service.Application('nova-instancemonitor') - monitor.setServiceParent(application) diff --git a/bin/nova-logspool b/bin/nova-logspool index 097459b12..a876f4c71 100644 --- a/bin/nova-logspool +++ b/bin/nova-logspool @@ -81,7 +81,6 @@ class LogReader(object): if level == 'ERROR': self.handle_logged_error(line) elif level == '[-]' and self.last_error: - # twisted stack trace line clean_line = " ".join(line.split(" ")[6:]) self.last_error.trace = self.last_error.trace + clean_line else: diff --git a/bin/nova-objectstore b/bin/nova-objectstore index 1aef3a255..4d5aec445 100755 --- a/bin/nova-objectstore +++ b/bin/nova-objectstore @@ -18,7 +18,7 @@ # under the License. """ - Twisted daemon for nova objectstore. Supports S3 API. + Daemon for nova objectstore. Supports S3 API. """ import gettext |
