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 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.