Junos Automation (Scripting)
Highlighted
Junos Automation (Scripting)

[SRX220] ansible-playbook error

‎07-19-2018 12:15 PM
Hi , Oneof our SRX can't gathering get-facts . jkim3@MRAC-BH-RTR> show version Hostname: MRAC-BH-RTR Model: srx220h2 JUNOS Software Release [12.1X44-D35.5] I had stopped execution because I got bunch of err log message as follow. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ` fatal: [BH-FW]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_6jhC7o/ansible_module_junos_facts.py\", line 379, in \n main()\n File \"/tmp/ansible_6jhC7o/ansible_module_junos_facts.py\", line 361, in main\n inst.populate()\n File \"/tmp/ansible_6jhC7o/ansible_module_junos_facts.py\", line 227, in populate\n reply = exec_rpc(self.module, tostring(ele))\n File \"/tmp/ansible_6jhC7o/ansible_modlib.zip/ansible/module_utils/network/common/netconf.py\", line 47, in exec_rpc\n File \"/tmp/ansible_6jhC7o/ansible_modlib.zip/ansible/module_utils/network/common/netconf.py\", line 70, in __rpc__\n File \"/tmp/ansible_6jhC7o/ansible_modlib.zip/ansible/module_utils/network/common/netconf.py\", line 102, in parse_rpc_error\nansible.module_utils.connection.ConnectionError: Unexpected session close\nIN_BUFFER: `\n\n\n\n\nge-0/0/0\n\n
3 REPLIES 3
Highlighted
Junos Automation (Scripting)

Re: [SRX220] ansible-playbook error

‎07-19-2018 04:56 PM

Hello Kim,

 

Could you please try Junos 12.1X46-D50.  This could be due to:

https://prsearch.juniper.net/InfoCenter/index?page=prcontent&id=PR1161167

 

Hope this helps.

 

-r.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated Smiley Happy.

 

Highlighted
Junos Automation (Scripting)

Re: [SRX220] ansible-playbook error

‎07-22-2018 06:29 PM

Hello Kim,

 

Please share your feedback to try and make the post useful for others.

 

Thank you.

 

-r.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated Smiley Happy.

Highlighted
Junos Automation (Scripting)

Re: [SRX220] ansible-playbook error

‎07-23-2018 05:16 PM

After I will upgrade junos , I will post result.

 

 

Feedback