microsoft / pai

Resource scheduling and cluster management for AI

Home Page:https://openpai.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does the master-machine must have more than 40Gi memory size?

JohanOu opened this issue · comments

Short summary about the issue/question:
I got a error like this when I install kubernetes.
fatal: [pai-master]: FAILED! => {"changed": false, "msg": "The following requirements are not met: OpenPAI's infra node should have 40 Gi free memory for service"}
I set 10Gi in layout.yaml because my master-machine just have 16G memory size.
Can I install openpai?How to install?
Thanks very much.

OpenPAI Environment:

  • OpenPAI version:v1.8.0
  • 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.):8 vCPU,16G memory size
  • Others:

Anything else we need to know:

Please press ENTER to stop the script, check the log, and modify the cluster setting to meet the requirements.
If you are very sure about the configuration, and still want to continue, you can type in "continue" to force the script to proceed.

You can just input continue to ignore this fatal and continue the install.

Please press ENTER to stop the script, check the log, and modify the cluster setting to meet the requirements.
If you are very sure about the configuration, and still want to continue, you can type in "continue" to force the script to proceed.

You can just input continue to ignore this fatal and continue the install.

Thanks!I meet a new question:
Are your cluster is in Azure cloud or not? (Y/N) (case sensitive)N
cp: cannot create regular file '/home/pcl/pai-deploy/kubespray/inventory/pai/': No such file or directory

The pai-deploy just have a directory:cluster-cfg
how to solve it?

Maybe your network cannot access github.com, which causes the clone project kubespray to be unsuccessful.

You can run these few lines of code yourself to see what the result is.

echo "Clone kubespray source code from github to ${HOME}/pai-deploy"
sudo rm -rf ${HOME}/pai-deploy/kubespray
git clone -b release-2.11 https://github.com/kubernetes-sigs/kubespray.git ${HOME}/pai-deploy/kubespray