[ 
https://issues.apache.org/jira/browse/VCL-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969844#comment-14969844
 ] 

ASF subversion and git services commented on VCL-910:
-----------------------------------------------------

Commit 1710097 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1710097 ]

VCL-909
Fixed minor bug in utils.pm::get_random_mac_address. It was selecting a random 
number from 0-255 inclusive. As a result, FF (256) was never chosen for a 
random MAC address. Changed to 0-256 inclusive.

VCL-910
Made minor, mostly cosmetic updates to utils.pm:
setup_get_hash_multiple_choice
setup_get_input_string
setup_print_wrap
setup_print_ok
setup_print_error
setup_print_warning

Other
Fixed badly named variables in add_imageid_to_newimages and added error output 
if the call failed.

> Improvements to vcld -setup's VMware datastore cleanup functions
> ----------------------------------------------------------------
>
>                 Key: VCL-910
>                 URL: https://issues.apache.org/jira/browse/VCL-910
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.5
>
>
> Some improvements could be made to the VMware datastore cleanup options 
> available in _vcld --setup_:
> * Purge deleted and unused images from repository datastore
> * Purge deleted and unused images from virtual disk datastore
> Occasionally, these functions may fail to delete a directory from a datastore 
> -- most likely because some files in the directory are locked by another host 
> which has the same datastore mounted.  Only 1 attempt is made to delete each 
> directory.  If a deletion fails due to a locked file, the directory may be 
> partially deleted.  This may prevent subsequent attempts  to ignore the 
> directory so it must be manually deleted.
> I have seen cases where I can manually delete a directory immediately after 
> the _vcld --setup_ attempt fails.  I'm not sure the reason for the failure, 
> but multiple attempts may improve things.
> The menus could also be improved.  Currently, the code assembles a list of 
> purgeable images and only allows you to select the number to delete.  It 
> would be better to be able to select the exact image revisions you want to 
> delete.



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

Reply via email to