Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2634

Enforce snapshots only get created for relevant product_tag/metric_id/nightlyvshourly combinations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • 5
    • True
    • Hide

      None

      Show
      None
    • False
    • BIZ-629 - ELS add on for concurrent (non-pay-as-you-go) RHEL offerings

      For fixing issues identified while testing SWATCH-2360.

      https://docs.google.com/document/u/1/d/1B4idQdaddg7EVXGwEvb5-PpNUTPFSx8mIsVCmI_Hgcg/edit 

      Basically hourly tallies should never result in RHEL for x86 snapshots (or any !isPaygEligible tag) and nightly tallies should never produce any snapshots with isPaygEligible tags.

      Desired behavior:

      A system has engineeringId 479,204. conversion=false. Swatch first comes across system during an HOURLY tally.

      Hourly metrics are gathered, creates event message for rhel-for-x86-els-payg-addon, vCPUs = 1

      • during service-instance-ingress, event should NOT add the RHEL for x86

      Hourly tally happens, HOURLY & DAILY snapshots created for rhel-for-x86-els-payg-addon, vCPUs = 1

      • NO RHEL for x86 snapshots should be created

      Hourly tally happens again, HOURLY snapshots created for rhel-for-x86-els-payg-addon, vCPUs = 1

      • DAILY snapshot should now be 2
      • NO RHEL for x86 snapshots should be created

      Snapshots at this point

      • RHEL for x86, Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)

      Nightly tally happens, HBI reports that same system, Sockets = 4

      • RHEL for x86 snapshots created (all granularity >= Daily), Sockets = 4
      • NO els (rhel-for-x86-els-payg-addon or rhel-for-x86-els-unconverted) snapshots should get created during nightly tally

      Snapshots at this point

      • RHEL for x86, Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)
      • rhel-for-x86-els-payg-addon, HOURLYx2 vCPUs - 1 , DAILYx1 vCPUs - 2
      A system has engineeringId 479,204. conversion=false. Swatch first comes across system during a NIGHTLY tally.

      Nightly tally happens, HBI reports the system, Sockets = 4

      • RHEL for x86 snapshots created (all granularity >= Daily), Sockets = 4
      • rhel-for-x86-els-unconverted snapshots created (all granularity >= Daily), Sockets = 4

      Snapshots at this point

      • RHEL for x86, Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)
      • rhel-for-x86-els-unconverted snapshots created (all granularity >= Daily), Sockets = 4

      Hourly metrics are gathered, creates event message for rhel-for-x86-els-payg-addon, vCPUs = 1

      • during service-instance-ingress, event should NOT add the RHEL for x86

      Hourly tally happens, HOURLY & DAILY snapshots created for rhel-for-x86-els-payg-addon, vCPUs = 1

      • NO RHEL for x86 snapshots should be created
      • NO changes to rhel-for-x86-els-unconverted snapshot

      Snapshots at this point:

      • RHEL for x86, Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)
      • rhel-for-x86-els-unconverted Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)
      • rhel-for-x86-els-payg-addon, HOURLYx1 vCPUs = 1, DAILYx1 vCPUs = 1
      • Note: isMetered for this system is now going to be True*

      Nightly tally happens again, HBI reports the system, Sockets = 4

      • RHEL for x86 snapshots created (all granularity >= Daily), Sockets = 4
      • rhel-for-x86-els-unconverted should not be created this time
      • rhel-for-x86-els-payg-addon shouldn't be updated either

      Snapshots at this point:

      • RHEL for x86, DAILYx2 Sockets - 4, WEEKLY+ Sockets - 8
      • rhel-for-x86-els-unconverted Sockets - 4 (DAILY, WEEKLY, MONTHLY, ETC.)
      • rhel-for-x86-els-payg-addon, HOURLYx1 vCPUs = 1, DAILYx1 vCPUs = 1

              lburnett0 Lindsey Burnett
              lburnett0 Lindsey Burnett
              Nikhil Kathole Nikhil Kathole
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: