Bug 1952179 - OpenStack Provider Ports UI Underscore Variables
Summary: OpenStack Provider Ports UI Underscore Variables
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: egarcia
QA Contact: Itzik Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2021-04-21 17:10 UTC by egarcia
Modified: 2021-07-27 23:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-07-27 23:02:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-api-provider-openstack pull 178 0 None open Bug 1952179: Port Allowed Address Pairs UI 2021-04-21 17:13:30 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:02:40 UTC

Description egarcia 2021-04-21 17:10:58 UTC
Always Reproducable:

type PortOpts struct {
	NetworkID           string        `json:"networkID" required:"true"`
	NameSuffix          string        `json:"nameSuffix" required:"true"`
	Description         string        `json:"description,omitempty"`
	AdminStateUp        *bool         `json:"adminStateUp,omitempty"`
	MACAddress          string        `json:"macAddress,omitempty"`
	FixedIPs            []FixedIPs    `json:"fixedIPs,omitempty"`
	TenantID            string        `json:"tenantID,omitempty"`
	ProjectID           string        `json:"projectID,omitempty"`
	SecurityGroups      *[]string     `json:"securityGroups,omitempty"`
	AllowedAddressPairs []ports.AddressPair `json:"allowedAddressPairs,omitempty"`

using ports.AddressPair is problematic:
1. the interface is dictated by gophercloud and not in our control
2. the interfcae uses underscore variable names not camel case

Comment 5 Itzik Brown 2021-05-05 13:05:05 UTC
Same verification as in https://bugzilla.redhat.com/show_bug.cgi?id=1948546

Comment 8 errata-xmlrpc 2021-07-27 23:02:20 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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