Bug 1533057 - Unable to fetch the list of cloud volumes through API
Summary: Unable to fetch the list of cloud volumes through API
Keywords:
Status: CLOSED DUPLICATE of bug 1462269
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Tim Wade
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1551709
TreeView+ depends on / blocked
 
Reported: 2018-01-10 11:45 UTC by Imaan
Modified: 2021-09-09 13:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-13 17:55:52 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Imaan 2018-01-10 11:45:56 UTC
Description of problem:

Not able to fetch the cloud volumes via normal user through API.

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

Verified in CFME version 5.8.1 and 5.8.2 
 
How reproducible:

Always

Steps to Reproduce:


1. Add openstack provider.

   Go to Compute-> Clouds-> Providers-> Configuration-> Add new cloud provider

2. Add cloud volume.

   Go to Storage-> Block Storage-> Volumes-> Configuration-> Add a new cloud volume

3. Fire the query through api :

Query: https://<IP>/api/cloud_volumes/1

Actual results:

{"error":{"kind":"forbidden","message":"Use of the read action is forbidden","klass":"Api::ForbiddenError"}}

Expected results:

It should display the cloud volume information via normal user through API.

Additional info:

Able to fetch the information via admin user.

Comment 4 Gregg Tanzillo 2018-01-10 14:41:48 UTC
Tim, can you take a look at this one? I think it may be a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1462269.

Comment 6 Tim Wade 2018-03-13 17:55:52 UTC
I believe this is a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1462269 as Gregg suggested above. Here's a link to the PR that fixed it: https://github.com/ManageIQ/manageiq-api/pull/254. Closing as a dup

*** This bug has been marked as a duplicate of bug 1462269 ***


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