Project

General

Profile

Actions

Support #1930

closed

Build host doesn't create autosign entry

Added by Rüdiger Block over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Puppet
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,
I am trying to let a smart-proxy manage my puppet certificates.

What works:
I can manually add a autosign entry over the foreman web-ui.
Foreman does successfully list all certificates.
Foreman does successfully remove an entry from the autosign.conf after build is done.

What does not work:
When I add a new host (or click on build) I expect foreman to add an entry in autosign.conf.
In the foreman-proxy log I can see nothing which implies that the proxy is even trying to add it.
But when I add the entry manually I can see that after the host a build the foreman-proxy removes
this manually added entry.

From the logs:
I, [2012-11-07T19:13:13.566840 #25465] INFO -- : TFTP: entry for 00:0c:29:48:80:ce created successfully
D, [2012-11-07T19:13:13.681373 #25465] DEBUG -- : Starting task (total: 0): wget --timeout=10 --tries=3 --no-check-certificate nv -c http://srv-foreman/media/redhat-6.3-x86_64/images/pxeboot/initrd.img -O "/var/lib/tftpboot/boot/RedHat-6.3-x86_64-initrd.img"
D, [2012-11-07T19:13:14.329914 #25465] DEBUG -
: Starting task (total: 0): wget --timeout=10 --tries=3 --no-check-certificate nv -c http://srv-foreman/media/redhat-6.3-x86_64/images/pxeboot/vmlinuz -O "/var/lib/tftpboot/boot/RedHat-6.3-x86_64-vmlinuz"
D, [2012-11-07T19:13:25.280754 #25465] DEBUG -
: TFTP: entry for 00:0c:29:48:80:ce removed successfully
I, [2012-11-07T19:13:25.330287 #25465] INFO -- : Attempt to remove nonexistant client autosign for test2.tesce
E, [2012-11-07T19:13:25.330933 #25465] ERROR -- : Attempt to remove nonexistant client autosign for test2.tesce

and when I add manually:

I, [2012-11-07T19:15:05.854037 #25465] INFO -- : Added test2.tesce to autosign

foreman-proxy version:
foreman-proxy-1.0.0-3.el6.noarch

Is this a bug or am I trying to use this feature in way I am not supposed to?

Thanks for your attention!

Actions

Also available in: Atom PDF