Jira (FACT-3166) Long unexplained pause while resolving facts

2022-11-14 Thread Siebrand Mazeland (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Siebrand Mazeland created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3166  
 
 
  Long unexplained pause while resolving facts   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 FACT 4.2.13  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Facter 4  
 
 
Created: 
 2022/11/14 5:32 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Siebrand Mazeland  
 

  
 
 
 
 

 
 Puppet Version: 7.20.0 Facter version: 4.2.13 Puppet Server Version: 7.9.2 OS Name/Version: Amazon Linux 2 I'm unfamiliar with reporting here; please let me know where I can improve In certain environments, I see unexplained long run times for a puppet run. When using debug output on this, I see the delay occur, but there is nothing being logged, and there is no clear reason. I assume  is timing out. I'd like to be able to provide the right information, but not sure how. This is what I see:  
 
 
 
 
 facter --puppet -d  
 
 
    
 
 
 [events up to here follow each other quickly]  
 
 
  

Jira (FACT-3166) Long unexplained pause while resolving facts

2022-11-14 Thread Siebrand Mazeland (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Siebrand Mazeland updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3166  
 
 
  Long unexplained pause while resolving facts   
 

  
 
 
 
 

 
Change By: 
 Siebrand Mazeland  
 

  
 
 
 
 

 
 *Puppet Version: 7.20.0**Facter version: 4.2.13**Puppet Server Version: 7.9.2**OS Name/Version: Amazon Linux 2*I'm unfamiliar with reporting here; please let me know where I can improveIn certain environments, I see unexplained long run times for a puppet run. When using debug output on this, I see the delay occur, but there is nothing being logged, and there is no clear reason. I assume  is timing out. I'd like to be able to provide the right information, but not sure how.This is what I see:{noformat}facter --puppet -d[events up to here follow each other quickly][2022-11-14 15:13:35.556906 ] DEBUG Facter::FactManager - fact "ec2_metadata" has resolved to: {"ami-id"=>"ami-[REDACTED]", "ami-launch-index"=>"0", "ami-manifest-path"=>"(unknown)", "block-device-mapping"=>{"ami"=>"xvda", "root"=>"/dev/xvda"}, "events"=>{"maintenance"=>{"history"=>"[]", "scheduled"=>"[]"}}, "hostname"=>"[REDACTED].eu-north-1.compute.internal", "iam"=>{"info"=>"{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2022-11-14T12:54:05Z\",\n  \"InstanceProfileArn\" : \"arn:aws:iam::[REDACTED]:instance-profile/[REDACTED]\",\n  \"InstanceProfileId\" : \"[REDACTED]\"\n}"}, "identity-credentials"=>{"ec2"=>{"info"=>"{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2022-11-14T12:53:26Z\",\n  \"AccountId\" : \"REDACTED\"\n}"}}, "instance-action"=>"none", "instance-id"=>"i-REDACTED", "instance-life-cycle"=>"on-demand", "instance-type"=>"r5.xlarge", "local-hostname"=>"REDACTED.eu-north-1.compute.internal", "local-ipv4"=>"REDACTED", "mac"=>"REDACTED", "metrics"=>{"vhostmd"=>""}, "network"=>{"interfaces"=>{"macs"=>{"REDACTED"=>{"device-number"=>"0", "interface-id"=>"eni-REDACTED", "local-hostname"=>"REDACTED.eu-north-1.compute.internal", "local-ipv4s"=>"REDACTED", "mac"=>"REDACTED", "owner-id"=>"REDACTED", "security-group-ids"=>"sg-REDACTED\nsg-REDACTED", "security-groups"=>"REDACTED-REDACTED\nREDACTED-REDACTED", "subnet-id"=>"subnet-REDACTED", "subnet-ipv4-cidr-block"=>"REDACTED", "vpc-id"=>"vpc-REDACTED", "vpc-ipv4-cidr-block"=>"REDACTED", "vpc-ipv4-cidr-blocks"=>"REDACTED", "placement"=>{"availability-zone"=>"eu-north-1b", "availability-zone-id"=>"eun1-az2", "region"=>"eu-north-1"}, "profile"=>"default-hvm", "public-keys"=>{"0"=>{"openssh-key"=>"ssh-rsa REDACTED"}}, "reservation-id"=>"r-REDACTED", "security-groups"=>"REDACTED-REDACTED-1UKQVTNZDI0ZU\nREDACTED-REDACTED-REDACTED", "services"=>{"domain"=>"amazonaws.com", "partition"=>"aws"}, "system"=>"nitro", "tags"=>{"instance"=>{"Name"=>"REDACTED", "REDACTED"=>"REDACTED", "REDACTED"=>"REDACTED", "REDACTED"=>"REDACTED", "REDACTED"=>"REDACTED", "REDACTED"=>"sg-REDACTED", "REDACTED"=>"REDACTED", "application"=>"REDACTED", "aws:cloudformation:logical-id"=>"REDACTED", "aws:cloudformation:stack-id"=>"arn:aws:cloudformation:eu-north-1:REDACTED:stack/REDACTED", "aws:cloudformation:stack-name"=>"REDACTED", "aws:ec2launchtemplate:id"=>"

Jira (FACT-3166) Long unexplained pause while resolving facts

2022-11-14 Thread Siebrand Mazeland (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Siebrand Mazeland commented on  FACT-3166  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Long unexplained pause while resolving facts   
 

  
 
 
 
 

 
 I looked closer into the commandline switches for facter, and it appeared that "" wasn't documented in the man page, but was listed in the help of the command. So I added that, and threw in some more, and I ended up with the same unexplained pause, but one extra line. That line if displayed before the pause.  
 
 
 
 
 [2022-11-14 19:20:32.500550 ] DEBUG Facter::FactManager - fact "ec2_metadata" has resolved to: {"ami-id"=>"ami-REDACTED[..]}  
 
 
 fact 'ec2_metadata', took: (0.000160) seconds  
 
 
 [2022-11-14 19:21:19.605305 ] DEBUG Facter::Core::Execution::Posix - Executing command: /bin/cat /proc/swaps
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
  

Jira (PDB-5555) Correct lock acquisition order of Report Partition GC

2022-11-14 Thread Nick Lewis (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Lewis assigned an issue to Nick Lewis  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 PuppetDB /  PDB-  
 
 
  Correct lock acquisition order of Report Partition GC   
 

  
 
 
 
 

 
Change By: 
 Nick Lewis  
 
 
Assignee: 
 Nick Lewis  
 

  
 
 
 
 

 
 
 

 
 
 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.472749.166630080.58389.1668465900099%40Atlassian.JIRA.