Skip to content

[collateral] VMTopology' object has no attribute 'host_ifaces #2518

@ByReaL

Description

@ByReaL

Description

Steps to reproduce the issue:

  1. follow the steps on https://github.com/ByReaL/sonic-mgmt/blob/master/ansible/doc/README.testbed.Setup.md
  2. when you get to "./testbed-cli.sh start-vms server_1 ./password.txt -vvvvv " step we will get an error
  3. 1-2 weeks back (today is 10Nov2020) the code from https://github.com/Azure/sonic-mgmt was working fine but apparently there have been some recent changes in vm_topology.py and few other related files and now host_ifaces is empty.

Describe the results you received:
script fails
VMTopology' object has no attribute 'host_ifaces

Describe the results you expected:
the vms to be brought up

Additional information you deem important:

Traceback (most recent call last):
  File "/tmp/ansible_vm_topology_payload_n7ly826h/__main__.py", line 941, in main
    net.create_bridges()
  File "/tmp/ansible_vm_topology_payload_n7ly826h/__main__.py", line 237, in create_bridges
    self.create_ovs_bridge(fp_br_name, self.fp_mtu)
  File "/tmp/ansible_vm_topology_payload_n7ly826h/__main__.py", line 242, in create_ovs_bridge
    if bridge_name not in self.host_ifaces:
AttributeError: 'VMTopology' object has no attribute 'host_ifaces'

**Output of `show version`:**

