Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1533814 - GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks shows all networks in a datacenter
Summary: GET /api/compute_resources/:id/available_clusters/:cluster_id/available_netwo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.2.13
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: 6.6.0
Assignee: Chris Roberts
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-12 09:57 UTC by Beat Rubischon
Modified: 2023-03-24 13:57 UTC (History)
7 users (show)

Fixed In Version: foreman-1.22.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:50:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1489516 0 medium CLOSED List only the data stores under a selected vmware cluster while provisioning a host instead of entire datacenter. 2021-09-09 12:35:19 UTC

Description Beat Rubischon 2018-01-12 09:57:37 UTC
Description of problem:

The API documentation describes an API call to get the networks attached to a VMware cluster:
GET /api/compute_resources/:id/available_clusters/:cluster_id/available_networks
List available networks for a compute resource cluster

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

Satellite 6.2.x

How reproducible:

always

Steps to Reproduce:
1. Create a network in VCenter on Cluster level
2. Query Satellite API

Actual results:

All networks on Datacenter level are listet

Expected results:

Networks on Cluster level are listet

Additional info:

Comment 3 Ondřej Ezr 2019-08-02 08:06:40 UTC
This has been fix in a scope of other BZ - https://bugzilla.redhat.com/show_bug.cgi?id=1489516 and is fixed in Satellite 6.6

Comment 7 Lukáš Hellebrandt 2019-10-02 12:01:42 UTC
Verified with Sat 6.6 snap 23.

Used reproducer from OP, there are only networks in cluster X when listing networks through the "GET /api/compute_resources/:id/available_clusters/X/available_networks" endpoint.

Comment 8 Bryan Kearney 2019-10-22 19:50:41 UTC
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, 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-2019:3172


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