#6037 Traceback on adding default automember group and hostgroup set
Closed: Fixed None Opened 3 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1352883

Description of problem:

[root@dhcp207-129 ipa-automember-cli]# ipa group-add --desc="Default Group"
"defgroup"
----------------------
Added group "defgroup"
----------------------
  Group name: defgroup
  Description: Default Group
  GID: 743400079
[root@dhcp207-129 ipa-automember-cli]# ipa automember-default-group-set
--type=group --default-group=defgroup
ipa: ERROR: non-public: TypeError:
automember_default_group_set.validate_output():
  output['value']: need (<type 'NoneType'>,); got <type 'unicode'>: u'group'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 137, in
execute
    result = self.Command[_name](*args, **options)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 447, in
__call__
    return self.__do_call(*args, **options)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 486, in
__do_call
    self.validate_output(ret, options['version'])
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 993, in
validate_output
    nice, o.name, o.type, type(value), value)
TypeError: automember_default_group_set.validate_output():
  output['value']: need (<type 'NoneType'>,); got <type 'unicode'>: u'group'
ipa: ERROR: an internal error has occurred
[root@dhcp207-129 ipa-automember-cli]#

Same for hostgroup set too.

Version-Release number of selected component (if applicable):
[root@dhcp207-129 ipa-automember-cli]# rpm -q ipa-server
ipa-server-4.4.0-1.el7.x86_64
[root@dhcp207-129 ipa-automember-cli]#

How reproducible:
Always

Steps to Reproduce:
1. See description

Actual results:
Addition of default automember group/hostgroup set failed

Expected results:
Addition of default automember group/hostgroup set should have been successful

master:

  • f0a6154 allow 'value' output param in commands without primary key

Metadata Update from @pvoborni:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4.1

2 years ago

Login to comment on this ticket.

Metadata