HCX OSAM - RHEL8.10 & 9.x fails during fix up with error "A specified parameter was not correct: fileType"
search cancel

HCX OSAM - RHEL8.10 & 9.x fails during fix up with error "A specified parameter was not correct: fileType"

book

Article ID: 428750

calendar_today

Updated On:

Products

VMware HCX VMware vSphere ESXi

Issue/Introduction

  • OSAM migrations failing for RHEL 8.10 and 9.x KVM VMs hosted in OpenStack, during the fix-up phase with a "A specified parameter was not correct: fileType" error.

  • The failure is during fix-up stage with error

    ERROR c.v.v.h.s.m.h.OsAssistedMigrationUtil- Task Failed. {"fault":{"@xsi:type":"InvalidArgument","invalidProperty":"fileType"},"localizedMessage":"A specified parameter was not correct: fileType"}



  • app.log at /common/logs/admin from HCX Manager shows following error

    2026-01-25 06:31:09.022 UTC [OsAssistedMigrationService_SvcThread-371, Ent: HybridityAdmin, , TxId: ########-####-####-####-#######] ERROR c.v.v.h.s.m.h.OsAssistedMigrationUtil- Task Failed. {"fault":{"@xsi:type":"InvalidArgument","invalidProperty":"fileType"},"localizedMessage":"A specified parameter was not correct: fileType"}
    2026-01-25 06:31:09.039 UTC [OsAssistedMigrationService_SvcThread-371, Ent: HybridityAdmin, , TxId: ########-####-####-####-#######] ERROR c.v.v.h.s.m.jobs.LinuxFixupJob- Failed in executing subworkflow Linux Fixup - A specified parameter was not correct: fileType migrationId: ######-####-####-###-#########
    2026-01-25 06:31:09.162 UTC [OsAssistedMigrationService_SvcThread-384, Ent: HybridityAdmin, , TxId: ########-####-####-####-#######] INFO  c.v.v.h.s.m.j.OsAssistedMigrationJob- ----- Job id : ######-####-####-####-######## Running state : PROCESS_FIXUP_TARGET_VM_RESULT migrationId : #####-####-####-###-######### -----

  •  HCX detected a mix of supported XFS and unsupported FAT32 filesystems on the source VM

    app.log
    at /common/logs/admin

    "partitioning":"MBR","logicalSectorSize":512,"physicalSectorSize":512}],"linuxStorage":{"mdArrays":[],"diskPaths":[{"diskPath":"/dev/vda","baseBlockdevId":"#####-####-#####-####-###########"}],"filesystems":[{"fsName":"/","fsSize":2530####,"fsType":"XFS",
    ----------
    ----------
    {"fsName":"/boot/efi","fsSize":204580,"fsType":"FAT32","fsUuid":"####-#####","fsUsage":4,"fsAttributes":[{"provider":"__system__","attributes":[{"attrName":"__DISTRO__","attrValue":"redhat"},{"attrName":"__MAJOR__","attrValue":"9"},{"attrName":"__MINOR__","attrValue":"5"}]}],"baseBlockdevId":""#####-####-#####-####-###########""}],"swapDevices":[],"volumeGroups":[],"logicalVolumes":[],"encryptedDevices":o perform fix-up operation on migrated VM. A specified parameter was not correct: fileType","result":{"error":"Failed to perform fix-up operation on migrated VM. A specified parameter was not correct: fileType"}}

Environment

VMware HCX

Cause

The HCX OSAM fix-up process supports only ext2, ext3, ext4, and XFS filesystems.

    1. Unsupported Filesystem: Modern RHEL distributions using UEFI boot mode default to a FAT32 (vfat) partition for /boot/efi. When the migration engine encounters this partition type, it fails the validation check for the fileType parameter during the cleanup and configuration phase.
    2. Special Characters: This error can also be triggered if the source VM name contains unsupported special characters (e.g., @, #, $, %, *) or spaces.

Resolution

To resolve this issue, the unsupported partition must be converted to a supported filesystem type before initiating the migration.

Note: Simply commenting out the FAT32 entry in /etc/fstab is insufficient. The HCX Sentinel and migration engine will still detect the physical partition type on the disk, leading to the same failure.

Step-by-Step Conversion:

  1. Verify Filesystems: Run lsblk -f on the source VM to identify all partitions and their formats. Confirm if /boot/efi is listed as vfat or FAT32.
  2. Backup Data: Create a complete backup of all data residing on the FAT32 partition (e.g., the contents of /boot/efi).
  3. Reformat Partition: Recreate or reformat the partition using a supported Linux filesystem, such as ext4.
  4. Update Configuration:
    • Update /etc/fstab on the source VM to reflect the new UUID and the ext4 filesystem type for the mount point.
    • Run systemctl daemon-reload and verify the partition mounts correctly.
  5. Clean VM Name: Ensure the VM name in the vCenter inventory does not contain spaces or special characters.
  6. Retry Migration: Restart the HCX OSAM migration process.

Expected Outcome The fix-up operation will successfully validate the disk parameters, allowing the migration to complete the switchover and instantiate the VM on the target site.

Additional Information

Guest Operating System Considerations for OSAM