You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2015/03/18 20:45:38 UTC

[jira] [Created] (VCL-840) Warning displayed in vcld.log if managementnode.keys is not populated

Andy Kurth created VCL-840:
------------------------------

             Summary: Warning displayed in vcld.log if managementnode.keys is not populated
                 Key: VCL-840
                 URL: https://issues.apache.org/jira/browse/VCL-840
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.4
            Reporter: Andy Kurth
            Priority: Minor


Unnecessary warnings are displayed in vcld.log if managementnode.keys is not populated:

{noformat}
|15580|21|49|reload|DataStructure.pm:_automethod|894| ---- WARNING ----
|15580|21|49|reload|DataStructure.pm:_automethod|894| 2015-03-18 15:38:23|15580|21|49|reload|DataStructure.pm:_automethod|894|corresponding data is undefined for get_management_node_keys: $ENV{management_node_info}{keys}
|15580|21|49|reload|DataStructure.pm:_automethod|894| ( 0) DataStructure.pm, _automethod (line: 894)
|15580|21|49|reload|DataStructure.pm:_automethod|894| (-1) Autoload.pm, __ANON__ (line: 80)
|15580|21|49|reload|DataStructure.pm:_automethod|894| (-2) OS.pm, copy_file_to (line: 3156)
|15580|21|49|reload|DataStructure.pm:_automethod|894| (-3) VMware.pm, prepare_vmx (line: 1753)
|15580|21|49|reload|DataStructure.pm:_automethod|894| (-4) VMware.pm, load (line: 536)
|15580|21|49|reload|DataStructure.pm:_automethod|894| (-5) new.pm, reload_image (line: 634)
{noformat}

The warning should not be displayed if _/etc/vcl/vcl.key_ exists.  If it does, return this file path.  If it does not exist, a warning should be displayed.

This also relates to {{vcl-install.sh}}.  The script currently does not populate the field and warnings are displayed even though vcl.key is eventually used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)