On 10/30/2012 08:09 PM, Keith Robertson wrote:
On 10/30/2012 07:13 AM, Sheldon wrote:
> On 10/30/2012 06:08 PM, Keith Robertson wrote:
>> On 10/30/2012 06:02 AM, Sheldon wrote:
>>> error when I update a iso to iso domain by engine-iso-uploader
>>> # engine-iso-uploader --iso-domain=ISO upload Fedora-17-x86_64-DVD.iso
>>> Please provide the REST API password for the admin@internal oVirt
>>> Engine user (CTRL+D to abort):
>>> ERROR: [ERROR]::ca_file (CA certificate) must be specified for SSL
>>> connection.
>>> INFO: Use the -h option to see usage.
>>>
>>> but I manual engine-iso-uploader, there is no any information about
>>> certificate.
>>> # man engine-iso-uploader
>>>
>> The LC needs to be rebuilt. The code in the GIT repo has the patch
>> but it isn't in the official download spot. In the meantime you can
>> roll your own with [1].
>>
>> In the future, the tools need to become part of the nightly builds.
>>
>>
>> [1]
>> 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
>>
>
> still error, Maybe I should waiting for tools in the nightly builds.
> $ sudo rpm -qa | grep iso-uploader
> ovirt-iso-uploader-3.0.0-1.fc17.noarch
>
> $ sudo engine-iso-uploader --iso-domain=ISO upload
> Fedora-17-x86_64-DVD.iso
> 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.
>
Can you re-run with verbose option set?
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.
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
--
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center