Redfish tool was not selected automatically when bmc ip address was corrected.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
When BMC IP address was changed from incorrect ip to correct ip address selection of redfish tool also changed to ipmi tool . This was discussed with Eric
and understood there was no relearn mechanism when IP address was changed . When I tried re-learn it did not switch to use redfish tool.
Below alarm was seen when compute-2 was provisioned with incorrect ip
:~$ source /etc/platform/
[sysadmin@
+------
| Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 200.010 | compute-2 access to board management module has failed. | host=compute-2 | warning | 2019-11-20T16: |
| | | | | 10:47.777277 |
| | | | | |
+------
After correcting the ip address there was no files created under redfishtool.
ls -lrt /var/run/
-rw-r--r-- 1 root root 18143 Nov 19 18:44 /var/run/
-rw-r--r-- 1 root root 4532 Nov 20 16:26 /var/run/
-rw-r--r-- 1 root root 18143 Nov 20 16:26 /var/run/
-rw-r--r-- 1 root root 4510 Nov 20 16:26 /var/run/
-rw-r--r-- 1 root root 22750 Nov 20 16:26 /var/run/
-rw-r--r-- 1 root root 4510 Nov 20 16:27 /var/run/
-rw-r--r-- 1 root root 22750 Nov 20 16:27 /var/run/
-rw-r--r-- 1 root root 4533 Nov 20 16:27 /var/run/
-rw-r--r-- 1 root root 18143 Nov 20 16:27 /var/run/
ls -lrt /var/run/
-rw-r--r-- 1 root root 9796 Nov 19 18:38 /var/run/
-rw-r--r-- 1 root root 9796 Nov 20 16:29 /var/run/
Ipmi tool was used to gather data.
system host-sensor-list compute-2
+------
| uuid | name | sensortype | state | status |
+------
| 089a8fb9-
| e3c6cf50-
| 375a7998-
| 1f349a5c-
| f4590360-
| 37d94ddb-
| 6b2db4d5-
| 8cbb1ab7-
| 2d221917-
Severity
--------
Major
Steps to Reproduce
------------------
1. BMC was provisioned on host and using redfish tool sensors are collected.
2. Provision with wrong ip address.
3. Verify alarm for BMC connection failure
4. Correct the ip address and verify alarm clear and sensor data collection.
5. Verify what tool used to collect sensor data.It should go back to the original
tool that was used redfish.
TC-name:
Expected Behavior
------------------
Selection of tool should redfish after correcting the ip address.
Actual Behavior
----------------
As per description when wrong IP address is selected and corrected dynamically the tool was selection is changed from redfish to ipmitool
Reproducibility
---------------
Reproducible 100%
System Configuration
-------
AIO-DX+N IPv6 lab wolfpass-8-12
Lab-name:
Branch/Pull Time/Commit
-------
019-11-18_20-00-00
Last Pass
---------
Never tested new feature.
Timestamp/Logs
--------------
2019-11-20T16:10:47
Test Activity
-------------
Feature testing
Changed in starlingx: | |
status: | Triaged → In Progress |
tags: | added: stx.retestneeded |
Low / not gating, but would be nice to fix - issue related to handling an error condition (incorrect provisioning)