Bug 1652500
| Summary: | Cannot get the "packagemanifest" resource by default | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | OLM | Assignee: | Evan Cordell <ecordell> |
| Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.1.0 | CC: | chezhang, dyan, jfan, jpeeler, nhale, zitang |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-04 10:41:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jian Zhang
2018-11-22 09:18:13 UTC
We can't replicate this on AWS - do you only see this on libvirt? Evan, No, cannot get the "packagemanifest" resource on AWS either. AS below: [jzhang@dhcp-140-18 aws-cluster]$ oc project openshift-operator-lifecycle-manager Now using project "openshift-operator-lifecycle-manager" on server "https://chaoyang-api.devcluster.openshift.com:6443". [jzhang@dhcp-140-18 aws-cluster]$ oc exec olm-operator-796dc97869-8bkzs -- olm -version OLM version: 0.8.0 git commit: bb46d55 [jzhang@dhcp-140-18 aws-cluster]$ oc get packagemanifest error: the server doesn't have a resource type "packagemanifest" The cluster info: [jzhang@dhcp-140-18 aws-cluster]$ dig chaoyang-api.devcluster.openshift.com ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-10.P2.fc28 <<>> chaoyang-api.devcluster.openshift.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60676 ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;chaoyang-api.devcluster.openshift.com. IN A ;; ANSWER SECTION: chaoyang-api.devcluster.openshift.com. 60 IN A 18.235.217.147 chaoyang-api.devcluster.openshift.com. 60 IN A 54.167.150.53 chaoyang-api.devcluster.openshift.com. 60 IN A 54.160.251.126 chaoyang-api.devcluster.openshift.com. 60 IN A 52.202.250.76 chaoyang-api.devcluster.openshift.com. 60 IN A 52.204.170.91 chaoyang-api.devcluster.openshift.com. 60 IN A 54.208.97.1 ;; Query time: 123 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Nov 30 12:09:28 CST 2018 ;; MSG SIZE rcvd: 162 This problem also impact the testing of marketplace's stories. The OLM can't load package manifest from config map csc-cm-opsrc-global-operators what marketplace provide. error mesg: " time="2018-11-30T09:00:21Z" level=info msg="retrying marketplace/csc-cs-opsrc-global-operators" E1130 09:00:21.358582 1 queueinformer_operator.go:151] Sync "marketplace/csc-cs-opsrc-global-operators" failed: failed to load package manifest from config map csc-cm-opsrc-global-operators " Evan, Can you help process this issue with a high priority? Thanks! Jian, Thanks for finding this! We recently updated our manifests to deploy package-server via CSV (see https://jira.coreos.com/browse/ALM-812). That change has made its way to OLM's master branch and I believe that creating a fresh cluster with the installer will resolve this issue. Let me know how it goes :) I built a fresh cluster by using the latest installer. Yes, it works well. Please move it to "ON_QA" so that I can verify it. Thanks! One more question, if I just want to update the OLM component, not rebuild the cluster, how can I do that? [jzhang@dhcp-140-18 installer]$ openshift-install version openshift-install v0.4.0-107-gbc7e5532a623a8018add448695040b46228ea145-dirty Terraform v0.11.8 Your version of Terraform is out of date! The latest version is 0.11.10. You can update by downloading from www.terraform.io/downloads.html [core@jian-master-0 ~]$ oc version oc v4.0.0-alpha.0+99b66db-755 kubernetes v1.11.0+99b66db features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://jian-api.tt.testing:6443 kubernetes v1.11.0+99b66db [core@jian-master-0 ~]$ oc get packagemanifest NAME AGE federationv2 7m prometheus 7m svcat 7m couchbase-enterprise 7m dynatrace-monitoring 7m mongodb-enterprise 7m amq-streams 7m etcd 7m Jian, Awesome! So, from what I understand, you'll first need to disable the CVO (by deleting its Deployment) to prevent it from undoing any changes you make to OLM. Then you can kubectl apply/create/replace -f the output of the ./scripts/package-release.sh script to the appropriate namespace. Let me know if you have any more questions. Nick, Got it! Thanks a lot! Verify this bug per comment6. 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-2019:0758 |