Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pelorus Operator v0.0.2 #786

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Conversation

mpryc
Copy link
Collaborator

@mpryc mpryc commented Jan 18, 2023

Pelorus Operator that addresses #777

To test:

operator-sdk run bundle quay.io/pelorus/pelorus-operator-bundle:v0.0.2 --namespace pelorus

Signed-off-by: Michal Pryc [email protected]

@redhat-cop/mdt

@openshift-ci
Copy link

openshift-ci bot commented Jan 18, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from mpryc by writing /assign @mpryc in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@weshayutin
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2023
@mateusoliveira43
Copy link
Collaborator

If this is not in production yet (I checked in my cluster and latest is still 0.0.1) should we address #772 too? My fear is that the docs links can still change again

@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

/hold

some issues while installing this operator

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 18, 2023
@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

InstallErrorfailed to install release: rendered manifests contain a resource that already exists. Unable to continue with install: could not get information about the resource ClusterRoleBinding "pelorus-exporter-pelorus" in namespace "": clusterrolebindings.rbac.authorization.k8s.io "pelorus-exporter-pelorus" is forbidden: User "system:serviceaccount:pelorus:pelorus-operator-controller-manager" cannot get resource "clusterrolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope

@mpryc mpryc force-pushed the pelorus-operator-v002 branch from 18171a2 to 38c05b8 Compare January 18, 2023 17:40
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2023
@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

/unhold

The issues were because I've created new version without being logged in the cluster

Note: Add Instructions to generate new pelorus-operator in the docs.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 18, 2023
Pelorus Operator that addresses dora-metrics#777

Signed-off-by: Michal Pryc <[email protected]>
@mpryc mpryc force-pushed the pelorus-operator-v002 branch from 38c05b8 to a80a820 Compare January 18, 2023 18:33
@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

/test 4.10-e2e-openshift

@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

/test 4.11-e2e-openshift

@weshayutin
Copy link
Contributor

(.venv) [whayutin@thinkdoe pelorus]$ operator-sdk run bundle quay.io/pelorus/pelorus-operator-bundle:v0.0.2 --namespace pelorus

INFO[0005] Creating a File-Based Catalog of the bundle "quay.io/pelorus/pelorus-operator-bundle:v0.0.2" 
INFO[0005] Generated a valid File-Based Catalog         
FATA[0005] Failed to run bundle: create catalog: error creating catalog source: namespaces "pelorus" not found 
(.venv) [whayutin@thinkdoe pelorus]$ oc create namespace pelorus
namespace/pelorus created
(.venv) [whayutin@thinkdoe pelorus]$ operator-sdk run bundle quay.io/pelorus/pelorus-operator-bundle:v0.0.2 --namespace pelorus
INFO[0004] Creating a File-Based Catalog of the bundle "quay.io/pelorus/pelorus-operator-bundle:v0.0.2" 
INFO[0005] Generated a valid File-Based Catalog         
INFO[0013] Created registry pod: quay-io-pelorus-pelorus-operator-bundle-v0-0-2 
INFO[0013] Created CatalogSource: pelorus-operator-catalog 
INFO[0014] OperatorGroup "operator-sdk-og" created      
INFO[0014] Created Subscription: pelorus-operator-v0-0-2-sub 
INFO[0017] Approved InstallPlan install-d4cr9 for the Subscription: pelorus-operator-v0-0-2-sub 
INFO[0017] Waiting for ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" to reach 'Succeeded' phase 
INFO[0017]   Waiting for ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" to appear 
INFO[0041]   Found ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" phase: Pending 
INFO[0044]   Found ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" phase: InstallReady 
INFO[0045]   Found ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" phase: Installing 
INFO[0065]   Found ClusterServiceVersion "pelorus/pelorus-operator.v0.0.2" phase: Succeeded 
INFO[0065] OLM has successfully installed "pelorus-operator.v0.0.2" 
(.venv) [whayutin@thinkdoe pelorus]$ oc get all -n pelorus
NAME                                                                  READY   STATUS      RESTARTS      AGE
pod/2ca9002371f6e33c34ac210e86f53e209de3a6504aee6d4c06978d4b64kssvr   0/1     Completed   0             78s
pod/committime-exporter-1-deploy                                      1/1     Running     0             13s
pod/committime-exporter-1-w67dj                                       0/1     Running     0             10s
pod/deploytime-exporter-1-d8gfk                                       0/1     Running     0             10s
pod/deploytime-exporter-1-deploy                                      1/1     Running     0             13s
pod/grafana-deployment-599878bd7d-xt578                               0/2     Init:0/1    0             3s
pod/grafana-deployment-777887458b-rhj9z                               0/2     Init:0/1    0             13s
pod/grafana-operator-controller-manager-7977d4bbd8-ccd25              2/2     Running     0             46s
pod/pelorus-operator-controller-manager-74957f5996-ss4bp              1/1     Running     0             50s
pod/prometheus-operator-7cc47f949d-4rpm4                              1/1     Running     0             52s
pod/prometheus-prometheus-pelorus-0                                   3/3     Running     1 (9s ago)    13s
pod/prometheus-prometheus-pelorus-1                                   3/3     Running     1 (10s ago)   13s
pod/quay-io-pelorus-pelorus-operator-bundle-v0-0-2                    1/1     Running     0             89s

