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

boot_order_precision_get throws AttributeError. (Only for M5 servers) #149

Closed
tanmayx opened this issue Sep 13, 2017 · 2 comments
Closed
Labels

Comments

@tanmayx
Copy link

tanmayx commented Sep 13, 2017

Code: Latest from github
Python version: 2.7.12
OS: Windows 10

Execute the below code:
boot_order_precision_get(handle=handle, dump=True, server_id=1)

Observation:

Traceback (most recent call last):
  File "c:\python27\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\Tanmay\PythonSDK\pysdkframework\TestSuite_ClassicImc\Nosetests\server\test_boot_order.py", line 39, in test_boot_order_precision_get_case2
    server_id=1)
  File "c:\python27\lib\site-packages\imcsdk-0.9.2.0-py2.7.egg\imcsdk\apis\server\boot.py", line 64, in boot_order_precision_get
    device["device-type"].ljust(10),
AttributeError: 'NoneType' object has no attribute 'ljust'
-------------------- >> begin captured logging << --------------------
imc: INFO: Precision Boot Order is [Order, Type, Name]:
imc: INFO: --------------------------------------------
imc: INFO:  1     PXE        pxe2
--------------------- >> end captured logging << ---------------------

Issue happens only on M5 servers if dump=True

Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Nov 12, 2023
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

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

No branches or pull requests

1 participant