You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly this is just a localised issue, but attempting to use the dynamic inventory script for ansible with the packet-python version above spits out the following:
$ ./packet_net.py --refresh-cache
Traceback (most recent call last):
File "./packet_net.py", line 273, in get_devices_by_project
self.add_device(device, project)
File "./packet_net.py", line 354, in add_device
self.push(self.inventory, device.operating_system.slug, dest)
AttributeError: 'dict' object has no attribute 'slug'
ERROR: "'dict' object has no attribute 'slug'", while: getting Packet devices
Packet-Python Version: 1.41.0
OS: Fedora 30/31
Python Version: 3.7.5
Hi There!
Possibly this is just a localised issue, but attempting to use the dynamic inventory script for ansible with the packet-python version above spits out the following:
Workaround:
Thought I would post this issue in case someone else runs across it or if there is an issue at play that is outside of my system.
The text was updated successfully, but these errors were encountered: