Advertisement
Guest User

Untitled

a guest
Mar 17th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. [ERROR ] Failed to get the output of 'azurearm.avail_sizes()': 'VirtualMachineSize' object has no attribute 'get'
  2. Traceback (most recent call last):
  3. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/utils/msazure.py", line 194, in object_to_dict
  4. if inspect.isclass(obj) or 'class' in str(type(obj.__dict__.get(item))):
  5. AttributeError: 'int' object has no attribute '__dict__'
  6.  
  7. During handling of the above exception, another exception occurred:
  8.  
  9. Traceback (most recent call last):
  10. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/utils/msazure.py", line 195, in object_to_dict
  11. ret[item] = object_to_dict(obj.__dict__[item])
  12. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/utils/msazure.py", line 201, in object_to_dict
  13. ret[item] = obj.get(item)
  14. AttributeError: 'int' object has no attribute 'get'
  15.  
  16. During handling of the above exception, another exception occurred:
  17.  
  18. Traceback (most recent call last):
  19. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/cloud/__init__.py", line 907, in size_list
  20. data[alias][driver] = self.clouds[fun]()
  21. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/cloud/clouds/azurearm.py", line 367, in avail_sizes
  22. ret[size.name] = object_to_dict(size)
  23. File "/home/podstava/PycharmProjects/customer-be/.env/lib/python3.5/site-packages/salt/utils/msazure.py", line 201, in object_to_dict
  24. ret[item] = obj.get(item)
  25. AttributeError: 'VirtualMachineSize' object has no attribute 'get'
  26. [DEBUG ] LazyLoaded nested.output
  27. azure-arm:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement