question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Katib-db stuck at login as root

See original GitHub issue

/kind bug

What steps did you take and what happened: [A clear and concise description of what the bug is.] I try to deploy Katib on IBM Cloud and use IBM Cloud NFS storage as the persistent volume. However, the Katib-db always stuck at

2019-08-15T17:57:04.708439Z 35240 [Note] Access denied for user 'root'@'localhost' (using password: YES)
2019-08-15T17:57:06.771754Z 35241 [Note] Access denied for user 'root'@'localhost' (using password: YES)
2019-08-15T17:57:08.713518Z 35242 [Note] Access denied for user 'root'@'localhost' (using password: YES)

One thing I do realize is our persistent storage doesn’t allow nonroot user to write files. Although the deployment is working if we try to use hostpath, it won’t be persistent and resilient in our use case.

We also try our storage with the KubeFlow Pipeline MySQL and it works fine there. The only different is KubeFlow Pipeline doesn’t have any password for its MySQL instance.

What did you expect to happen: Katib-db should be deployed and login as root.

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Kubeflow version: 0.5.1 and 0.6.0
  • Minikube version:
  • Kubernetes version: (use kubectl version): 1.14.5
  • OS (e.g. from /etc/os-release): ubuntu 16

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Tomclicommented, Aug 26, 2019

Thanks @gaocegege, we removed the root password for the katib-db and it’s able to run now. However, the katib-manager always fallbacks the password to test when the password is set to empty which makes it cannot login to the katib-db. Is there a way to let katib-manager login with empty password without changing the source-code?

https://github.com/kubeflow/katib/blob/2d059a44d85f9a70a090b8bd3f86c22f5aef4048/pkg/db/v1alpha2/interface.go#L72-L83

0reactions
k8s-ci-robotcommented, Sep 29, 2019

@hougangliu: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to enable the root user or change the root password on ...
To learn about sudo , open the Terminal app and enter man sudo . The user account named ”root” is a superuser with...
Read more >
I accidentally locked my linux root user and now I can't login in
For Instance, enter the ID of the instance or select the instance ... Login as your administrative user and use sudo -s to...
Read more >
K34204147: F5OS after reboot, unable to log in as root. - AskF5
Description After reboot, can not log in to CLI of rSeries or Velos as root. login as: root root@<appliance>'s password: Access denied.
Read more >
RootSudo - Community Help Wiki
By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su...
Read more >
How Can I Log In As root User? - nixCraft
By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found