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

Unable to authenticate (BMC) Interface in Satellite GUI if IPMI password includes special characters.

XMLWordPrintable

    • Moderate
    • To Do
    • None

      Description of problem:

      Unable to authenticate (BMC) Interface in Satellite GUI if password includes special characters.

      Version-Release number of selected component (if applicable):

      6.10

      How reproducible:

      100%

      Steps to Reproduce:

      1.In the Satellite web UI, navigate to Hosts > All hosts > Edit host.
      On the Interfaces tab, click Add Interface Select BMC from the Type list and set the provider IPMI, put the username and a password which include a combination of special characters.
      2. Fill in the rest of the required details and submit.

      Actual results:

      It failed to load the interface. In the logs below exceptions were observed.

      ==> /var/log/foreman-proxy/proxy.log <==
      2022-08-02T10:32:08 48b35495 [D] "/usr/sbin/bmc-config --hostname=xx.xx.xx.xx --driver-type=LAN_2_0 --verbose --checkout --section=Lan_Conf --config-file=/tmp/20220802-6795-14wq0zq"
      2022-08-02T10:32:08 48b35495 [D] /usr/sbin/ipmi-config: password invalid
      2022-08-02T10:32:08 48b35495 [I] Finished GET /bmc/xx.xx.xx.xx/lan/mac with 200 (111.47 ms)
      2022-08-02T10:32:08 [D] close: xx.xx.xx.xx:42252
      2022-08-02T10:32:08 [D] accept: xx.xx.xx.x:42254
      2022-08-02T10:32:08 [D] Rack::Handler::WEBrick is invoked.
      2022-08-02T10:32:08 48b35495 [I] Started GET /bmc/ xx.xx.xx.xx/lan/gateway
      2022-08-02T10:32:08 48b35495 [D] verifying remote client xx.xx.xx.xx against trusted_hosts ["satellite.example.com"]
      2022-08-02T10:32:08 48b35495 [D] /usr/sbin/bmc-config --hostname= xx.xx.xx.xx --driver-type=LAN_2_0 --verbose --checkout --section=Lan_Conf --config-file=/tmp/20220802-6795-1imkp2a
      2022-08-02T10:32:09 48b35495 [D] "/usr/sbin/bmc-config --hostname= xx.xx.xx.xx --driver-type=LAN_2_0 --verbose --checkout --section=Lan_Conf --config-file=/tmp/20220802-6795-1imkp2a"
      2022-08-02T10:32:09 48b35495 [D] /usr/sbin/ipmi-config: password invalid
      2022-08-02T10:32:09 48b35495 [I] Finished GET /bmc/ xx.xx.xx.xx/lan/gateway with 200 (134.99 ms)
      2022-08-02T10:32:09 [D] close: xx.xx.xx.xx:42254

      Expected results:

      Should be able to authenticate with a complex password.

      Additional info:

      From Satellite's CLI via ipmitool I can authenticate with a complex password.

              lzapleta Lukas Zapletal (Inactive)
              rhn-support-sadas Satyajit Das
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: