Comments (6)
@mew2057 just for kicks....
I did the following:
- search/replace for
marketplace
toibm-spectrum-scale-csi-driver
in thedeploy/olm-scripts/operator-source.yaml
- applied namespace/secret/olm yamls 👇
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f deploy/namespace.yaml
namespace/ibm-spectrum-scale-csi-driver created
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f /root/csi-operator-ansible/secrets.json -n ibm-spectrum-scale-csi-driver
secret/spectrum-scale-gui-secret created
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f deploy/olm-scripts/operator-source.yaml
clusterrolebinding.rbac.authorization.k8s.io/olm-crb configured
operatorsource.operators.coreos.com/ibm-spectrum-scale-csi-operator-app created
operatorgroup.operators.coreos.com/operator-group created
subscription.operators.coreos.com/oper-sub created
But nothing happened:
[root@c943f4n01-pvt csi-operator-ansible]# oc get pods -n ibm-spectrum-scale-csi-driver
No resources found.
[root@c943f4n01-pvt csi-operator-ansible]#
Any pointers?
from ibm-spectrum-scale-csi.
So this was a documentation gap on my part. In OpenShift you don't need operator-source.yaml
, you need deploy/olm-scripts/operator-source-oc.yaml
.
The operator-source-oc.yaml
file does one thing, subscribe to the CSV. After that you need to access the GUI and set up the operator for use:
https://github.com/IBM/ibm-spectrum-scale-csi-operator/issues/25#issuecomment-557251170
Alternatively, follow this guide https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md
from ibm-spectrum-scale-csi.
Here's the Revised documentation:
Option B: Using Operator Lifecycle Manager (OLM)
NOTE: This will be the prefered method. However, work is ongoing.
NOTE: Installing OLM is out of the scope of this document, please refer to the official documentation. If you're still having trouble, this guide goes even deeper.
The following will subscribe the quay.io version of the operator assuming OLM is installed.
cd ${OPERATOR_DIR}/stable/ibm-spectrum-scale-csi-operator-bundle/operators/ibm-spectrum-scale-csi-operator
kubectl apply -f deploy/olm-scripts/operator-source.yaml
NOTE: Kubernetes use
kubectl
command, replace withoc
if deploying in OpenShift.
cd ${OPERATOR_DIR}/stable/ibm-spectrum-scale-csi-operator-bundle/operators/ibm-spectrum-scale-csi-operator
oc apply -f deploy/olm-scripts/operator-source-oc.yaml
from ibm-spectrum-scale-csi.
Also, until we're in OperatorHub this documentation is actually not terribly accurate, this is just a for example. I don't know if we should actually support OLM officially until we're there, because the current model is pointing to a bundle I made by hand that isn't even up to date?
from ibm-spectrum-scale-csi.
This should have been addressed with the GA. OLM instructions here-
https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.4/com.ibm.spectrum.scale.csi.v5r04.doc/bl1csi_install_usingOLM.html
from ibm-spectrum-scale-csi.
Following document provide the mechanism for OLM pre release test.
https://github.com/IBM/ibm-spectrum-scale-csi/blob/dev/tools/ansible/olmupgrade.md
Please reopen if above document is not sufficient
from ibm-spectrum-scale-csi.
Related Issues (20)
- PVCs are not getting bound state with error : specified junction path does not exist HOT 3
- "operator must set securityContext.seccompProfile.type" warning is shown on ocp + rhel worker node setup
- Network Policy Log Improvement when policy is not applied for GUI HOT 2
- GUI HA doesn't work in case of network policy is present only for one GUI node HOT 3
- CSI pods restart when network policy for GUI is deleted HOT 3
- When the ConfigMap is deleted, the CSO status temporarily switches to 'false' for a few seconds
- Fileset is not getting deleted in case of GUI HA when another GUI node is getting used
- Pod mount fails on power env for CSI 2.10.0 HOT 2
- CSI gpfs mount check is not there for pod HOT 1
- shallow copy in version 2 should point to source volume snapshot only HOT 1
- shallow copy should not create a new fileset HOT 1
- Different types of shallow copies are not supported for version 2 PVC as source volume HOT 3
- Sidecar pod has crash loopback with CSI2.10 GA Version HOT 4
- Different type of shallow copies are not supported for version 1 PVC as source volume HOT 2
- Cross cluster shallow copy is not supported HOT 1
- clone of shallow copy volume is not working HOT 1
- shallow copy pv doesn't get deleted if snapshot directory gets deleted HOT 2
- mmxcp improvement HOT 2
- volume snapshot is not getting deleted for version 2 volumes in shallow copy HOT 1
- log improvement for shallow copy volumes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibm-spectrum-scale-csi.