Description of problem: [root@preethi ~]# rpm -q pulp pulp-0.0.119-1.fc14.noarch If you log out using pulp-admin auth logout pulp-admin commands such as repo list, package list etc works without asking for username & password. I have even manually deleted /root/.pulp
In order to view repo list you either need to be logged in as admin or you should have a consumer. When you logout, you only remove admin credentials, but you still have consumer in /etc/pki/consumer. If I remove just admin: # pulp-admin auth logout User credentials removed from [/root/.pulp] # pulp-admin repo list Label bar123 Name bar123 FeedURL None FeedType None Arch noarch Sync Schedule None Packages 0 Files 0 Distributions None Publish True Clones [] Groups ['A'] Now if I remove consumer as well: # rm -f /etc/pki/consumer/* # pulp-admin repo list No valid credentials found So this is working as designed imo. Moving to QA.
verified. I agree with the above comment [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos /pulp/api/consumers/preethi.usersys.redhat.com/repoids/ Additional info {} [root@preethi ~]# pulp-admin auth logout User credentials removed from [/root/.pulp] [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Label feedles Name feedless FeedURL None FeedType None Arch noarch Sync Schedule None Packages 0 Files 0 Distributions None Publish True Clones [] Groups None Label local Name local FeedURL file:///var/www/html/local-repo/ FeedType local Arch noarch Sync Schedule None Packages 1 Files 0 Distributions None Publish True Clones [] Groups None Label upload Name upload FeedURL None FeedType None Arch noarch Sync Schedule None Packages 2 Files 0 Distributions None Publish True Clones [] Groups None Label f13 Name f13 FeedURL http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 3102 Files 0 Distributions ks-f13-x86_64 Publish True Clones [] Groups None [root@preethi ~]# pulp-admin consumer delete Successfully deleted consumer [preethi.usersys.redhat.com] [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo list No valid credentials found [root@preethi ~]#
Closing with Community Release 15 pulp-0.0.223-4.