Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1692688 - PUT request for cache refresh fails
Summary: PUT request for cache refresh fails
Keywords:
Status: POST
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Compute Resources
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-26 09:00 UTC by Vatsal Parekh
Modified: 2019-03-31 14:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Foreman Issue Tracker 26462 None None None 2019-03-27 07:26:32 UTC

Description Vatsal Parekh 2019-03-26 09:00:50 UTC
Description of problem:
PUT request for a compute resource fails with below error message
```
{
    "message": "Failed to refresh the cache."
}
```

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

How reproducible:


Steps to Reproduce:
1.Add a compute resource
2.PUT request for cache refresh
3.

Actual results:
Shown error msg

Expected results:
Should work or give proper error if not implemented

Additional info:

Comment 3 Shira Maximov 2019-03-26 12:48:42 UTC
It's not an action that supported in kubevirt compute resource.  you can change this BZ to a documentation bug,  the documentation should show to which compute resource this call is relevant for.

Comment 4 Vatsal Parekh 2019-03-27 06:07:07 UTC
This might not be just doc bug, when doing this cache refresh call, I get the mentioned error msg, but for other actions, for example 
GET https://<foreman>/api/compute_resources/:id/available_storage_domains
I get the following output, which should also come for refresh_cache is it's not implemented
{
    "error": {
        "message": "ERF42-7329 [Foreman::Exception]: Not implemented for KubeVirt"
    }
}

Comment 5 Shira Maximov 2019-03-27 07:25:31 UTC
This issue is relevant for all compute resources.

Comment 6 Shira Maximov 2019-03-27 07:26:31 UTC
Created redmine issue https://projects.theforeman.org/issues/26462 from this bug

Comment 7 Bryan Kearney 2019-03-31 14:00:25 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26462 has been resolved.


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