Bug 1936528 - Documentation is referencing deprecated API for Service Export - Submariner
Summary: Documentation is referencing deprecated API for Service Export - Submariner
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Submariner
Version: rhacm-2.2
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
: rhacm-2.2.2
Assignee: Nir Yechiel
QA Contact: Eveline Cai
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-08 17:08 UTC by rcarrata
Modified: 2021-04-13 00:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-13 00:09:48 UTC
Target Upstream Version:
Embargoed:
gghezzo: rhacm-2.2.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 10230 0 None None None 2021-03-08 19:42:34 UTC
Red Hat Product Errata RHSA-2021:1168 0 None None None 2021-04-13 00:10:52 UTC

Description rcarrata 2021-03-08 17:08:57 UTC
Description of problem:

After the proper installation of the Submariner Addon following the https://red.ht/38CuIcT guide for ACM 2.2, there is an example for the definition of the ServiceExport in order to enable Service Discovery for Submariner that have a deprecated API and failed when you create the object in the RHACM v2.2:

```
# oc --context=hubcluster apply -f service-export-cluster1.yaml

error: unable to recognize "service-export-cluster1.yaml": no matches for kind "ServiceExport" in version "lighthouse.submariner.io/v2alpha1"
```

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

2.2

How reproducible: Install submariner in a RHACM v2.2 and try to add an object with the lighthouse.submariner.io/v2alpha1 API version as the documentation says:

apiVersion: lighthouse.submariner.io/v2alpha1
kind: ServiceExport
metadata:
  name:  nginx
  namespace: default

Install 

Steps to Reproduce:
1. Install RHACM 2.2
2. Install submariner following the official docs (https://red.ht/38CuIcT). 
3. Deploy the Service Proxy object with the example that is in the official docs

Actual results:

error: unable to recognize "service-export-cluster1.yaml": no matches for kind "ServiceExport" in version "lighthouse.submariner.io/v2alpha1"

Expected results:

Created the service export object and connect the two services through submariner ipsec tunnels.

Additional info:

Comment 6 errata-xmlrpc 2021-04-13 00:09:48 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 (Important: Red Hat Advanced Cluster Management 2.2.2 security and bug fix 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/RHSA-2021:1168


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