Project

Profile

Help

Issue #4425

Updated by ttereshc almost 6 years ago

Hi, 

 By mistake I've added two users with the same login (oddly Pulp accepted this)  
 <pre> 
 pulp-admin auth user create --login fjorg1 --name anyname1 
 pulp-admin auth user create --login fjorg1 --name anyname2 
 </pre> 

 and now when I'm trying to remove one them I'm getting the following error message: 

 <pre><code class="python"> 
 pulp-admin auth user delete --login fjorg1 
 An internal error occurred on the Pulp server: 

 RequestException: DELETE request 
 on /pulp/api/v2/users/fjorg1/ failed with 500 - 2 items returned, instead of 1 
 </code></pre> 


 I have a monolithic installation with the following packages installed: 

 python-pulp-repoauth-2.18.0-2.el7.noarch 
 python-pulp-rpm-common-2.18.0-1.el7.noarch 
 pulp-rpm-plugins-2.18.0-1.el7.noarch 
 pulp-puppet-tools-2.18.0-1.el7.noarch 
 pulp-ostree-admin-extensions-1.3.1-1.el7.noarch 
 python-pulp-deb-common-1.8.0-1.el7.noarch 
 pulp-docker-plugins-3.2.2-1.el7.noarch 
 pulp-rpm-admin-extensions-2.18.0-1.el7.noarch 
 python-pulp-common-2.18.0-2.el7.noarch 
 python-pulp-oid_validation-2.18.0-2.el7.noarch 
 python-pulp-python-common-2.0.3-1.el7.noarch 
 pulp-selinux-2.18.0-2.el7.noarch 
 pulp-server-2.18.0-2.el7.noarch 
 pulp-python-plugins-2.0.3-1.el7.noarch 
 pulp-puppet-admin-extensions-2.18.0-1.el7.noarch 
 pulp-python-admin-extensions-2.0.3-1.el7.noarch 
 python-pulp-puppet-common-2.18.0-1.el7.noarch 
 python-pulp-docker-common-3.2.2-1.el7.noarch 
 libsolv-0.6.34-2.pulp.el7.x86_64 
 pulp-deb-plugins-1.8.0-1.el7.noarch 
 python-pulp-client-lib-2.18.0-2.el7.noarch 
 pulp-deb-admin-extensions-1.8.0-1.el7.noarch 
 python-pulp-ostree-common-1.3.1-1.el7.noarch 
 python2-solv-0.6.34-2.pulp.el7.x86_64 
 pulp-ostree-plugins-1.3.1-1.el7.noarch 
 pulp-admin-client-2.18.0-2.el7.noarch 
 pulp-puppet-plugins-2.18.0-1.el7.noarch 
 python-pulp-bindings-2.18.0-2.el7.noarch 
 pulp-docker-admin-extensions-3.2.2-1.el7.noarch 

 Please, can you help to sort this small issue, which is very important for me because it blocks the user to use the pulp-admin. The user can't login. 

Back