Description of problem: Getting "operation failed error" while releasing/unregistering CDS Version-Release number of selected component (if applicable): 163 How reproducible: very frequent, facing same issue with two CDS servers Steps to Reproduce: 1. register CDS 2. associate repo 3. unassociate repo 4. unregister cds Actual results: [root@pulp-server ~]# pulp-admin -u admin -p admin cds unregister --hostname cds2.pnq.redhat.com error: operation failed: PulpException: u'CDS error encountered while attempting to release CDS [cds2.pnq.redhat.com]; check the server log for more information' Expected results: CDS should be unregistered successfully Additional info: [root@pulp-server ~]# tail -f /var/log/pulp/pulp.log File "/usr/lib/python2.6/site-packages/gofer/messaging/stub.py", line 142, in _send any=opts.any) File "/usr/lib/python2.6/site-packages/gofer/messaging/policy.py", line 126, in send return self.__getreply(sn) File "/usr/lib/python2.6/site-packages/gofer/messaging/policy.py", line 172, in __getreply return self.__onreply(envelope) File "/usr/lib/python2.6/site-packages/gofer/messaging/policy.py", line 188, in __onreply raise RemoteException.instance(reply) PulpException: u'CDS error encountered while attempting to release CDS [cds2.pnq.redhat.com]; check the server log for more information' And the .secret key has been removed from the /var/lib/pulp-cds/gofer directory.
Please comment with any errors on the CDS itself in /var/log/pulp/gofer.log (or /var/log/pulp-cds, I forget which).
Didn't find any error in gofer.log. See the output below: [root@cds2 pulp-cds]# ll total 4 -rw-r--r--. 1 root root 2039 Apr 15 17:30 gofer.log [root@cds2 pulp-cds]# tail -f /var/log/pulp-cds/gofer.log Received release call Removing old repo [/var/lib/pulp-cds/pub/rhel/released/RHEL-6/6.0/Server/x86_64/os] Received release call Removing old repo [/var/lib/pulp-cds/pub/rhel/released/RHEL-6/6.0/Server/x86_64/os]
I can't reproduce this on 0.166. I see the auth credentials for each associated repo being sent/saved on the CDS on each associate call and deleted on the unassociate. The unregister does not throw any errors and frees the CDS up to be re-registered again (I repeated the test more than once). It's possible it was fixed between 0.163 and 0.166. I'll be doing another build today, so I'm going to put this back to ON_QA to retest on the new build.
Verified CDS release on pulp 0.171 build and its working fine.. thanks
Closing with Community Release 15 pulp-0.0.223-4.