Why removing a hypervisor fails with "Internal RHEVM Error (Error code: 5001)"?

Solution Verified - Updated -

Issue

  • Removing a hypervisor fails with below error message in GUI.
Internal RHEVM Error
(Error code: 5001)
  • vdc-log.txt triggers the below error message.
27Apr 15:41:35 [2548] INFO  - Running command: RemoveVdsCommand^M
27Apr 15:41:35 [2548] ERROR - Command RemoveVdsCommand throw exception^M
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.^M
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)^M
   at System.String.Format(IFormatProvider provider, String format, Object[] args)^M
   at VdcDAL.VdsStaticBaseFactory.MapDbParameterToBusinessEntityProperty(String dbParameter)^M
   at VdcDAL.VdsStaticRepository.HandleSqlException(SqlException ex, IDbToBusinessEntityNameMapper mapper)^M
   at VdcDAL.VdsStaticRepository.Remove(Int32 vds_id)^M
   at VdcDAL.DbBroker.DbFacade.RemoveVdsStatic(Int32 vdsId)^M
   at VdcBLL.RemoveVdsCommand.RemoveVdsStaticFromDb()^M
   at VdcBLL.RemoveVdsCommand.ExecuteCommand()^M
   at VdcBLL.CommandBase.ExecuteWithoutTransaction()^M

Environment

Red Hat Enterprise Virtualization v2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content