Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-122

cf-execd hangs in 3.4.0b2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cf-execd
    • Labels:
      None

      Description

      cf-execd -F hangs. Actually, it appears to go into background mode even when run with -F.

      wilma:/var/cfengine_master/inputs# cf-execd -Fv
      cf3> ------------------------------------------------------------------------
      cf3> # Extended system discovery is only available in version Nova and above
      cf3> Additional hard class defined as: 32_bit
      cf3> Additional hard class defined as: hp_ux_B_11_31
      cf3> Additional hard class defined as: hp_ux_ia64
      cf3> Additional hard class defined as: hp_ux_ia64_B_11_31
      cf3> GNU autoconf class from compile time: compiled_on_hpux11_31
      cf3> Address given by nameserver: 172.27.227.221
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> ***********************************************************
      cf3> Loading persistent classes
      cf3> ***********************************************************
      cf3> Persistent class wwws_out_high_ldt for 6 more minutes
      cf3> Adding persistent class wwws_out_high_ldt to heap
      cf3> ***********************************************************
      cf3> Loaded persistent memory
      cf3> ***********************************************************
      cf3> -> No policy server (hub) watch yet registered
      cf3> -> Policy is already validated
      cf3> > Parsing file /var/cfengine/inputs/promises.cf
      cf3> Initiate variable convergence...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/site.cf
      cf3> Initiate variable convergence...
      cf3> -> getfields: defining Root[1] = root
      cf3> -> getfields: defining Root[2] = *
      cf3> -> getfields: defining Root[3] = 0
      cf3> -> getfields: defining Root[4] = 3
      cf3> -> getfields: defining Root[5] =
      cf3> -> getfields: defining Root[6] = /home/root
      cf3> -> getfields: defining Root[7] = /sbin/sh
      cf3> -> Checking common class promises...
      cf3> ?> defining additional global class SATX
      cf3> ?> defining explicit global class SATX
      cf3> ?> defining additional global class SINGLE_SITE_DEFINED
      cf3> ?> defining explicit global class SINGLE_SITE_DEFINED
      cf3> ?> defining additional global class POLICYHOST_DEFINED
      cf3> ?> defining explicit global class POLICYHOST_DEFINED
      cf3> ?> defining additional global class isapplmgr
      cf3> ?> defining explicit global class isapplmgr
      cf3> ?> defining additional global class isoracle
      cf3> ?> defining explicit global class isoracle
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/cf-serverd.cf
      cf3> Initiate variable convergence...
      cf3> -> Checking common class promises...
      cf3> ?> defining additional global class isNtpConf
      cf3> ?> defining explicit global class isNtpConf
      cf3> ?> defining additional global class isResolvConf
      cf3> ?> defining explicit global class isResolvConf
      cf3> ?> defining additional global class isSshClient
      cf3> ?> defining explicit global class isSshClient
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/cf-execd.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/check_files.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/check_user_files.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/srr_findings.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/lp.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/cron.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/datamart.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/garbage_collection.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/genders.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/library.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/log_rotation.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/mount_nfs.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/fstab.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/packages.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/reset_root.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/svn_update.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> > Parsing file /var/cfengine/inputs/system_files.cf
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> Initiate variable convergence...
      cf3> Function "join" was promised a list called "this.NtpConf" but this was not (yet) found
      cf3> Function "join" was promised a list called "this.ResolvConf" but this was not (yet) found
      cf3> -> Checking common class promises...
      cf3> -> Defined classes =

      { POLICYHOST_DEFINED SATX SINGLE_SITE_DEFINED isNtpConf isResolvConf isSshClient isapplmgr isoracle wwws_out_high_ldt }

      cf3> -> Negated Classes = { }
      cf3> -> getfields: defining Root[1] = root
      cf3> -> getfields: defining Root[2] = *
      cf3> -> getfields: defining Root[3] = 0
      cf3> -> getfields: defining Root[4] = 3
      cf3> -> getfields: defining Root[5] =
      cf3> -> getfields: defining Root[6] = /home/root
      cf3> -> getfields: defining Root[7] = /sbin/sh
      cf3> Initiate variable convergence...
      cf3> -> Checking common class promises...
      cf3> SET domain = dcpds.cpms.osd.mil
      cf3> SET Syslog FACILITY = LOG_DAEMON
      cf3> ***********************************************************
      cf3> Starting executor
      cf3> ***********************************************************
      cf3> !! Programmed pruning of the scheduler cluster
      cf3> -> Looking for cf-execd processes owned by root
      cf3> Observe process table with /bin/ps -ef
      cf3>
      cf3> .........................................................
      cf3> Promise's handle:
      cf3> Promise made by: "/var/cfengine/bin/cf-execd"
      cf3> Promise made to (stakeholders): cfengine
      cf3>
      cf3> Comment: Programmed death
      cf3> .........................................................
      cf3>
      cf3> -> Process promise for /var/cfengine/bin/cf-execd is kept
      cf3> !! Pruning complete
      cf3> Sleeping...
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> Reference time set to Tue Oct 9 14:37:26 2012
      cf3> Checking schedule Min00...
      cf3> Checking schedule Min05...
      cf3> Checking schedule Min10...
      cf3> Checking schedule Min15...
      cf3> Checking schedule Min20...
      cf3> Checking schedule Min25...
      cf3> Checking schedule Min30...
      cf3> Checking schedule Min35...
      cf3> Checking schedule Min40...
      cf3> Checking schedule Min45...
      cf3> Checking schedule Min50...
      cf3> Checking schedule Min55...
      cf3> Sleeping...
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> Reference time set to Tue Oct 9 14:38:26 2012
      cf3> Checking schedule Min00...
      cf3> Checking schedule Min05...
      cf3> Checking schedule Min10...
      cf3> Checking schedule Min15...
      cf3> Checking schedule Min20...
      cf3> Checking schedule Min25...
      cf3> Checking schedule Min30...
      cf3> Checking schedule Min35...
      cf3> Checking schedule Min40...
      cf3> Checking schedule Min45...
      cf3> Checking schedule Min50...
      cf3> Checking schedule Min55...
      cf3> Sleeping...
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> Reference time set to Tue Oct 9 14:39:26 2012
      cf3> Checking schedule Min00...
      cf3> Checking schedule Min05...
      cf3> Checking schedule Min10...
      cf3> Checking schedule Min15...
      cf3> Checking schedule Min20...
      cf3> Checking schedule Min25...
      cf3> Checking schedule Min30...
      cf3> Checking schedule Min35...
      cf3> Checking schedule Min40...
      cf3> Checking schedule Min45...
      cf3> Checking schedule Min50...
      cf3> Checking schedule Min55...
      cf3> Sleeping...
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> Reference time set to Tue Oct 9 14:40:26 2012
      cf3> Checking schedule Min00...
      cf3> Checking schedule Min05...
      cf3> Checking schedule Min10...
      cf3> Checking schedule Min15...
      cf3> Checking schedule Min20...
      cf3> Checking schedule Min25...
      cf3> Checking schedule Min30...
      cf3> Checking schedule Min35...
      cf3> Checking schedule Min40...
      cf3> Waking up the agent at Tue Oct 9 14:40:26 2012 ~ Min40
      cf3> Sleeping for splaytime 32 seconds
      cf3> Sleeping...
      cf3> ------------------------------------------------------------------
      cf3> LocalExec(scheduled) at Tue Oct 9 14:40:58 2012
      cf3> ------------------------------------------------------------------
      cf3> -> Command => /var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent -Dfrom_cfexecd
      cf3> -> Command is executing.../var/cfengine/bin/cf-agent -f failsafe.cf && /var/cfengine/bin/cf-agent -Dfrom_cfexecd
      cf3> -> Command is complete
      cf3> -> No output
      cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx
      cf3> Interface 1: lan0
      cf3> Adding alias wilma..
      cf3> Interface 2: lo0
      cf3> Trying to locate my IPv6 address
      cf3> Looking for environment from cf-monitord...
      cf3> Loading environment...
      cf3> Environment data loaded
      cf3> Unable to find proc/cpu data
      cf3> Reference time set to Tue Oct 9 14:41:58 2012
      cf3> Checking schedule Min00...
      cf3> Checking schedule Min05...
      cf3> Checking schedule Min10...
      cf3> Checking schedule Min15...
      cf3> Checking schedule Min20...
      cf3> Checking schedule Min25...
      cf3> Checking schedule Min30...
      cf3> Checking schedule Min35...
      cf3> Checking schedule Min40...
      cf3> Waking up the agent at Tue Oct 9 14:41:58 2012 ~ Min40
      cf3> Sleeping for splaytime 32 seconds

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ringersoll Bob Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: