napalm-automation / napalm-ansible

Apache License 2.0
245 stars 103 forks source link

Should give a better error when IOS file transfer fails due to no file-system #145

Open ktbyers opened 6 years ago

ktbyers commented 6 years ago

Virtual devices on IOS might not have a file system which might fail with this vague message:

fatal: [r2]: FAILED! => {"changed": false, "msg": "cannot load config: 'NoneType' object has no attribute 'group'"}
fatal: [r1]: FAILED! => {"changed": false, "msg": "cannot load config: 'NoneType' object has no attribute 'group'"}