Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubeflow not deployed #318

Closed
xcwanAndy opened this issue Mar 1, 2018 · 10 comments
Closed

Kubeflow not deployed #318

xcwanAndy opened this issue Mar 1, 2018 · 10 comments

Comments

@xcwanAndy
Copy link

I'm trying to deploy Kubeflow on my desktop.

Environment:
minikube version: v0.25.0

I followed the steps frome the beginning to the end as "https://github.com/kubeflow/kubeflow/blob/master/README.md".
However, when I'm running "ks apply default -c kubeflow-core"
I got:
"ERROR generate objects for namespace : unable to read /home/wxc/my-kubeflow/environments/default/main.jsonnet: RUNTIME ERROR: Field does not exist: core"

And currently, "sudo kubectl get pods --all-namespaces"
NAMESPACE NAME READY STATUS RESTARTS AGE
default hello-minikube-c6c6764d-7jpbw 1/1 Running 0 33m
kube-system kube-addon-manager-minikube 1/1 Running 2 53m
kube-system kube-dns-54cccfbdf8-74tz4 3/3 Running 3 1h
kube-system kubernetes-dashboard-77d8b98585-847mq 1/1 Running 2 1h
kube-system storage-provisioner 1/1 Running 1 1h

It shows that kubeflow isn't running.
Can anyone tell me the way to fix this issue?

@jlewi
Copy link
Contributor

jlewi commented Mar 1, 2018

Can you include file main.jsonnet the error is indicating a problem in your ksonnet app so nothing is being deployed.

@xcwanAndy
Copy link
Author

@jlewi Sure, in address:/home/wxc/my-kubeflow/environments/default/main.jsonnet
It says:
"local base = import "base.libsonnet";
local k = import "k.libsonnet";

base + {
// Insert user-specified overrides here. For example if a component is named "nginx-deployment", you might have something like:
// "nginx-deployment"+: k.deployment.mixin.metadata.labels({foo: "bar"})
}"

But I don't know what's that means lol.
Could you please help me?

@jlewi
Copy link
Contributor

jlewi commented Mar 2, 2018

Something about your ksonnet app appears to be incorrect. I was hoping the file contents would show what the error is but I don't see a reference to core in that file.

Can you please run and paste the output of

ks param list

@jlewi
Copy link
Contributor

jlewi commented Mar 2, 2018

Also I'd suggest retrying the directions again just to make its not some sort of fluke.

@xcwanAndy
Copy link
Author

Thanks for your consideration. I've retried the directions again, but still met these problems.
After I run "ks param list", I got:
COMPONENT PARAM VALUE
========= ===== =====
kubeflow-core cloud "null"
kubeflow-core disks "null"
kubeflow-core jupyterHubAuthenticator "null"
kubeflow-core jupyterHubImage "gcr.io/kubeflow/jupyterhub-k8s:1.0.1"
kubeflow-core jupyterHubServiceType "ClusterIP"
kubeflow-core name "kubeflow-core"
kubeflow-core namespace "kubeflow"
kubeflow-core reportUsage "true"
kubeflow-core tfDefaultImage "null"
kubeflow-core tfJobImage "gcr.io/kubeflow-images-staging/tf_operator:v20180226-403"
kubeflow-core tfJobUiServiceType "ClusterIP"
kubeflow-core usageId "7f277640-3772-4bd7-9856-c40163a2f532"

Does that means I incorrectly installed ksonnet?
Followed by: https://github.com/ksonnet/ksonnet/blob/master/docs/build-install.md, I reinstalled ks and currently the version is shown below:
ksonnet version: dev-2018-03-03T11:15:52+0800
jsonnet version: v0.9.5
client-go version: 1.8

@jlewi
Copy link
Contributor

jlewi commented Mar 3, 2018

Can you upload a tarball containing all the files in /home/wxc/my-kubeflow. It looks there is a problem with your ksonnet app; its complaining about core missing. I don't know where this is coming from and why you are the only one that seems to be hitting it.

@xcwanAndy
Copy link
Author

my-kubeflow.tar.gz
Here I upload a tarball containing all my-kubeflow files. I'll check why core is missing.

@xcwanAndy
Copy link
Author

I believe the fault comes when I installed ksonnet. As I type"sudo make install" to reinstalled ksonnet, it responses :"/usr/lib/go/src/github.com/ksonnet/ksonnet is not within a known GOPATH/src"

After I install go, I "echo $GOPATH" has no response.
And I "sudo find / -name ksonnet", I got:
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/lib/go/pkg/linux_amd64/github.com/ksonnet
/usr/lib/go/pkg/linux_amd64/github.com/ksonnet/ksonnet
/usr/lib/go/pkg/linux_amd64/github.com/ksonnet/ksonnet/vendor/github.com/ksonnet
/usr/lib/go/bin/ksonnet
/usr/lib/go/src/github.com/ksonnet
/usr/lib/go/src/github.com/ksonnet/ksonnet
/usr/lib/go/src/github.com/ksonnet/ksonnet/vendor/github.com/ksonnet
/usr/lib/go/src/github.com/ksonnet/ksonnet/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/ksonnet
/home/wxc/go/pkg/linux_amd64/github.com/ksonnet
/home/wxc/go/pkg/linux_amd64/github.com/ksonnet/ksonnet
/home/wxc/go/pkg/linux_amd64/github.com/ksonnet/ksonnet/vendor/github.com/ksonnet
/home/wxc/go/bin/ksonnet

So I "export $GOPATH=/usr/lib/go", maybe this goes with the result of the failed installation of ksonnet.
How can I fix it?

@pineking
Copy link
Member

pineking commented Mar 4, 2018 via email

@xcwanAndy
Copy link
Author

@pineking @jlewi Thanks, after updating ks file, now I was able to deploy kubeflow and go on research. I'll close the issue now.

elenzio9 pushed a commit to arrikto/kubeflow that referenced this issue Oct 31, 2022
* Add AutoML and Training WG

* Remove katib release team

* Remove wg
elenzio9 pushed a commit to arrikto/kubeflow that referenced this issue Oct 31, 2022
* Add "wg-" prefix to the leads mailing lists.

* @andreyvelich originally had the prefix in kubeflow#318 and I suggested removing
  it because it was redundant.

* I subsequently checked and using the wg is consistent with what Kubernetes
  does and is consistent with kubeflow/community#401

* Including the wg prefix has the following advantage

  * Easily distinguish between groups for workgroups and sigs and other purposes
  * Auto complete makes it easy to identify all groups.

* Alphabetize.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants