Bug 1645749
Summary: | repositories controller responds with 200 instead of 201 to a POST request | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Roman Plevka <rplevka> |
Component: | API - Content | Assignee: | Swetha Seelam <sseelaml> |
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | bkearney, chrobert, egolov, rplevka |
Target Milestone: | 6.8.0 | Keywords: | EasyFix, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-3.15.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 12:57:59 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
Roman Plevka
2018-11-03 10:30:30 UTC
Roman, is this a change in behavior from 6.4? (In reply to Brad Buckingham from comment #2) > Roman, is this a change in behavior from 6.4? No, it is not as far as I remember. However, the behavior is inconsistent with POSTing to other endpoints. Also it made us to do workarounds in our automation. I'd like to have this sorted out finally, It should be a trivial fix. The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you. Connecting redmine issue https://projects.theforeman.org/issues/28219 from this bug Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Upstream bug assigned to sseelaml Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28219 has been resolved. VERIFIED on sat6.8.0-5 # curl -vvvsku admin:changeme -H "Content-type: application/json" -d '{"content_type": "yum", "url": "http://inecas.fedorapeople.org/fakerepos/zoo2/", "name": "pokus2", "product_id": 1}' https://$(hostname)/katello/api/v2/repositories ... < Date: Wed, 24 Jun 2020 11:13:43 GMT < Server: Apache < Foreman_version: 2.1.0-develop < Foreman_api_version: 2 ... 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 (Important: Satellite 6.8 release), 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:4366 |