Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-27384

satellite-maintain maintenance-mode command is not disabling sync plans on Satellite Stream/6.16.0

XMLWordPrintable

    • Important
    • Yes

      Description of problem:

      satellite-maintain maintenance-mode command is not disabling sync plans Satellite Stream/6.16.0

      How reproducible:

      • Always on Stream snap 71.0
      • rubygem-foreman_maintain-1.6.14-1

      Is this issue a regression from an earlier version:

      • yes

      Steps to Reproduce:

      1. Create sync plan

      2. Start maintenance-mode

      3. Check maintenance-mode status

      Actual behavior:

      • No sync plan is disabled

      Expected behavior:

      • Sync plan is disabled

      Business Impact / Additional info:

       

      [root@satellite ~]# hammer sync-plan list --organization-id 3
      ---|------------|---------------------|----------|---------|-----------------|-------------------
      ID | NAME       | START DATE          | INTERVAL | ENABLED | CRON EXPRESSION | RECURRING LOGIC ID
      ---|------------|---------------------|----------|---------|-----------------|-------------------
      2  | FDEWAgfjXb | 2024/08/21 04:00:00 | weekly   | yes     |                 | 15                
      ---|------------|---------------------|----------|---------|-----------------|-------------------
      [root@satellite ~]# satellite-maintain maintenance-mode status
      Running Status of maintenance-mode
      ================================================================================
      Check of maintenance-mode consistency: 
      / Running status of maintenance-mode                                            
      
      
      Status of maintenance-mode: On
      - Nftables table: present
      - sync plans: empty data
      - cron jobs: not running                                              [OK]
      --------------------------------------------------------------------------------
      
      
      [root@satellite ~]# cat /var/lib/foreman-maintain/data.yml
      ---
      :default: {}
      [root@satellite ~]# rpm -qa | grep maintain
      rubygem-foreman_maintain-1.6.14-1.el9sat.noarch
      satellite-maintain-0.0.2-1.el9sat.noarch 

       

       

       

            egolov@redhat.com Evgeni Golov
            rhn-support-jpathan Jameer Pathan
            Jameer Pathan Jameer Pathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: