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

juju sync-watch throws stacktrace consistently when working with subordinate units #56

Open
lazypower opened this issue Apr 29, 2015 · 0 comments

Comments

@lazypower
Copy link
Contributor

charles@xps13:~/projects/work/charms/trusty/flannel$ juju sync-watch flannel/1
Watching ....
Updating flannel/1
Traceback (most recent call last):
File "/home/charles/.juju-plugins/juju-sync-watch", line 190, in
changes = watch(opts.unit, opts.charm_dir, opts.retry, opts.quiet)
File "/home/charles/.juju-plugins/juju-sync-watch", line 115, in watch
handler.dispatch_update()
File "/home/charles/.juju-plugins/juju-sync-watch", line 98, in dispatch_update
if retry and unit_in_error(unit_name):
File "/home/charles/.juju-plugins/juju-sync-watch", line 132, in unit_in_error
unit = env.status()['Services'][service_name]['Units'][unit_name]
TypeError: 'NoneType' object has no attribute 'getitem'
ERROR subprocess encountered error code 1

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