Bug 1720664
Summary: | Unable to change NIC configuration - update the host update API documentation | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Roman Bobek <rbobek> |
Component: | API | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | tstrych |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | ahumbe, apatel, dmatoule, fperalta, ktordeur, mhulan, tstrych, vijsingh, zhunting |
Target Milestone: | 6.10.0 | Keywords: | EasyFix, Reproducer, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-2.5.2.6-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 14:08:28 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 Bobek
2019-06-14 13:36:48 UTC
If I understand correctly, user is trying to use Host api to manipulate interfaces, which is usually hard due to correrctly defining all attributes. I'd recommend using the interfaces PAI enpoint directly, see apidoc for interfaces, e.g. GET /api/hosts/:host_id/interfaces Upstream bug assigned to ymakias Upstream bug assigned to ymakias Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/10236 has been resolved. Thanks mhulan for information. To sum up: when user tries to create new interface with host edit API endpoint, the separate NIC API endpoints should be used as mentioned in comment #3. Instead of the documentation update the error message was improved. If that is not enough, please let us know in separate bugzilla, and link this BZ to a new one. Verified with sat 6.10 snap 20. The new error message was shown. 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: Satellite 6.10 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-2021:4702 |