nephio-experimental / one-summit-22-workshop

Apache License 2.0
6 stars 34 forks source link

Error from ansible install #110

Closed johnbelamaric closed 1 year ago

johnbelamaric commented 1 year ago

@henderiw I am seeing this error at the very end:

TASK [nephio/config : copy edge gitea repo] ***************************************************************************************************************************
ok: [10.128.0.47]

TASK [nephio/config : configure edge gitea repo] **********************************************************************************************************************
fatal: [10.128.0.47]: FAILED! => {"changed": true, "cmd": "kubectl --kubeconfig ~/.kube/mgmt-config apply -f /tmp/gitea-edge_repo-edge1.yaml", "delta": "0:00:00.272158", "end": "2022-12-19 22:58:39.126498", "msg": "non-zero return code", "rc": 1, "start": "2022-12-19 22:58:38.854340", "stderr": "error: the path \"/tmp/gitea-edge_repo-edge1.yaml\" does not exist", "stderr_lines": ["error: the path \"/tmp/gitea-edge_repo-edge1.yaml\" does not exist"], "stdout": "", "stdout_lines": []}

PLAY RECAP ************************************************************************************************************************************************************
10.128.0.47                : ok=9    changed=3    unreachable=0    failed=1    skipped=3    rescued=0    ignored=0   

(.venv) jbelamaric@jump:~/proj/gh/one-summit-22-workshop/nephio-ansible-install$ 

Looks like an "-" vs "_" issue:

jbelamaric@nephio:~$ ls /tmp
5gc-topology.yaml                   gitea-root-sync-edge2.yaml    nephio-package.yaml
cni                                 gitea-root-sync-region1.yaml  region1-cluster-config.yaml
cni-plugins-linux-amd64-v0.8.6.tgz  ipam.yaml                     snap-private-tmp
edge1-cluster-config.yaml           kind                          systemd-private-eb9480aef3864ac5bcee73bb66ab280b-chrony.service-W1gCss
edge2-cluster-config.yaml           kpt                           systemd-private-eb9480aef3864ac5bcee73bb66ab280b-systemd-logind.service-v4vjju
free-5gc-package.yaml               kubectl                       systemd-private-eb9480aef3864ac5bcee73bb66ab280b-systemd-resolved.service-JmC4dE
gitea-edge-repo-edge1.yaml          mgmt-cluster-config.yaml      topology.yaml
gitea-root-sync-edge1.yaml          nephio-install                upf-class.yaml