Project

General

Profile

Actions

Bug #11444

closed

Domains page shows negative number of hosts

Added by Simon Wydooghe over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I only have one domain. In the Domains page, this one domain shows '-53' hosts. The Environments page shows my two environments with 9 and 167 hosts, which sounds about right. All my hosts are assigned to this one domain.

This was the case in 1.8.2, and it remains like this after upgrading to 1.9.0 this morning.


Related issues 5 (0 open5 closed)

Related to Foreman - Bug #5692: Puppet environment counters not updatedClosedTomer Brisker05/13/2014Actions
Related to Foreman - Bug #12193: Deadlock occuring when creating hostClosedTomer Brisker10/16/2015Actions
Related to Foreman - Bug #12455: Deprecation warning when writing total_hosts attributeRejected11/12/2015Actions
Related to Foreman - Bug #11044: rake fix_cached_counters fails "undefined method `counter_cache_column' for nil:NilClass"Duplicate07/07/2015Actions
Has duplicate Foreman - Bug #13944: foreman-rake fix_cached_counters fails.Duplicate02/29/2016Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #5692: Puppet environment counters not updated added
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Status changed from New to Feedback

Please try running foreman-rake fix_cached_counters to recount everything. If it gets out of sync again, please re-open the bug as perhaps one of our fixes for it (in #5692 and related) didn't work. Thanks!

Actions #3

Updated by Simon Wydooghe over 8 years ago

That worked! I'll re-open if it happens again. Thanks, Dominic. Enjoy your weekend!

Actions #4

Updated by The Foreman Bot over 8 years ago

  • Status changed from Feedback to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2840 added
  • Pull request deleted ()
Actions #5

Updated by Tomer Brisker over 8 years ago

  • Category set to Database
  • Assignee set to Tomer Brisker
Actions #6

Updated by Tomer Brisker over 8 years ago

  • Related to Bug #12193: Deadlock occuring when creating host added
Actions #7

Updated by Dominic Cleal over 8 years ago

  • translation missing: en.field_release set to 71
Actions #8

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #12455: Deprecation warning when writing total_hosts attribute added
Actions #10

Updated by Brandon Weeks over 8 years ago

  • Related to Bug #11044: rake fix_cached_counters fails "undefined method `counter_cache_column' for nil:NilClass" added
Actions #11

Updated by Dominic Cleal about 8 years ago

  • Has duplicate Bug #13944: foreman-rake fix_cached_counters fails. added
Actions

Also available in: Atom PDF