(Paste the complete traceback of the exception between quotes below)
The full traceback is:
File "/tmp/ansible_napalm_get_facts_payload_nzmccub2/ansible_napalm_get_facts_payload.zip/ansible/modules/napalm_get_facts.py", line 244, in main
File "/home/user/lab/lib/python3.6/site-packages/napalm_panos/panos.py", line 392, in get_facts
facts['interface_list'] = self._extract_interface_list()
File "/home/user/lab/lib/python3.6/site-packages/napalm_panos/panos.py", line 363, in _extract_interface_list
for entry_contents in entry.values():
"msg": "[facts] cannot retrieve device data: 'NoneType' object has no attribute 'values'"
Description of Issue/Question
Function
_extract_interface_list
doesn't handle Palo Alto VM-Series with no interfaces.Did you follow the steps from https://github.com/napalm-automation/napalm#faq
Setup
napalm-panos version
(Paste verbatim output from
pip freeze | grep napalm-panos
between quotes below)Steps to Reproduce the Issue
Create a new Palo Alto VM-Series box. Configure management interface. Do not configure a dataplane interface.
Error Traceback
(Paste the complete traceback of the exception between quotes below)