Bug 2115263 - Unable to authenticate (BMC) Interface in Satellite GUI if IPMI password includes special characters.
Summary: Unable to authenticate (BMC) Interface in Satellite GUI if IPMI password incl...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Power & BMC
Version: 6.10.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-04 09:41 UTC by Satyajit Das
Modified: 2023-06-27 11:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18649 0 None None None 2023-06-27 11:24:05 UTC

Description Satyajit Das 2022-08-04 09:41:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.