[ICN-612] Incorrect (depending on your config) check for the validity of $IRONIC_IPMI_INTERFACE and $IRONIC_IPMI_INTERFACE_IP Created: 09/Sep/21  Updated: 09/Sep/21

Status: To Do
Project: Integrated Cloud Native NFV
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Geoffroy Van Cutsem Assignee: Kuralamudhan Ramakrishnan
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The "env/metal3/02_configure.sh" script includes the following check to verify that the $IRONIC_IPMI_INTERFACE and $IRONIC_IPMI_INTERFACE_IP variables are coherent.

   if [ "$IRONIC_IPMI_INTERFACE" ]; then
      check_interface_ip $IRONIC_IPMI_INTERFACE $IRONIC_IPMI_INTERFACE_IP
    else
       exit 1
    fi

 

The problem arises for servers that have the IPMI traffic sharing the same port as another network interface but with separate IP addresses. In that case, the check above will fail if you indicate what the real IPMI IP address is because it will not match the one reported for the network interface in question.

 

The way around this is to put the network interface IP address as seen by the OS for $IRONIC_IPMI_INTERFACE_IP in user_config.sh, but that is rather unintuitive.

 

We should consider to either account for this specific configuration, or perhaps get rid of that test altogether (not sure it's that critical?).


Generated at Sat Feb 10 06:01:23 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.