Bug 1842629 - Add run-resourcewatch command to openshift-tests binary
Summary: Add run-resourcewatch command to openshift-tests binary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-controller-manager
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.4.z
Assignee: Mike Dame
QA Contact: zhou ying
URL:
Whiteboard:
Depends On: 1842631
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-01 17:58 UTC by Mike Dame
Modified: 2020-07-06 20:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1842631 (view as bug list)
Environment:
Last Closed: 2020-07-06 20:47:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 25042 0 None closed Bug 1842629: [release-4.4] openshift-tests: add run-resourcewatch command 2020-07-07 06:31:43 UTC
Red Hat Product Errata RHBA-2020:2786 0 None None None 2020-07-06 20:47:33 UTC

Description Mike Dame 2020-06-01 17:58:01 UTC
The `openshift-tests run-resourcewatch` command, which provides a monitor that logs config changes to a git repository, needs to be added to the 4.4 openshift-tests binary in order to be able to run on upgrade tests.

Comment 2 Steve Kuznetsov 2020-06-04 15:18:12 UTC
Moving to unknown component, this is not under purview of DPTP.

Comment 4 Stefan Schimanski 2020-06-18 10:52:48 UTC
Moved to kcm component. It's also not quite right, but at least the BZ does not land on a board of another team ;-)

Comment 7 zhou ying 2020-06-28 03:22:11 UTC
Confirmed with payload: 4.4.0-0.nightly-2020-06-27-171816, the issue has fixed:

[root@dhcp-140-138 ~]#  oc get is tests -n openshift -o yaml
      dockerImageReference: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a91fdc7898fe2f830a5640188a207d5489eac5694d496626b91b0aea6d3ee98e

[root@dhcp-140-138 ~]# oc run mytest --image=quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a91fdc7898fe2f830a5640188a207d5489eac5694d496626b91b0aea6d3ee98e  --command -- sleep 3600
[root@dhcp-140-138 ~]# oc get po 
NAME              READY   STATUS      RESTARTS   AGE
mytest-1-46f9w    1/1     Running     0          5s
mytest-1-deploy   0/1     Completed   0          8s
[root@dhcp-140-138 ~]# oc rsh mytest-1-46f9w
sh-4.2$ openshift-tests -h
....

Available Commands:
  help              Help about any command
  run               Run a test suite
  run-monitor       Continuously verify the cluster is functional
  run-resourcewatch Run watching resource changes
  run-test          Run a single test by name
  run-upgrade       Run an upgrade suite


sh-4.2$ openshift-tests run-resourcewatch                   
W0628 03:20:16.931761      21 cmd.go:199] Using insecure, self-signed certificates
I0628 03:20:17.526670      21 observer_polling.go:159] Starting file observer
....

Comment 9 errata-xmlrpc 2020-07-06 20:47:16 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, 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:2786


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