May 28, 2021

Hi,

I've followed the instructions pdf, but my migrated stacks are not showing up in inventory.

I've also tried the inventory import.

In the instructions it says in the App Volumes console to go to Configuration --> Storage and upload templates. This doesn't seem to do anything as it only lists the contents of the templates folder. Am I supposed to upload my migrated stacks to the templates folder and then import?

Any help would be appreciated.

Thanks,

Adam

May 28, 2021

I'm submitting a ticket to VMware as this appears to be an App Volumes console issue.

Jul 12, 2021

Any update on this? I have the same issue.

Jul 13, 2021

I ended up working around the issue by:

1. In vSphere, upload the migrated appstack files to a folder in your datastore other than your packages folder

2. Move the files into the correct packages folder

3. In AppVolumes admin console, Inventory -> Applications -> Rescan

Using these steps worked for me every time.

I'm still not clear why the documentation says to use upload templates, as far as I can tell it isn't relevant to the AppStack migration process.

Jul 13, 2021

Great idea, but I re-read the documentation and it states the following, for anyone who has this issue:

Take the VMDK and JSON and place them in the server ppv\packages directory
THEN go to appvolumes Config>Storage>Upload Templates and you will see your package there. I like the method by Adam C. though.

Jul 13, 2021

I followed the documentation first. Upload the VMDK and JSON into the packages folder, then appvolumes Config>Storage>Upload Templates.

That method never worked for me. That was the reason for my original post.

The method I described above as a workaround to the issue worked every time.

Jul 13, 2021

Hello,

The method described in the doc should. It will be great if you can share the steps you are doing.

Thanks,
-Mani.

Jul 13, 2021

Hi Mani,

I described my process in an earlier comment today, but the steps I used are:

1. In vSphere, upload the migrated appstack VMDK and JSON files to a folder in your datastore other than your packages folder. For example, in my datastore the structure is 'appvolumes>packages', so I uploaded the files into 'appvolumes'

2. Move the files into the correct packages folder. In my case I moved the files from 'appvolumes' into 'appvolumes>packages'

3. In AppVolumes admin console, Inventory -> Applications -> Rescan

That's it.

I did not use Config>Storage>Upload Templates because that did nothing at all.

Regards,

Adam

Apr 14, 2021

Migration of large appstacks fail because the target drive the tool creates is too small (20GB). Is there a way to increase the target drive size?

May 12, 2021

Hello,

It appears that the template size for 2x appstack has been increased. The same process can be followed to increase the template size of the VHD @ C:\Program Files (x86)\VMware\AppCapture\templates\wemcapture.vhd

Thanks,
-Mani,

May 21, 2021

Hello,

The capture process is successful after increasing the VHD size but now the migration fails. Below is the log entry for the migration.

INFO : Not proceeding to calculate size as requested.

INFO : migrating file system: 00 %

INFO : migrating registry

INFO : migrating metadata

INFO : creating meta database..

ERROR: NtOpenKey failed NTSTATUS: 3221225524l

ERROR: NtOpenKey failed NTSTATUS: 3221225524l

ERROR: NtOpenKey failed NTSTATUS: 3221225524l

WARN : could not open plugins.state file

ERROR: hive load failed (Error: 0x3)

ERROR: hive load failed (Error: 0x3)

ERROR: failed to read ico file data: C:\Program Files (x86)\VMware\AppCapture\mnt\{a3d1008e-97c9-47c5-894e-97d23d7201d5}\SVROOT\Windows\Installer\{AC76BA86-1033-FFFF-7760-0C0F074E4100}\_SC_Acrobat.ico

ERROR: icon data retrieval failed for C:\Program Files (x86)\VMware\AppCapture\mnt\{a3d1008e-97c9-47c5-894e-97d23d7201d5}\SVROOT\Windows\Installer\{AC76BA86-1033-FFFF-7760-0C0F074E4100}\_SC_Acrobat.ico

ERROR: hive load failed (Error: 0x3)

ERROR: hive load failed (Error: 0x3)

Apr 06, 2021

Getting Error trying to migrate an appstack

Application Capture Command Line Program

Version 4.0.0.15

Copyright (c) VMware, Inc. All rights reserved.

INFO : creating output disk (copying 00 %)02 %)04 %)07 %)09 %)12 %)14 %)17 %)19 %)22 %)24 %)27 %)29 %)32 %)34 %)37 %)39 %)42 %)44 %)47 %)49 %)52 %)54 %)57 %)59 %)62 %)64 %)67 %)69 %)72 %)74 %)77 %)79 %)82 %)84 %)87 %)89 %)92 %)94 %)97 %)99 %)100 % done)
INFO : preparing output virtual disk for capture
INFO : attaching the migration disk
INFO : unable to migrate
ERROR: failed to migrate data[Error: 0x5e759886]
ERROR: program failed in install mode CmdNew (Error: 0x0)

INFO : cleaning up
INFO : Not proceeding to calculate size as requested.
INFO : migrating file system: 00 %ERROR: failed to copy file vccorlib.lib. Error: 0x70
ERROR: failed to copy folder store. Error: 0x70
ERROR: failed to copy folder x64. Error: 0x70
ERROR: failed to copy folder lib. Error: 0x70
ERROR: failed to copy folder 14.16.27023. Error: 0x70
ERROR: failed to copy folder MSVC. Error: 0x70
ERROR: failed to copy folder Tools. Error: 0x70
ERROR: failed to copy folder VC. Error: 0x70
ERROR: failed to copy folder Enterprise. Error: 0x70
ERROR: failed to copy folder 2017. Error: 0x70
ERROR: failed to copy folder Microsoft Visual Studio. Error: 0x70
ERROR: failed to copy folder Program Files (x86). Error: 0x70
ERROR: failed to migrate file system.ERROR : migrating file system failed

2021-04-06 13:55:19,489 [7] ERROR AppCaptureUI.Avm.AppCapture: Run([C:\Program Files (x86)\VMware\AppCapture\AppCapture.exe]-[/migrate "Data Processing 02-22-2021" /sourcepath "C:\Program Files (x86)\VMware\AppCapture\VolumeMount\Data Processing 02-22-2021_appstacks" /o "C:\Source" ]) failed : -2
2021-04-06 13:55:19,489 [7] ERROR AppCaptureUI.Avm.AvmController: AppCapture::MigrateAppStack([Data Processing 02-22-2021][C:\Program Files (x86)\VMware\AppCapture\VolumeMount\Data Processing 02-22-2021_appstacks][C:\Source]) faield.
2021-04-06 13:55:19,492 [7] DEBUG AppCaptureUI.Common.HttpRequest: HTTP POST -> https://FQDN/cv_api/appstacks/280/unmount
2021-04-06 13:55:20,743 [7] DEBUG AppCaptureUI.Common.HttpRequest: HTTP Response -> {"success":"AppStack is unmounted successfully"}

Apr 13, 2021

Hello,

Error 0x70 indicates that there is no enough space on the disk. Please clean up the destination disk and try again. Also choose VHD and VMDK based on the requirement since choosing both would require twice the disk space for each migrated appstack.

Thanks,
-Mani.

Apr 19, 2021

there is about 100GB free of space and only selecting VMDK. Any other suggestions?

May 12, 2021

Hello,

It appears that the template size for 2x appstack has been increased (from 20GB). The same process can be followed to increase the template size of the VHD @ C:\Program Files (x86)\VMware\AppCapture\templates\wemcapture.vhd

Thanks,
_Mani.

Mar 19, 2021

We are getting an error when attempting to use the migration tool. We check the box next to the AppStack and the status changes from Ready to Scheduled but once we hit the Migrate button, it immediately turns to Error. The logs only show the following:

Application Capture Command Line Program
Version 4.0.0.15
Copyright (c) VMware, Inc. All rights reserved.

15:28:51 Computer: WS62T5S (WS62T5S.HNE.PROD)
15:28:51 Date-Time: Tuesday, March 2, 2021 15:28:51
15:28:51 Commandline: C:\Program Files (x86)\VMware\AppCapture\AppCapture.exe
15:28:51 Arguments: /prep "C:\Program Files (x86)\VMware\AppCapture\\templates\wemcapture.vhd"

15:28:51 INFO : processing commandline options

Any help will be greatly appreciated.

Mar 19, 2021

Apologies as that is the wrong log. Here are the entries at the end of the log.

