RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1813845 - [RFE] HTTP/REST API for podman
Summary: [RFE] HTTP/REST API for podman
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2020-06-15
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.3
Assignee: Tom Sweeney
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks: 1186913 1804543 1956608
TreeView+ depends on / blocked
 
Reported: 2020-03-16 09:52 UTC by Ranjith Rajaram
Modified: 2023-12-15 17:31 UTC (History)
15 users (show)

Fixed In Version: podman 2.0.0-rc5 or newer
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:05:13 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ranjith Rajaram 2020-03-16 09:52:01 UTC
1. Proposed title of this feature request

A simpler API implementation based on HTTP/REST for podman 

2. What is the nature and description of the request?

podman in RHEL7 does not have a way to be monitored or managed via API's like docker. 

Proposal included in the below url fits well for the need
https://podman.io/blogs/2020/01/17/podman-new-api.html

3. Why does the customer need this? (List the business requirements here)

Customer currently uses docker and manages containers via API's. Lack of API support for podman is considered as a limitation in the adoption of podman

4. How would the customer like to achieve this? (List the functional requirements here)

A simpler API implementation based on HTTP/REST. It should be mostly compatible or similar to the functionality that docker provides 

5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

API Endpoints will be accessed to gather information about running containers and images etc. Also the same end point would be used to manage containers.

6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
https://podman.io/blogs/2020/01/17/podman-new-api.html

7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

RHEL7

8. List any affected packages or components.

podman

9. Would the customer be able to assist in testing this functionality if implemented?

Yes

Comment 7 Derrick Ornelas 2020-03-19 14:21:52 UTC
As Red Hat Enterprise Linux 7 is now in its Maintenance Support 1 phase[1] no new software functionality is planned.  We are moving this request to Red Hat Enterprise Linux 8 where it may be considered for inclusion in a future minor release.  

[1]
https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_1_Phase

Comment 9 Daniel Walsh 2020-03-20 15:08:44 UTC
The current goal for the API is podman 2.0.0 which will ship on RHEL8.3.  Although we will release a version in RHEL8.2.1

I don't see us releasing in RHEL7 at all at this point.  But you can take your argument up with Product Management.

Note RHEL7 is not going to be supported forever, and Docker will quickly fall out of favour for RHEL7 customers.

Comment 10 Tom Sweeney 2020-03-20 20:46:03 UTC
canceling needinfo based on Dan's response.

Comment 13 Tom Sweeney 2020-03-24 17:04:59 UTC
Based on discussions, closing as won't fix, at least at this time.

Comment 14 Daniel Walsh 2020-06-03 14:02:59 UTC
podman 2.0 will have support for this.

Comment 26 errata-xmlrpc 2020-11-04 03:05:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4694


Note You need to log in before you can comment on or make changes to this bug.