pai icon indicating copy to clipboard operation
pai copied to clipboard

if can use smbclient and nfs mount in v2 job

Open MaPing01 opened this issue 6 years ago • 13 comments

Organization Name:

Short summary about the issue/question:

Brief what process you are following:

How to reproduce it:

OpenPAI Environment:

  • OpenPAI version:1.17
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.):
  • Others:

Anything else we need to know:

MaPing01 avatar Apr 30 '20 01:04 MaPing01

https://github.com/microsoft/pai/blob/master/docs/zh_CN/user/storage.md i refer to this doc,and use smbclient to get my source code,but failed and don't have any error info image image i already install smbclient in my image

MaPing01 avatar Apr 30 '20 01:04 MaPing01

@MaPing01 could you run the same command successfully on the host? according to smbclient manual, there's an issue with your samba address which doesn't use backslashes or escape the backslashes.

the job didn't prevent you from mounting, it's all about your image and command

abuccts avatar May 06 '20 05:05 abuccts

@MaPing01 could you run the same command successfully on the host? according to smbclient manual, there's an issue with your samba address which doesn't use backslashes or escape the backslashes.

the job didn't prevent you from mounting, it's all about your image and command i can run the same command successfully on the host, refer to storage.md https://github.com/microsoft/pai/blob/master/docs/zh_CN/user/storage.md

MaPing01 avatar May 06 '20 06:05 MaPing01

could you change smbclient debug level, e.g. add -d=3 in the mount command, and paste the output from job (stdout/stderr) and from host? you can remove the sensitive information.

abuccts avatar May 06 '20 06:05 abuccts

could you change smbclient debug level, e.g. add -d=3 in the mount command, and paste the output from job (stdout/stderr) and from host? you can remove the sensitive information.

image command successfully on the host

MaPing01 avatar May 06 '20 08:05 MaPing01

could you change smbclient debug level, e.g. add -d=3 in the mount command, and paste the output from job (stdout/stderr) and from host? you can remove the sensitive information.

image command successfully on the host

image image image

MaPing01 avatar May 06 '20 08:05 MaPing01

could you change smbclient debug level, e.g. add -d=3 in the mount command, and paste the output from job (stdout/stderr) and from host? you can remove the sensitive information.

image but the job log like this

MaPing01 avatar May 06 '20 08:05 MaPing01

could you paste the stdout and stderr of your job by clicking the following buttons? image

and seems you run apt-get, could you also share the job config?

abuccts avatar May 06 '20 08:05 abuccts

could you paste the stdout and stderr of your job by clicking the following buttons? image

and seems you run apt-get, could you also share the job config?

image job config is

MaPing01 avatar May 06 '20 08:05 MaPing01

could you paste the stdout and stderr of your job by clicking the following buttons? image and seems you run apt-get, could you also share the job config?

image job config is stdout and stderr fech error

MaPing01 avatar May 06 '20 09:05 MaPing01

according to the limited exit log in your previous screenshot, the job is failed because of network issue, in line 65 Network is unreachable, you may need to check it

image

and for your test on the host, the prompt is root@2134279eea66, it seems that it's inside a container. did you really run on the host environment?

abuccts avatar May 06 '20 09:05 abuccts

Hi @MaPing01 - thanks for following openpai and interact with us. would you mind share more info about what's the major usage for you when considering openPAI for yourself or your organization. if you don't mind, would you please share the org name? so that we can clustering issues together by org names.

PS: may we know better why your organization is stay with 0.17? do you have plan to switch to v1.x soon?

scarlett2018 avatar Jul 22 '20 08:07 scarlett2018

closed as no further response.

fanyangCS avatar Mar 11 '21 09:03 fanyangCS