Bug 985742

Summary: failed make bkradd by Anonymous access denied
Product: [Retired] Beaker Reporter: yanfu,wang <yanwang>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED NOTABUG QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: 0.13CC: asaha, dcallagh, llim, qwan, rglasz, rmancy, yanwang
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-18 07:25:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Nick Coghlan 2013-07-18 07:03:54 UTC
What does "bkr whoami" show? If you already have a valid Kerberos ticket from "kinit", the bkr client shouldn't be prompting you for your Kerberos password again.

Comment 3 yanfu,wang 2013-07-18 07:24:27 UTC
(In reply to Nick Coghlan from comment #1)
> What does "bkr whoami" show? If you already have a valid Kerberos ticket
> from "kinit", the bkr client shouldn't be prompting you for your Kerberos
> password again.

It's a little weird.
When I check, I got below info:
$ klist
Ticket cache: DIR::/run/user/1000/krb5cc_137a1f16108109006add95a951d6681d/tktL2PPV2
Default principal: yanwang

Valid starting     Expires            Service principal
07/18/13 14:45:40  07/19/13 00:45:40  krbtgt/REDHAT.COM
	renew until 07/18/13 14:45:40
$ bkr whoami
{'username': 'yanwang', 'email_address': 'yanwang'}

And I run 'sudo make bkradd' failed.

I switch to root and kinit again, then re-run OK now. I'm not sure if it's relate to sudo, but it's OK now.

Thanks for your quick reply, I'm closing it now.