[
https://issues.apache.org/jira/browse/VCL-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868152#comment-13868152
]
ASF subversion and git services commented on VCL-409:
-----------------------------------------------------
Commit 1557226 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1557226 ]
VCL-685
Added vcld -setup option to safely purge deleted and unused images from the
virtual disk datastore under some conditions.
Added the following subroutines to VMware.pm:
setup_get_menu
setup_vm_host_operations
setup_purge_datastore_images
get_datastore_image_names
Added the following subroutines to utils.pm:
get_array_intersection
get_imagerevision_cleanup_info
get_imagerevision_loaded_info
get_imagerevision_names
get_imagerevision_names_recently_reserved
get_imagerevision_reservation_info
get_management_node_vmhost_ids
Changed OS.pm::find_files. 3rd $search_type argument was not being used
anywhere. Changed it to $search_subdirectories. This is used by
get_datastore_image_names to speed up the search.
Added eval block to vSphere_SDK.pm::is_restricted to allow it to detect if the
SDK is not installed rather than always displaying a warning message.
Added optional vmhost_id argument to DataStructure.pm.
VCL-409
Replaced existing setup subroutines with a setup_get_menu subroutine in
image.pm and Module.pm. This allows multi-level menus to be defined by
constructing a hash. vcld retrieves the hash and presents the menu.
Added subroutines to utils.pm:
get_code_ref_package_name
get_code_ref_subroutine_name
get_management_node_vmhost_ids
setup_get_menu_choice
setup_print_break
Added check in State.pm::DESTROY to prevent warnings when running vcld -setup.
VCL-729
Added eval block in utils.pm::mail when Mail::Mailer is created. If sendmail
isn't installed this would generate an error which wasn't being caught in
vcld.log.
VCL-678
Changed several 'OK' notify messages to 'DEBUG' in VMware.pm and vSphere_SDK.pm.
> Improvements to vcld -setup
> ---------------------------
>
> Key: VCL-409
> URL: https://issues.apache.org/jira/browse/VCL-409
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend), web gui (frontend)
> Reporter: Andy Kurth
> Priority: Minor
> Fix For: 2.4
>
>
> This issue is to track additions and improvements to the 'vcld -setup'
> feature.
> Regarding the base image capture feature:
> -Add check if image already exists in the database, check if it actually
> exists in the repository, allow user to specify if the image is indeed correct
> done-Add check for image captures in maintenance mode for given target vm and
> prompt to restart.
> -Add confirmation summary before image capture process begins
> done-Check if vm is assigned to a vmhost
> -Add checks/tests for basic's, Can ssh into target node? ssh into vmhost?
> done-Add feature to query the database for imaging requests in the
> maintenance state and to restart them.
> done-Add images captured to the newimages image group, using new xmlrpc
> routine.
> done- Make sure vcld is running and start if needed
> done- Close out the output capture of vcld.log when image capture is complete
> done - Update install type variable, it's either partimage for bare-metal or
> vmware. Can be confusing output for kvm or other provisioning methods.
> Web: new xmlrpc routine XMLRPCfinishBaseImageCapture
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)