[ovirt-users] Upload Image to NFS Storage Domain Doesn't Work

2021-07-30 Thread Nur Imam Febrianto
Hi,

Lastly in 4.4.6, I have a problem that I couldn’t upload any image to storage 
domain without clicking Test Connection. Well, after it was acknowledge as a 
bug and solved at 4.4.7 now I have similar issue. If I upload any image to 
Storage Domain that uses NFS it only show locked, and then showing OK even if 
no data are uploaded (can confirm 5GB ISO showing OK after only 1 second). This 
issue only occurs with NFS backend, another storage domain that uses iSCSI work 
fine though. Any idea how to solve this ? I’m using NFS Storage Domain for 
storing ISO and this issue bugged me all the time.

Thanks before.

Regards,

Nur Imam Febrianto


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ACUKBWAM2ORQZL3SUH523B7JFWRC7XT3/


[ovirt-users] upload image using python api

2020-03-24 Thread David David
hi
can't upload disk image with that script:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py
this error message is appeared when i trying to upload image:
# python upload_disk.py --engine-url https://alias-e.localdomain
--username admin@internal --disk-format raw --sd-name iscsi-test-7 -c
ca.pem /home/linux1.raw
Checking image...
Image format: raw
Disk format: raw
Disk content type: data
Disk provisioned size: 42949672960
Disk initial size: 42949672960
Disk name: linux1.raw
Connecting...
Password:
Creating disk...
Creating transfer session...
Uploading image...
Traceback (most recent call last):
  File "upload_disk.py", line 288, in 
with ui.ProgressBar() as pb:
TypeError: __init__() takes at least 2 arguments (1 given)

software using:
ovirt-engine 4.3.8.2-1
python-ovirt-engine-sdk4-4.3.2-2
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QKXTBSQPWNQUWE22PRYUZRZ6Q4KD5UME/


[ovirt-users] Upload Image Error

2018-05-24 Thread Peter Harman
Ovirt Users,

I am running into a strange problem with uploading images through the webUI. 
When I test the connection on an upload I get “Connection to 
ovirt-imageio-proxy service has failed. Make sure the service is installed, 
configured, and ovirt-engine certificate is registered as a valid CA in the 
browser.” I have conducted this operation on several computers using both 
chrome and firefox and ensuring the certs were loaded into the browsers.

I went to this page: 
https://ovirt.org/develop/release-management/features/infra/pki/ to find cert 
info and checked both the engine and hosts for the certificates and the 
identity of the certificates - everything seemed to match up.

Next thing I looked at was the ovirt-imageio-proxy service. I checked it and 
restarted it below is a status output from one of the failed operations:

[root@hpm-engine ~]# systemctl status ovirt-imageio-proxy
● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service; 
enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-24 13:25:38 CDT; 1h 13min ago
Main PID: 21239 (ovirt-imageio-p)
Tasks: 2
   CGroup: /system.slice/ovirt-imageio-proxy.service
   └─21239 /usr/bin/python /usr/bin/ovirt-imageio-proxy

May 24 13:25:38 hpm-engine.server.local systemd[1]: Starting oVirt ImageIO 
Proxy...
May 24 13:25:38 hpm-engine.server.local systemd[1]: Started oVirt ImageIO Proxy.
May 24 14:38:02 hpm-engine.server.local ovirt-imageio-proxy[21239]: 127.0.0.1 - 
- [24/May/2018 14:38:02] "PUT /tickets/ HTTP/1.1" 200 0

ovirt-imageio-proxy service seems to check out. So, next step was checking out 
VDSM process output is below (NOTE: I redacted a bunch of unrelated warnings):

[root@mothership ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Thu 2018-05-24 08:12:40 CDT; 6h ago
Main PID: 3359 (vdsmd)
Tasks: 58
   CGroup: /system.slice/vdsmd.service
   ├─3359 /usr/bin/python2 /usr/share/vdsm/vdsmd
   └─6731 /usr/libexec/ioprocess --read-pipe-fd 68 --write-pipe-fd 67 
--max-threads 10 --max-queued-requests 10

So VDSM doesn’t seem to be the issue. I changed a few settings here and there 
but mostly forget what I did (I changed it all back to defult)

Some background information - I am using /etc/hosts for all the FQDN components 
- which seems to be working well.  I checked the times to be sure the time 
matched up (I know this important for some security related issues.)

In a somewhat funny note I disabled SSL on VDSM in one attempt at the issue and 
now know why you should not do that when engine is using SSL.

Any help is appreciated. I am learning a lot and really thank everyone who 
develops Ovirt - it’s awesome.




Peter Harman - Systems and Safety Cordinator  | Homeyer Precision Manufacturing

[Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer Logo 
(2).zip\Homeyer Logo\Homeyer Logo.jpg]

16051 State Hwy 47, Marthasville, MO 63357| E phar...@homeyertool.com 
| P 636.433.2244 | F 636.433.5257

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] upload image

2017-05-23 Thread qinglong.d...@horebdata.cn
It worked. Thanks a lot!
 
From: Daniel Erez
Date: 2017-05-22 20:24
To: qinglong.d...@horebdata.cn; Niyazi Elvan
CC: users
Subject: Re: [ovirt-users] upload image
The oVirt's CA certificate can be fetched from 
http:///ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA

(more details in 'SSL installation' section at: 
https://github.com/oVirt/ovirt-imageio/blob/master/proxy/README).

For importing the certificate to firefox, try the following instruction demo :
https://danielerez.github.io/slides-image-io/#/3/2

On Mon, May 22, 2017 at 10:56 AM qinglong.d...@horebdata.cn 
<qinglong.d...@horebdata.cn> wrote:
Thanks! But I don't know how to import CA to browser. I have tried to import 
the CA to my firefox browser, but I failed. Is there any documentations about 
that?
 
From: Niyazi Elvan
Date: 2017-05-19 15:54
To: qinglong.dong
CC: users
Subject: Re: [ovirt-users] upload image
Most probably it's ovirt engine CA certificate. You need to import it to your 
browser.


On May 19, 2017 6:36 AM, "qinglong.d...@horebdata.cn" 
<qinglong.d...@horebdata.cn> wrote:
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, thanks!

___
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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] upload image

2017-05-22 Thread Daniel Erez
The oVirt's CA certificate can be fetched from http://
/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA

(more details in 'SSL installation' section at:
https://github.com/oVirt/ovirt-imageio/blob/master/proxy/README).

For importing the certificate to firefox, try the following instruction
demo :
https://danielerez.github.io/slides-image-io/#/3/2

On Mon, May 22, 2017 at 10:56 AM qinglong.d...@horebdata.cn <
qinglong.d...@horebdata.cn> wrote:

> Thanks! But I don't know how to import CA to browser. I have tried to
> import the CA to my firefox browser, but I failed. Is there any
> documentations about that?
>
>
> *From:* Niyazi Elvan <niyaziel...@gmail.com>
> *Date:* 2017-05-19 15:54
> *To:* qinglong.dong <qinglong.d...@horebdata.cn>
> *CC:* users <users@ovirt.org>
> *Subject:* Re: [ovirt-users] upload image
>
> Most probably it's ovirt engine CA certificate. You need to import it to
> your browser.
>
>
> On May 19, 2017 6:36 AM, "qinglong.d...@horebdata.cn" <
> qinglong.d...@horebdata.cn> wrote:
>
>> Hi all,
>> I wanted to upload a qcow2 image using web UI. But I got an
>> error:
>>  "
>> Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
>> network error. Make sure ovirt-imageio-proxy service is installed and 
>> configured, and ovirt-engine's certificate is registered as a valid CA in 
>> the browser.
>> "
>> The ovirt-imageio-proxy service had been installed when I
>> excuted "engine-setup". What shoud I do about ovirt-imageio-proxy or CA?
>> Hope someone can help, thanks!
>>
>> ___
>> 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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] upload image

2017-05-22 Thread qinglong.d...@horebdata.cn
Thanks! But I don't know how to import CA to browser. I have tried to import 
the CA to my firefox browser, but I failed. Is there any documentations about 
that?
 
From: Niyazi Elvan
Date: 2017-05-19 15:54
To: qinglong.dong
CC: users
Subject: Re: [ovirt-users] upload image
Most probably it's ovirt engine CA certificate. You need to import it to your 
browser.


On May 19, 2017 6:36 AM, "qinglong.d...@horebdata.cn" 
<qinglong.d...@horebdata.cn> wrote:
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, thanks!

___
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


[ovirt-users] upload image

2017-05-18 Thread qinglong.d...@horebdata.cn
Hi all,
I wanted to upload a qcow2 image using web UI. But I got an error:
 "Unable to upload image to disk a38f29f4-594a-438b-a8e0-6a85ac56055d due to a 
network error. Make sure ovirt-imageio-proxy service is installed and 
configured, and ovirt-engine's certificate is registered as a valid CA in the 
browser."
The ovirt-imageio-proxy service had been installed when I excuted 
"engine-setup". What shoud I do about ovirt-imageio-proxy or CA? Hope someone 
can help, thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users