When I run requirement.sh,error occurred
Organization Name:
Short summary about the issue/question:

Brief what process you are following: when i run "/bin/bash requirement.sh -m /home/ouc/master.csv -w /home/ouc/worker.csv -c /home/ouc/config",error occurred
How to reproduce it:
OpenPAI Environment:
- OpenPAI version:v1.0.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.):
- Others:
Anything else we need to know:
Thanks,I already know the problem
Thanks,I already know the problem
I met the same problem. How do you solve it?
Thanks,I already know the problem
I met the same problem. How do you solve it?
Modify "environment- check.yml ”Network card “ansible_control_host_address: "{{ hostvars[inventory_hostname]['ansible_eno1']['ipv4']['address'] }}"”
I think the wide available solution is to modify GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" in /etc/default/grub, and then sudo grub-mkconfig -o /boot/grub/grub.cfg.
After that, the network interface name should be back to old school eth0
@ydye @hzy46
for the default ip address, https://github.com/microsoft/pai/blob/55a0b862bd897759f6c80aeb849be1fdde721406/contrib/kubespray/environment-check.yml#L11
could you check whether the following works?
{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] | default(hostvars[inventory_hostname]['ansible_all_ipv4_addresses'][0]) }}