Hello all!
My config is
VERSION: 4.4.0, API_VERSION: 2.213
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-514.16.1.el7.x86_64
Architecture: x86-64
For load test purpose i wrote script to automate user-creation in freeipa.
I use kinit and user-add in simple bash while do
#To obtain rights
kinit admin <<EOF
$admpass
EOF
ipa user-add $user --first=$name --last=$soname --password <<EOF
$pass
EOF
#To activate user (without web ui)
kinit $user <<EOF
$pass
$pass
$pass
EOF
After creation (and activation) about 3600 users (i run my script in 5-6 tty's at same time) something happened and script failed (with following error in all tty's)
Now, user-add (after kinit admin)
ipa user-add some-user --first=some --last=user --password
returns:
ipa: ERROR: ValueError: Extra data: line 1 column 81 - line 1 column 82 (char 80 - 81)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1348, in run api.finalize()
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 707, in finalize self.__do_if_not_done('load_plugins')
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 422, in __do_if_not_done getattr(self, name)()
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 585, in load_plugins for package in self.packages:
File "/usr/lib/python2.7/site-packages/ipalib/__init__.py", line 919, in packages ipaclient.remote_plugins.get_package(self),
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py",line 112, in get_package server_info = ServerInfo(api)
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 39, in __init__ self._read()
File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 44, in _read self._dict = json.load(sc)
File "/usr/lib64/python2.7/json/__init__.py", line 290, in load **kw)
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 369, in decode raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 81 - line 1 column 82 (char 80 - 81)
Other user related command also fails ( ipa user-find. user-mod etc).
Any suggestion what's going wrong and how to diagnose and fix it?