Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listOrphanedDisks.py : TypeError: 'NoneType' object is not iterable #138

Open
aksharbarot opened this issue Oct 9, 2018 · 0 comments
Open

Comments

@aksharbarot
Copy link

Hello!

While running Orphaned disks, noticed "TypeError: 'NoneType' object is not iterable" full output pasted below,

[root@test cloudstackOps-master]# ./listOrphanedDisks.py --zone Test-LAB-IND -c config
Welcome to CloudStackOps
Warning: You are NOT running inside screen/tmux. Please start a screen/tmux session to keep commands running in case you get disconnected!

Note: Trying to use API credentials from CloudMonkey profile 'config'
Warning: Cannot read or parse CloudMonkey profile 'config'. Trying local config file..
Note: Trying to use API credentials from local config profile 'config'
Note: Connected to 'https://example.com:8443/client/api'

/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)

Traceback (most recent call last):
File "./listOrphanedDisks.py", line 153, in
storagepools = [y for x in storagepools for y in x]
TypeError: 'NoneType' object is not iterable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant