RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1821787 - nm-cloud-setup: add support for Google Cloud load-balancing routes
Summary: nm-cloud-setup: add support for Google Cloud load-balancing routes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.0
Assignee: Antonio Cardace
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1623084 1807630
TreeView+ depends on / blocked
 
Reported: 2020-04-07 15:50 UTC by Thomas Haller
Modified: 2020-11-04 01:55 UTC (History)
13 users (show)

Fixed In Version: NetworkManager-1.26.0-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:49:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4499 0 None None None 2020-11-04 01:50:19 UTC

Description Thomas Haller 2020-04-07 15:50:56 UTC
$SUBJECT.

More details at upstream bug https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/407

Comment 1 Antonio Cardace 2020-06-18 16:46:24 UTC
MR up for review: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/546.

Tested on Google Cloud Platform VMs with a configured load balancer.

Comment 8 Vladimir Benes 2020-09-01 12:23:32 UTC
As Wei Shi <wshi> wrote:

forwarded_ip (in metadata) will be set to the Frontend IP (LB) after the load balancer is created,

# curl --silent -L -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/forwarded-ips/0"
10.1.2.99

---

The configure steps I used to mimic the LB setup:
https://cloud.google.com/load-balancing/docs/internal/setting-up-internal#configure-test-environment

Image: RHEL-8.3.0-Snapshot-2.0 (NetworkManager-cloud-setup-1.26.0-6.el8.x86_64)

After LB is created, forwarded_ip in metadata will be set.
# curl --silent -L -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/forwarded-ips/0"
10.1.2.99

stop nginx on all machines except vm-a1

Connect to the iLB addr will get error:
vm-client:~# curl http://10.1.2.99
curl: (7) Failed to connect to 10.1.2.99 port 80: Connection refused

Uncomment "Environment=NM_CLOUD_SETUP_GCP=yes" in /lib/systemd/system/nm-cloud-setup.service

vm-a1# systemctl restart nm-cloud-setup

vm-a1# ip route show table local
...
local 10.1.2.99 dev eth0 proto static scope host metric 100
...

Connect to the iLB addr will get the nginx sample page on vm-a1:
vm-client:~# curl http://10.1.2.99
HTTP/1.1 200 OK
...
...

Comment 11 errata-xmlrpc 2020-11-04 01:49:42 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 (NetworkManager bug fix and enhancement 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.

https://access.redhat.com/errata/RHBA-2020:4499


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