NAME                                          DESIRED   CURRENT   READY   AGE
replicationcontroller/committime-exporter-1   1         1         0       13s
replicationcontroller/deploytime-exporter-1   1         1         0       13s

NAME                                                          TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
service/committime-exporter                                   ClusterIP   172.30.105.253   <none>        8080/TCP            14s
service/deploytime-exporter                                   ClusterIP   172.30.22.167    <none>        8080/TCP            14s
service/grafana-operator-controller-manager-metrics-service   ClusterIP   172.30.108.125   <none>        8443/TCP            50s
service/grafana-service                                       ClusterIP   172.30.137.60    <none>        3000/TCP,9091/TCP   13s
service/pelorus-operator-controller-manager-metrics-service   ClusterIP   172.30.106.30    <none>        8443/TCP            54s
service/prometheus-operated                                   ClusterIP   None             <none>        9090/TCP            13s
service/prometheus-pelorus                                    ClusterIP   172.30.96.210    <none>        9090/TCP,9091/TCP   14s

NAME                                                  READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/grafana-deployment                    0/1     1            0           13s
deployment.apps/grafana-operator-controller-manager   1/1     1            1           46s
deployment.apps/pelorus-operator-controller-manager   1/1     1            1           50s
deployment.apps/prometheus-operator                   1/1     1            1           53s

NAME                                                             DESIRED   CURRENT   READY   AGE
replicaset.apps/grafana-deployment-599878bd7d                    1         1         0       3s
replicaset.apps/grafana-deployment-777887458b                    1         1         0       13s
replicaset.apps/grafana-operator-controller-manager-7977d4bbd8   1         1         1       46s
replicaset.apps/pelorus-operator-controller-manager-74957f5996   1         1         1       50s
replicaset.apps/prometheus-operator-7cc47f949d                   1         1         1       52s

NAME                                             READY   AGE
statefulset.apps/prometheus-prometheus-pelorus   2/2     13s

NAME                                                                        COMPLETIONS   DURATION   AGE
job.batch/2ca9002371f6e33c34ac210e86f53e209de3a6504aee6d4c06978d4b64819aa   1/1           10s        78s

NAME                                                     REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfig.apps.openshift.io/committime-exporter   1          1         1         config,image(committime-exporter:stable)
deploymentconfig.apps.openshift.io/deploytime-exporter   1          1         1         config,image(deploytime-exporter:stable)

NAME                                                 IMAGE REPOSITORY                                                               TAGS     UPDATED
imagestream.image.openshift.io/committime-exporter   image-registry.openshift-image-registry.svc:5000/pelorus/committime-exporter   stable   14 seconds ago
imagestream.image.openshift.io/deploytime-exporter   image-registry.openshift-image-registry.svc:5000/pelorus/deploytime-exporter   stable   14 seconds ago

NAME                                           HOST/PORT                                                                            PATH   SERVICES              PORT            TERMINATION          WILDCARD
route.route.openshift.io/committime-exporter   committime-exporter-pelorus.apps.cluster-wdh01032023a.wdh01032023a.mg.dog8code.com          committime-exporter   http                                 None
route.route.openshift.io/deploytime-exporter   deploytime-exporter-pelorus.apps.cluster-wdh01032023a.wdh01032023a.mg.dog8code.com          deploytime-exporter   http                                 None
route.route.openshift.io/grafana-route         grafana-route-pelorus.apps.cluster-wdh01032023a.wdh01032023a.mg.dog8code.com         /      grafana-service       grafana-proxy   reencrypt            None
route.route.openshift.io/prometheus-pelorus    prometheus-pelorus-pelorus.apps.cluster-wdh01032023a.wdh01032023a.mg.dog8code.com           prometheus-pelorus    web-tls         reencrypt/Redirect   None
(.venv) [whayutin@thinkdoe pelorus]$ 

@openshift-ci
Copy link

openshift-ci bot commented Jan 18, 2023

@mpryc: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/4.9-e2e-openshift a80a820 link false /test 4.9-e2e-openshift
ci/prow/4.10-e2e-openshift a80a820 link false /test 4.10-e2e-openshift
ci/prow/4.11-e2e-openshift a80a820 link false /test 4.11-e2e-openshift

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

/retest

@mpryc
Copy link
Collaborator Author

mpryc commented Jan 18, 2023

@weshayutin u happy with the deployment ? If yes could you pls merge?

@weshayutin
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2023
@weshayutin weshayutin merged commit 1258e16 into dora-metrics:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants