Bug 1869370

Summary: Support JSON requests to IPA
Product: [Fedora] Fedora Reporter: Rob Crittenden <rcritten>
Component: certmongerAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mharmsen, nalin, pcech, rcritten
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: certmonger-0.79.13-1.fc33 certmonger-0.79.13-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-29 01:05:17 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 Rob Crittenden 2020-08-17 17:54:39 UTC
Description of problem:

IPA 4.8.x currently supports both XML-RPC and JSON-RPC requests. There is a goal in IPA to completely deprecate XML-RPC. certmonger currently only supports XML-RPC so needs supported added for JSON-RPC.

certmonger needs supported added for JSON.

The endpoint is /ipa/json but is not currently set as a variable in default.conf.

certmonger should first try the JSON RPC URI and fall back to XML-RPC on a 404 before giving up altogether.

Version-Release number of selected component (if applicable):

certmonger-0.79.11-2.fc32

Comment 1 Rob Crittenden 2020-08-18 19:12:36 UTC
Related RHEL BZ https://bugzilla.redhat.com/show_bug.cgi?id=1869609

Comment 2 Rob Crittenden 2020-10-05 20:21:49 UTC
Upstream PR https://pagure.io/certmonger/pull-request/167

Comment 3 Rob Crittenden 2020-10-05 20:22:50 UTC
master:

eda1134a9db1246eb8a24e0e01cfe1fcbff10729
94dfc2f31b439db37b67d58e635169c29a4f8dde
dd8dcb899e0a159d1141b713993805565ffb6d28
fdc2851233f532eb78363784712c597c63e1c4c1
4347ce74b0001c002cb449b8dd63819634e980ae
aedf7f646f28d58c6bc422423401c1d0eb31ee75
1de7c2e7d4f3557bb45b9526016b766c7119c6ad

Comment 4 Fedora Update System 2020-10-05 20:25:14 UTC
FEDORA-2020-ad31de1d5b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad31de1d5b

Comment 5 Fedora Update System 2020-10-05 20:25:15 UTC
FEDORA-2020-6801a8fbcd has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6801a8fbcd

Comment 6 Fedora Update System 2020-10-06 01:15:34 UTC
FEDORA-2020-6801a8fbcd has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6801a8fbcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6801a8fbcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-10-06 01:25:22 UTC
FEDORA-2020-ad31de1d5b has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ad31de1d5b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad31de1d5b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-10-21 01:00:57 UTC
FEDORA-2020-6801a8fbcd has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6801a8fbcd

Comment 9 Fedora Update System 2020-10-21 01:02:41 UTC
FEDORA-2020-ad31de1d5b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad31de1d5b

Comment 10 Fedora Update System 2020-10-21 21:31:55 UTC
FEDORA-2020-6801a8fbcd has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6801a8fbcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6801a8fbcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-10-29 01:05:17 UTC
FEDORA-2020-6801a8fbcd has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-10-29 01:12:31 UTC
FEDORA-2020-ad31de1d5b has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.