Guest

Preview Tool

Cisco Bug: CSCus03385 - Wrong bucket is debited with the extra usages

Last Modified

Dec 26, 2016

Products (1)

  • Cisco Mobility Services Engine

Known Affected Releases

6.1.0 6.1.1

Description (partial)

Symptom:
When we provision a TOPUP which is having lower priority then Basic bucket we see the delta/extra usage (USU - GSU) gets debited from the TOPUP bucket instead of Basic bucket.

please check pcap file
Row - 1610

CCR-u { CC-Request-Number = '4', USU = 104858913}

Delta/Extra Usage = USU - GSU = 104858913 - 104857600 = 1313

Conditions:
When we provision a TOPUP which is having lower priority then Basic bucket we see the delta/extra usage (USU - GSU) gets debited from the TOPUP bucket instead of Basic bucket.
check pcap

Row - 1610

CCR-u { CC-Request-Number = '4', USU = 104858913}
Delta/Extra Usage = USU - GSU = 104858913 - 104857600 = 1313
TOPUP was provisioned sometimes before this CCR-u was reported with the below API call

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://broadhop.com/unifiedapi/soap/types">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:CreateBalanceRequest>
        
         <typ:networkId>886906000479</typ:networkId>
         <typ:balance>
            <typ:code>APT</typ:code>
            <typ:quotaCode>TOPUP1G</typ:quotaCode>
            <typ:startDate>2014-12-05T00:00:00.000+08:00</typ:startDate>
            
            <typ:expirationDate>2014-12-06T00:00:00.000+08:00</typ:expirationDate>          
         </typ:balance>
      </typ:CreateBalanceRequest>
   </soapenv:Body>
</soapenv:Envelope>
NOW after the CCR-u is reported we see that usage "104857600" is debited from bucket "198" and the remaining extra usage "1313" is debited from bucket "TOPUP1G". But "TOPUP1G" has lesser priority then "198"
extract from getSubscriber response after CCR-u (4) is reported, you can see the TOPUP is debited by 1313 bytes

            <balance>
               <code>APT</code>
               <deprovisioned>false</deprovisioned>
               <quota>
                  <code>198</code>
                  <credit>
                     <id>_mrIu4HxkEeSlOvRQ6OmiYQ</id>
                     <initialAmount>21474836480</initialAmount>
                     <amount>20950547397</amount>
                     <reservedAmount>104857600</reservedAmount>
                     <startDate>2014-12-05T17:53:00.000+08:00</startDate>
                     <expirationDate>2015-01-05T17:53:00.000+08:00</expirationDate>
                  </credit>
                  <nextRefreshDate>2015-01-05T17:53:00.000+08:00</nextRefreshDate>
                  <totals>
                     <balance>20950547397</balance>
                     <reserved>104857600</reserved>
                     <debited>419431483</debited>
                  </totals>
               </quota>
               <quota>
                  <code>TOPUP1G</code>
                  <credit>
                     <id>_K8dL4HxlEeSBJcI8ZzBrEA</id>
                     <initialAmount>1073741824</initialAmount>
                     <amount>1073740511</amount>
                     <reservedAmount>0</reservedAmount>
                     <startDate>2014-12-05T00:00:00.000+08:00</startDate>
                     <expirationDate>2014-12-06T00:00:00.000+08:00</expirationDate>
                  </credit>
                  <totals>
                     <balance>1073740511</balance>
                     <reserved>0</reserved>
                     <debited>1313</debited>
                  </totals>
               </quota>
               <reservation>
                  <id>_T7rwsHxlEeS78c6etvVXAg</id>
                  <amount>104857600</amount>
                  <expirationDate>2014-12-05T18:58:49.915+08:00</expirationDate>
               </reservation>
               <totals>
                  <balance>22024287908</balance>
                  <reserved>104857600</reserved>
                  <debited>419432796</debited>
               </totals>
            </balance>
So the delta/extra usage needs to be debited from "198" bucket instead of "TOPUP1G"
Attached is the rar which includes

pcap

API calls (CreateBalance for TOPUP followed by GetSubcriber Responses)

BalanceIssueQns.log - Consolidated-qns.log

BalanceIssueEngine.log - Consolidateed-Engine.log
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.