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

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

XMLWordPrintable

    • 1
    • True
    • Hide

      Blocked on virt-who itself supporting multiple config reporting. Currently they send off everything in 1 report instead of a report for each config.

      Show
      Blocked on virt-who itself supporting multiple config reporting. Currently they send off everything in 1 report instead of a report for each config.
    • False
    • 0
    • Phoenix - Subscriptions
    • Automated
    • 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-jpasqual Joniel Pasqualetto
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: