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

KeyError: 'Config variable clonejail not found' #40

Closed
gronke opened this issue Aug 28, 2017 · 1 comment
Closed

KeyError: 'Config variable clonejail not found' #40

gronke opened this issue Aug 28, 2017 · 1 comment
Labels

Comments

@gronke
Copy link
Member

gronke commented Aug 28, 2017

root@localhost:/usr/local/src/libiocage # ioc list
...
  File "/usr/local/bin/ioc", line 12, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/libiocage/cli/get.py", line 95, in cli
    value = jail.config["get_string"](key)
  File "/usr/local/lib/python3.6/site-packages/libiocage/lib/JailConfig.py", line 491, in get_string
    return self.__getitem__(key, string=True)
  File "/usr/local/lib/python3.6/site-packages/libiocage/lib/JailConfig.py", line 528, in __getitem__
    raise KeyError(f"Config variable {key} not found")
KeyError: 'Config variable clonejail not found'
@gronke gronke added the bug label Aug 28, 2017
@gronke
Copy link
Member Author

gronke commented Aug 29, 2017

Fixed on master

@gronke gronke closed this as completed Aug 29, 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