TTL should have a default, same with TYPE?

Bug #1085029 reported by Endre Karlson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Undecided
Unassigned

Bug Description

moniker record-create 5e8f9ebd-84b2-4d38-ba0c-2494b754ef00 --name test.super.local --type A --data '172.16.55.2' --debug
(.venv)root@svc01:~/python-monikerclient# moniker record-create 5e8f9ebd-84b2-4d38-ba0c-2494b754ef00 --name test.super.local --type A --data '172.16.55.2' --debug
Validation Error: None is not of type u'integer'
Traceback (most recent call last):
  File "/root/moniker/.venv/local/lib/python2.7/site-packages/cliff/app.py", line 249, in run_subcommand
    result = cmd.run(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/base.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/root/moniker/.venv/local/lib/python2.7/site-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/base.py", line 64, in take_action
    results = self.execute(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/records.py", line 71, in execute
    ttl=parsed_args.ttl,
  File "/root/python-monikerclient/monikerclient/warlock.py", line 58, in __init__
    raise ValueError('Validation Error: %s' % str(e))
ValueError: Validation Error: None is not of type u'integer'
Traceback (most recent call last):
  File "/root/moniker/.venv/bin/moniker", line 7, in <module>
    execfile(__file__)
  File "/root/python-monikerclient/bin/moniker", line 21, in <module>
    sys.exit(shell.run(sys.argv[1:]))
  File "/root/moniker/.venv/local/lib/python2.7/site-packages/cliff/app.py", line 191, in run
    result = self.run_subcommand(remainder)
  File "/root/moniker/.venv/local/lib/python2.7/site-packages/cliff/app.py", line 249, in run_subcommand
    result = cmd.run(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/base.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/root/moniker/.venv/local/lib/python2.7/site-packages/cliff/display.py", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/base.py", line 64, in take_action
    results = self.execute(parsed_args)
  File "/root/python-monikerclient/monikerclient/cli/records.py", line 71, in execute
    ttl=parsed_args.ttl,
  File "/root/python-monikerclient/monikerclient/warlock.py", line 58, in __init__
    raise ValueError('Validation Error: %s' % str(e))
ValueError: Validation Error: None is not of type u'integer'

Kiall Mac Innes (kiall)
Changed in moniker:
status: New → Fix Committed
Kiall Mac Innes (kiall)
Changed in moniker:
milestone: none → grizzly-1
Kiall Mac Innes (kiall)
Changed in designate:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.