odf-nano icon indicating copy to clipboard operation
odf-nano copied to clipboard

Errors while creating odf-nano MVP

Open ksingh7 opened this issue 4 years ago • 3 comments

  1. There is something in this code block that is causing this
mohit@beast:/mnt/hdd_space1/git/odf-nano$ ./deploy_odf.sh
Setting up environment for ODF - this will take a few minutes
subscription.operators.coreos.com/ocs-subscription created
Waiting for operators to be ready
No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.No resources found in openshift-storage namespace.
.......Operators are ready now
Finished up preparing the local storage
Creating custom ODF configuration for CRC
ODF is installing now, please be patient
ocsinitialization.ocs.openshift.io/ocsinit patched
pod/rook-ceph-tools-7d95854fb8-lpdf2 condition met
Now configuring your ODF cluster
Configure your block environment
Configuring your file environment
error: You must provide one or more resources by argument or filename.
Example resource specifications include:
   '-f rsrc.yaml'
   '--filename=rsrc.json'
   '<resource> <name>'
   '<resource>'
error: You must provide one or more resources by argument or filename.
Example resource specifications include:
   '-f rsrc.yaml'
   '--filename=rsrc.json'
   '<resource> <name>'
   '<resource>'
command terminated with exit code 2
storageclass.storage.k8s.io/ocs-storagecluster-cephfs created
ODF is installed now
  1. error: unable to recognize "STDIN": no matches for kind "VolumeSnapshotClass" in version "snapshot.storage.k8s.io/v1beta1" because we are using ocs 4.6 and not v4.7 ?

This code block is causing this

  1. I had to remove the Limits/Requests block from the OSD, because OSD containers are failing. May be they were not getting enough resources. After removing limits/requests OSDs deployed successfully

ksingh7 avatar Jun 15 '21 11:06 ksingh7

@jeanchlopez thanks for the PR , i did some minor adjustments (fixing some typos) overall it worked and we have a running cluster , still need to solve the above issues to tag this release as 0.1 :D

ksingh7 avatar Jun 15 '21 11:06 ksingh7

  • OBC is stuck in pending state, however radosgw-admin bucket list and user-list as well as application work just fine

image

ksingh7 avatar Jun 15 '21 21:06 ksingh7

Will look into the OBC tomorrow hopefully. In the mean time will push a fix (I hope) for the snapshot class and the metrics pool

jeanchlopez avatar Jun 16 '21 02:06 jeanchlopez