badfish icon indicating copy to clipboard operation
badfish copied to clipboard

[BUG] Container Revision 608aa19e5e28 (4weeks ago) has issues parsing --host-list

Open sadsfae opened this issue 1 year ago • 0 comments

Problem

Using Badfish via podman with the latest revision available incurs an error when using --host-list

# podman image ls
REPOSITORY                               TAG         IMAGE ID      CREATED        SIZE
quay.io/quads/badfish                    latest      608aa19e5e28  4 weeks ago    296 MB
podman run -it --rm --dns 10.1.36.2 -v /tmp/cloud09-mgmt:/tmp/cloud09-mgmt quay.io/quads/badfish --host-list /tmp/cloud09-mgmt -u quads -p XXXXXX --check-boot
[src.badfish.helpers.logger] - ERROR    - There was something wrong reading from /tmp/cloud09-mgmt

RPM works fine:

badfish --host-list /tmp/cloud09-mgmt -u quads -p XXXXXX --check-boot

[mgmt-e16-h20-b02-fc640] - INFO     - Executing actions on host: mgmt-e16-h20-b02-fc640.example.com
[mgmt-e16-h20-b02-fc640] - INFO     - Current boot order:
[mgmt-e16-h20-b02-fc640] - INFO     - 1: NIC.Integrated.1-1-1
[mgmt-e16-h20-b02-fc640] - INFO     - 2: HardDisk.List.1-1
[mgmt-e16-h20-b02-fc640] - INFO     - 3: NIC.ChassisSlot.4-1-1
[mgmt-e16-h20-b02-fc640] - INFO     - ************************************************
----------SNIP-----------

Workaround

  • Use container revision 2376da2007d6 instead as that works.
REPOSITORY                 TAG           IMAGE ID       CREATED         SIZE
quay.io/quads/badfish      latest        2376da2007d6   2 months ago    296 MB
  • Use the current RPM or other methods those work too without issues.

sadsfae avatar Sep 01 '22 09:09 sadsfae