[Users] engine-iso-uploader problem

Dennis Böck dennis at webdienstleistungen.com
Wed Oct 31 16:08:38 UTC 2012


Here is the output with verbose option:



[root at vdihost1 ovirt]# engine-iso-uploader upload -v -i local-iso-share Fedora-17-x8
Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin
Please provide the REST API password for the admin oVirt Engine user (CTRL+D to abort):
ERROR: Unable to connect to REST API.  Reason: Unauthorized
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 "/bin/engine-iso-uploader", line 956, in <module>
DEBUG:     isoup = ISOUploader(conf)
DEBUG:   File "/bin/engine-iso-uploader", line 334, in __init__
DEBUG:     self.upload_to_storage_domain()
DEBUG:   File "/bin/engine-iso-uploader", line 690, 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





________________________________

Von: Keith Robertson [kroberts at redhat.com]
Gesendet: Dienstag, 30. Oktober 2012 17:20
An: Dennis Böck
Cc: users at ovirt.org
Betreff: Re: AW: [Users] engine-iso-uploader problem

Can you re-run with -v (verbose) and send me the output?

On 10/30/2012 12:00 PM, Dennis Böck wrote:

Thanks for the instructions how to build. I did it and installed the rpm.

Now I get a new error message:



[root at vdihost1 RPMS]# engine-iso-uploader upload -i local-iso-share /run/media/dennis/4F0B-18DE/ovirt/Fedora-17-x86_64-Live-Desktop.iso
Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin
Please provide the REST API password for the admin oVirt Engine user (CTRL+D to abort):
ERROR: Unable to connect to REST API.  Reason: Unauthorized
ERROR: 'NoneType' object is not iterable
INFO: Use the -h option to see usage.



I am sure, that I used the same password as I used for the webinterface.

Any ideas?



________________________________
Von: users-bounces at ovirt.org<mailto:users-bounces at ovirt.org> [users-bounces at ovirt.org<mailto:users-bounces at ovirt.org>]" im Auftrag von "Keith Robertson [kroberts at redhat.com<mailto:kroberts at redhat.com>]
Gesendet: Mittwoch, 24. Oktober 2012 18:02
An: Dennis Böck
Cc: users at ovirt.org<mailto:users at ovirt.org>
Betreff: Re: [Users] engine-iso-uploader problem

On 10/24/2012 11:43 AM, Dennis Böck wrote:
Since I am not experienced in building software, I took http://www.ovirt.org/releases/3.1/rpm/Fedora/17/noarch/ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch.rpm
But your e-mail sounded like that you can just set a parameter to avoid the problem?
Maybe I could avoid the problem, if there was another way for installing VMS/bringing ISOs to VMs?

It doesn't appear to be build yet.

Step 1: git clone http://gerrit.ovirt.org/p/ovirt-iso-uploader.git
Step 2: export APP_VERSION=3.0.0; export APP_RELEASE=1
Step 3: cd ovirt-iso-uploader
Step 4: make
Step 5: Notice the ovirt-iso-uploader*.rpm location in the STDOUT
Step 6: yum install /path/to/ovirt-iso-uploader*.rpm



Von: Keith Robertson [mailto:kroberts at redhat.com]
Gesendet: Mittwoch, 24. Oktober 2012 17:08
An: Dennis Böck
Cc: users at ovirt.org<mailto:users at ovirt.org>
Betreff: Re: AW: [Users] engine-iso-uploader problem

On 10/24/2012 10:56 AM, Dennis Böck wrote:

Obviously my e-mail wasn't added to the intendet thread:

http://lists.ovirt.org/pipermail/users/2012-September/003670.html
Ah, that 'insecure flag'.  That change should be merged.  Are you still experiencing the issue with a recent build of the iso-uploader?

http://gerrit.ovirt.org/#/c/7774/




(How can I reply to a such a thread??)



Thanks in advance

Dennis



________________________________
Von: users-bounces at ovirt.org<mailto:users-bounces at ovirt.org> [users-bounces at ovirt.org<mailto:users-bounces at ovirt.org>]" im Auftrag von "Keith Robertson [kroberts at redhat.com<mailto:kroberts at redhat.com>]
Gesendet: Mittwoch, 24. Oktober 2012 16:34
An: Dennis Böck
Cc: users at oVirt.org<mailto:users at oVirt.org>
Betreff: Re: [Users] engine-iso-uploader problem
Can you please elaborate on the 'insecure flag'?  What exactly are you referring to?
________________________________
From: "Dennis Böck" <dennis at webdienstleistungen.com><mailto:dennis at webdienstleistungen.com>
To: "users at oVirt.org"<mailto:users at oVirt.org> <users at ovirt.org><mailto:users at ovirt.org>
Sent: Wednesday, October 24, 2012 10:26:32 AM
Subject: [Users] engine-iso-uploader problem

Hi Keith/Tobias,



how can I set the "insecure flag"?

The engine-iso-uploader tool doesn't have such a parameter.



Best regards

Dennis



P.S.: I hope this e-mail goes to the "[Users] engine-iso-uploader problem"-thread - I have no idea how to do it else.

_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121031/557cc72e/attachment-0001.html>


More information about the Users mailing list