summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/README.md
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2019-07-19 22:32:58 +0000
committerRajamohan Raj <rajamohan.raj@intel.com>2019-07-19 22:36:59 +0000
commit18909c10d00e4591f931475a1082edb209b66071 (patch)
treeb37273cf9aa20e0ad4d32b55b465cd3757cb6d54 /vnfs/DAaaS/README.md
parent779fd6928d724de3731d36f92af04e904ed25693 (diff)
Adding few troubleshooting guidelines for HDFS.
Issue-ID: ONAPARC-391 Change-Id: Ic4cd3376aa668b46da1890a09aaf3f461a04e254 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Diffstat (limited to 'vnfs/DAaaS/README.md')
-rw-r--r--vnfs/DAaaS/README.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/vnfs/DAaaS/README.md b/vnfs/DAaaS/README.md
index 4b6fcf50..de701fd4 100644
--- a/vnfs/DAaaS/README.md
+++ b/vnfs/DAaaS/README.md
@@ -44,6 +44,42 @@ rook-ceph-osd-prepare-vx2rz 0/2 Completed 0 60s
rook-ceph-tools-5bd5cdb949-j68kk 1/1 Running 0 53s
```
+#### Troubleshooting Rook-Ceph installation
+
+In case your machine had rook previously installed successfully or unsuccessfully
+and you are attempting a fresh installation of rook operator, you may face some issues.
+Lets help you with that.
+
+* First check if there are some rook CRDs existing :
+```
+kubectl get crds | grep rook
+```
+If this return results like :
+```
+otc@otconap7 /var/lib/rook $ kc get crds | grep rook
+cephblockpools.ceph.rook.io 2019-07-19T18:19:05Z
+cephclusters.ceph.rook.io 2019-07-19T18:19:05Z
+cephfilesystems.ceph.rook.io 2019-07-19T18:19:05Z
+cephobjectstores.ceph.rook.io 2019-07-19T18:19:05Z
+cephobjectstoreusers.ceph.rook.io 2019-07-19T18:19:05Z
+volumes.rook.io 2019-07-19T18:19:05Z
+```
+then you should delete these previously existing rook based CRDs by generating a delete
+manifest file by these commands and then deleting those files:
+```
+helm template -n rook . -f values.yaml > ~/delete.yaml
+kc delete -f ~/delete.yaml
+```
+
+After this, delete the below directory in all the nodes.
+```
+sudo rm -rf /var/lib/rook/
+```
+Now, again attempt :
+```
+helm install -n rook . -f values.yaml --namespace=rook-ceph-system
+```
+
#### Install Operator package
```bash
cd $DA_WORKING_DIR/operator