Cannot start a newly created windows VM from RHEV3 with "5001" Error

Solution Verified - Updated -

Issue

  • Cannot start a newly created windows VM from RHEV3 with "5001" Error
  • The VM is being created from a template and so can't start any VMs that are based on that template
  • Seeing the following error in rhevm.log:
Error in ...lang.StringIndexOutOfBounsException: String index out of range: 10
  at java.lang.String.charAt (String.java:686)
  at java.util.regex.Matcher.appendReplacement(Matcher.java:711)
  at java.util.regex.Matcher.replaceAll(Matcher.java:813)
  at java.lang.String.replaceAll(String.java:2189)
  at org.ovirt.engine.core.compat.StringBuilderCompat.replace(StringBuilderCompat.java:22)
  at org.ovirt.engine.core.vdsbroker.vdsbroker.SysrepHandler.GetSysPrep(SysprepHandler.java:116)
  at org.oivrt.engine.core.vdsbroker.vdsbroker.CreateVmFromSysPrepVDSCommand.<init>(CreateVmFromSysPrepVdSCom...
....

Environment

  • Red Hat Enterprise Virtualization 3.0
  • Windows Virtual Guest

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.