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

running 'lago ovirt status' after 'lago ovirt stop' hangs #37

Open
gbenhaim opened this issue Mar 4, 2018 · 0 comments
Open

running 'lago ovirt status' after 'lago ovirt stop' hangs #37

gbenhaim opened this issue Mar 4, 2018 · 0 comments

Comments

@gbenhaim
Copy link
Member

gbenhaim commented Mar 4, 2018

Trying to run the lago demo tool with the following commands ( after extracting the image ) works:

lago init
lago ovirt start --with-vm
lago ovirt status
lago stop
But when running 'lago ovirt status' after the env is stopped, the commands hangs and eventually I had to run CTRL-C to stop it, got this exception:

lago ovirt status
Error occured, aborting
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 325, 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 211, in do_ovirt_status
prefix.virt_env.engine_vm().status()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 145, in wrapped_func
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 463, in status
api = self.get_api_v4(check=True)
File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 301, in get_api_v4
self._api_v4 = self._get_api(api_ver=4)
File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 281, in _get_api
raise RuntimeError('test api call failed')
RuntimeError: test api call failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant