JetSki icon indicating copy to clipboard operation
JetSki copied to clipboard

Enable Supermicro deployments

Open smalleni opened this issue 5 years ago • 9 comments

Right now, at least the push button automation parts of JetSki are heavily geared towards Dell nodes and use badfish. Enabling deployments with Supermicro would mean substituting the badfish calls with equivalent ipmitool calls

smalleni avatar May 29 '20 14:05 smalleni

There is less that you can do with supermicros, AFAICT you can't change boot order without entering the BIOS. However, we really need supermicro support because a large percentage of the scale lab consists of supermicros (because they were 1/2 price of Dell).

It seems like the automation could tell whether it was dealing with a supermicro or not using the machine type embedded in the host name, for example. But it's too bad that the ocp4_inventory.json file doesn't have machine type and other metadata embedded in it to make JetSki's job easier.

Also, it always presents 4 NIC ports, but some systems have less than 4 NIC ports, or have different speeds on some of them. It's hard to tell from the lab's ocp4_inventory.json what those interface names and types are. For example, there are two different types of 1029u configurations with different interface names, but you can't tell which you are dealing with by looking at the hostname. I had to install RHEL8 on all the 1029u machines in my reservation to figure out what sub-type they were.

bengland2 avatar Jun 08 '20 19:06 bengland2

@bengland2 I think once https://github.com/redhat-performance/quads/issues/263 goes into QUADS it shoulde easy to expose that in the inventory file.

smalleni avatar Jun 08 '20 19:06 smalleni

sounds promising. I'd like to have NIC interface metadata and storage device metadata.

bengland2 avatar Jun 08 '20 20:06 bengland2

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 07 '20 00:09 github-actions[bot]

Sounds like there was some progress on this from e-mail stream, any updates?

bengland2 avatar Sep 08 '20 13:09 bengland2

{"ansible_loop_var": "item", "attempts": 20, "changed": true, "cmd": "source /tmp/ansible.ptyl7iyc/.venv/bin/activate\n./src/badfis
h/badfish.py -u user -p password -i config/idrac_interfaces.yml -H mgmt-f09-h26-b02-5039ms.rdu2.scalelab.redhat.com
 --check-boot\n", "delta": "0:00:01.615184", "end": "2020-09-28 19:48:48.930993", "item": "f09-h26-b02-5039ms.rdu2.scalelab
.redhat.com", "msg": "non-zero return code", "rc": 1, "start": "2020-09-28 19:48:47.315809", "stderr": "- ERROR
- Could not retrieve Bios Boot mode.\n
- ERROR    - There was something wrong executing Badfish.", "stderr_lines": [
"- ERROR - Could not retrieve Bios Boot mode.", 
"- ERROR    - There was something wrong executing Badfish."], "stdout": "", "stdout_lines": []}

Got this error when using supermicro 5039ms, sensitive info removed.

mrbojangles3 avatar Sep 28 '20 19:09 mrbojangles3

@mrbojangles3 As we have discussed previously, you need to sub out badfish calls with ipmitool on supermicros afaik.

smalleni avatar Sep 28 '20 20:09 smalleni

I was under the impression somehow that with the new idrac work that is vendor dependent jetski would gracefully "fail" to ipmitool. got my wires crossed.

mrbojangles3 avatar Sep 28 '20 20:09 mrbojangles3

There is no Redfish entrypoint for checking boot order on SuperMicros. What is the equivalent ipmitool instruction you would use and what is the output expected. Would it help to have a more accurate error message from Badfish or is there any other output you would like to see there?

grafuls avatar Sep 29 '20 13:09 grafuls

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Apr 26 '23 00:04 github-actions[bot]