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

[BUG] lshw2meta.py stack trace #557

Closed
sadsfae opened this issue Dec 12, 2024 · 0 comments
Closed

[BUG] lshw2meta.py stack trace #557

sadsfae opened this issue Dec 12, 2024 · 0 comments

Comments

@sadsfae
Copy link
Member

sadsfae commented Dec 12, 2024

[root@quads2 ]# python3 /usr/lib/python3.12/site-packages/quads/tools/lshw2meta.py
Processing: d39-h03-000-r660.example.com
  Updated interface: {'id': 9029, 'name': 'em1', 'bios_id': None, 'mac_address': 'b4:83:51:18:52:3e', 'switch_ip': '10.1.34.164', 'switch_port': 'et
-0/0/0:2', 'speed': None, 'vendor': 'Intel Corporation', 'pxe_boot': False, 'maintenance': False, 'host_id': 2789}
  Updated interface: {'id': 9030, 'name': 'em2', 'bios_id': None, 'mac_address': 'b4:83:51:18:52:3f', 'switch_ip': '10.1.34.164', 'switch_port': 'et
-0/0/1:2', 'speed': None, 'vendor': 'Intel Corporation', 'pxe_boot': True, 'maintenance': False, 'host_id': 2789}
  Updated interface: {'id': 9033, 'name': 'em5', 'bios_id': None, 'mac_address': 'd4:04:e6:da:d9:41', 'switch_ip': '10.1.34.164', 'switch_port': 'et
-0/0/3:2', 'speed': None, 'vendor': 'Broadcom Inc. and subsidiaries', 'pxe_boot': False, 'maintenance': False, 'host_id': 2789}
  Updated interface: {'id': 9031, 'name': 'em3', 'bios_id': None, 'mac_address': '5c:25:73:aa:5d:d8', 'switch_ip': '10.1.34.164', 'switch_port': 'et
-0/0/21:2', 'speed': None, 'vendor': 'Mellanox Technologies', 'pxe_boot': False, 'maintenance': False, 'host_id': 2789}
  Updated interface: {'id': 9032, 'name': 'em4', 'bios_id': None, 'mac_address': '5c:25:73:aa:5d:d9', 'switch_ip': '10.1.34.164', 'switch_port': 'et
-0/0/20:2', 'speed': None, 'vendor': 'Mellanox Technologies', 'pxe_boot': False, 'maintenance': False, 'host_id': 2789}
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/quads/tools/lshw2meta.py", line 98, in <module>
    disk = quads.create_disk(host_obj.name, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/quads/quads_api.py", line 341, in create_disk
    return self.post(os.path.join("disks", hostname), data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/quads/quads_api.py", line 66, in post
    raise APIServerException("Check the flask server logs")
quads.quads_api.APIServerException: Check the flask server logs
@sadsfae sadsfae added this to the 2.x Series - Bowie milestone Dec 12, 2024
sadsfae pushed a commit that referenced this issue Dec 12, 2024
Closes: #557
Change-Id: I52dd43917e4386375564684bedc4b9711fcaa579
@github-project-automation github-project-automation bot moved this from To do to Done in QUADS 2.1 Series Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant