4.1 engine-iso-uploader / root password glitch

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? May be its possible just to copy files manually? Thanks in advance. Andrei

can you try the admin password? On Mon, Nov 13, 2017 at 3:10 AM, andreil1@starlett.lv <andreil1@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? May be its possible just to copy files manually?
Thanks in advance. Andrei _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------1F97DAE5DC099172A4B7AB75 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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, andreil1@starlett.lv <mailto:andreil1@starlett.lv> <andreil1@starlett.lv <mailto:andreil1@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? May be its possible just to copy files manually?
Thanks in advance. Andrei _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------1F97DAE5DC099172A4B7AB75 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">On 11/13/2017 05:36 AM, Yihui Zhao wrote:<br> </div> <blockquote type="cite" cite="mid:CALBF9Vv+K5P=8SV+66qu2MDMkKx-wvDmw4YoAWyBuaGqnNe3Lw@mail.gmail.com"> <div dir="ltr">can you try the admin password?</div> <div class="gmail_extra"><br> </div> </blockquote> <br> already did, same result.<br> <br> <blockquote type="cite" cite="mid:CALBF9Vv+K5P=8SV+66qu2MDMkKx-wvDmw4YoAWyBuaGqnNe3Lw@mail.gmail.com"> <div class="gmail_extra"> <div class="gmail_quote">On Mon, Nov 13, 2017 at 3:10 AM, <a href="mailto:andreil1@starlett.lv" moz-do-not-send="true">andreil1@starlett.lv</a> <span dir="ltr"><<a href="mailto:andreil1@starlett.lv" target="_blank" moz-do-not-send="true">andreil1@starlett.lv</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> I'm trying to upload iso with this coomand.<br> engine-iso-uploader --ssh-user=root --iso-domain=iso upload suse.iso<br> <br> Please provide the REST API password for the admin@internal oVirt Engine<br> user (CTRL+D to abort):<br> This go OK.<br> <br> However, then it asks root password, I enter it, then it asks again and<br> again. Root password is correct for sure, becuase I can coonect vis ssh<br> from terminal.<br> <br> How to fix this problem?<br> May be its possible just to copy files manually?<br> <br> Thanks in advance.<br> Andrei<br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br> </blockquote> </div> <br> </div> </blockquote> <p><br> </p> </body> </html> --------------1F97DAE5DC099172A4B7AB75--

On Mon, Nov 13, 2017 at 8:57 AM, andreil1@starlett.lv <andreil1@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, andreil1@starlett.lv <andreil1@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

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 /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 root@vm-hostengine.com's password: root@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, andreil1@starlett.lv <andreil1@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, andreil1@starlett.lv <andreil1@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

On Mon, Nov 13, 2017 at 11:47 PM, andreil1@starlett.lv <andreil1@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 root@vm-hostengine.com's password: root@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, andreil1@starlett.lv <andreil1@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, andreil1@starlett.lv <andreil1@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

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 root@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 root@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', 'root@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']) root@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 root@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 root@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', 'root@vm-hostengine.com', '/usr/bin/python -c \'import os; dir_stat = os.statvfs("/vmhosts/iso"); print (dir_stat.f_bavail * dir_stat.f_frsize)\'']) root@vm-hostengine.com's password:
On 14 Nov 2017, at 09:41, Yedidyah Bar David <didi@redhat.com> wrote:
On Mon, Nov 13, 2017 at 11:47 PM, andreil1@starlett.lv <andreil1@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 root@vm-hostengine.com's password: root@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, andreil1@starlett.lv <andreil1@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, andreil1@starlett.lv <andreil1@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
participants (3)
-
andreil1@starlett.lv
-
Yedidyah Bar David
-
Yihui Zhao