Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2023-04-26 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  FACT-2838  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
 The one unresolved issue in this ticket is to add a group of volatile facts which is something that is already possible today, so I'm going to close this. If you'd like to contribute a pull request to add a predefined volatile fact group, then please reopen and let us know when you've submitted the PR.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.9046.1682543100490%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2021-10-20 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 ghost-28.10, ghost-4.11, ghost-11.11, ghost 25.11, ghost-2.12 , ready for triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.159221.1634720160048%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2021-06-29 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sub-team: 
 ghost  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.69624.1625034660028%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-12-01 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ghost-28.10, ghost-4.11, ghost-11.11, ghost 25.11, ghost-2.12 , ready for triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.89301.1606894800420%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-11-25 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ghost-28.10, ghost-4.11, ghost-11.11, ghost 25.11 , ready for triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.86582.1606313040945%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-11-18 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ghost-28.10, ghost-4.11, ghost-11.11 , ready for triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.81944.1605707400564%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-11-04 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ghost-28.10, ghost-4.11 , PR - Triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.71300.1604499060157%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-28 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ghost-28.10 , PR - Triage 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.66052.1603894200212%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-28 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie commented on  FACT-2838  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
 Tested on ubuntu 20.04 with no fact blocked  
 
 
 
 
 facter system_uptime  
 
 
 {  
 
 
   days => 0,  
 
 
   hours => 3,  
 
 
   seconds => 14183,  
 
 
   uptime => "3:56 hours"  
 
 
 }
  
 
 
 
  with system_uptime blocked  
 
 
 
 
 facter -c facter.conf system_uptime  
 
 
 
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
  

Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-28 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie commented on  FACT-2838  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
 Tested `system_uptime` blocking on macOS 10.15 when no facts are blocked  
 
 
 
 
 facter -c facter.conf system_uptime 
 
 
 {  
 
 
   days => 7,  
 
 
   hours => 170,  
 
 
   seconds => 613197,  
 
 
   uptime => "7 days"  
 
 
 }
  
 
 
 
  when the block list you provided is used  
 
 
 
 
   blocklist : [  "load_averages", "identity", "memory.system.capacity", "memory.system.used*", "memory.system.available*", "memory.swap.capacity", "memory.swap.used*", "memory.swap.available*", "system_uptime", "processors.speed" ],
  
 
 
 
   
 
 
 
 
  bundle exec facter -c facter.conf system_uptime
  
 
 
 
  

Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-27 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie commented on  FACT-2838  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
 Lukas Zapletal I think there are 3 different issues here: 
 
`system_uptime` or 'uptime' facts cannot be blocked (bug) 
cpu speed should report manufacturer CPU speed not current speed (bug/suggestion) 
removal/replacement of some ephemeral facts (suggestion) 
   Did I understand correctly?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.64810.1603806480050%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-21 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ready for triage ghost-28.10  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.60180.1603287960288%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-21 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Story Points: 
 2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.60157.1603287600024%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-21 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Issue Type: 
 Bug Task  
 
 
Priority: 
 Normal Low  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.60156.1603287540144%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-20 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sprint: 
 ready for triage  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.58697.1603198200030%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-16 Thread Bogdan Irimie (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Bogdan Irimie updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Change By: 
 Bogdan Irimie  
 
 
Sub-team: 
 ghost  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.375143.160283799.57088.1602852960039%40Atlassian.JIRA.


Jira (FACT-2838) Some facts are volatile (changes almost every fact upload)

2020-10-16 Thread Lukas Zapletal (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Lukas Zapletal created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2838  
 
 
  Some facts are volatile (changes almost every fact upload)   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/10/16 1:46 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Lukas Zapletal  
 

  
 
 
 
 

 
 Hello, Some facts are volatile, they change quite often and I doubt about their value in the inventory as Facter should not be used as a "monitoring tool". Most of them can be blocklisted in facter4, which is a great feature, however I've identified few which probably needs an "stable" alternative. I was able to identify the following facts: ``` load_averages: 15m: 0.57 1m: 0.34 5m: 0.47 ``` This is straight-up not a good fact for a configuration management inventory. But you probably don't want to break facter so let's just blocklist it. ``` memory: swap: available: 33.00 GiB available_bytes: 35433476096 capacity: 0.00% used: "0 bytes" used_bytes: 0 system: available: 23.70 GiB available_bytes: 25444986880 capacity: 13.77% used: 4.31 GiB used_bytes: 4627849216 ``` The same case, the only interesting ones are "totals". These change every fact upload, can be blocklisted too. Unfortunately, here is one that cannot be blocklisted: ``` system_uptime: days: 0 hours: 1 seconds: 5058 uptime: "1:24 hours" ``` The correct approach would be to report something like "boot_time" in UTC which can be easily used to calculate uptime for humans. Adding such fact would greatly help. The last one I was able to identify on my system was: ``` processors: models: speed: 1.38 GHz ``` My CPU has variable speed depending on load. Facter reports current speed which is not much useful, I think this might be actually a bug. Usually you want to see number of CPUs, model, cores and clock information to plan deployments accordingly. So here it is, my analysis showed that two facts (uptime and processor speed) needs to be fixed. To remain backward compatibility these probably needs some alternatives and users could be instructed to blocklist the original ones if they don't want to put too much database stress on their inventory databases. For the record, here is the full blocklist:   ``` facts :  { blocklist : [ "load_averages", "identity", "memory.system.capacity", "memo