Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain why "lago ovirt stop" fails #30

Open
gbenhaim opened this issue Nov 14, 2017 · 0 comments
Open

Explain why "lago ovirt stop" fails #30

gbenhaim opened this issue Nov 14, 2017 · 0 comments
Labels

Comments

@gbenhaim
Copy link
Member

This is the current stack trace.
We shouldn't show it to the user. Instead, we need to explain why the operation failed,
and what needs to be done in order to run it again successfully.

@ Stopping oVirt environment: ERROR (in 0:05:25)
Error occured, aborting
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 362, in do_run
self.cli_plugins[args.ovirtverb].do_run(args)
File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run
self._do_run(**vars(args))
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 501, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 512, in wrapper
return func(*args, prefix=prefix, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 294, in do_ovirt_stop
prefix.virt_env.engine_vm().stop_all_hosts()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 148, in wrapped_func
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 446, in stop_all_hosts
testlib.assert_true_within(_host_is_maint, timeout=timeout)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 263, in assert_true_within
assert_equals_within(func, True, timeout, allowed_exceptions)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 237, in assert_equals_within
'%s != %s after %s seconds' % (res, value, timeout)
AssertionError: None != True after 300 seconds

@gbenhaim gbenhaim added the bug label Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant