Bug 2047197 - Sould upgrade the operator_sdk.util version to "0.4.0" for the "osdk_metric" module
Summary: Sould upgrade the operator_sdk.util version to "0.4.0" for the "osdk_metric" ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.11.0
Assignee: Jesus M. Rodriguez
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-27 11:32 UTC by Fan Jia
Modified: 2022-08-10 10:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
N/A
Clone Of:
Environment:
Last Closed: 2022-08-10 10:44:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:44:38 UTC

Description Fan Jia 2022-01-27 11:32:29 UTC
Description of problem:
The default operator_sdk.util version of operators that generated by operator-sdk is "0.3.1". But the "osdk_metric" module is included in operator_sdk.util 0.4.0. Should update the default operator_sdk.util to "0.4.0".

Version-Release number of selected component (if applicable):
operator-sdk version: "v1.16.0-ocp", commit: "fedd2e9222038fa5e8221e513da1c62f0767d94a", kubernetes version: "v1.22", go version: "go1.17.4", GOOS: "linux", GOARCH: "amd64"

How reproducible:
always

Steps to Reproduce:
1.operator-sdk init --plugins=ansible --domain=metrics.com

Actual results:
1.$ cat requirements.yml 
---
collections:
  - name: community.kubernetes
    version: "1.2.1"
  - name: operator_sdk.util
    version: "0.3.1"
  - name: kubernetes.core
    version: "2.2.0"

Expected results:
$ cat requirements.yml 
---
collections:
  - name: community.kubernetes
    version: "1.2.1"
  - name: operator_sdk.util
    version: "0.4.0"
  - name: kubernetes.core
    version: "2.2.0"

Additional info:

Comment 4 Fan Jia 2022-04-07 06:50:35 UTC
operator-sdk version
operator-sdk version: "v1.18.1-ocp", commit: "eb7df29d845ba00cee6f662ab7604644786198b4", kubernetes version: "v1.22", go version: "go1.17.4", GOOS: "linux", GOARCH: "amd64"
cat requirements.yml 
---
collections:
  - name: community.kubernetes
    version: "1.2.1"
  - name: operator_sdk.util
    version: "0.4.0"
  - name: kubernetes.core
    version: "2.2.0"
  - name: cloud.common
    version: "2.1.0"

Comment 7 errata-xmlrpc 2022-08-10 10:44: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 (Important: OpenShift Container Platform 4.11.0 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.

https://access.redhat.com/errata/RHSA-2022:5069


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