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

once subscription_connection_enabled is turned off, turning it back on is intermittent and unreliable

XMLWordPrintable

    • 0
    • False
    • Moderate
    • sat-proton
    • None
    • None
    • None
    • To Do

      In Satellite 6.11.z even after setting subscription_connection_enabled back to true from being false the setting is intermittent, sometimes setting itself back to false when loading the /subscriptions page.

      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      NAME | FULL NAME | VALUE | DESCRIPTION
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      subscription_connection_enabled | Subscription connection enabled | false | Can communicate with the Red Hat Portal for subscriptions.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      [root@sat611-rhel7 ~]# hammer settings list --search subscription_connection_enabled
      Warning: An error occured while loading module hammer_cli_foreman_puppet.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      NAME | FULL NAME | VALUE | DESCRIPTION
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      subscription_connection_enabled | Subscription connection enabled | true | Can communicate with the Red Hat Portal for subscriptions.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      ...
      [root@sat611-rhel7 ~]# hammer settings list --search subscription_connection_enabled
      Warning: An error occured while loading module hammer_cli_foreman_puppet.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      NAME | FULL NAME | VALUE | DESCRIPTION
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      subscription_connection_enabled | Subscription connection enabled | true | Can communicate with the Red Hat Portal for subscriptions.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      [root@sat611-rhel7 ~]# hammer settings list --search subscription_connection_enabled
      Warning: An error occured while loading module hammer_cli_foreman_puppet.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      NAME | FULL NAME | VALUE | DESCRIPTION
      -------------------------------|-------------------------------|-----|----------------------------------------------------------
      subscription_connection_enabled | Subscription connection enabled | false | Can communicate with the Red Hat Portal for subscriptions.
      -------------------------------|-------------------------------|-----|----------------------------------------------------------

      Those are all from queries made on Jul 14 2023. But looking at the setting you can see the setting was last updated on the 13th;
      [root@sat611-rhel7 ~]# su - postgres -c "psql -d foreman -x -c \"select * from settings where name='subscription_connection_enabled'\""
      [ RECORD 1 ]+-----------------------------------------------------------
      id | 79
      name | subscription_connection_enabled
      value |
      description | Can communicate with the Red Hat Portal for subscriptions.
      category | Setting::Content
      settings_type | boolean
      default | — true +

      ...
      created_at
      2022-12-22 23:26:25.819037
      updated_at
      2023-07-13 17:19:10.969237
      full_name
      Subscription connection enabled
      encrypted
      f

              Unassigned Unassigned
              rhn-support-pdudley Paul Dudley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: