Skip to content

serverType function fails for "OpenStack Foundation" server type #139

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

Open
cmohorea opened this issue Dec 17, 2024 · 0 comments
Open

serverType function fails for "OpenStack Foundation" server type #139

cmohorea opened this issue Dec 17, 2024 · 0 comments

Comments

@cmohorea
Copy link

Customer is running on Openstack virtualization:

VMANAGE02:~$ cat /sys/devices/virtual/dmi/id/sys_vendor                                                           
OpenStack Foundation                                                                                                        

and AURA tool fails with:

ERROR:'NoneType' object is not iterable                                                                                     
Traceback (most recent call last):                                                                                          
  File "py3_sure.py", line 2067, in <module>                                                                                
    server_type, server_company  = serverType()                                                                             
TypeError: 'NoneType' object is not iterable  

I fixed it manually with:

	else:
		return 'on-prem', server_type	

but you may want to keep it explicitly in the list in line with the other types.
Some kind of "catch-all" would be nice anyway

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