2021-03-19 14:13:24,428 [10] DEBUG AppCaptureUI.Common.HttpRequest: HTTP Response -> {"appstack":{"id":177,"name":"UltraCompare v20 Enterprise","name_html":"UltraCompare v20 Enterprise","path":"cloudvolumes/apps","datastore_name":"NFSAppVolP","filename":"UltraCompare!20!v20!20!Enterprise.vmdk","file_location":"[NFSAppVolP] cloudvolumes/apps/UltraCompare!20!v20!20!Enterprise.vmdk","description":"-Licensed enterprise version provisioned on P02","status":"enabled","created_at":"2021-01-07 10:43:49 -0500","created_at_human":"Jan 07 2021","mounted_at":"2021-03-19 12:58:25 -0400","mounted_at_human":"Mar 19 2021","size_mb":660,"template_version":"2.18.0.29","mount_count":63,"assignments_total":3,"attachments_total":2,"attachment_limit":null,"location_count":2,"application_count":1,"application_icons":["/snapvols/177/UltraCompare_-E-.ico"],"volume_guid":"{c3308aa6-000a-4d96-a7b5-13f57fc2157c}","template_file_name":"[vsanDatastore] cloudvolumes/apps_templates/template.vmdk","agent_version":"2.18.0.14U","capture_version":"2.18.0.14","primordial_os_id":2,"primordial_os_name":"Windows 10 (x64)","oses":[{"id":2,"name":"Windows 10 (x64)"}],"provision_duration":"7 minutes"}}
2021-03-19 14:13:24,428 [10] DEBUG AppCaptureUI.Common.HttpRequest: HTTP GET -> https://hnevdipappvol1.hne.prod/cv_api/appstacks/142
2021-03-19 14:13:24,500 [10] DEBUG AppCaptureUI.Common.HttpRequest: HTTP Response -> {"appstack":{"id":142,"name":"UltraEdit v27 Enterprise Lic (W10-1809)","name_html":"UltraEdit v27 Enterprise Lic (W10-1809)","path":"cloudvolumes/apps","datastore_name":"NFSAppVolP","filename":"UltraEdit!20!v27!20!Enterprise!20!Lic!20!(W10-1809).vmdk","file_location":"[NFSAppVolP] cloudvolumes/apps/UltraEdit!20!v27!20!Enterprise!20!Lic!20!(W10-1809).vmdk","description":"","status":"enabled","created_at":"2020-10-05 10:12:35 -0400","created_at_human":"Oct 05 2020","mounted_at":"2021-03-19 08:39:01 -0400","mounted_at_human":"Mar 19 2021","size_mb":996,"template_version":"2.18.0.29","mount_count":1401,"assignments_total":1,"attachments_total":10,"attachment_limit":null,"location_count":2,"application_count":1,"application_icons":["/snapvols/142/UltraEdit_-E-.ico"],"volume_guid":"{4d51b27d-e067-40e7-97e2-e0ceb91eb1d4}","template_file_name":"[vsanDatastore] cloudvolumes/apps_templates/template.vmdk","agent_version":"2.18.0.14U","capture_version":"2.18.0.14","primordial_os_id":2,"primordial_os_name":"Windows 10 (x64)","oses":[{"id":2,"name":"Windows 10 (x64)"}],"provision_duration":"4 minutes"}}
2021-03-19 14:13:24,501 [10] DEBUG AppCaptureUI.Common.HttpRequest: HTTP GET -> https://hnevdipappvol1.hne.prod/cv_api/appstacks/78
2021-03-19 14:13:24,560 [10] DEBUG AppCaptureUI.Common.HttpRequest: HTTP Response -> {"appstack":{"id":78,"name":"WinZip (W10-1809)","name_html":"WinZip (W10-1809)","path":"cloudvolumes/apps","datastore_name":"NFSAppVolP","filename":"WinZip!20!(W10-1809).vmdk","file_location":"[NFSAppVolP] cloudvolumes/apps/WinZip!20!(W10-1809).vmdk","description":"","status":"enabled","created_at":"2019-11-09 08:52:24 -0500","created_at_human":"Nov 09 2019","mounted_at":"2021-03-19 08:39:01 -0400","mounted_at_human":"Mar 19 2021","size_mb":475,"template_version":"2.16.0.93","mount_count":1253,"assignments_total":16,"attachments_total":7,"attachment_limit":null,"location_count":2,"application_count":1,"application_icons":["/snapvols/78/WinZip_21.0.ico"],"volume_guid":"{00a1bcbd-658a-4014-9673-5b3bc5dbb212}","template_file_name":"[SSD7400] cloudvolumes/apps_templates/template.vmdk","agent_version":"2.16.0.18U","capture_version":"2.16.0.18","primordial_os_id":2,"primordial_os_name":"Windows 10 (x64)","oses":[{"id":2,"name":"Windows 10 (x64)"}],"provision_duration":"12 minutes"}}
2021-03-19 14:13:26,416 [3] DEBUG AppCaptureUI.Common.HttpRequest: HTTP POST -> https://hnevdipappvol1.hne.prod/cv_api/appstacks/88/mount
2021-03-19 14:13:26,585 [3] ERROR AppCaptureUI.Common.HttpRequest: GetResponse Fails
System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at AppCaptureUI.Common.HttpRequest.GetResponse()
2021-03-19 14:13:26,587 [3] ERROR AppCaptureUI.Avm.AvmCommunicator: SendRequest(eVolumeMount-eAppStack-88-id=88&uuid=E4D21800-BE29-11E7-8B02-E368981A2700&ip=172.31.22.248) failed.
2021-03-19 14:13:26,587 [3] ERROR AppCaptureUI.Avm.AvmController: AvmCommunicator::MountVolume([eAppStack]-[88]) failed.
2021-03-19 14:13:26,587 [3] ERROR AppCaptureUI.Avm.AvmController: AvmController::MountVolume([eAppStack][88][BeyondCompare v4 (W10-1809)]) faield.

Mar 22, 2021

Hello,

It looks like mounting the appstack VMDK has failed. Can you confirm if the VM that has this tool installed can access the datastore holding the appstack VMDKs?

Thanks,
-Mani.