Bug 1892653 - User is unable to create KafkaSource with v1beta
Summary: User is unable to create KafkaSource with v1beta
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.7.0
Assignee: Jaivardhan Kumar
QA Contact: Gajanan More
Harsh Mishra
URL:
Whiteboard:
Depends On:
Blocks: 1892695
TreeView+ depends on / blocked
 
Reported: 2020-10-29 12:02 UTC by Jaivardhan Kumar
Modified: 2021-02-24 15:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The console used a prior version of the `KafkaSource` object that used the `resources` and `service account` fields in their specification. The latest v1beta1 version of the `KafkaSource` object removed these fields, due to which the user was unable to create the `KafkaSource` object with the v1beta1 version. This issue has been fixed now and the user is able to create the `KafkaSource` object with the v1beta1 version.
Clone Of:
: 1892695 (view as bug list)
Environment:
Last Closed: 2021-02-24 15:29:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6828 0 None closed Bug 1892653: update kafkaSource v1beta1 spec to remove resources 2021-02-18 19:31:38 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:29:47 UTC

Description Jaivardhan Kumar 2020-10-29 12:02:34 UTC
Description of problem: User is unable to create KafkaSource with `v1beta` as resources / ServiceAccountName is spec is deprecated

https://github.com/knative/eventing-contrib/blob/master/kafka/source/pkg/apis/sources/v1alpha1/kafka_types.go#L89-L90
https://github.com/knative/eventing-contrib/blob/master/kafka/source/pkg/apis/sources/v1beta1/kafka_types.go

Prerequisites (if any, like setup, operators/versions):
Install Serverless operator, create CR for KnativeServing, KnativeEventing
Install knativa Kafka Operator, Install KEK CR in ns `knative-Eventing`

Steps to Reproduce
1. Created a ns
2. go to add - EventSources
3. Select KafkaSource
4. fill form data and click create


Actual results: Fails to create a kafkaSource with below error

Expected results: Should create a KafkaSource

Comment 1 Debsmita Santra 2020-10-29 12:10:33 UTC
verified on build 4.7.0-0.nightly-2020-10-27-051128

Comment 4 errata-xmlrpc 2021-02-24 15:29:18 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.7.0 security, 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/RHSA-2020:5633


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