Bug 1323921
Summary: | allow bkr workflow command dry runs without authenticating | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | command line | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | dcallagh, dowang, jburke, jjaburek, mjia, rjoost |
Target Milestone: | 23.0 | Keywords: | FutureFeature, Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-07 23:11:34 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: |
Description
Dan Callaghan
2016-04-05 05:30:21 UTC
Jeff Burke sent me a patch for this. I realised there is a much simpler and more suitable solution here (and also less error prone)... We can add a bit of code which will just skip the authentication if your config has AUTH_METHOD="none". Then bkr will just proceed as normal, any calls which don't require authentication will succeed, and if you do try to do something which requires authentication like submitting a job you will just get an error saying "Anonymous access denied". It's a very unintrusive patch and it won't affect existing installations since it requires opting in by setting AUTH_METHOD="none". It also seems like the best option in this case, where there is a script running unattended and it has no Kerberos credentials. In that case there really is no possible authentication method to be used. Jeff, how does that sound to you? This bug fix is included in beaker-client-22.4-0.git.6.5613dcf which is currently available for download here: https://beaker-project.org/nightlies/release-22/ Hi All, Do you know when a version of beaker-client will be available to be installed. Thanks, Jeff At the moment we are not planning to do a 22.4 release since 23.0 is nearly ready. In the meantime you can grab the latest build from the release-22 nightlies repo mentioned in comment 4. Even though it's a git build, it's still identical to what would be released as 22.4 so it should be fine to use. This patch was merged to the release-22 branch but the next release will be 23.0. *** Bug 1214231 has been marked as a duplicate of this bug. *** Beaker 23.0 has been released. |