Why importing VMs from KVM is failing with error "TypeError: must be string or buffer, not None"

Solution Verified - Updated -

Issue

  • Importing KVM VMs to RHV is failing with error "TypeError: must be string or buffer, not None" in the engine log.
  • Not able to import KVM VMs to RHV if the username and password is null when using qemu+ssh uri.

Environment

  • Red Hat Virtualization 4.0

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