Fix: fake not implemented for commands
Change-Id: I703d562b2b70310859dfc16de82af86a126dc058 (cherry picked from commit d038b827f32dd72affc1e2875fb7e57129c256ec)
This commit is contained in:
parent
78a462dacd
commit
f0c29fe8e6
@ -4,7 +4,7 @@
|
||||
%global pypi_name timmy
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.24.0
|
||||
Version: 1.24.1
|
||||
Release: 1%{?dist}~mos0
|
||||
Summary: Log collector tool for OpenStack Fuel
|
||||
|
||||
@ -104,6 +104,12 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 6 2016 Alexander Lemeshko <oliemieshko@mirantis.com> - 1.24.1
|
||||
- Fix: fake not implemented for commands
|
||||
|
||||
* Tue Dec 6 2016 Alexander Lemeshko <oliemieshko@mirantis.com> - 1.24.0
|
||||
- Add: function analyze
|
||||
|
||||
* Mon Dec 5 2016 Dmitry Sutyagin <dsutyagin@mirantis.com> - 1.23.7
|
||||
- Add: collect haproxy stats
|
||||
|
||||
|
@ -131,6 +131,9 @@ def parser_init(add_help=False):
|
||||
action='store_true',
|
||||
help=('Only collect logs, do not run commands or'
|
||||
' collect files.'))
|
||||
parser.add_argument('--fake',
|
||||
help='Do not run commands and scripts',
|
||||
action='store_true')
|
||||
parser.add_argument('--fake-logs',
|
||||
help='Do not collect logs, only calculate size.',
|
||||
action='store_true')
|
||||
@ -320,7 +323,8 @@ def main(argv=None):
|
||||
pretty_run(args.quiet, 'Uploading files', nm.put_files)
|
||||
if nm.has(Node.ckey, Node.skey):
|
||||
pretty_run(args.quiet, 'Executing commands and scripts',
|
||||
nm.run_commands, args=(args.maxthreads,))
|
||||
nm.run_commands, kwargs={'maxthreads': args.maxthreads,
|
||||
'fake': args.fake})
|
||||
if conf['analyze']:
|
||||
pretty_run(args.quiet, 'Analyzing outputs', analyze,
|
||||
args=[nm])
|
||||
|
@ -16,7 +16,7 @@
|
||||
# under the License.
|
||||
|
||||
project_name = 'timmy'
|
||||
version = '1.24.0'
|
||||
version = '1.24.1'
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user