The 'rhevm-iso-uploader' commands fails after 3.0 to 3.1 upgrade

Solution Verified - Updated -

Issue

  • [RHEV 3.1] The 'rhevm-iso-uploader' commands fails after 3.0 to 3.1 upgrade
  • After upgrading from RHEV 3.08 to RHEV 3.1, rhevm-iso-uploader fails to upload iso files.
  • Error:
[root@rhevm ~]# rhevm-iso-uploader -v -i rhev-isos upload -u mwahren@cbr.redhat.com /usr/share/rhev-guest-tools-iso/RHEV-toolsSetup_3.1_9.iso
Please provide the REST API password for the mwahren@cbr.redhat.com RHEV-M user (CTRL+D to abort): 
ERROR: Problem connecting to the REST API.  Is the service available and does the CA certificate exist?
ERROR: 'NoneType' object is not iterable
INFO: Use the -h option to see usage.
DEBUG: Configuration:
DEBUG: command: upload
DEBUG: Traceback (most recent call last):
DEBUG:   File "/usr/bin/rhevm-iso-uploader", line 955, in <module>
DEBUG:     isoup = ISOUploader(conf)
DEBUG:   File "/usr/bin/rhevm-iso-uploader", line 333, in __init__
DEBUG:     self.upload_to_storage_domain()
DEBUG:   File "/usr/bin/rhevm-iso-uploader", line 689, in upload_to_storage_domain
DEBUG:     (id, address, path) = self.get_host_and_path_from_ISO_domain(self.configuration.get('iso_domain'))
DEBUG: TypeError: 'NoneType' object is not iterable

Environment

  • Red Hat Enterprise Virtualization 3.1
  • rhevm-iso-uploader

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