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

--check-boot aborts with KeyError: 'foreman_740xd_h15_interfaces' #79

Closed
bengland2 opened this issue Mar 11, 2020 · 1 comment
Closed

--check-boot aborts with KeyError: 'foreman_740xd_h15_interfaces' #79

bengland2 opened this issue Mar 11, 2020 · 1 comment

Comments

@bengland2
Copy link

@bengland2 bengland2 commented Mar 11, 2020

Your System Details

  • Python Version: 3
  • Operating System: RHEL8.0
  • Target System Type: (e.g. Dell, SuperMicro)
    Dell 740xd in Alias Lab
  • IPMI / Out-of-band Firmware Version: (_e.g. iDRAC 8 2.60.60.60)
    iDRAC version 3.34.34.34

Describe the bug
A clear and concise description of what the bug is.

To Reproduce / What were you Doing?
Steps to reproduce the behavior:

  1. Go to '...' e24-h13-740xd.alias.bos.scalelab.redhat.com

  2. git clone https://github.com/redhat-performance/badfish

  3. run this command:
    /usr/bin/python3 ./badfish/badfish.py -u quads -p 502901 -i ./badfish/config/idrac_interfaces.yml -H mgmt-e24-h15-740xd.alias.bos.scalelab.redhat.com --check-boot

  4. See error

  • INFO - Systems service: /redfish/v1/Systems/System.Embedded.1.
  • INFO - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
    Traceback (most recent call last):
    File "./badfish/badfish.py", line 949, in
    sys.exit(main())
    File "./badfish/badfish.py", line 943, in main
    execute_badfish(host, args, logger)
    File "./badfish/badfish.py", line 866, in execute_badfish
    badfish.check_boot(interfaces_path)
    File "./badfish/badfish.py", line 683, in check_boot
    _host_type = self.get_host_type(interfaces_path)
    File "./badfish/badfish.py", line 229, in get_host_type
    interfaces = definitions["%s
    %s_interfaces" % (_host, host_model)].split(",")
    KeyError: 'foreman_740xd_h15_interfaces'

Expected Behavior

[root@e24-h13-740xd ~]# cd badfish
[root@e24-h13-740xd badfish]# git checkout -b March4
f9598fc
M config/idrac_interfaces.yml
Switched to a new branch 'March4'

[root@e24-h13-740xd badfish]# /usr/bin/python3 ~/badfish/badfish.py -u quads -p 502901 -i ~/badfish/config/idrac_interfaces.yml -H mgmt-e24-h15-740xd.alias.bos.scalelab.redhat.com --check-boot

  • INFO - Systems service: /redfish/v1/Systems/System.Embedded.1.
  • INFO - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
  • WARNING - Current boot order is set to: foreman.
@sadsfae

This comment has been minimized.

Copy link
Member

@sadsfae sadsfae commented Mar 25, 2020

I believe this was solved (via email). The person using this did not have the latest container image. If not re-open and let us know.

@sadsfae sadsfae closed this Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.