'[object Object]' error attempting to edit Load Balancing or Service Discovery resource YAMLs via the UI in Rancher v2.1.7 - v2.2.3

This document (000020228) is provided subject to the disclaimer at the end of this document.

Situation

Issue

Selecting View/Edit YAML on Load Balancing (Ingress) or Service Discovery (Service) resources in the Rancher UI for Rancher v2.1.7 - v2.2.3 fails to display the resource YAML and displays an error [object Object] per the screenshot below.

Load Balancing and Service Discovery Edit YAML error in Rancher v2.1.7 - v2.2.3

Pre-requisites

  • This issue is only applicable to Rancher v2.1.x, starting with v2.1.7, and Rancher v2.2.x, from Rancher v2.2.0 to Rancher v2.2.3

Root Cause

Issue was caused by an incorrect content-length header returned by the Rancher API for gzipped responses (GitHub Issue #19723) and was patched in Rancher v2.2.4.

Workaround

In affected versions of Rancher it is still possible to edit the YAML of Load Balancing (Ingress) or Service Discovery (Service) resources by using the kubectl CLI.

Resolution

Users should upgrade to Rancher v2.2.4 or above to resolve the issue.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020228
  • Creation Date: 06-May-2021
  • Modified Date:06-May-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center