Smartstate analysis fails with VIX_E_DISK_NOLICENSE.

Solution Verified - Updated -

Environment

  • Red Hat CloudForms 4.0
  • vCenter 5.5.0

Issue

  • Smartstate analysis fails with VIX_E_DISK_NOLICENSE.
  • Error:
Unable to mount filesystem. Reason:[FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature

Resolution

  • Enable the "License" role in Host under Global at the vCenter level, without propagation.
  • This issue is on VMware side, it is recommended to get in-touch with VMware support.

Root Cause

This error comes when there is a permissions issues on the vCenter for the CloudForms account.

Diagnostic Steps

  • Task status:
Unable to mount filesystem. Reason:[FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_1-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_2-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_3-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_4-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_5-000013.vmdk FFI::VixDiskLib::ApiWrapper#open (errcode=16064 - VIX_E_DISK_NOLICENSE): The host is not licensed for this feature - [iscsi_datastore1] abc123/abc123_6-000013.vmdk]

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.