Red Hat Bugzilla – Bug 800660
Updates for new Aviary locator support
Last modified: 2013-03-06 13:42:25 EST
The new feature for the Aviary locator involves some additions to the base-db: # locator publishing (off by default) AVIARY_PUBLISH_LOCATION = False Note that the above value enables location publishing behaviour in the new Collector plugin noted below and the SCHEDD and QUERY_SERVER Aviary endpoints. # Aviary Locator plugin # (Collector only) COLLECTOR.PLUGINS = $(COLLECTOR.PLUGINS) $(LIB)/plugins/AviaryLocatorPlugin-plugin.so # frequency in seconds that the locator plugin sweeps and marks # unresponsive or missing endpoints # (Collector only) AVIARY_LOCATOR_PRUNE_INTERVAL = 20 # the number of updates an endpoint can miss before becoming a # candidate for garbage collection from the available list # (Collector only) AVIARY_LOCATOR_MISSED_UPDATES = 2 # frequency in seconds that endpoints send out their heartbeat ad # (QS, SCHEDD plugin only) AVIARY_PUBLISH_INTERVAL = 10
AviarySchedulerPublisher name: "AviarySchedulerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: [] AviaryLocator name: "AviaryLocator" params: {"AVIARY_LOCATOR_PRUNE_INTERVAL"=>"20", "AVIARY_LOCATOR_MISSED_UPDATES"=>"2", "COLLECTOR.PLUGINS"=>">= $(COLLECTOR.PLUGINS), $(LIB)/plugins/AviaryLocatorPlugin-plugin.so"} depends: [] conflicts: [] included_features: [] AviaryPublishingEnabled name: "AviaryPublishingEnabled" params: {"AVIARY_PUBLISH_LOCATION"=>"True"} depends: [] conflicts: [] included_features: [] QueryServerPublisher name: "QueryServerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: [] AVIARY_PUBLISH_INTERVAL kind: "string" default: "10" description: "The interval in seconds that the Aviary endpoints send their heartbeats" must_change: false requires_restart: false visibility_level: 0 depends: [] conflicts: [] AVIARY_PUBLISH_LOCATION kind: "string" default: "False" description: "Controls Aviary locator publishing" must_change: false requires_restart: true visibility_level: 0 depends: [] conflicts: [] AVIARY_LOCATOR_PRUNE_INTERVAL kind: "string" default: "20" description: "The interval in seconds that the Aviary locator scans the known endpoints and marks them unresponsive or missing" must_change: false requires_restart: false visibility_level: 0 depends: [] conflicts: [] AVIARY_LOCATOR_MISSED_UPDATES kind: "string" default: "2" description: "The number of updates an endpoint can miss before becoming a candidate for garbage collection from the available list" must_change: false requires_restart: false visibility_level: 0 depends: [] conflicts: []
The includes got munged on the features. The features should be: AviarySchedulerPublisher name: "AviarySchedulerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["AviaryScheduler", "AviaryPublishingEnabled"] AviaryLocator name: "AviaryLocator" params: {"AVIARY_LOCATOR_PRUNE_INTERVAL"=>"20", "AVIARY_LOCATOR_MISSED_UPDATES"=>"2", "COLLECTOR.PLUGINS"=>">= $(COLLECTOR.PLUGINS), $(LIB)/plugins/AviaryLocatorPlugin-plugin.so"} depends: [] conflicts: [] included_features: ["Collector", "AviaryPublishingEnabled"] AviaryPublishingEnabled name: "AviaryPublishingEnabled" params: {"AVIARY_PUBLISH_LOCATION"=>"True"} depends: [] conflicts: [] included_features: [] QueryServerPublisher name: "QueryServerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["QueryServer", "AviaryPublishingEnabled"]
Updated on master
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: Aviary added a locator feature C: The cemote configuration feature needs to be able to configure the Aviary locator feature C: New features were added to the base database for Aviary R: The remote configuration feature can now configure Aviary's locator service
Updated features to be: AviarySchedulerPublisher name: "AviarySchedulerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["AviaryScheduler", "AviaryPublishingEnabled"] AviaryLocator name: "AviaryLocator" params: {"AVIARY_LOCATOR_PRUNE_INTERVAL"=>"20", "COLLECTOR.PLUGINS"=>">= $(LIB)/plugins/AviaryLocatorPlugin-plugin.so", "AVIARY_LOCATOR_MISSED_UPDATES"=>"2"} depends: [] conflicts: [] included_features: ["Collector", "AviaryPublishingEnabled"] AviaryPublishingEnabled name: "AviaryPublishingEnabled" params: {"AVIARY_PUBLISH_LOCATION"=>"TRUE"} depends: [] conflicts: [] included_features: [] QueryServerPublisher name: "QueryServerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["QueryServer", "AviaryPublishingEnabled"] Updated upstream on branch: BZ800660-aviary-locator
# wallaby show-feature AviarySchedulerPublisher Console Connection Established... AviarySchedulerPublisher name: "AviarySchedulerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["AviaryScheduler", "AviaryPublishingEnabled"] annotation: "Enables publishing aviary locator data for the aviary scheduler" wallaby show-feature AviaryLocator Console Connection Established... AviaryLocator name: "AviaryLocator" params: {"COLLECTOR.PLUGINS"=>">= $(LIB)/plugins/AviaryLocatorPlugin-plugin.so", "AVIARY_LOCATOR_PRUNE_INTERVAL"=>"20", "AVIARY_LOCATOR_MISSED_UPDATES"=>"2"} depends: [] conflicts: [] included_features: ["Collector", "AviaryPublishingEnabled"] annotation: "Collector additions to provide the aviary locator" # wallaby show-feature AviaryPublishingEnabled Console Connection Established... AviaryPublishingEnabled name: "AviaryPublishingEnabled" params: {"AVIARY_PUBLISH_LOCATION"=>"TRUE"} depends: [] conflicts: [] included_features: [] annotation: "Enables publishing aviary locator information" # wallaby show-feature QueryServerPublisher Console Connection Established... QueryServerPublisher name: "QueryServerPublisher" params: {"AVIARY_PUBLISH_INTERVAL"=>"10"} depends: [] conflicts: [] included_features: ["QueryServer", "AviaryPublishingEnabled"] annotation: "Enables publishing aviary locator data for the query server" Features available and tested on: condor-wallaby-base-db-1.25-1.el6_3.noarch >>> VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0564.html