Closed dimthe closed 6 years ago
You are correct that you shouldn't need more than 3 nodes. Can you look within the logs generated by the deploy-heketi pod for errors or warnings?
Running 'heketi-cli topology info' from within the heketi pod may also provide some useful information.
hello @phlogistonjohn
after more tries and reboots the script went a little further but crashed eventually
/usr/local/bin/kubectl -n default exec -i deploy-heketi-859478d448-gl5sc -- heketi-cli -s http://localhost:8080 --user admin --secret 'auvious' setup-openshift-heketi-storage --listfile=/tmp/heketi-storage.json 2>&1 Saving /tmp/heketi-storage.json /usr/local/bin/kubectl -n default exec -i deploy-heketi-859478d448-gl5sc -- cat /tmp/heketi-storage.json | /usr/local/bin/kubectl -n default create -f - 2>&1 secret "heketi-storage-secret" created endpoints "heketi-storage-endpoints" created service "heketi-storage-endpoints" created job "heketi-storage-copy-job" created
Checking status of pods matching '--selector=job-name=heketi-storage-copy-job':
Timed out waiting for pods matching '--selector=job-name=heketi-storage-copy-job'. Error waiting for job 'heketi-storage-copy-job' to complete.
where are the logs for this ? i see nothing usefull in /var/log or in /tmp
For kuberntes primatives like jobs and pods you need to use the kubectl command. Run kubectl logs <podname>
to get logs from pods. Run kubectl describe <object>
to get details at the k8s level about the object (like it's current status, or previous status changes).
after more tries and reboots etc without adding anything new to my set up , the script now stops at this
job "heketi-storage-copy-job" created
Checking status of pods matching '--selector=job-name=heketi-storage-copy-job':
Timed out waiting for pods matching '--selector=job-name=heketi-storage-copy-job'. Error waiting for job 'heketi-storage-copy-job' to complete. [admin@node1 deploy]$
logs from heketi pod are pasted here
devices have been created like below on each node
all firewall ports and modules are open and loaded per the script instructions
this is my topology
and the script logs
what is wrong with it ? i have 3 storage nodes i dont think i need more