Bug 1753806

Summary: [RFE] Enhance api to allow configuration of region, zones, and servers
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: APIAssignee: Daniel Berger <dberger>
Status: CLOSED NOTABUG QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.8CC: dberger, dmetzger, mpovolny, obarenbo, pvala, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1805844 (view as bug list) Environment:
Last Closed: 2020-03-20 15:44:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1805844    

Comment 2 Martin Povolny 2019-10-17 17:53:07 UTC
Advanced settings for Servers, Zones, Regions can be modified.

Here's the documentation:

https://www.manageiq.org/docs/reference/latest/api/reference/settings

You are right that is't now advertised in the output.


Unfortunately I can confirm that the collections themselves do not allow editing.

Comment 3 Martin Povolny 2019-10-17 17:53:55 UTC
> You are right that is't now advertised in the output.

You are right that is't NOT advertised in the output.

Comment 4 Daniel Berger 2019-10-18 13:58:03 UTC
You can currently modify the advanced settings with a request like so, assuming you have admin privileges:

curl --user admin:smartvm -X PATCH --data '{"api":{"authentication_timeout":"44.seconds"}}' http://localhost:3000/api/regions/1/settings

I'll see about adding create/edit/delete for regions, servers and zones directly, as that does not appear to be possible.

Comment 5 Daniel Berger 2019-10-23 13:49:32 UTC
Part 1 complete: https://github.com/ManageIQ/manageiq-api/pull/690

Comment 6 Dave Johnson 2019-12-18 15:01:43 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 8 Daniel Berger 2019-12-18 15:54:09 UTC
Actually, I guess target release is GA, so no backporting required.

Moving to POST.

Comment 10 Satoe Imaishi 2020-02-27 20:53:09 UTC
Remove ability to delete a region - https://github.com/ManageIQ/manageiq-api/pull/758