Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-8695

NetworkManager TUI quits regardless of a detected unsupported configuration

XMLWordPrintable

    • No
    • Agent Sprint 232, Agent Sprint 233
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      In Agent TUI, setting
      
      IPV6 Configuration to Automatic
      
      and enabling
      
      Require IPV6 addressing for this connection
      
      generates a message saying that the feature is not supported. The user is allowed to quit the TUI (formally correct given that we select 'Quit' from the menu, I wonder if the 'Quit' options should remain greyed out until a valid config is applied? ) and the boot process proceeds using an unsupported/not working network configuration

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

      4.13.0-0.nightly-2023-03-07-131556 

      How reproducible:

       

      Steps to Reproduce:

      1. Feed the agent ISO with an agent-config.yaml file that defines an ipv6 only, static network configuration
      
      2. Boot from the generated agent ISO, wait for the agent TUI to appear, select 'Edit a connection', than change Ipv6 configuration from Manual to Automatic, contextually enable the 'Require IPV6 addressing for this connection' option. Accept the changes.
      
      3. (Not sure if this step is necessary) Once back in the main agent TUI screen, select 'Activate a connection'.
      Select the currently active connection, de-activate and re-activate it.
      
      4. Go back to main agent TUI screen, select Quit

      Actual results:

      The agent TUI displays the following message than quits
      
      Failed to generate network state view: support for multiple default routes not yet implemented in agent-tui
      
      Once the TUI quits, the boot process proceeds

      Expected results:

      The TUI blocks the possibility to enable unsupported configurations
      
      The agent TUI informs the user about the unsupported configuration the moment it is applied (instead of informing the user the moment he selects 'Quit') and stays opened until a valid network configuration is applied
      
      The TUI should put the boot process on hold until a valid network config is applied

      Additional info:

      OCP Version: 4.13.0-0.nightly-2023-03-07-131556 
      
      agent-config.yaml snippet
      
        networkConfig:
          interfaces:
            - name: eno1
              type: ethernet
              state: up
              mac-address: 34:73:5A:9E:59:10
              ipv6:
                enabled: true
                address:
                  - ip: 2620:52:0:1eb:3673:5aff:fe9e:5910
                    prefix-length: 64
                dhcp: false

            afasano@redhat.com Andrea Fasano
            bmanzari Biagio Manzari
            Biagio Manzari Biagio Manzari
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: