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

Change datadir for avoid failure due to lost+found #432

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

mrkm4ntr
Copy link
Contributor

@mrkm4ntr mrkm4ntr commented Mar 14, 2019

I try to run katib on GKE, but vizier-db cannot start with following error.

Initializing database
2019-03-14T07:13:42.050153Z 0 [Note] Basedir set to /usr/
2019-03-14T07:13:42.050470Z 0 [Warning] The syntax '--symbolic-links/-s' is deprecated and will be removed in a future release
2019-03-14T07:13:42.051712Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
2019-03-14T07:13:42.051812Z 0 [ERROR] Aborting

It is due to lost+found directory in mounted path.

This PR is a same solution as below.
https://github.com/kubeflow/kubeflow/blob/4e6c645eeee0915999c33bf6772d2a996cb55ee4/kubeflow/katib/vizier.libsonnet#L303-L306


This change is Reviewable

@k8s-ci-robot
Copy link

Hi @mrkm4ntr. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@YujiOshima
Copy link
Contributor

/ok-to-test

@hougangliu
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hougangliu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 28eb81d into kubeflow:master Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants