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

Improve error message "Not all nodes are accounted for in the --node-disks dictionary" #10

Open
jarcec opened this issue Oct 29, 2017 · 0 comments

Comments

@jarcec
Copy link

jarcec commented Oct 29, 2017

As it stands today one has to open the source code in order to understand what does this error mean:

ubuntu@ip-172-31-12-226:~$ clusterdock start topology_mapr --namespace streamsets --node-disks='{node-1:[/dev/xvdb],node-2:[/dev/xvdc],node-3:[/dev/xvdd]}' --predictable --mapr-version 5.2.2 --mep-version 3.0.1
Traceback (most recent call last):
  File "/usr/local/bin/clusterdock", line 9, in <module>
    load_entry_point('clusterdock==1.2.0', 'console_scripts', 'clusterdock')()
  File "/usr/local/lib/python3.5/dist-packages/clusterdock/cli.py", line 175, in main
    action.main(args)
  File "/home/ubuntu/topology_mapr/start.py", line 41, in main
    raise Exception('Not all nodes are accounted for in the --node-disks dictionary')
Exception: Not all nodes are accounted for in the --node-disks dictionary

Would it make sense to perhaps improve the error message and say what nodes are missing or extra?

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