Status: New
Owner: ----

New issue 271 by [email protected]: "# gnt-node migrate NODE" not working as expected
http://code.google.com/p/ganeti/issues/detail?id=271

What software version are you running? Please provide the output of "gnt-cluster --version" and "gnt-cluster version".
gnt-cluster (ganeti v2.6.0) 2.6.0
Software version: 2.6.0
Internode protocol: 2060000
Configuration format: 2060000
OS api version: 20
Export interface: 0

What distribution are you using?
Gentoo
vanilla-kernel 3.5.3

What steps will reproduce the problem?
1. gnt-node migrate node2

What is the expected output?
Human readable error message with parameters documented in '$ man gnt-node'. I have no clue why I get this error message.

What do you see instead?

myhost ~ # gnt-node migrate node2
Traceback (most recent call last):
  File "/usr/sbin/gnt-node", line 21, in <module>
    sys.exit(main.Main())
File "/usr/lib64/python2.7/site-packages/ganeti/client/gnt_node.py", line 1103, in Main
    env_override=_ENV_OVERRIDE)
File "/usr/lib64/python2.7/site-packages/ganeti/cli.py", line 2222, in GenericMain func, options, args = _ParseArgs(sys.argv, commands, aliases, env_override) File "/usr/lib64/python2.7/site-packages/ganeti/cli.py", line 1552, in _ParseArgs
    usage="%%prog %s %s" % (cmd, usage))
  File "/usr/lib64/python2.7/optparse.py", line 1219, in __init__
    add_help=add_help_option)
File "/usr/lib64/python2.7/optparse.py", line 1261, in _populate_option_list
    self.add_options(option_list)
  File "/usr/lib64/python2.7/optparse.py", line 1039, in add_options
    self.add_option(option)
  File "/usr/lib64/python2.7/optparse.py", line 1020, in add_option
    self._check_conflict(option)
  File "/usr/lib64/python2.7/optparse.py", line 995, in _check_conflict
    option)
optparse.OptionConflictError: option --priority: conflicting option string(s): --priority

Reply via email to