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

Virt-who "last report at" is the same for all configurations

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.14.z, 6.15.z
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • None

      Description of problem:

      When a user has multiple virt-who configurations (from multiple sources), the "last report at" field gets set to ALL virt-who configurations at the moment any one of them sends a report. Same happens for "STATUS" too.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      Not sure

      Steps to Reproduce:

      1. Create one valid virt-who configuration

      2. Create one fake virt-who configuration that you know won't work (fake hypervisor, fake user, etc..)

      3. Check the status of all of them (in my case, the valid configuration already reported, the fake ones are new):

      # hammer virt-who list
      ---|-----------------|---------------|---------------|--------------------
      ID | NAME            | INTERVAL      | STATUS        | LAST REPORT AT     
      ---|-----------------|---------------|---------------|--------------------
      1  | vCenter-valid   | every 2 hours | OK            | 2024/07/17 12:41:24
      5  | fake1-wont-work | every 2 hours | No Report Yet |                    
      6  | fake2-wont-work | every 2 hours | No Report Yet |                    
      ---|-----------------|---------------|---------------|--------------------
       

      4. Run only the valid:

      virt-who -o -c /etc/virt-who.d/virt-who-config-1.conf 

      5. Check the status again:

      # hammer virt-who list
      ---|-----------------|---------------|--------|--------------------
      ID | NAME            | INTERVAL      | STATUS | LAST REPORT AT     
      ---|-----------------|---------------|--------|--------------------
      1  | vCenter-valid   | every 2 hours | OK     | 2024/07/17 12:46:50
      5  | fake1-wont-work | every 2 hours | OK     | 2024/07/17 12:46:50
      6  | fake2-wont-work | every 2 hours | OK     | 2024/07/17 12:46:50
      ---|-----------------|---------------|--------|--------------------
       

       

      Actual behavior:
      All virt-who report status are updated when only one was posted

      Expected behavior:
      Reports would be independent, each only updating its own status

      Business Impact / Additional info:

       

            Unassigned Unassigned
            rhn-support-chrobert Chris Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: