Hi,

Here is with —verbose option.
Please note this is draft test all-in-one system (everyhting on one PC, not 
self-hosted engine). 
Although it is not recommended, somehow it works.


[root@vm-hostengine vmhosts]# engine-iso-uploader --verbose --ssh-user=root 
--iso-domain=iso upload KNOPPIX_V8.1-2017-09-05-EN.iso 
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort): 
DEBUG: API Vendor(ovirt.org)    API Version(4.1.0)
DEBUG: id=0f70d19b-458d-4b39-93ca-5bf2cbdc9aa1 address=vm-hostengine.com 
path=/vmhosts/iso
Uploading, please wait...
INFO: Start uploading KNOPPIX_V8.1-2017-09-05-EN.iso 
DEBUG: file (KNOPPIX_V8.1-2017-09-05-EN.iso)
DEBUG: /usr/bin/ssh -p 22  r...@vm-hostengine.com "/usr/bin/test -e 
/vmhosts/iso/0f70d19b-458d-4b39-93ca-5bf2cbdc9aa1/images/11111111-1111-1111-1111-111111111111/KNOPPIX_V8.1-2017-09-05-EN.iso"
DEBUG: /usr/bin/ssh -p 22  r...@vm-hostengine.com "/usr/bin/test -e 
/vmhosts/iso/0f70d19b-458d-4b39-93ca-5bf2cbdc9aa1/images/11111111-1111-1111-1111-111111111111/KNOPPIX_V8.1-2017-09-05-EN.iso"
DEBUG: _cmds(['/usr/bin/ssh', '-p', '22', 'r...@vm-hostengine.com', 
'/usr/bin/test -e 
/vmhosts/iso/0f70d19b-458d-4b39-93ca-5bf2cbdc9aa1/images/11111111-1111-1111-1111-111111111111/KNOPPIX_V8.1-2017-09-05-EN.iso'])
r...@vm-hostengine.com's password: 
DEBUG: returncode(1)
DEBUG: STDOUT()
DEBUG: STDERR()
DEBUG: exists returning false
DEBUG: Mount point size test command is (/usr/bin/ssh -p 22  
r...@vm-hostengine.com "/usr/bin/python -c 'import os; dir_stat = 
os.statvfs(\"/vmhosts/iso\"); print (dir_stat.f_bavail * dir_stat.f_frsize)'" )
DEBUG: /usr/bin/ssh -p 22  r...@vm-hostengine.com "/usr/bin/python -c 'import 
os; dir_stat = os.statvfs(\"/vmhosts/iso\"); print (dir_stat.f_bavail * 
dir_stat.f_frsize)'" 
DEBUG: _cmds(['/usr/bin/ssh', '-p', '22', 'r...@vm-hostengine.com', 
'/usr/bin/python -c \'import os; dir_stat = os.statvfs("/vmhosts/iso"); print 
(dir_stat.f_bavail * dir_stat.f_frsize)\''])
r...@vm-hostengine.com's password: 



> On 14 Nov 2017, at 09:41, Yedidyah Bar David <d...@redhat.com> wrote:
> 
> On Mon, Nov 13, 2017 at 11:47 PM, andre...@starlett.lv
> <andre...@starlett.lv> wrote:
>> Hi,
>> 
>> Here are logs:
>> 
>> engine-iso-uploader list
>> Please provide the REST API password for the admin@internal oVirt Engine
>> user (CTRL+D to abort):
>> ISO Storage Domain Name   | ISO Domain Status
>> iso                       | ok
>> 
>> engine-iso-uploader --ssh-user=root --iso-domain=iso upload
> 
> Can you please run it with --verbose? Thanks.
> 
>> /vmhosts/virtio-win.iso
>> Please provide the REST API password for the admin@internal oVirt Engine
>> user (CTRL+D to abort):
>> Uploading, please wait...
>> INFO: Start uploading /vmhosts/virtio-win.iso
>> r...@vm-hostengine.com's password:
>> r...@vm-hostengine.com's password: (endless)
>> 
>> iso-uploader log:
>> 2017-11-13 23:38:16::INFO::engine-iso-uploader::1033::root:: Start
>> uploading /vmhosts/virtio-win.iso
>> ... and nothing else
>> 
>> tail -n 5000 messages | grep ssh
>> Gives nothing useful except
>> vm-hostengine ovirt-vmconsole-proxy-sshd:
>> /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
>> line 22: Deprecated option RSAAuthentication
>> which have no relation to upload.
>> 
>> 
>> On 11/13/2017 09:54 AM, Yedidyah Bar David wrote:
>>> On Mon, Nov 13, 2017 at 8:57 AM, andre...@starlett.lv
>>> <andre...@starlett.lv> wrote:
>>>> On 11/13/2017 05:36 AM, Yihui Zhao wrote:
>>>> 
>>>> can you try the admin password?
>>>> 
>>>> 
>>>> already did, same result.
>>>> 
>>>> On Mon, Nov 13, 2017 at 3:10 AM, andre...@starlett.lv 
>>>> <andre...@starlett.lv>
>>>> wrote:
>>>>> Hi,
>>>>> 
>>>>> I'm trying to upload iso with this coomand.
>>>>> engine-iso-uploader --ssh-user=root --iso-domain=iso upload suse.iso
>>>>> 
>>>>> Please provide the REST API password for the admin@internal oVirt Engine
>>>>> user (CTRL+D to abort):
>>>>> This go OK.
>>>>> 
>>>>> However, then it asks root password, I enter it, then it asks again and
>>>>> again. Root password is correct for sure, becuase I can coonect vis ssh
>>>>> from terminal.
>>>>> 
>>>>> How to fix this problem?
>>> Can you please share the log? Thanks.
>>> 
>>>>> May be its possible just to copy files manually?
>>> It is. Locate the iso domain on your storage server.
>>> Inside it you'll find a directory whose name is a random
>>> uuid, inside it 'images', and inside it a directory named:
>>> '11111111-1111-1111-1111-111111111111'.
>>> You can put your iso files inside that one. Make sure they
>>> are readable by user:group 36:36.
>>> 
>>>>> Thanks in advance.
>>>>> Andrei
>>>>> _______________________________________________
>>>>> 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
>>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Didi

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to