Bug #5692
closedPuppet environment counters not updated
Added by michael beemer over 10 years ago. Updated over 6 years ago.
Description
The environment dashboard server count doesn't update. Please see the screenshot for an example.
[[https://groups.google.com/forum/?fromgroups#!topic/foreman-users/knnR2G8OZYw]]
Files
Updated by Dominic Cleal over 10 years ago
- Subject changed from Foreman 1.5 Puppet Environments to Puppet environment counters not updated
- Translation missing: en.field_release set to 16
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release deleted (
16)
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.2 to 1.8.1
Updated by Dominic Cleal over 10 years ago
- Related to Bug #6210: the config groups page + puppet environments page not displaying correct numbers of hosts and host groups added
Updated by Dominic Cleal over 10 years ago
Linked #6210 which is likely a duplicate, or a very similar issue.
Updated by Stephen Benjamin over 10 years ago
I'm almost certain it's a duplicate, because I've noticed myself now in a few places that the counter caches are fragile. When writing directly to the DB, they don't get updated, and I have a feeling there's something else fishy going on. I doubt it's simple.
What do you think about a rake task that will at least correct the wrong counts until we figure it out?
Updated by Dominic Cleal over 10 years ago
Stephen Benjamin wrote:
I'm almost certain it's a duplicate, because I've noticed myself now in a few places that the counter caches are fragile. When writing directly to the DB, they don't get updated, and I have a feeling there's something else fishy going on. I doubt it's simple.
What do you think about a rake task that will at least correct the wrong counts until we figure it out?
Can do, if it can be done simply. I think having this will be useful anyway.
Updated by Dominic Cleal over 10 years ago
- Has duplicate Bug #6716: Wrong hosts count on environment page added
Updated by Dominic Cleal over 10 years ago
- Related to Bug #6813: Negative Hosts in Operating Systems view added
Updated by Tomer Brisker over 10 years ago
- Assignee set to Tomer Brisker
- Target version set to 1.7.5
Updated by Tomer Brisker over 10 years ago
- Status changed from Assigned to Duplicate
Updated by Tomer Brisker over 10 years ago
- Status changed from Duplicate to Assigned
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1690 added
- Pull request deleted (
)
Updated by Anonymous over 10 years ago
- Target version changed from 1.7.5 to 1.7.4
Updated by Tomer Brisker over 10 years ago
- Related to Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x added
Updated by Tomer Brisker over 10 years ago
- Related to Bug #7247: Create migration to fix incorrect counts caused by #5692 and related bugs added
Updated by Anonymous over 10 years ago
- Target version changed from 1.7.4 to 1.7.3
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ae4998bc96efd7c494f2d60313aca435cfc76b52.
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 22
Updated by Dominic Cleal about 10 years ago
- Has duplicate Bug #7769: Negative number of hosts added
Updated by Tomer Brisker over 9 years ago
- Related to Bug #10133: Massive db deadlocks in postgres from hosts_counter updates with counter_cache_fix.rb added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #11051: OS host counters inaccurate after host deletion added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #11444: Domains page shows negative number of hosts added