Number of Billable Users not showing up correctly
Summary
The Billable Users
value on the Users Statistics
summary page is erroneously reporting "free" users as billable.
Steps to reproduce
- Create an Ultimate subscription
- Add some users
- Set some of them as Guests
- Create GitLab generated bots (ex: Support Bot, Project bot)
- Block some users
- Check the number of
Billable Users
on Admin>Dashboard, Admin>License, Admin>Dashboard>Users Statistics
What is the current bug behavior?
In the Admin Dashboard and License page the number of Billable Users
doesn't match the number of Billable Users
displayed on the Users Statistics page. After testing, it is determined that the value displayed on the Users Statistics page is incorrectly counting GitLab generated Bots, Guest users (Ultimate) and users without projects or groups (Ultimate) as billable users.
Additional questions to answer/verify during investigation
- When a trial license is loaded, are Guest users counted in the Billable Users count?
- When users are added during the trial, is the daily active user count recorded and later referenced by the max historical count?
- When the customer ran gitlab-rails runner 'User.all.each { |u| puts u.username unless !u.using_license_seat? }' | wc -l they get 60 users (UI shows 80). Why is there a difference between the UI and the cmd line?
Relevant logs and/or screenshots
Edited by Amanda Rueda