Skip to content

HBN Install Fail: 1.5.1v1

During execution of the latest poc-doca-hbn.yml, it hits a file not found error:

TASK [deploy_doca_hbn_container : Copy yaml file to kubelet.d] *****************************************************
Monday 12 December 2022  21:10:55 +0000 (0:00:00.071)       0:01:33.488 *******
fatal: [dpu_oob]: FAILED! => changed=false
  cmd:
  - cp
  - /root/doca_container_configs_v1.5.1v1/configs/1.5.1v1/doca_hbn.yaml
  - /etc/kubelet.d/doca_hbn.yaml
  delta: '0:00:00.008200'
  end: '2022-12-12 16:10:55.750345'
  msg: non-zero return code
  rc: 1
  start: '2022-12-12 16:10:55.742145'
  stderr: 'cp: cannot stat ''/root/doca_container_configs_v1.5.1v1/configs/1.5.1v1/doca_hbn.yaml'': No such file or directory'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

In /root/doca_container_configs_v1.5.1v1/configs, no directory exists for 1.5.1v1:

root@localhost:mgmt:~/doca_container_configs_v1.5.1v1/configs# ls -la
total 28
drwx------ 7 root root 4096 Dec 12 16:10 .
drwx------ 4 root root 4096 Dec 12 16:10 ..
drwx------ 2 root root 4096 Dec 12 16:10 1.2.0
drwx------ 2 root root 4096 Dec 12 16:10 1.3.0
drwx------ 2 root root 4096 Dec 12 16:10 1.4.0
drwx------ 2 root root 4096 Dec 12 16:10 1.5.0
drwx------ 2 root root 4096 Dec 12 16:10 1.5.1

A simple logical link from 1.5.1v1 --> 1.5.1 does the trick, but I'm not sure if the HBN YAML is supposed to be different for v1.