Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-38332

new hosts page only has On/Off power actions, no reboot/cycle/etc when BMC present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Power and BMC
    • False
    • sat-rocket
    • None
    • None
    • None
    • None
    • Yes

      Description of problem:

      When Satellite manages a system that has a BMC defined, it can perform various power actions with that system: power on, power off, power cycle, reboot, etc.

      However, in the new host page, only On and Off are exposed as the dropdown is always rendered with isBmc=false and thus shows only power actions for "basic" systems (like VMs)

      How reproducible:

      100%

      Is this issue a regression from an earlier version:

      It worked in the old host page, so yes it's a regression.

      Steps to Reproduce:

      1. deploy a system with BMC

      2. open the system in the satellite UI

       

      Actual behavior:
      Only On/Off buttons present

      Expected behavior:
      On BMC enabled systems, the additonal buttons "Reboot", "Cycle" etc are shown

      Business Impact / Additional info:

      https://github.com/theforeman/foreman/blob/3d841a95caf6177e35862795158fcef95b29f441/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js#L55-L58

      https://github.com/theforeman/foreman/blob/3d841a95caf6177e35862795158fcef95b29f441/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/PowerStatus/PowerStatusDropDown.js#L25-L47 

              Unassigned Unassigned
              egolov@redhat.com Evgeni Golov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: