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

sudo /usr/bin/microshift show-config --mode effective doesn't show the correct memoryLimitMB value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • 4.13.0
    • 4.13
    • MicroShift
    • None
    • Moderate
    • No
    • uShift Sprint 234
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

    Description

      Description of problem:

      sudo /usr/bin/microshift show-config --mode effective doesn't show the correct memoryLimitMB value. It always shows zero even after modifying the value of memoryLimitMB in config.yaml. 

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

       

      How reproducible:

      always

      Steps to Reproduce:

      1.edit the memoryLimitMB field to 128 in config.yaml file
      2.systemctl status microshift
      3.Once its successfully restarted, 
      
      sudo /usr/bin/microshift show-config --mode effective
      
      apiServer:
        subjectAltNames:
        - dhcp-1-235-17.arm.eng.rdu2.redhat.com
        - localhost.localdomain
      debugging:
        logLevel: Normal
      dns:
        baseDomain: example.com
      etcd:
        memoryLimitMB: 0
      network:
        clusterNetwork:
        - cidr: 10.42.0.0/16
        serviceNetwork:
        - 10.43.0.0/16
        serviceNodePortRange: 30000-32767
      node:
        hostnameOverride: dhcp-1-235-17.arm.eng.rdu2.redhat.com
        nodeIP: 10.1.235.17
       

      Actual results:

      memoryLimitMB always shows 0

      Expected results:

      sudo /usr/bin/microshift show-config --mode effective should show the current value of memoryLimitMB

      Additional info:

      [redhat@dhcp-1-235-17 microshift]$ microshift version
      MicroShift Version: 4.13.0_0.nightly_2023_04_10_162321_20230411082419_373392ce
      Base OCP Version: 4.13.0-0.nightly-2023-04-10-162321
      [redhat@dhcp-1-235-17 microshift]$ microshift-etcd version
      MicroShift-etcd Version: 4.13.0_0.nightly_2023_04_10_162321_20230411082419_373392ce
       
      
      

      Attachments

        Issue Links

          Activity

            People

              alray@redhat.com Allen Ray
              rhn-support-skundu Sandeep Kundu
              Sandeep Kundu Sandeep Kundu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: