Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-29229

VirtualMachineInstance network interface properties do not capture full information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ACM 2.16.0
    • ACM 2.16.0
    • Search
    • None
    • Search Train 36-2
    • Moderate
    • Approved
    • None

      Description of problem:

      https://issues.redhat.com/browse/ACM-27335 added indexing of the status.interfaces array into 3 separate properties for name, interfaceName, and ipAddresses. The values of each are sorted, so there is no way to know which name goes with each interfaceName, and which and how many ipAddresses go with each interface.

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

      ACM 2.16.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. Query ACM search for VirtualMachineInstance resources

      Actual results:

      3 flat lists of values for these properties, in sorted order

      Expected results:

      The lists would need to be in fixed order, so that the first item from each corresponds to the first interface. This would require placeholders for any interface that does not have one of the properties, and it would require that the ipAddresses be captured as a "list of lists" rather than flattened, so we know how many go with each interface.

      Additional info:

              rh-ee-smcavey Spencer McAvey
              rh-ee-kcormier Kevin Cormier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: