On 14/06/12 20:23, no-re...@cfengine.com wrote: > Marco, could you post the verbose output of cf-runagent, maybe we can > get a clue what's going on from there.
That happened again, finally, and examining the output I found at least one strangeness. The file in attachment is a copy & paste from a terminal window of four runs of cf-runagent; at least one minute elapsed between each run. As you can see, in the first run the right key is matched and recognized as trusted, and it goes perfectly OK. Then, at the second run, something breaks, and the key's MD5 checksum is not added to the key file name. Of course, cf-runagent can't find the right key, and the run breaks. The third run is the same command as before, with the -i option. Something similar, yet different, happens. This time the key file looked up by cfengine contains funny characters (you may not notice that from the forum; I am BCC'ing this email to you, so that you can save and analyse the file). I trust the key, and the run goes on normally. The fourth run is normal again. A workaround could be to create an "old style" link, from root-$IP.pub to root-$MD5.pub. It may work for me since I don't have that many hosts to play with, but it would be quite unpractical for bigger environments... Could this is a bug, or I am doing something wrong? Ciao -- bronto
root@kvm-test-v06:~# cf-runagent -I -H 10.20.11.98 -v cf3> CFEngine - autonomous configuration engine - commence self-diagnostic prelude cf3> ------------------------------------------------------------------------ cf3> Work directory is /var/cfengine cf3> Looking for a source of entropy in /var/cfengine/randseed cf3> Making sure that locks are private... cf3> Checking integrity of the state database cf3> Checking integrity of the module directory cf3> Checking integrity of the PKI directory cf3> -> Loaded private key /var/cfengine/ppkeys/localhost.priv cf3> -> Loaded public key /var/cfengine/ppkeys/localhost.pub cf3> Setting cfengine default port to 5308 = 5308 cf3> Reference time set to Fri Jun 15 13:30:24 2012 cf3> CFEngine Core 3.3.2 cf3> ------------------------------------------------------------------------ cf3> Host name is: kvm-test-v06 cf3> Operating System Type is linux cf3> Operating System Release is 2.6.32-5-amd64 cf3> Architecture = x86_64 cf3> Using internal soft-class linux for host kvm-test-v06 cf3> The time is now Fri Jun 15 13:30:24 2012 cf3> ------------------------------------------------------------------------ cf3> # Extended system discovery is only available in version Nova and above cf3> Additional hard class defined as: 64_bit cf3> Additional hard class defined as: linux_2_6_32_5_amd64 cf3> Additional hard class defined as: linux_x86_64 cf3> Additional hard class defined as: linux_x86_64_2_6_32_5_amd64 cf3> GNU autoconf class from compile time: compiled_on_linux_gnu cf3> Address given by nameserver: 10.20.11.99 cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx cf3> Interface 1: lo cf3> Interface 2: eth0 cf3> Adding alias kvm-test-v06.. cf3> Trying to locate my IPv6 address cf3> Found IPv6 address fe80::216:36ff:fe73:715 cf3> Looking for environment from cf-monitord... cf3> Loading environment... cf3> Environment data loaded cf3> This appears to be a debian system. cf3> Looking for Debian version... cf3> This appears to be a Debian 6.0 system. cf3> This system seems to have the aptitude package system cf3> Reading /proc/stat utilization data ------- cf3> -> Found 1 cpu cores cf3> *********************************************************** cf3> Loading persistent classes cf3> *********************************************************** cf3> Persistent class rootprocs_high_ldt for 8 more minutes cf3> Adding persistent class rootprocs_high_ldt to heap cf3> *********************************************************** cf3> Loaded persistent memory cf3> *********************************************************** cf3> -> Found a policy server (hub) on 10.20.11.99 cf3> -> Policy is already validated cf3> > Parsing file /var/cfengine/inputs/promises.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/fixmasters.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/update.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/opera-lib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/site.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> ?> defining additional global class testenv cf3> ?> defining explicit global class testenv cf3> ?> defining additional global class ntp cf3> ?> defining explicit global class ntp cf3> ?> defining additional global class generic cf3> ?> defining explicit global class generic cf3> > Parsing file /var/cfengine/inputs/puppet.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/housekeeping.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/services.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/packages.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/vzwfirewall.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/mandiant.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/site-ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> ?> defining additional global class ntp_server cf3> ?> defining explicit global class ntp_server cf3> > Parsing file /var/cfengine/inputs/ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/nagios.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/snmpd.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hosts.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hostname.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/resolver.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Defined classes = { 10_20_11_99 1_cpu 64_bit Afternoon Day15 Friday GMT_Hr13 Hr13 Hr13_Q3 June Lcycle_2 Min30 Min30_35 PK_MD5_d5e2ed13387fe96b61c53c6de4585ad7 Q3 Yr2012 any cfengine cfengine_3 cfengine_3_3 cfengine_3_3_2 cfengine_out_low community_edition compiled_on_linux_gnu cpu0_high cpu_high debian debian_6 debian_6_0 diskfree_high entropy_misc_in_low entropy_misc_out_low fe80__216_36ff_fe73_715 generic have_aptitude inform_mode ipv4_10 ipv4_10_20 ipv4_10_20_11 ipv4_10_20_11_99 kvm_test_v06 kvm_test_v06_oslo_osa linux linux_2_6_32_5_amd64 linux_x86_64 linux_x86_64_2_6_32_5_amd64 linux_x86_64_2_6_32_5_amd64__1_SMP_Mon_Jan_16_16_22_28_UTC_2012 mac_00_16_36_73_07_15 messages_low net_iface_eth0 ntp ntp_server osa oslo_osa otherprocs_high rootprocs_high rootprocs_high_ldt runagent syslog_low_normal testenv users_high verbose_mode x86_64 } cf3> -> Negated Classes = { } cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Additional class defined: am_policy_hub cf3> ........................................................................... cf3> * Hailing 10.20.11.98 : 5308, with options "" (serial) cf3> ........................................................................... cf3> No existing connection to 10.20.11.98 is established... cf3> Set cfengine port number to 5308 = 5308 cf3> Set connection timeout to 10 cf3> -> Connect to 10.20.11.98 = 10.20.11.98 on port 5308 cf3> .....................[.h.a.i.l.]................................. cf3> Strong authentication of server=10.20.11.98 connection confirmed cf3> -> Public key identity of host "10.20.11.98" is "MD5=d5e2ed13387fe96b61c53c6de4585ad7" cf3> -> !! Package "puppet" cannot be verified -- no match cf3> -> !! Package "puppetmaster" cannot be verified -- no match cf3> -> !! Package "puppet-common" cannot be verified -- no match cf3> -> R: puppet is NOT installed cf3> -> R: puppetmaster is NOT installed cf3> -> R: puppet-common is NOT installed cf3> !! root@kvm-test-v06:~# cf-runagent -I -H 10.20.11.98 -v cf3> CFEngine - autonomous configuration engine - commence self-diagnostic prelude cf3> ------------------------------------------------------------------------ cf3> Work directory is /var/cfengine cf3> Looking for a source of entropy in /var/cfengine/randseed cf3> Making sure that locks are private... cf3> Checking integrity of the state database cf3> Checking integrity of the module directory cf3> Checking integrity of the PKI directory cf3> -> Loaded private key /var/cfengine/ppkeys/localhost.priv cf3> -> Loaded public key /var/cfengine/ppkeys/localhost.pub cf3> Setting cfengine default port to 5308 = 5308 cf3> Reference time set to Fri Jun 15 13:31:43 2012 cf3> CFEngine Core 3.3.2 cf3> ------------------------------------------------------------------------ cf3> Host name is: kvm-test-v06 cf3> Operating System Type is linux cf3> Operating System Release is 2.6.32-5-amd64 cf3> Architecture = x86_64 cf3> Using internal soft-class linux for host kvm-test-v06 cf3> The time is now Fri Jun 15 13:31:43 2012 cf3> ------------------------------------------------------------------------ cf3> # Extended system discovery is only available in version Nova and above cf3> Additional hard class defined as: 64_bit cf3> Additional hard class defined as: linux_2_6_32_5_amd64 cf3> Additional hard class defined as: linux_x86_64 cf3> Additional hard class defined as: linux_x86_64_2_6_32_5_amd64 cf3> GNU autoconf class from compile time: compiled_on_linux_gnu cf3> Address given by nameserver: 10.20.11.99 cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx cf3> Interface 1: lo cf3> Interface 2: eth0 cf3> Adding alias kvm-test-v06.. cf3> Trying to locate my IPv6 address cf3> Found IPv6 address fe80::216:36ff:fe73:715 cf3> Looking for environment from cf-monitord... cf3> Loading environment... cf3> Environment data loaded cf3> This appears to be a debian system. cf3> Looking for Debian version... cf3> This appears to be a Debian 6.0 system. cf3> This system seems to have the aptitude package system cf3> Reading /proc/stat utilization data ------- cf3> -> Found 1 cpu cores cf3> *********************************************************** cf3> Loading persistent classes cf3> *********************************************************** cf3> Persistent class rootprocs_high_ldt for 7 more minutes cf3> Adding persistent class rootprocs_high_ldt to heap cf3> *********************************************************** cf3> Loaded persistent memory cf3> *********************************************************** cf3> -> Found a policy server (hub) on 10.20.11.99 cf3> -> Policy is already validated cf3> > Parsing file /var/cfengine/inputs/promises.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/fixmasters.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/update.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/opera-lib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/site.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> ?> defining additional global class testenv cf3> ?> defining explicit global class testenv cf3> ?> defining additional global class ntp cf3> ?> defining explicit global class ntp cf3> ?> defining additional global class generic cf3> ?> defining explicit global class generic cf3> > Parsing file /var/cfengine/inputs/puppet.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/housekeeping.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/services.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/packages.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/vzwfirewall.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/mandiant.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/site-ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> ?> defining additional global class ntp_server cf3> ?> defining explicit global class ntp_server cf3> > Parsing file /var/cfengine/inputs/ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/nagios.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/snmpd.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hosts.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hostname.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/resolver.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Defined classes = { 10_20_11_99 1_cpu 64_bit Afternoon Day15 Friday GMT_Hr13 Hr13 Hr13_Q3 June Lcycle_2 Min30_35 Min31 PK_MD5_d5e2ed13387fe96b61c53c6de4585ad7 Q3 Yr2012 any cfengine cfengine_3 cfengine_3_3 cfengine_3_3_2 cfengine_out_high community_edition compiled_on_linux_gnu cpu0_high cpu_high debian debian_6 debian_6_0 diskfree_high entropy_misc_in_low entropy_misc_out_low fe80__216_36ff_fe73_715 generic have_aptitude inform_mode ipv4_10 ipv4_10_20 ipv4_10_20_11 ipv4_10_20_11_99 kvm_test_v06 kvm_test_v06_oslo_osa linux linux_2_6_32_5_amd64 linux_x86_64 linux_x86_64_2_6_32_5_amd64 linux_x86_64_2_6_32_5_amd64__1_SMP_Mon_Jan_16_16_22_28_UTC_2012 loadavg_low mac_00_16_36_73_07_15 messages_low_normal net_iface_eth0 ntp ntp_server osa oslo_osa otherprocs_high rootprocs_high rootprocs_high_ldt runagent syslog_high_normal testenv users_high verbose_mode x86_64 } cf3> -> Negated Classes = { } cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Additional class defined: am_policy_hub cf3> ........................................................................... cf3> * Hailing 10.20.11.98 : 5308, with options "" (serial) cf3> ........................................................................... cf3> No existing connection to 10.20.11.98 is established... cf3> Set cfengine port number to 5308 = 5308 cf3> Set connection timeout to 10 cf3> -> Connect to 10.20.11.98 = 10.20.11.98 on port 5308 cf3> -> Did not find new key format /var/cfengine/ppkeys/root-.pub cf3> -> Trying old style /var/cfengine/ppkeys/root-10.20.11.98.pub cf3> !! Not authorized to trust the server=10.20.11.98's public key (trustkey=false) cf3> Promise (version VZ 1.0.0) belongs to bundle 'implicit internal bundle for runagent' near line 0 cf3> !! Authentication dialogue with 10.20.11.98 failed cf3> Unable to establish connection with 10.20.11.98 cf3> -> No suitable server responded to hail root@kvm-test-v06:~# cf-runagent -I -H 10.20.11.98 -v -i cf3> CFEngine - autonomous configuration engine - commence self-diagnostic prelude cf3> ------------------------------------------------------------------------ cf3> Work directory is /var/cfengine cf3> Looking for a source of entropy in /var/cfengine/randseed cf3> Making sure that locks are private... cf3> Checking integrity of the state database cf3> Checking integrity of the module directory cf3> Checking integrity of the PKI directory cf3> -> Loaded private key /var/cfengine/ppkeys/localhost.priv cf3> -> Loaded public key /var/cfengine/ppkeys/localhost.pub cf3> Setting cfengine default port to 5308 = 5308 cf3> Reference time set to Fri Jun 15 13:34:00 2012 cf3> CFEngine Core 3.3.2 cf3> ------------------------------------------------------------------------ cf3> Host name is: kvm-test-v06 cf3> Operating System Type is linux cf3> Operating System Release is 2.6.32-5-amd64 cf3> Architecture = x86_64 cf3> Using internal soft-class linux for host kvm-test-v06 cf3> The time is now Fri Jun 15 13:34:00 2012 cf3> ------------------------------------------------------------------------ cf3> # Extended system discovery is only available in version Nova and above cf3> Additional hard class defined as: 64_bit cf3> Additional hard class defined as: linux_2_6_32_5_amd64 cf3> Additional hard class defined as: linux_x86_64 cf3> Additional hard class defined as: linux_x86_64_2_6_32_5_amd64 cf3> GNU autoconf class from compile time: compiled_on_linux_gnu cf3> Address given by nameserver: 10.20.11.99 cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx cf3> Interface 1: lo cf3> Interface 2: eth0 cf3> Adding alias kvm-test-v06.. cf3> Trying to locate my IPv6 address cf3> Found IPv6 address fe80::216:36ff:fe73:715 cf3> Looking for environment from cf-monitord... cf3> Loading environment... cf3> Environment data loaded cf3> This appears to be a debian system. cf3> Looking for Debian version... cf3> This appears to be a Debian 6.0 system. cf3> This system seems to have the aptitude package system cf3> Reading /proc/stat utilization data ------- cf3> -> Found 1 cpu cores cf3> *********************************************************** cf3> Loading persistent classes cf3> *********************************************************** cf3> Persistent class rootprocs_high_ldt for 4 more minutes cf3> Adding persistent class rootprocs_high_ldt to heap cf3> Persistent class messages_high_ldt for 9 more minutes cf3> Adding persistent class messages_high_ldt to heap cf3> Persistent class syslog_high_ldt for 9 more minutes cf3> Adding persistent class syslog_high_ldt to heap cf3> *********************************************************** cf3> Loaded persistent memory cf3> *********************************************************** cf3> -> Found a policy server (hub) on 10.20.11.99 cf3> -> Policy is already validated cf3> > Parsing file /var/cfengine/inputs/promises.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/fixmasters.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/update.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/opera-lib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/site.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> ?> defining additional global class testenv cf3> ?> defining explicit global class testenv cf3> ?> defining additional global class ntp cf3> ?> defining explicit global class ntp cf3> ?> defining additional global class generic cf3> ?> defining explicit global class generic cf3> > Parsing file /var/cfengine/inputs/puppet.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/housekeeping.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/services.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/packages.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/vzwfirewall.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/mandiant.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/site-ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> ?> defining additional global class ntp_server cf3> ?> defining explicit global class ntp_server cf3> > Parsing file /var/cfengine/inputs/ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/nagios.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/snmpd.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hosts.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hostname.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/resolver.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Defined classes = { 10_20_11_99 1_cpu 64_bit Afternoon Day15 Friday GMT_Hr13 Hr13 Hr13_Q3 June Lcycle_2 Min30_35 Min34 PK_MD5_d5e2ed13387fe96b61c53c6de4585ad7 Q3 Yr2012 any cfengine cfengine_3 cfengine_3_3 cfengine_3_3_2 cfengine_out_low community_edition compiled_on_linux_gnu cpu0_low cpu_low debian debian_6 debian_6_0 diskfree_high entropy_misc_in_low entropy_misc_out_low fe80__216_36ff_fe73_715 generic have_aptitude inform_mode ipv4_10 ipv4_10_20 ipv4_10_20_11 ipv4_10_20_11_99 kvm_test_v06 kvm_test_v06_oslo_osa linux linux_2_6_32_5_amd64 linux_x86_64 linux_x86_64_2_6_32_5_amd64 linux_x86_64_2_6_32_5_amd64__1_SMP_Mon_Jan_16_16_22_28_UTC_2012 loadavg_low mac_00_16_36_73_07_15 messages_high_dev1 messages_high_ldt net_iface_eth0 ntp ntp_server osa oslo_osa otherprocs_high rootprocs_high rootprocs_high_ldt runagent syslog_high_dev1 syslog_high_ldt testenv users_high verbose_mode x86_64 } cf3> -> Negated Classes = { } cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Additional class defined: am_policy_hub cf3> -> Using interactive key trust... cf3> -> Did not find new key format /var/cfengine/ppkeys/root-���S�.pub cf3> -> Trying old style /var/cfengine/ppkeys/root-10.20.11.98.pub cf3> -> Did not find new key format /var/cfengine/ppkeys/root-���S�.pub cf3> -> Trying old style /var/cfengine/ppkeys/root-10.20.11.98.pub WARNING - You do not have a public key from host 10.20.11.98 = 10.20.11.98 Do you want to accept one on trust? (yes/no) --> yes -> Will trust the key... cf3> ........................................................................... cf3> * Hailing 10.20.11.98 : 5308, with options "" (serial) cf3> ........................................................................... cf3> No existing connection to 10.20.11.98 is established... cf3> Set cfengine port number to 5308 = 5308 cf3> Set connection timeout to 10 cf3> -> Connect to 10.20.11.98 = 10.20.11.98 on port 5308 cf3> -> Did not find new key format /var/cfengine/ppkeys/root-.pub cf3> -> Trying old style /var/cfengine/ppkeys/root-10.20.11.98.pub cf3> -> Trusting server identity, promise to accept key from 10.20.11.98=10.20.11.98 cf3> -> Collecting public key from server! cf3> -> Public key identity of host "10.20.11.98" is "MD5=d5e2ed13387fe96b61c53c6de4585ad7" cf3> -> !! Package "puppet" cannot be verified -- no match cf3> -> !! Package "puppetmaster" cannot be verified -- no match cf3> -> !! Package "puppet-common" cannot be verified -- no match cf3> -> R: puppet is NOT installed cf3> -> R: puppetmaster is NOT installed cf3> -> R: puppet-common is NOT installed cf3> !! root@kvm-test-v06:~# cf-runagent -I -H 10.20.11.98 -v cf3> CFEngine - autonomous configuration engine - commence self-diagnostic prelude cf3> ------------------------------------------------------------------------ cf3> Work directory is /var/cfengine cf3> Looking for a source of entropy in /var/cfengine/randseed cf3> Making sure that locks are private... cf3> Checking integrity of the state database cf3> Checking integrity of the module directory cf3> Checking integrity of the PKI directory cf3> -> Loaded private key /var/cfengine/ppkeys/localhost.priv cf3> -> Loaded public key /var/cfengine/ppkeys/localhost.pub cf3> Setting cfengine default port to 5308 = 5308 cf3> Reference time set to Fri Jun 15 13:35:19 2012 cf3> CFEngine Core 3.3.2 cf3> ------------------------------------------------------------------------ cf3> Host name is: kvm-test-v06 cf3> Operating System Type is linux cf3> Operating System Release is 2.6.32-5-amd64 cf3> Architecture = x86_64 cf3> Using internal soft-class linux for host kvm-test-v06 cf3> The time is now Fri Jun 15 13:35:19 2012 cf3> ------------------------------------------------------------------------ cf3> # Extended system discovery is only available in version Nova and above cf3> Additional hard class defined as: 64_bit cf3> Additional hard class defined as: linux_2_6_32_5_amd64 cf3> Additional hard class defined as: linux_x86_64 cf3> Additional hard class defined as: linux_x86_64_2_6_32_5_amd64 cf3> GNU autoconf class from compile time: compiled_on_linux_gnu cf3> Address given by nameserver: 10.20.11.99 cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx cf3> Interface 1: lo cf3> Interface 2: eth0 cf3> Adding alias kvm-test-v06.. cf3> Trying to locate my IPv6 address cf3> Found IPv6 address fe80::216:36ff:fe73:715 cf3> Looking for environment from cf-monitord... cf3> Loading environment... cf3> Environment data loaded cf3> This appears to be a debian system. cf3> Looking for Debian version... cf3> This appears to be a Debian 6.0 system. cf3> This system seems to have the aptitude package system cf3> Reading /proc/stat utilization data ------- cf3> -> Found 1 cpu cores cf3> *********************************************************** cf3> Loading persistent classes cf3> *********************************************************** cf3> Persistent class rootprocs_high_ldt for 3 more minutes cf3> Adding persistent class rootprocs_high_ldt to heap cf3> Persistent class messages_high_ldt for 8 more minutes cf3> Adding persistent class messages_high_ldt to heap cf3> Persistent class syslog_high_ldt for 8 more minutes cf3> Adding persistent class syslog_high_ldt to heap cf3> *********************************************************** cf3> Loaded persistent memory cf3> *********************************************************** cf3> -> Found a policy server (hub) on 10.20.11.99 cf3> -> Policy is already validated cf3> > Parsing file /var/cfengine/inputs/promises.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/fixmasters.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/cfengine.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/update.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/opera-lib.cf cf3> Initiate variable convergence... cf3> > Parsing file /var/cfengine/inputs/site.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> ?> defining additional global class testenv cf3> ?> defining explicit global class testenv cf3> ?> defining additional global class ntp cf3> ?> defining explicit global class ntp cf3> ?> defining additional global class generic cf3> ?> defining explicit global class generic cf3> > Parsing file /var/cfengine/inputs/puppet.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/housekeeping.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/services.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/packages.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/vzwfirewall.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/mandiant.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/site-ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> ?> defining additional global class ntp_server cf3> ?> defining explicit global class ntp_server cf3> > Parsing file /var/cfengine/inputs/ntp.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/nagios.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/snmpd.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hosts.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/hostname.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> > Parsing file /var/cfengine/inputs/resolver.cf cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Defined classes = { 10_20_11_99 1_cpu 64_bit Afternoon Day15 Friday GMT_Hr13 Hr13 Hr13_Q3 June Lcycle_2 Min35 Min35_40 PK_MD5_d5e2ed13387fe96b61c53c6de4585ad7 Q3 Yr2012 any cfengine cfengine_3 cfengine_3_3 cfengine_3_3_2 cfengine_out_low community_edition compiled_on_linux_gnu cpu0_low cpu_low debian debian_6 debian_6_0 diskfree_high entropy_misc_in_low entropy_misc_out_low fe80__216_36ff_fe73_715 generic have_aptitude inform_mode ipv4_10 ipv4_10_20 ipv4_10_20_11 ipv4_10_20_11_99 kvm_test_v06 kvm_test_v06_oslo_osa linux linux_2_6_32_5_amd64 linux_x86_64 linux_x86_64_2_6_32_5_amd64 linux_x86_64_2_6_32_5_amd64__1_SMP_Mon_Jan_16_16_22_28_UTC_2012 loadavg_low mac_00_16_36_73_07_15 messages_high_dev1 messages_high_ldt net_iface_eth0 ntp ntp_server osa oslo_osa otherprocs_high rootprocs_high rootprocs_high_ldt runagent syslog_high_dev1 syslog_high_ldt testenv users_high verbose_mode x86_64 } cf3> -> Negated Classes = { } cf3> Initiate variable convergence... cf3> -> Checking common class promises... cf3> -> Checking common class promises... cf3> -> Additional class defined: am_policy_hub cf3> ........................................................................... cf3> * Hailing 10.20.11.98 : 5308, with options "" (serial) cf3> ........................................................................... cf3> No existing connection to 10.20.11.98 is established... cf3> Set cfengine port number to 5308 = 5308 cf3> Set connection timeout to 10 cf3> -> Connect to 10.20.11.98 = 10.20.11.98 on port 5308 cf3> .....................[.h.a.i.l.]................................. cf3> Strong authentication of server=10.20.11.98 connection confirmed cf3> -> Public key identity of host "10.20.11.98" is "MD5=d5e2ed13387fe96b61c53c6de4585ad7" cf3> -> !! Package "puppet" cannot be verified -- no match cf3> -> !! Package "puppetmaster" cannot be verified -- no match cf3> -> !! Package "puppet-common" cannot be verified -- no match cf3> -> R: puppet is NOT installed cf3> -> R: puppetmaster is NOT installed cf3> -> R: puppet-common is NOT installed cf3> !!
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine