Jira (FACT-3136) Bug in gce.project.attributes.sshKeys

18 views
Skip to first unread message

Jake Spain (Jira)

unread,
Jul 12, 2022, 2:23:02 PM7/12/22
to puppe...@googlegroups.com
Jake Spain created an issue
 
Facter / Bug FACT-3136
Bug in gce.project.attributes.sshKeys
Issue Type: Bug Bug
Assignee: Unassigned
Components: Facter 4
Created: 2022/07/12 11:22 AM
Priority: Normal Normal
Reporter: Jake Spain

As a result of running tests against OSs on GCE, it looks like we've found a bug with what the fact gce.project.attributes.sshKeys returned in Facter 3 vs Facter 4:

 

"gce.project.attributes.sshKeys": {
          "new_value": "jake_spain:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClej1oUIbQhSW54TbZ22Q0fFqf50oouD8ktXxsEN0LlzfyDEa9GTjroygsjqo/OWNB/pnQWW4E7pzS2BwjLR9jStVq0LiKuAx/X+Wv9b2+AjPxUiJYyUn6vznzgnWg3CPzVIXXrN7DMld5VPadGPPWc0HDq1AhO6VwxeHXDCAcqeSDXN9j/Kwp0yRX2YywxU/qRRXwpkxeKPVxNsCmBXiHKZK5tEQ1BPUFofhuEBRcXanQ2H9BthHeJ1Le4dPLNeg+t7yAlT6lmnnQXMwfLfaOroda5aXC8wnetaLtwSwtPCG7NRG5t9q63OFSNs+vLJTvG5IeZQkzKauYnC9ifYDr google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}\njake_spain:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFqA2Q5PoYwLJBEUiCaICmaGBX7GPdEAbvXFIcYmr6gVydtBErAw2mkYGqlG38vr5vZlQGhB3QeifYvO8YsybAg= google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}\n",
          "old_value": [
            "jake_spain:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClej1oUIbQhSW54TbZ22Q0fFqf50oouD8ktXxsEN0LlzfyDEa9GTjroygsjqo/OWNB/pnQWW4E7pzS2BwjLR9jStVq0LiKuAx/X+Wv9b2+AjPxUiJYyUn6vznzgnWg3CPzVIXXrN7DMld5VPadGPPWc0HDq1AhO6VwxeHXDCAcqeSDXN9j/Kwp0yRX2YywxU/qRRXwpkxeKPVxNsCmBXiHKZK5tEQ1BPUFofhuEBRcXanQ2H9BthHeJ1Le4dPLNeg+t7yAlT6lmnnQXMwfLfaOroda5aXC8wnetaLtwSwtPCG7NRG5t9q63OFSNs+vLJTvG5IeZQkzKauYnC9ifYDr google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}",
            "jake_spain:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFqA2Q5PoYwLJBEUiCaICmaGBX7GPdEAbvXFIcYmr6gVydtBErAw2mkYGqlG38vr5vZlQGhB3QeifYvO8YsybAg= google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}"
          ]
        }, 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Nirupama Mantha (Jira)

unread,
Jul 12, 2022, 4:07:02 PM7/12/22
to puppe...@googlegroups.com
Nirupama Mantha updated an issue
Change By: Nirupama Mantha
Acceptance Criteria: Once the issue is resolved we should enable the facts tests, we are currently skipping it in the acceptance tests

Nirupama Mantha (Jira)

unread,
Jul 12, 2022, 4:08:01 PM7/12/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jan 9, 2023, 12:41:01 PM1/9/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: regression
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Josh Cooper (Jira)

unread,
Jan 9, 2023, 3:02:02 PM1/9/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-11658

Josh Cooper (Jira)

unread,
Feb 14, 2023, 1:47:01 PM2/14/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
As a result of running tests against OSs on GCE, it looks like we've found a bug with what the fact gce.project.attributes.sshKeys returned in Facter 3 vs Facter 4:

 
{code:shell}"gce.project.attributes.sshKeys": {

          "new_value": "jake_spain:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClej1oUIbQhSW54TbZ22Q0fFqf50oouD8ktXxsEN0LlzfyDEa9GTjroygsjqo/OWNB/pnQWW4E7pzS2BwjLR9jStVq0LiKuAx/X+Wv9b2+AjPxUiJYyUn6vznzgnWg3CPzVIXXrN7DMld5VPadGPPWc0HDq1AhO6VwxeHXDCAcqeSDXN9j/Kwp0yRX2YywxU/qRRXwpkxeKPVxNsCmBXiHKZK5tEQ1BPUFofhuEBRcXanQ2H9BthHeJ1Le4dPLNeg+t7yAlT6lmnnQXMwfLfaOroda5aXC8wnetaLtwSwtPCG7NRG5t9q63OFSNs+vLJTvG5IeZQkzKauYnC9ifYDr google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}\njake_spain:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFqA2Q5PoYwLJBEUiCaICmaGBX7GPdEAbvXFIcYmr6gVydtBErAw2mkYGqlG38vr5vZlQGhB3QeifYvO8YsybAg= google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}\n",
          "old_value": [
            "jake_spain:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClej1oUIbQhSW54TbZ22Q0fFqf50oouD8ktXxsEN0LlzfyDEa9GTjroygsjqo/OWNB/pnQWW4E7pzS2BwjLR9jStVq0LiKuAx/X+Wv9b2+AjPxUiJYyUn6vznzgnWg3CPzVIXXrN7DMld5VPadGPPWc0HDq1AhO6VwxeHXDCAcqeSDXN9j/Kwp0yRX2YywxU/qRRXwpkxeKPVxNsCmBXiHKZK5tEQ1BPUFofhuEBRcXanQ2H9BthHeJ1Le4dPLNeg+t7yAlT6lmnnQXMwfLfaOroda5aXC8wnetaLtwSwtPCG7NRG5t9q63OFSNs+vLJTvG5IeZQkzKauYnC9ifYDr google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}",
            "jake_spain:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFqA2Q5PoYwLJBEUiCaICmaGBX7GPdEAbvXFIcYmr6gVydtBErAw2mkYGqlG38vr5vZlQGhB3QeifYvO8YsybAg= google-ssh {\"userName\":\"jake....@puppet.com\",\"expireOn\":\"2022-03-16T11:58:59+0000\"}"
          ]

Nick GW (Jira)

unread,
Feb 14, 2023, 1:48:03 PM2/14/23
to puppe...@googlegroups.com
Nick GW commented on Bug FACT-3136
 
Re: Bug in gce.project.attributes.sshKeys

While the ssh-keys key in the gce fact is a blob of all the ssh-keys added to the project, it exceeds puppet's fact_value_length_soft_limit configuration setting. This throws a warning on every puppet run. Reverting the change back to facter 3's behavior will resolve this.

Josh Cooper (Jira)

unread,
Mar 21, 2023, 9:51:02 PM3/21/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Priority: Normal High

Josh Cooper (Jira)

unread,
Apr 24, 2023, 2:31:02 PM4/24/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Phoenix
Reply all
Reply to author
Forward
0 new messages