sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
195 stars 707 forks source link

configdb-t1-lag-tor.j2 template missing while deploying t1-lag topology with VS #7615

Open MahendranPackiam opened 1 year ago

MahendranPackiam commented 1 year ago

Description configdb-t1-lag-tor.j2 template missing while deploying t1-lag topology with VS

Steps to reproduce the issue: 1../testbed-cli.sh -m veos_vtb -n 24 -k vsonic start-vms server_1 password.txt -vvv

  1. ./testbed-cli.sh -t vtestbed.yaml -m veos_vtb -k vsonic add-topo vms-kvm-t1-lag password.txt -vvv

Describe the results you received: <10.250.0.73> (0, '', '') fatal: [VM0121]: FAILED! => { "changed": false, "msg": "Could not find or access 'configdb-t1-lag-tor.j2'\nSearched in:\n\t/data/sonic-mgmt/ansible/roles/sonic/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/configdb-t1-lag-tor.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" } <10.250.0.67> (0, 'ansible-tmp-1677656228.06-1096814-260581732992223=/home/admin/.ansible/tmp/ansible-tmp-1677656228.06-1096814-260581732992223\n', '') <10.250.0.67> ESTABLISH SSH CONNECTION FOR USER: admin <10.250.0.67> SSH: EXEC sshpass -d10 ssh -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/97629e057d 10.250.0.67 '/bin/sh -c '"'"'rm -f -r /home/admin/.ansible/tmp/ansible-tmp-1677656228.06-1096814-260581732992223/ > /dev/null 2>&1 && sleep 0'"'"'' <10.250.0.68> (0, '', '') fatal: [VM0122]: FAILED! => { "changed": false, "msg": "Could not find or access 'configdb-t1-lag-tor.j2'\nSearched in:\n\t/data/sonic-mgmt/ansible/roles/sonic/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/configdb-t1-lag-tor.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" } <10.250.0.66> (0, 'ansible-tmp-1677656228.06-1096819-220981866631763=/home/admin/.ansible/tmp/ansible-tmp-1677656228.06-1096819-220981866631763\n', '') <10.250.0.66> ESTABLISH SSH CONNECTION FOR USER: admin <10.250.0.66> SSH: EXEC sshpass -d10 ssh -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/05f8ff9c2b 10.250.0.66 '/bin/sh -c '"'"'rm -f -r /home/admin/.ansible/tmp/ansible-tmp-1677656228.06-1096819-220981866631763/ > /dev/null 2>&1 && sleep 0'"'"'' <10.250.0.67> (0, '', '') <10.250.0.65> ESTABLISH SSH CONNECTION FOR USER: admin fatal: [VM0117]: FAILED! => { "changed": false, "msg": "Could not find or access 'configdb-t1-lag-tor.j2'\nSearched in:\n\t/data/sonic-mgmt/ansible/roles/sonic/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/configdb-t1-lag-tor.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" } <10.250.0.65> SSH: EXEC sshpass -d10 ssh -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/0719ec374d 10.250.0.65 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp"&& mkdir $HOME/.ansible/tmp/ansible-tmp-1677656228.1-1096835-250878867661826 && echo ansible-tmp-1677656228.1-1096835-250878867661826="echo $HOME/.ansible/tmp/ansible-tmp-1677656228.1-1096835-250878867661826" ) && sleep 0'"'"'' <10.250.0.66> (0, '', '') <10.250.0.64> ESTABLISH SSH CONNECTION FOR USER: admin fatal: [VM0116]: FAILED! => { "changed": false, "msg": "Could not find or access 'configdb-t1-lag-tor.j2'\nSearched in:\n\t/data/sonic-mgmt/ansible/roles/sonic/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/configdb-t1-lag-tor.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" } <10.250.0.64> SSH: EXEC sshpass -d10 ssh -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/64fe0b14f7 10.250.0.64 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp"&& mkdir $HOME/.ansible/tmp/ansible-tmp-1677656228.1-1096841-85215851150117 && echo ansible-tmp-1677656228.1-1096841-85215851150117="echo $HOME/.ansible/tmp/ansible-tmp-1677656228.1-1096841-85215851150117" ) && sleep 0'"'"'' <10.250.0.63> ESTABLISH SSH CONNECTION FOR USER: admin fatal: [VM0115]: FAILED! => { "changed": false, "msg": "Could not find or access 'configdb-t1-lag-tor.j2'\nSearched in:\n\t/data/sonic-mgmt/ansible/roles/sonic/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/roles/sonic/tasks/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/templates/configdb-t1-lag-tor.j2\n\t/data/sonic-mgmt/ansible/configdb-t1-lag-tor.j2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" add_t1-lag_topo.txt

Describe the results you expected:

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
yxieca commented 1 year ago

@Pterosaur, @wangxin are we able to make t1-lag topology work with vsonic neighbors?

yxieca commented 1 year ago

@MahendranPackiam in the meanwhile, can you try to download EOS container or vm (ceos or veos). The ceos topology is used regularly in PR tests and it is stable.