```
"append": true,
"changed": false,
"comment": "mircea",
"group": 1000,
"groups": "docker,sudo",
"home": "/home/tonic",
"invocation": {
    "module_args": {
        "append": true,
        "authorization": null,
        "comment": null,
        "create_home": true,
        "expires": null,
        "force": false,
        "generate_ssh_key": null,
        "group": null,
        "groups": [
            "docker",
            "sudo"
        ],
        "hidden": null,
        "home": null,
        "local": null,
        "login_class": null,
        "move_home": false,
        "name": "tonic",
        "non_unique": false,
        "password": null,
        "password_lock": null,
        "profile": null,
        "remove": false,
        "role": null,
        "seuser": null,
        "shell": null,
        "skeleton": null,
        "ssh_key_bits": 0,
        "ssh_key_comment": "ansible-generated on tonic",
        "ssh_key_file": null,
        "ssh_key_passphrase": null,
        "ssh_key_type": "rsa",
        "state": "present",
        "system": false,
        "uid": null,
        "update_password": "always"
    }
},
"move_home": false,
"name": "tonic",
"shell": "/bin/bash",
"state": "present",
"uid": 1000

}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Ensure tonic in libvirt group] ***********************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:104
Wednesday 11 November 2020 22:22:45 +0000 (0:00:00.545) 0:00:12.828 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/user.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=sxidrbjqfisthtvzniqgdkqoqezrpyot] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sxidrbjqfisthtvzniqgdkqoqezrpyot ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"name": "tonic", "state": "present", "append": true, "move_home": false, "changed": false, "uid": 1000, "group": 1000, "comment": "mircea", "home": "/home/tonic", "shell": "/bin/bash", "groups": "libvirt", "invocation": {"module_args": {"name": "tonic", "groups": ["libvirt"], "append": true, "state": "present", "non_unique": false, "force": false, "remove": false, "create_home": true, "system": false, "move_home": false, "ssh_key_bits": 0, "ssh_key_type": "rsa", "ssh_key_comment": "ansible-generated on tonic", "update_password": "always", "uid": null, "group": null, "comment": null, "home": null, "shell": null, "password": null, "login_class": null, "hidden": null, "seuser": null, "skeleton": null, "generate_ssh_key": null, "ssh_key_file": null, "ssh_key_passphrase": null, "expires": null, "password_lock": null, "local": null, "profile": null, "authorization": null, "role": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"append": true,
"changed": false,
"comment": "mircea",
"group": 1000,
"groups": "libvirt",
"home": "/home/tonic",
"invocation": {
"module_args": {
"append": true,
"authorization": null,
"comment": null,
"create_home": true,
"expires": null,
"force": false,
"generate_ssh_key": null,
"group": null,
"groups": [
"libvirt"
],
"hidden": null,
"home": null,
"local": null,
"login_class": null,
"move_home": false,
"name": "tonic",
"non_unique": false,
"password": null,
"password_lock": null,
"profile": null,
"remove": false,
"role": null,
"seuser": null,
"shell": null,
"skeleton": null,
"ssh_key_bits": 0,
"ssh_key_comment": "ansible-generated on tonic",
"ssh_key_file": null,
"ssh_key_passphrase": null,
"ssh_key_type": "rsa",
"state": "present",
"system": false,
"uid": null,
"update_password": "always"
}
},
"move_home": false,
"name": "tonic",
"shell": "/bin/bash",
"state": "present",
"uid": 1000
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Install br_netfilter kernel module] ******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:112
Wednesday 11 November 2020 22:22:45 +0000 (0:00:00.261) 0:00:13.089 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/modprobe.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=djjicpbkvbmjhrvcbauvrwciohwsqwuu] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-djjicpbkvbmjhrvcbauvrwciohwsqwuu ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "name": "br_netfilter", "params": "", "state": "present", "invocation": {"module_args": {"name": "br_netfilter", "state": "present", "params": ""}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"name": "br_netfilter",
"params": "",
"state": "present"
}
},
"name": "br_netfilter",
"params": "",
"state": "present"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Set sysctl bridge parameters for testbed] ************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:116
Wednesday 11 November 2020 22:22:45 +0000 (0:00:00.423) 0:00:13.513 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/sysctl.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=ckuwsdjhnespvxrmohoaavjuhigklbqn] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ckuwsdjhnespvxrmohoaavjuhigklbqn ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "invocation": {"module_args": {"value": "0", "sysctl_set": true, "name": "net.bridge.bridge-nf-call-arptables", "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf"}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => (item=net.bridge.bridge-nf-call-arptables) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"ignoreerrors": false,
"name": "net.bridge.bridge-nf-call-arptables",
"reload": true,
"state": "present",
"sysctl_file": "/etc/sysctl.conf",
"sysctl_set": true,
"value": "0"
}
},
"item": "net.bridge.bridge-nf-call-arptables"
}
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/sysctl.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=gtcvkqphzhdgvcqicmnbjrikbhnlozmp] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gtcvkqphzhdgvcqicmnbjrikbhnlozmp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "invocation": {"module_args": {"value": "0", "sysctl_set": true, "name": "net.bridge.bridge-nf-call-ip6tables", "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf"}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => (item=net.bridge.bridge-nf-call-ip6tables) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"ignoreerrors": false,
"name": "net.bridge.bridge-nf-call-ip6tables",
"reload": true,
"state": "present",
"sysctl_file": "/etc/sysctl.conf",
"sysctl_set": true,
"value": "0"
}
},
"item": "net.bridge.bridge-nf-call-ip6tables"
}
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/sysctl.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=gxngdpmjvdjjhoktnvchkwelaovubmro] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gxngdpmjvdjjhoktnvchkwelaovubmro ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "invocation": {"module_args": {"value": "0", "sysctl_set": true, "name": "net.bridge.bridge-nf-call-iptables", "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf"}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => (item=net.bridge.bridge-nf-call-iptables) => {
"ansible_loop_var": "item",
"changed": false,
"invocation": {
"module_args": {
"ignoreerrors": false,
"name": "net.bridge.bridge-nf-call-iptables",
"reload": true,
"state": "present",
"sysctl_file": "/etc/sysctl.conf",
"sysctl_set": true,
"value": "0"
}
},
"item": "net.bridge.bridge-nf-call-iptables"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Set sysctl RCVBUF max parameter for testbed] *********************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:127
Wednesday 11 November 2020 22:22:46 +0000 (0:00:00.848) 0:00:14.361 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/sysctl.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=besvutsfufqofdbbpimyntmcyykeeqor] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-besvutsfufqofdbbpimyntmcyykeeqor ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "invocation": {"module_args": {"value": "509430500", "sysctl_set": true, "name": "net.core.rmem_max", "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf"}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"ignoreerrors": false,
"name": "net.core.rmem_max",
"reload": true,
"state": "present",
"sysctl_file": "/etc/sysctl.conf",
"sysctl_set": true,
"value": "509430500"
}
}
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Set sysctl RCVBUF default parameter for testbed] *****************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:134
Wednesday 11 November 2020 22:22:46 +0000 (0:00:00.226) 0:00:14.588 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/sysctl.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=exueyftobikqqfzdbbvwszajjglnmezj] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-exueyftobikqqfzdbbvwszajjglnmezj ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "invocation": {"module_args": {"value": "31457280", "sysctl_set": true, "name": "net.core.rmem_default", "state": "present", "reload": true, "ignoreerrors": false, "sysctl_file": "/etc/sysctl.conf"}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"ignoreerrors": false,
"name": "net.core.rmem_default",
"reload": true,
"state": "present",
"sysctl_file": "/etc/sysctl.conf",
"sysctl_set": true,
"value": "31457280"
}
}
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Setup external front port] ***************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:141
Wednesday 11 November 2020 22:22:47 +0000 (0:00:00.225) 0:00:14.814 ****
Read vars_file 'vars/azure_storage.yml'
included: /data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml for STR-ACS-SERV-01
Read vars_file 'vars/azure_storage.yml'
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : make sure /etc/network/interfaces.d exists] **********************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml:1
Wednesday 11 November 2020 22:22:47 +0000 (0:00:00.054) 0:00:14.869 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=caogkseyvdsjhwkhfekpvhqgvtckpydc] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-caogkseyvdsjhwkhfekpvhqgvtckpydc ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"path": "/etc/network/interfaces.d", "changed": false, "diff": {"before": {"path": "/etc/network/interfaces.d"}, "after": {"path": "/etc/network/interfaces.d"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0755", "state": "directory", "size": 4096, "invocation": {"module_args": {"state": "directory", "path": "/etc/network/interfaces.d", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "mode": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"diff": {
"after": {
"path": "/etc/network/interfaces.d"
},
"before": {
"path": "/etc/network/interfaces.d"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/etc/network/interfaces.d",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0755",
"owner": "root",
"path": "/etc/network/interfaces.d",
"size": 4096,
"state": "directory",
"uid": 0
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : setup external interface as trunk port] **************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml:7
Wednesday 11 November 2020 22:22:47 +0000 (0:00:00.451) 0:00:15.320 ****
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp"&& mkdir $HOME/.ansible/tmp/ansible-tmp-1605133367.64-3116-90162796069081 && echo ansible-tmp-1605133367.64-3116-90162796069081="echo $HOME/.ansible/tmp/ansible-tmp-1605133367.64-3116-90162796069081" ) && sleep 0'"'"''
<10.36.77.19> (0, 'ansible-tmp-1605133367.64-3116-90162796069081=/home/tonic/.ansible/tmp/ansible-tmp-1605133367.64-3116-90162796069081\n', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
looking for "external_port.j2" at "/data/sonic-mgmt/ansible/roles/vm_set/templates/external_port.j2"
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=ifcsrqhkiufkixfycsleuzsyuyjvypjm] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ifcsrqhkiufkixfycsleuzsyuyjvypjm ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "/etc/network/interfaces.d/external_port", "mode": "0644", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 97, "inode": 1319630, "dev": 2066, "nlink": 1, "atime": 1605130487.481022, "mtime": 1605130089.664526, "ctime": 1605130090.0445263, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": true, "xgrp": false, "woth": false, "roth": true, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "39ba7c78611e6a677d26a615afd3e89af7db3bf5", "mimetype": "text/plain", "charset": "us-ascii", "version": "1700381517", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/network/interfaces.d/external_port", "get_mime": true, "get_attributes": true, "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=dupssjpmuthdvikjqpktymvwieggizoq] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-dupssjpmuthdvikjqpktymvwieggizoq ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"path": "/etc/network/interfaces.d/external_port", "changed": false, "diff": {"before": {"path": "/etc/network/interfaces.d/external_port"}, "after": {"path": "/etc/network/interfaces.d/external_port"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0644", "state": "file", "size": 97, "invocation": {"module_args": {"dest": "/etc/network/interfaces.d/external_port", "_original_basename": "external_port.j2", "follow": false, "recurse": false, "state": "file", "mode": null, "path": "/etc/network/interfaces.d/external_port", "force": false, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'rm -f -r /home/tonic/.ansible/tmp/ansible-tmp-1605133367.64-3116-90162796069081/ > /dev/null 2>&1 && sleep 0'"'"''
<10.36.77.19> (0, '', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [STR-ACS-SERV-01] => {
"changed": false,
"checksum": "39ba7c78611e6a677d26a615afd3e89af7db3bf5",
"dest": "/etc/network/interfaces.d/external_port",
"diff": {
"after": {
"path": "/etc/network/interfaces.d/external_port"
},
"before": {
"path": "/etc/network/interfaces.d/external_port"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": "external_port.j2",
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "/etc/network/interfaces.d/external_port",
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/etc/network/interfaces.d/external_port",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": null
}
},
"mode": "0644",
"owner": "root",
"path": "/etc/network/interfaces.d/external_port",
"size": 97,
"state": "file",
"uid": 0
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : bring up external port] ******************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml:13
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.707) 0:00:16.027 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Setup internal management network] *******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:145
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.029) 0:00:16.057 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : getent] **********************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:150
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.031) 0:00:16.088 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/getent.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"ansible_facts": {"getent_passwd": {"tonic": ["x", "1000", "1000", "mircea", "/home/tonic", "/bin/bash"]}}, "invocation": {"module_args": {"database": "passwd", "split": ":", "key": "tonic", "fail_key": true}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"ansible_facts": {
"getent_passwd": {
"tonic": [
"x",
"1000",
"1000",
"mircea",
"/home/tonic",
"/bin/bash"
]
}
},
"changed": false,
"invocation": {
"module_args": {
"database": "passwd",
"fail_key": true,
"key": "tonic",
"split": ":"
}
}
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : set_fact] ********************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:154
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.405) 0:00:16.494 ****
ok: [STR-ACS-SERV-01] => {
"ansible_facts": {
"home_path": "/home/tonic"
},
"changed": false
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : debug] ***********************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:157
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.037) 0:00:16.531 ****
ok: [STR-ACS-SERV-01] => {
"msg": "/home/tonic"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Require veos VMs by default] *************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:159
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.029) 0:00:16.561 ****
ok: [STR-ACS-SERV-01] => {
"ansible_facts": {
"veos_vm_required": true
},
"changed": false
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : veos VMs not needed when setting up Kubernetes master] ***********************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:163
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.022) 0:00:16.583 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : VMs not needed in case of Keysight API Server] *******************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:169
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.028) 0:00:16.612 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Retrieve a list of the defined VMs] ******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:176
Wednesday 11 November 2020 22:22:48 +0000 (0:00:00.026) 0:00:16.638 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/cloud/misc/virt.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=gmjsakkkpmsawnaylyhlbydmxmbrsoay] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gmjsakkkpmsawnaylyhlbydmxmbrsoay ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"list_vms": [], "invocation": {"module_args": {"uri": "qemu:///system", "command": "list_vms", "name": null, "state": null, "autostart": null, "xml": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"autostart": null,
"command": "list_vms",
"name": null,
"state": null,
"uri": "qemu:///system",
"xml": null
}
},
"list_vms": []
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Retrieve a list of the running VMs] ******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:182
Wednesday 11 November 2020 22:22:49 +0000 (0:00:00.460) 0:00:17.099 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/cloud/misc/virt.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=zyuzpndghvckvyavoydnerixbienxopw] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-zyuzpndghvckvyavoydnerixbienxopw ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"list_vms": [], "invocation": {"module_args": {"uri": "qemu:///system", "state": "running", "command": "list_vms", "name": null, "autostart": null, "xml": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"autostart": null,
"command": "list_vms",
"name": null,
"state": "running",
"uri": "qemu:///system",
"xml": null
}
},
"list_vms": []
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Retrieve a list of the paused VMs] *******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:189
Wednesday 11 November 2020 22:22:49 +0000 (0:00:00.246) 0:00:17.346 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/cloud/misc/virt.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=yesdceprzzojsmzvgcuzssfdidsyfnxp] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-yesdceprzzojsmzvgcuzssfdidsyfnxp ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"list_vms": [], "invocation": {"module_args": {"uri": "qemu:///system", "state": "pause", "command": "list_vms", "name": null, "autostart": null, "xml": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"autostart": null,
"command": "list_vms",
"name": null,
"state": "pause",
"uri": "qemu:///system",
"xml": null
}
},
"list_vms": []
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Ensure test1/veos-vm exists] *************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:197
Wednesday 11 November 2020 22:22:49 +0000 (0:00:00.249) 0:00:17.595 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"path": "test1/veos-vm", "changed": false, "diff": {"before": {"path": "test1/veos-vm"}, "after": {"path": "test1/veos-vm"}}, "uid": 1000, "gid": 1000, "owner": "tonic", "group": "tonic", "mode": "0775", "state": "directory", "size": 4096, "invocation": {"module_args": {"state": "directory", "path": "test1/veos-vm", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "mode": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"diff": {
"after": {
"path": "test1/veos-vm"
},
"before": {
"path": "test1/veos-vm"
}
},
"gid": 1000,
"group": "tonic",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "test1/veos-vm",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "tonic",
"path": "test1/veos-vm",
"size": 4096,
"state": "directory",
"uid": 1000
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Install cleanup script] ******************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:200
Wednesday 11 November 2020 22:22:50 +0000 (0:00:00.212) 0:00:17.808 ****
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp"&& mkdir $HOME/.ansible/tmp/ansible-tmp-1605133370.13-3166-177208212728567 && echo ansible-tmp-1605133370.13-3166-177208212728567="echo $HOME/.ansible/tmp/ansible-tmp-1605133370.13-3166-177208212728567" ) && sleep 0'"'"''
<10.36.77.19> (0, 'ansible-tmp-1605133370.13-3166-177208212728567=/home/tonic/.ansible/tmp/ansible-tmp-1605133370.13-3166-177208212728567\n', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
looking for "cleanup.sh.j2" at "/data/sonic-mgmt/ansible/roles/vm_set/templates/cleanup.sh.j2"
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "test1/veos-vm/cleanup.sh", "mode": "0775", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1000, "gid": 1000, "size": 853, "inode": 1842368, "dev": 2066, "nlink": 1, "atime": 1605133306.862469, "mtime": 1605132990.3786347, "ctime": 1605132990.7826343, "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": true, "xoth": true, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": true, "pw_name": "tonic", "gr_name": "tonic", "checksum": "1d30e3ef8cbbdf5e37754c65f27bc127709dac83", "mimetype": "text/x-shellscript", "charset": "us-ascii", "version": "786763937", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "test1/veos-vm/cleanup.sh", "get_mime": true, "get_attributes": true, "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"path": "test1/veos-vm/cleanup.sh", "changed": false, "diff": {"before": {"path": "test1/veos-vm/cleanup.sh"}, "after": {"path": "test1/veos-vm/cleanup.sh"}}, "uid": 1000, "gid": 1000, "owner": "tonic", "group": "tonic", "mode": "0775", "state": "file", "size": 853, "invocation": {"module_args": {"dest": "test1/veos-vm/cleanup.sh", "_original_basename": "cleanup.sh.j2", "follow": false, "recurse": false, "state": "file", "mode": null, "path": "test1/veos-vm/cleanup.sh", "force": false, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'rm -f -r /home/tonic/.ansible/tmp/ansible-tmp-1605133370.13-3166-177208212728567/ > /dev/null 2>&1 && sleep 0'"'"''
<10.36.77.19> (0, '', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [STR-ACS-SERV-01] => {
"changed": false,
"checksum": "1d30e3ef8cbbdf5e37754c65f27bc127709dac83",
"dest": "test1/veos-vm/cleanup.sh",
"diff": {
"after": {
"path": "test1/veos-vm/cleanup.sh"
},
"before": {
"path": "test1/veos-vm/cleanup.sh"
}
},
"gid": 1000,
"group": "tonic",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": "cleanup.sh.j2",
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "test1/veos-vm/cleanup.sh",
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "test1/veos-vm/cleanup.sh",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "tonic",
"path": "test1/veos-vm/cleanup.sh",
"size": 853,
"state": "file",
"uid": 1000
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Copy vm_resumer.py to the test1/veos-vm] *************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:204
Wednesday 11 November 2020 22:22:50 +0000 (0:00:00.460) 0:00:18.268 ****
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp"&& mkdir $HOME/.ansible/tmp/ansible-tmp-1605133370.59-3177-186637817641531 && echo ansible-tmp-1605133370.59-3177-186637817641531="echo $HOME/.ansible/tmp/ansible-tmp-1605133370.59-3177-186637817641531" ) && sleep 0'"'"''
<10.36.77.19> (0, 'ansible-tmp-1605133370.59-3177-186637817641531=/home/tonic/.ansible/tmp/ansible-tmp-1605133370.59-3177-186637817641531\n', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/roles/vm_set/files/roles/vm_set/files/vm_resumer.py"
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/roles/vm_set/roles/vm_set/files/vm_resumer.py"
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/roles/vm_set/tasks/files/roles/vm_set/files/vm_resumer.py"
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/roles/vm_set/tasks/roles/vm_set/files/vm_resumer.py"
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/files/roles/vm_set/files/vm_resumer.py"
looking for "roles/vm_set/files/vm_resumer.py" at "/data/sonic-mgmt/ansible/roles/vm_set/files/vm_resumer.py"
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=ivdqlhvaizfmowbntqqchmslovrukkxw] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ivdqlhvaizfmowbntqqchmslovrukkxw ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "test1/veos-vm", "mode": "0775", "isdir": true, "ischr": false, "isblk": false, "isreg": false, "isfifo": false, "islnk": false, "issock": false, "uid": 1000, "gid": 1000, "size": 4096, "inode": 923276, "dev": 2066, "nlink": 4, "atime": 1605133019.9746118, "mtime": 1605132990.7826343, "ctime": 1605132990.7826343, "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": true, "xoth": true, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": true, "pw_name": "tonic", "gr_name": "tonic", "mimetype": "inode/directory", "charset": "binary", "version": "3471302720", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "test1/veos-vm", "get_mime": true, "get_attributes": true, "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=efbhdosggtlyqmdgsursjxuitbumjszr] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-efbhdosggtlyqmdgsursjxuitbumjszr ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "test1/veos-vm/vm_resumer.py", "mode": "0755", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1000, "gid": 1000, "size": 3964, "inode": 1713132, "dev": 2066, "nlink": 1, "atime": 1605133307.5184686, "mtime": 1605132604.983152, "ctime": 1605132991.4626338, "wusr": true, "rusr": true, "xusr": true, "wgrp": false, "rgrp": true, "xgrp": true, "woth": false, "roth": true, "xoth": true, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": true, "pw_name": "tonic", "gr_name": "tonic", "checksum": "b5f5368388711b811e4667df157efe79ac818ac3", "mimetype": "text/x-python", "charset": "us-ascii", "version": "1310927753", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "test1/veos-vm/vm_resumer.py", "get_mime": true, "get_attributes": true, "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=cvykdxjeyqualaputkzehnsmrkhxpkqm] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-cvykdxjeyqualaputkzehnsmrkhxpkqm ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (0, '\n{"path": "test1/veos-vm/vm_resumer.py", "changed": false, "diff": {"before": {"path": "test1/veos-vm/vm_resumer.py"}, "after": {"path": "test1/veos-vm/vm_resumer.py"}}, "uid": 1000, "gid": 1000, "owner": "tonic", "group": "tonic", "mode": "0755", "state": "file", "size": 3964, "invocation": {"module_args": {"dest": "test1/veos-vm", "_original_basename": "vm_resumer.py", "recurse": false, "state": "file", "mode": 493, "path": "test1/veos-vm/vm_resumer.py", "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'rm -f -r /home/tonic/.ansible/tmp/ansible-tmp-1605133370.59-3177-186637817641531/ > /dev/null 2>&1 && sleep 0'"'"''
<10.36.77.19> (0, '', 'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [STR-ACS-SERV-01] => {
"changed": false,
"checksum": "b5f5368388711b811e4667df157efe79ac818ac3",
"dest": "test1/veos-vm/vm_resumer.py",
"diff": {
"after": {
"path": "test1/veos-vm/vm_resumer.py"
},
"before": {
"path": "test1/veos-vm/vm_resumer.py"
}
},
"gid": 1000,
"group": "tonic",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": "vm_resumer.py",
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"dest": "test1/veos-vm",
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": 493,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "test1/veos-vm/vm_resumer.py",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": null
}
},
"mode": "0755",
"owner": "tonic",
"path": "test1/veos-vm/vm_resumer.py",
"size": 3964,
"state": "file",
"uid": 1000
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Find current server group] ***************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:211
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.677) 0:00:18.946 ****
ok: [STR-ACS-SERV-01] => {
"ansible_facts": {
"current_server": "server_1"
},
"changed": false
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Extract VM names from the inventory] *****************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:214
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.038) 0:00:18.984 ****
ok: [STR-ACS-SERV-01] => {
"ansible_facts": {
"VM_hosts": [
"VM0100",
"VM0101",
"VM0102",
"VM0103",
"VM0104",
"VM0105",
"VM0106",
"VM0107",
"VM0108",
"VM0109",
"VM0110",
"VM0111",
"VM0112",
"VM0113",
"VM0114",
"VM0115",
"VM0116",
"VM0117",
"VM0118",
"VM0119",
"VM0120",
"VM0121",
"VM0122",
"VM0123",
"VM0124",
"VM0125",
"VM0126",
"VM0127",
"VM0128",
"VM0129",
"VM0130",
"VM0131"
]
},
"changed": false
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Limit VM] ********************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:217
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.037) 0:00:19.022 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Generate vm list of target VMs] **********************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:221
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.032) 0:00:19.054 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Stop VMs] ********************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:225
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.033) 0:00:19.088 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Start VMs] *******************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:229
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.032) 0:00:19.120 ****
Read vars_file 'vars/azure_storage.yml'
Read vars_file 'vars/azure_storage.yml'
Read vars_file 'vars/azure_storage.yml'
included: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml for STR-ACS-SERV-01
Read vars_file 'vars/azure_storage.yml'
Read vars_file 'vars/azure_storage.yml'
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Load topo variables] *********************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:1
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.091) 0:00:19.212 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Filter VMs for specified topology] *******************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:5
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.035) 0:00:19.247 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Create directory for vm images and vm disks] *********************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:9
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.034) 0:00:19.282 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"path": "test1/veos-vm/images", "changed": false, "diff": {"before": {"path": "test1/veos-vm/images"}, "after": {"path": "test1/veos-vm/images"}}, "uid": 1000, "gid": 1000, "owner": "tonic", "group": "tonic", "mode": "0755", "state": "directory", "size": 4096, "invocation": {"module_args": {"state": "directory", "mode": "0755", "path": "test1/veos-vm/images", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => (item=test1/veos-vm/images) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "test1/veos-vm/images"
},
"before": {
"path": "test1/veos-vm/images"
}
},
"gid": 1000,
"group": "tonic",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "0755",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "test1/veos-vm/images",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "test1/veos-vm/images",
"mode": "0755",
"owner": "tonic",
"path": "test1/veos-vm/images",
"size": 4096,
"state": "directory",
"uid": 1000
}
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/file.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"path": "test1/veos-vm/disks", "changed": false, "diff": {"before": {"path": "test1/veos-vm/disks"}, "after": {"path": "test1/veos-vm/disks"}}, "uid": 1000, "gid": 1000, "owner": "tonic", "group": "tonic", "mode": "0755", "state": "directory", "size": 4096, "invocation": {"module_args": {"state": "directory", "mode": "0755", "path": "test1/veos-vm/disks", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "owner": null, "group": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null, "unsafe_writes": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => (item=test1/veos-vm/disks) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "test1/veos-vm/disks"
},
"before": {
"path": "test1/veos-vm/disks"
}
},
"gid": 1000,
"group": "tonic",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "0755",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "test1/veos-vm/disks",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "test1/veos-vm/disks",
"mode": "0755",
"owner": "tonic",
"path": "test1/veos-vm/disks",
"size": 4096,
"state": "directory",
"uid": 1000
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Check hdd image] *************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:15
Wednesday 11 November 2020 22:22:51 +0000 (0:00:00.405) 0:00:19.687 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "test1/veos-vm/images/vEOS-lab-4.25.0F.vmdk", "mode": "0775", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1000, "gid": 1000, "size": 468779008, "inode": 923288, "dev": 2066, "nlink": 1, "atime": 1605133308.6744683, "mtime": 1603991685.0, "ctime": 1605132951.0506678, "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": true, "xoth": true, "isuid": false, "isgid": false, "blocks": 915592, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": true, "pw_name": "tonic", "gr_name": "tonic", "checksum": "f820dfeb257f8960d9cd3675b7a5c4f573c7ce4f", "mimetype": "application/octet-stream", "charset": "binary", "version": "3432975665", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"path": "test1/veos-vm/images/vEOS-lab-4.25.0F.vmdk", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1", "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_attributes": true,
"get_checksum": true,
"get_md5": null,
"get_mime": true,
"path": "test1/veos-vm/images/vEOS-lab-4.25.0F.vmdk"
}
},
"stat": {
"atime": 1605133308.6744683,
"attr_flags": "e",
"attributes": [
"extents"
],
"block_size": 4096,
"blocks": 915592,
"charset": "binary",
"checksum": "f820dfeb257f8960d9cd3675b7a5c4f573c7ce4f",
"ctime": 1605132951.0506678,
"dev": 2066,
"device_type": 0,
"executable": true,
"exists": true,
"gid": 1000,
"gr_name": "tonic",
"inode": 923288,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mimetype": "application/octet-stream",
"mode": "0775",
"mtime": 1603991685.0,
"nlink": 1,
"path": "test1/veos-vm/images/vEOS-lab-4.25.0F.vmdk",
"pw_name": "tonic",
"readable": true,
"rgrp": true,
"roth": true,
"rusr": true,
"size": 468779008,
"uid": 1000,
"version": "3432975665",
"wgrp": true,
"woth": false,
"writeable": true,
"wusr": true,
"xgrp": true,
"xoth": true,
"xusr": true
}
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Fail if there are no hdd image and skip image downloading is active] *********************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:19
Wednesday 11 November 2020 22:22:52 +0000 (0:00:00.971) 0:00:20.658 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Download hdd image] **********************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:23
Wednesday 11 November 2020 22:22:52 +0000 (0:00:00.035) 0:00:20.694 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Check cd image] **************************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:27
Wednesday 11 November 2020 22:22:53 +0000 (0:00:00.030) 0:00:20.724 ****
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/files/stat.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<10.36.77.19> (0, '\n{"changed": false, "stat": {"exists": true, "path": "test1/veos-vm/images/Aboot-veos-serial-8.0.0.iso", "mode": "0775", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1000, "gid": 1000, "size": 5242880, "inode": 923287, "dev": 2066, "nlink": 1, "atime": 1605133309.6464682, "mtime": 1603991201.0, "ctime": 1605132951.0506678, "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": true, "xoth": true, "isuid": false, "isgid": false, "blocks": 10240, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": true, "pw_name": "tonic", "gr_name": "tonic", "checksum": "16edbb5a460b57bf7b16e9f4376e260b7ff0b349", "mimetype": "application/octet-stream", "charset": "binary", "version": "1584133847", "attributes": ["extents"], "attr_flags": "e"}, "invocation": {"module_args": {"path": "test1/veos-vm/images/Aboot-veos-serial-8.0.0.iso", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1", "get_md5": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [STR-ACS-SERV-01] => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_attributes": true,
"get_checksum": true,
"get_md5": null,
"get_mime": true,
"path": "test1/veos-vm/images/Aboot-veos-serial-8.0.0.iso"
}
},
"stat": {
"atime": 1605133309.6464682,
"attr_flags": "e",
"attributes": [
"extents"
],
"block_size": 4096,
"blocks": 10240,
"charset": "binary",
"checksum": "16edbb5a460b57bf7b16e9f4376e260b7ff0b349",
"ctime": 1605132951.0506678,
"dev": 2066,
"device_type": 0,
"executable": true,
"exists": true,
"gid": 1000,
"gr_name": "tonic",
"inode": 923287,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mimetype": "application/octet-stream",
"mode": "0775",
"mtime": 1603991201.0,
"nlink": 1,
"path": "test1/veos-vm/images/Aboot-veos-serial-8.0.0.iso",
"pw_name": "tonic",
"readable": true,
"rgrp": true,
"roth": true,
"rusr": true,
"size": 5242880,
"uid": 1000,
"version": "1584133847",
"wgrp": true,
"woth": false,
"writeable": true,
"wusr": true,
"xgrp": true,
"xoth": true,
"xusr": true
}
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Fail if there are no cd image and skip image downloading is active] **********************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:31
Wednesday 11 November 2020 22:22:53 +0000 (0:00:00.239) 0:00:20.964 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Download cd image] ***********************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:35
Wednesday 11 November 2020 22:22:53 +0000 (0:00:00.036) 0:00:21.000 ****
skipping: [STR-ACS-SERV-01] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
Read vars_file 'vars/azure_storage.yml'

TASK [vm_set : Create VMs network] **********************************************************************************************************************************************************************************************************
task path: /data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:39
Wednesday 11 November 2020 22:22:53 +0000 (0:00:00.036) 0:00:21.037 ****
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/validation.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/parsing/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_utils.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/parameters.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/common/collections.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/init.py
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/distro/_distro.py
Using module file /data/sonic-mgmt/ansible/roles/vm_set/library/vm_topology.py
Pipelining is enabled.
<10.36.77.19> ESTABLISH SSH CONNECTION FOR USER: tonic
<10.36.77.19> SSH: ansible.cfg set ssh_args: (-o)(ControlMaster=auto)(-o)(ControlPersist=120s)(-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.36.77.19> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="tonic")
<10.36.77.19> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<10.36.77.19> SSH: PlayContext set ssh_common_args: ()
<10.36.77.19> SSH: PlayContext set ssh_extra_args: ()
<10.36.77.19> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/var/tonic/.ansible/cp/533b346f8d)
<10.36.77.19> SSH: EXEC sshpass -d8 ssh -vvv -o ControlMaster=auto -o ControlPersist=120s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o StrictHostKeyChecking=no -o 'User="tonic"' -o ConnectTimeout=10 -o ControlPath=/var/tonic/.ansible/cp/533b346f8d 10.36.77.19 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=uyedqbqczpeynarawkrxnwwuyoyrbhuw] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-uyedqbqczpeynarawkrxnwwuyoyrbhuw ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<10.36.77.19> (1, '\n{"msg": "'VMTopology' object has no attribute 'host_ifaces'", "failed": true, "exception": " File \"/tmp/ansible_vm_topology_payload_n7ly826h/main.py\", line 941, in main\n net.create_bridges()\n File \"/tmp/ansible_vm_topology_payload_n7ly826h/main.py\", line 237, in create_bridges\n self.create_ovs_bridge(fp_br_name, self.fp_mtu)\n File \"/tmp/ansible_vm_topology_payload_n7ly826h/main.py\", line 242, in create_ovs_bridge\n if bridge_name not in self.host_ifaces:\n", "invocation": {"module_args": {"max_fp_num": 4, "fp_mtu": 9216, "cmd": "create", "vm_names": ["VM0100", "VM0101", "VM0102", "VM0103", "VM0104", "VM0105", "VM0106", "VM0107", "VM0108", "VM0109", "VM0110", "VM0111", "VM0112", "VM0113", "VM0114", "VM0115", "VM0116", "VM0117", "VM0118", "VM0119", "VM0120", "VM0121", "VM0122", "VM0123", "VM0124", "VM0125", "VM0126", "VM0127", "VM0128", "VM0129", "VM0130", "VM0131"], "vm_set_name": null, "topo": null, "vm_base": null, "ptf_mgmt_ip_addr": null, "ptf_mgmt_ipv6_addr": null, "ptf_mgmt_ip_gw": null, "ptf_bp_ip_addr": null, "ptf_bp_ipv6_addr": null, "mgmt_bridge": null, "duts_fp_ports": null, "duts_mgmt_port": null, "duts_name": null}}}\n', "OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\r\ndebug1: Reading configuration data /var/tonic/.ssh/config\r\ndebug1: /var/tonic/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 2666\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\n:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n")
<10.36.77.19> Failed to connect to the host via ssh: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /var/tonic/.ssh/config
debug1: /var/tonic/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 2666
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
The full traceback is:
File "/tmp/ansible_vm_topology_payload_n7ly826h/main.py", line 941, in main
net.create_bridges()
File "/tmp/ansible_vm_topology_payload_n7ly826h/main.py", line 237, in create_bridges
self.create_ovs_bridge(fp_br_name, self.fp_mtu)
File "/tmp/ansible_vm_topology_payload_n7ly826h/main.py", line 242, in create_ovs_bridge
if bridge_name not in self.host_ifaces:

fatal: [STR-ACS-SERV-01]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"cmd": "create",
"duts_fp_ports": null,
"duts_mgmt_port": null,
"duts_name": null,
"fp_mtu": 9216,
"max_fp_num": 4,
"mgmt_bridge": null,
"ptf_bp_ip_addr": null,
"ptf_bp_ipv6_addr": null,
"ptf_mgmt_ip_addr": null,
"ptf_mgmt_ip_gw": null,
"ptf_mgmt_ipv6_addr": null,
"topo": null,
"vm_base": null,
"vm_names": [
"VM0100",
"VM0101",
"VM0102",
"VM0103",
"VM0104",
"VM0105",
"VM0106",
"VM0107",
"VM0108",
"VM0109",
"VM0110",
"VM0111",
"VM0112",
"VM0113",
"VM0114",
"VM0115",
"VM0116",
"VM0117",
"VM0118",
"VM0119",
"VM0120",
"VM0121",
"VM0122",
"VM0123",
"VM0124",
"VM0125",
"VM0126",
"VM0127",
"VM0128",
"VM0129",
"VM0130",
"VM0131"
],
"vm_set_name": null
}
},
"msg": "'VMTopology' object has no attribute 'host_ifaces'"
}

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
STR-ACS-SERV-01 : ok=37 changed=1 unreachable=0 failed=1 skipped=22 rescued=0 ignored=0

Wednesday 11 November 2020 22:22:53 +0000 (0:00:00.550) 0:00:21.587 ****

vm_set : Install python packages ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.75s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/docker.yml:54 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Install docker-ce ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.40s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/docker.yml:34 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : remove old python packages -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.60s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/docker.yml:49 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Add docker official GPG key ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.57s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/docker.yml:1 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Install necessary packages -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.05s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:57 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Check hdd image ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.97s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:15 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Set sysctl bridge parameters for testbed ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.85s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:116 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : apt ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.79s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:85 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : setup external interface as trunk port -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.71s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml:7 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Copy vm_resumer.py to the test1/veos-vm ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.68s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:204 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Add docker repository for 20.04 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.65s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/docker.yml:27 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Create VMs network ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.55s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:39 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Ensure tonic in docker,sudo group ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.55s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:97 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : get host distribution ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.48s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:18 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Retrieve a list of the defined VMs ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.46s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:176 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Install cleanup script ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.46s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:200 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : make sure /etc/network/interfaces.d exists ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.45s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/external_port.yml:1 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Install br_netfilter kernel module ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.42s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:112 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : getent ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.41s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/main.yml:150 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
vm_set : Create directory for vm images and vm disks --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.41s
/data/sonic-mgmt/ansible/roles/vm_set/tasks/start.yml:9 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

```

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions