In vCenter Server 5.5 the Host Profile creation procedure fails with error "Value specified is out of range".
This issue is caused by a devices that have not been properly removed from the host. The error you receive is the following:
A general system error occurred:
Value specified is out of range. Range 1 to 256
Value specified is out of range. Range 0 to 16
Value specified is out of range. Range 1 to 256
…
Fix
To fix this problem you need to manually remove the references to the detached devices left in the system.
Enable SSH access in the ESXi host you need to fix.
Open an SSH session to the host who failed the host profile creation task then run the command:
# esxcli storage core device list
A list of devices are shown in the screen.
Look for devices with no configured value in Display Name, Multipath Plugin, Vendor, Model, etc. fields. Take note of the affected NAA ID.
These devices are still referenced but need to be removed in order to solve the issue. To list devices with an off State run the command:
# esxcli storage core device detached list
To remove permanently the devices, run the command:
# esxcli storage core device detached remove -d <NAA_ID>
Now try creating the host profile once again.
This time the task complete successfully and the Host Profile created is shown in the Host Profiles tab.
Repeat the procedure for all affected hosts.