Bug 1669028
| Summary: | Couldnt view all packagemanifests | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jaspreet Kaur <jkaur> |
| Component: | OLM | Assignee: | Evan Cordell <ecordell> |
| Status: | CLOSED NOTABUG | QA Contact: | Jian Zhang <jiazha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1.0 | CC: | ecordell, erich, jiazha, sgaikwad |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-01-28 06:35:16 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1664187 | ||
Jaspreet,
> But since we couldnt view cluster-logging we are unable to utilize it for installing logging and hence when checking installplan after creating subscription like below we couldnt see anything :
I'd suggest you can install the cluster-logging on the Web console. Click "Catalog"->"Operator Hub"->"Show Community Operators"->"Cluster Logging".
I installed the "Cluster Logging" successfully. Like below:
mac:aws-ocp jianzhang$ oc get sub
NAME PACKAGE SOURCE CHANNEL
cluster-logging cluster-logging installed-community-global-operators preview
mac:aws-ocp jianzhang$ oc get pods
NAME READY STATUS RESTARTS AGE
cluster-logging-operator-799577c674-8xzlz 1/1 Running 0 4m
elasticsearch-operator-db97d4d44-6mqjk 1/1 Running 0 4m
installed-community-global-operators-7t27f 1/1 Running 0 5m
The correct subscription of Cluster Logging like below:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: cluster-logging
namespace: openshift-operators
spec:
channel: preview
installPlanApproval: Automatic
name: cluster-logging
source: installed-community-global-operators
sourceNamespace: openshift-operators
startingCSV: clusterlogging.v0.0.1
Not a bug, closed it, please feel free to reopen it if any problems.
Hello, Its not about installing logging only its about cli bug to not view all packagemanifests. Any explanation on that ? Also, How to install from cli ? I want to describe suppose cluster-logging from cli. How should I view it ? Jaspreet, I guess you can get the "cluster-logging" by run "oc get packagemanifests --all-namespaces". And, you can switch to the "openshift-marketplace" project and get the cluster-logging by run "oc get packagemanifest". > Also, How to install from cli ? You can use that subscription file I mentioned on comment 3. |
Description of problem: When running below command we could only view packageserver : oc get packagemanifests NAME AGE packageserver 1d However, we couldnt see others unless running this command : oc get packagemanifests --all-namespaces NAMESPACE NAME AGE couchbase-enterprise 1d dynatrace-monitoring 1d mongodb-enterprise 1d automationbroker 1d cluster-logging 1d descheduler 1d etcd 1d federationv2 1d jaeger 1d metering 1d prometheus 1d svcat 1d templateservicebroker 1d amq-streams 1d packageserver 1d But since we couldnt view cluster-logging we are unable to utilize it for installing logging and hence when checking installplan after creating subscription like below we couldnt see anything : apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: generateName: cluster-logging- namespace: openshift-logging spec: source: rh-operators sourceNamespace: openshift-operator-lifecycle-manager name: cluster-logging startingCSV: clusterlogging.v0.0.1 channel: preview Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Could only see packageserver Expected results: Should be able to view all packagemanifests Additional info: