[Users] engine-iso-uploader problem
Hello everybody, I have soveld the problem downgrade "engine-iso-uploader" package. I hope It can be useful to someone with same problem: http://comments.gmane.org/gmane.comp.emulators.ovirt.user/4389 Many thanks, Juanjo. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
Dennis, You're in the same spot as another user and, it could quite possibly be the cert. However, I need additional information debug that. I'm repeating my response from that other post [1] and, I'd appreciate it if you gave the steps [1-7] a whirl. Cheers, Keith [1] On 10/31/2012 01:40 AM, Sheldon wrote: I make a domain name "ISO", Domain type is ISO, Storage Type is NFS, Format is V1 $ sudo engine-iso-uploader -v --iso-domain=ISO upload Fedora-17-x86_64-DVD.iso [sudo] password for ovirt: Please provide the REST API username for oVirt Engine (CTRL+D to abort): admin@internal Please provide the REST API password for the admin@internal oVirt Engine 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. Just to be clear the error in [1] is simply a symptom. It isn't the root cause. The root cause is quite possibly the CA certificate. I have created a patch in [2] that I'd appreciate if you could test as it will provide more debugging information about why the API creation is failing. Simply follow the steps in [3] Cheers, Keith [1] ERROR: 'NoneType' object is not iterable [2] http://gerrit.ovirt.org/8954 [3] Step 1: git clone http://gerrit.ovirt.org/p/ovirt-iso-uploader.git Step 2: Cherry pick the patch... git fetch git://gerrit.ovirt.org/ovirt-iso-uploader refs/changes/54/8954/2 && git cherry-pick FETCH_HEAD Step 3: export APP_VERSION=3.0.0; export APP_RELEASE=1 Step 4: cd ovirt-iso-uploader Step 5: make Step 6: Notice the ovirt-iso-uploader*.rpm location in the STDOUT Step 7: yum install /path/to/ovirt-iso-uploader*.rpm On 10/31/2012 12:08 PM, Dennis Böck wrote: Here is the output with verbose option: [root@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 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 [krobe...@redhat.com] *Gesendet:* Dienstag, 30. Oktober 2012 17:20 *An:* Dennis Böck *Cc:* users@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@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-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von "Keith Robertson [krobe...@redhat.com] *Gesendet:* Mittwoch, 24. Oktober 2012 18:02 *An:* Dennis Böck *Cc:* users@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:krobe...@red
Re: [Users] engine-iso-uploader problem
Here is the output with verbose option: [root@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 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 [krobe...@redhat.com] Gesendet: Dienstag, 30. Oktober 2012 17:20 An: Dennis Böck Cc: users@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@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-boun...@ovirt.org<mailto:users-boun...@ovirt.org> [users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>]" im Auftrag von "Keith Robertson [krobe...@redhat.com<mailto:krobe...@redhat.com>] Gesendet: Mittwoch, 24. Oktober 2012 18:02 An: Dennis Böck Cc: users@ovirt.org<mailto:users@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:krobe...@redhat.com] Gesendet: Mittwoch, 24. Oktober 2012 17:08 An: Dennis Böck Cc: users@ovirt.org<mailto:users@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-boun...@ovirt.org<mailto:users-boun...@ovirt.org> [users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>]" im Auftrag von "Keith Robertson [krobe...@redhat.com<mailto:krobe...@redhat.com>] Gesendet: Mittwoch, 24. Oktober 2012 16:34 An: Dennis Böck Cc: users@oVirt.org<mailto:users@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" <mailto:den...@webdienstleistungen.com> To: "users@oVirt.org"<mailto:users@oVirt.org> <mailto:users@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@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
If you just want to make quick progress, you can copy your iso file to your images directory. You will want to put the .iso file (it must have a .iso extension) in the correct directory. e.g. cp my.iso /export/iso-images//images/---- The actual directory names will vary. If you just copy it, the ovirt-engine will find it in a few seconds/minutes and update itself. Brian On Tue, Oct 30, 2012 at 12:20:54PM -0400, Keith Robertson wrote: > 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@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? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
On Tue, Oct 30, 2012 at 12:20:54PM -0400, Keith Robertson wrote: >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@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? Hi, Have you tried engine-iso-uploader -i local-iso-share upload /run/media/dennis/4F0B-18DE/ovirt/Fedora-17-x86_64-Live-Desktop.iso -- Regards, Vincent > > __ > >Von: [1]users-boun...@ovirt.org [[2]users-boun...@ovirt.org]" im >Auftrag von "Keith Robertson [[3]krobe...@redhat.com] >Gesendet: Mittwoch, 24. Oktober 2012 18:02 >An: Dennis Böck >Cc: [4]users@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 >[5]http://www.ovirt.org/releases/3.1/rpm/Fedora/17/noarch/ovirt-iso-upl >oader-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 [6]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 [[7]mailto:krobe...@redhat.com] >Gesendet: Mittwoch, 24. Oktober 2012 17:08 >An: Dennis Böck >Cc: [8]users@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: > >[9]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? >[10]http://gerrit.ovirt.org/#/c/7774/ > > >(How can I reply to a such a thread??) > > >Thanks in advance > >Dennis > >_______________ > >Von: [11]users-boun...@ovirt.org [[12]users-boun...@ovirt.org]" im >Auftrag von "Keith Robertson [[13]krobe...@redhat.com] >Gesendet: Mittwoch, 24. Oktober 2012 16:34 >An: Dennis Böck >Cc: [14]users@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" [15] > To: [16]"users@oVirt.org" [17] > 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 > [18]Users@ovirt.org > [19]http://lists.ovirt.org/mailman/listinfo/users > > References > >1. mailto:users-boun...@ovirt.org >2. mailto:users-boun...@ovirt.org >3. mailto:krobe...@redhat.com >4. mailto:users@ovirt.org >5. > http://www.ovirt.org/releases/3.1/rpm/Fedora/17/noarch/ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch.rpm >6. http://gerrit.ovirt.org/p/ovirt-iso-uploader.git >7. mailto:krobe...@re
Re: [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@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-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von "Keith Robertson [krobe...@redhat.com] *Gesendet:* Mittwoch, 24. Oktober 2012 18:02 *An:* Dennis Böck *Cc:* users@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:krobe...@redhat.com] *Gesendet:* Mittwoch, 24. Oktober 2012 17:08 *An:* Dennis Böck *Cc:* users@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-boun...@ovirt.org <mailto:users-boun...@ovirt.org> [users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>]" im Auftrag von "Keith Robertson [krobe...@redhat.com <mailto:krobe...@redhat.com>] *Gesendet:* Mittwoch, 24. Oktober 2012 16:34 *An:* Dennis Böck *Cc:* users@oVirt.org <mailto:users@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" <mailto:den...@webdienstleistungen.com> *To: *"users@oVirt.org" <mailto:users@oVirt.org> <mailto:users@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@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
Thanks for the instructions how to build. I did it and installed the rpm. Now I get a new error message: [root@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-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von "Keith Robertson [krobe...@redhat.com] Gesendet: Mittwoch, 24. Oktober 2012 18:02 An: Dennis Böck Cc: users@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:krobe...@redhat.com] Gesendet: Mittwoch, 24. Oktober 2012 17:08 An: Dennis Böck Cc: users@ovirt.org<mailto:users@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-boun...@ovirt.org<mailto:users-boun...@ovirt.org> [users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>]" im Auftrag von "Keith Robertson [krobe...@redhat.com<mailto:krobe...@redhat.com>] Gesendet: Mittwoch, 24. Oktober 2012 16:34 An: Dennis Böck Cc: users@oVirt.org<mailto:users@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" <mailto:den...@webdienstleistungen.com> To: "users@oVirt.org"<mailto:users@oVirt.org> <mailto:users@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@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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:krobe...@redhat.com] *Gesendet:* Mittwoch, 24. Oktober 2012 17:08 *An:* Dennis Böck *Cc:* users@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-boun...@ovirt.org <mailto:users-boun...@ovirt.org> [users-boun...@ovirt.org <mailto:users-boun...@ovirt.org>]" im Auftrag von "Keith Robertson [krobe...@redhat.com <mailto:krobe...@redhat.com>] *Gesendet:* Mittwoch, 24. Oktober 2012 16:34 *An:* Dennis Böck *Cc:* users@oVirt.org <mailto:users@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" <mailto:den...@webdienstleistungen.com> *To: *"users@oVirt.org" <mailto:users@oVirt.org> <mailto:users@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@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [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-boun...@ovirt.org [users-boun...@ovirt.org]" im Auftrag von "Keith Robertson [krobe...@redhat.com] *Gesendet:* Mittwoch, 24. Oktober 2012 16:34 *An:* Dennis Böck *Cc:* users@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" *To: *"users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
Can you please elaborate on the 'insecure flag'? What exactly are you referring to? - Original Message - > From: "Dennis Böck" > To: "users@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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
Hi Keith, thanks for the tip. It is working with the insecure flag set. Bye Tobias On 09/04/2012 03:50 PM, Keith Robertson wrote: > The SDK changed it's interface in a recent build. The tools need to be > updated to reflect this. I should have this > done shortly. > > Previously, the verification of the endpoint was optional, now it is > required or you must supply the "insecure" flag. > > > On 09/04/2012 09:44 AM, Tobias von der Krone wrote: >> Hi, >> >> If I try to list the iso domains I get the following error: >> >> # engine-iso-uploader list >> ERROR: [ERROR]::key_file, cert_file, ca_file must be specified for SSL >> connection. >> INFO: Use the -h option to see usage. >> >> I searched the code and found that at no position these variables are set. >> Opening the api url in the browser and typing >> username and password I get the xml file. Also I found that in >> /usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py the https >> connection is initialized via >> >> httplib.HTTPSConnection.__init__(self, host=host, port=port, >> key_file=key_file, >> cert_file=cert_file, strict=strict, >> timeout=timeout, >> source_address=source_address) >> >> but in /usr/lib64/python2.6/httplib.py the class is defined as >> >> def __init__(self, host, port=None, key_file=None, cert_file=None, >> strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT) >> >> with no 'source_address'. Is my python version >> (python-2.6.6-29.el6_2.2.x86_64) too old? >> >> I have the following packages installed: >> # rpm -qa | grep ovirt >> ovirt-log-collector-3.1.0-21.el6.noarch >> ovirt-engine-backend-3.1.0-3.22.el6.noarch >> ovirt-engine-config-3.1.0-3.22.el6.noarch >> ovirt-engine-webadmin-portal-3.1.0-3.22.el6.noarch >> ovirt-iso-uploader-3.1.0-21.el6.noarch >> ovirt-engine-cli-3.1.0.7-1.el6.noarch >> ovirt-engine-jbossas711-1-0.x86_64 >> ovirt-engine-restapi-3.1.0-3.22.el6.noarch >> ovirt-engine-setup-3.1.0-3.22.el6.noarch >> ovirt-engine-tools-common-3.1.0-3.22.el6.noarch >> ovirt-engine-dbscripts-3.1.0-3.22.el6.noarch >> ovirt-engine-3.1.0-3.22.el6.noarch >> ovirt-engine-sdk-3.1.0.6-1.el6.noarch >> ovirt-image-uploader-3.1.0-21.el6.noarch >> ovirt-engine-genericapi-3.1.0-3.22.el6.noarch >> ovirt-engine-notification-service-3.1.0-3.22.el6.noarch >> ovirt-engine-userportal-3.1.0-3.22.el6.noarch >> >> >> Bye Tobias >> >> >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > -- Mail: tob...@vdkrone.de Info: http://tobias.vdkrone.de signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-iso-uploader problem
The SDK changed it's interface in a recent build. The tools need to be updated to reflect this. I should have this done shortly. Previously, the verification of the endpoint was optional, now it is required or you must supply the "insecure" flag. On 09/04/2012 09:44 AM, Tobias von der Krone wrote: Hi, If I try to list the iso domains I get the following error: # engine-iso-uploader list ERROR: [ERROR]::key_file, cert_file, ca_file must be specified for SSL connection. INFO: Use the -h option to see usage. I searched the code and found that at no position these variables are set. Opening the api url in the browser and typing username and password I get the xml file. Also I found that in /usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py the https connection is initialized via httplib.HTTPSConnection.__init__(self, host=host, port=port, key_file=key_file, cert_file=cert_file, strict=strict, timeout=timeout, source_address=source_address) but in /usr/lib64/python2.6/httplib.py the class is defined as def __init__(self, host, port=None, key_file=None, cert_file=None, strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT) with no 'source_address'. Is my python version (python-2.6.6-29.el6_2.2.x86_64) too old? I have the following packages installed: # rpm -qa | grep ovirt ovirt-log-collector-3.1.0-21.el6.noarch ovirt-engine-backend-3.1.0-3.22.el6.noarch ovirt-engine-config-3.1.0-3.22.el6.noarch ovirt-engine-webadmin-portal-3.1.0-3.22.el6.noarch ovirt-iso-uploader-3.1.0-21.el6.noarch ovirt-engine-cli-3.1.0.7-1.el6.noarch ovirt-engine-jbossas711-1-0.x86_64 ovirt-engine-restapi-3.1.0-3.22.el6.noarch ovirt-engine-setup-3.1.0-3.22.el6.noarch ovirt-engine-tools-common-3.1.0-3.22.el6.noarch ovirt-engine-dbscripts-3.1.0-3.22.el6.noarch ovirt-engine-3.1.0-3.22.el6.noarch ovirt-engine-sdk-3.1.0.6-1.el6.noarch ovirt-image-uploader-3.1.0-21.el6.noarch ovirt-engine-genericapi-3.1.0-3.22.el6.noarch ovirt-engine-notification-service-3.1.0-3.22.el6.noarch ovirt-engine-userportal-3.1.0-3.22.el6.noarch Bye Tobias ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] engine-iso-uploader problem
Hi, If I try to list the iso domains I get the following error: # engine-iso-uploader list ERROR: [ERROR]::key_file, cert_file, ca_file must be specified for SSL connection. INFO: Use the -h option to see usage. I searched the code and found that at no position these variables are set. Opening the api url in the browser and typing username and password I get the xml file. Also I found that in /usr/lib/python2.6/site-packages/ovirtsdk/web/httpsconnection.py the https connection is initialized via httplib.HTTPSConnection.__init__(self, host=host, port=port, key_file=key_file, cert_file=cert_file, strict=strict, timeout=timeout, source_address=source_address) but in /usr/lib64/python2.6/httplib.py the class is defined as def __init__(self, host, port=None, key_file=None, cert_file=None, strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT) with no 'source_address'. Is my python version (python-2.6.6-29.el6_2.2.x86_64) too old? I have the following packages installed: # rpm -qa | grep ovirt ovirt-log-collector-3.1.0-21.el6.noarch ovirt-engine-backend-3.1.0-3.22.el6.noarch ovirt-engine-config-3.1.0-3.22.el6.noarch ovirt-engine-webadmin-portal-3.1.0-3.22.el6.noarch ovirt-iso-uploader-3.1.0-21.el6.noarch ovirt-engine-cli-3.1.0.7-1.el6.noarch ovirt-engine-jbossas711-1-0.x86_64 ovirt-engine-restapi-3.1.0-3.22.el6.noarch ovirt-engine-setup-3.1.0-3.22.el6.noarch ovirt-engine-tools-common-3.1.0-3.22.el6.noarch ovirt-engine-dbscripts-3.1.0-3.22.el6.noarch ovirt-engine-3.1.0-3.22.el6.noarch ovirt-engine-sdk-3.1.0.6-1.el6.noarch ovirt-image-uploader-3.1.0-21.el6.noarch ovirt-engine-genericapi-3.1.0-3.22.el6.noarch ovirt-engine-notification-service-3.1.0-3.22.el6.noarch ovirt-engine-userportal-3.1.0-3.22.el6.noarch Bye Tobias -- Mail: tob...@vdkrone.de Info: http://tobias.vdkrone.de signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users