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 2012/11/16 18:20:12 UTC

[jira] [Resolved] (VCL-647) Warning generated if vmprofile.rsakey is not defined

     [ https://issues.apache.org/jira/browse/VCL-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Kurth resolved VCL-647.
----------------------------

    Resolution: Fixed
    
> Warning generated if vmprofile.rsakey is not defined
> ----------------------------------------------------
>
>                 Key: VCL-647
>                 URL: https://issues.apache.org/jira/browse/VCL-647
>             Project: VCL
>          Issue Type: Sub-task
>          Components: vcld (backend)
>    Affects Versions: 2.4
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.4
>
>
> utils.pm::get_vmhost_info checks if the file specified by vmprofile.rsakey exists via:
> if (-f $vmhost_info->{vmprofile}{rsakey} && $vmhost_info->{vmprofile}{encryptedpasswd})
> If vmprofile.rsakey is not defined, the following warning is generated:
> |32134|1999872:2087022|image| ---- WARNING ----
> |32134|1999872:2087022|image| 2012-11-16 11:43:48|32134|1999872:2087022|image|vcld:warning_handler(613)|Use of uninitialized value in -f at /usr/local/vcltrunk/bin/../lib/VCL/utils.pm line 4752.
> A check needs to be added to prevent this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira