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

am_policy_hub not defined on ipv6 server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Environment Detection
    • Labels:
      None
    • Platform:
      Linux
    • Steps to reproduce:
      Manual steps provided

      Description

      The following comes from a preexisting policy server, that worked fine until yesterday, when it was upgraded to 3.6RC2.
      <pre>
      [root@frodo ~]# cat am_policy_hub.cf
      body common control
      {
      bundlesequence =>

      { "main", }

      ;
      }

      bundle agent main
      {
      reports:
      am_policy_hub|am_policy_server::
      "PASS";
      !(am_policy_hub|am_policy_server)::
      "FAIL";
      }

      [root@frodo ~]# cf-agent -Kf ./am_policy_hub.cf
      R: FAIL

      [root@frodo cfengine]# cf-promises --show-classes |grep am_policy
      [root@frodo cfengine]# echo $?
      1

      [root@frodo cfengine]# cat policy_server.dat
      2001:470:1d:a2f::9

      [root@frodo cfengine]# ip addr list eth0
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
      link/ether 52:54:00:ee:4b:ef brd ff:ff:ff:ff:ff:ff
      inet 172.16.100.11/24 brd 172.16.100.255 scope global eth0
      inet6 2001:470:1d:a2f::9/64 scope global
      valid_lft forever preferred_lft forever
      inet6 fe80::5054:ff:feee:4bef/64 scope link
      valid_lft forever preferred_lft forever

      [root@frodo cfengine]# cat reports/host_info_report.txt

      1. Host Information
        Generated: Thu May 29 07:50:23 2014
        1. Identity
          Fully Qualified Hostname: frodo.watson-wilson.ca
          Host ID: MD5=3d5453cf736d44f0ead93dce6c4c9a8c
        1. CFEngine
          Version: CFEngine 3.6.0.f1e9f7c
          Last Agent Run: 2014-05-29 07:46:11 EDT
          Policy Release ID: b0edd4a93a23be4d00ac4d868065ca1639a77ebf
          Policy Last Updated: 2014-05-29 07:46:08 EDT
        1. OS
          Architecture: x86_64
          Os: linux
          Release: 2.6.32-431.17.1.el6.x86_64
          Flavor: centos_6
          Version: #1 SMP Wed May 7 23:32:49 UTC 2014
          Uptime: 9243 minutes

      </pre>

        1. Hardware
          No. CPUs: 1
        1. Network
          1. Interfaces
      • eth0: IPv4 172.16.100.11
      • eth0: up broadcast running multicast
      • lo: IPv4 127.0.0.1
      • lo: up loopback running
          1. IPv4 TCP Ports listening
      • 5308
      • 8080
      • 6010
      • 5432
      • 22

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                neilhwatson Neil Watson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel