[ovirt-users] Re: AffinityGroup API

2018-11-21 Thread Staniforth, Paul
Thanks Andrej


I've opened a bug


Regards,

   Paul S.


From: Andrej Krejcir 
Sent: 21 November 2018 13:32
To: Staniforth, Paul
Cc: users
Subject: Re: [ovirt-users] AffinityGroup API

Hi,

Yes, the AffinityGroupHosts is missing. Can you please open a bug[1] so we can 
add it?

As a workaround, the hosts can be modified by PUT request to the AffinityGroup 
endpoint directly, for example:

PUT /ovirt-engine/api/clusters/1234/affinitygroups/5678







However, this will replace all hosts in the affinity group with the hosts 
listed.


Best regards,
Andrej


[1] - https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

On Wed, 21 Nov 2018 at 13:26, 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:
Hello,
  When using the API to update an AffinityGroup there is a 
AffinityGroupVm and AffinityGroupVms so I can add or remove VMs but there is no 
AffinityGroupHost or AffinityGroupHosts, therefore I can't add or remove hosts.

Thanks,
 Paul S.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to 
users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BUMDJ34JRLDHSE6CPUVZOD3I2TI2YBQD/
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/U3SFZ5BXKB2QP4TS3C6AHXOAFEWBNZTP/


[ovirt-users] Re: Best way to add qcow2 file to block storage domain

2018-11-21 Thread Sinan Polat
Use -c during conversion for compressing.

Regards,
Sinan

> Op 21 nov. 2018 om 20:54 heeft Nir Soffer  het volgende 
> geschreven:
> 
>> On Wed, Nov 21, 2018, 17:28 Gianluca Cecchi > Hello,
>> I have a qcow2 image file with these details with "qemu-img info" command:
>> 
>> file format: qcow2
>> virtual size: 66G (70866960384 bytes)
>> disk size: 1.5G
>> cluster_size: 65536
>> Format specific information:
>> compat: 0.10
>> 
>> I'm on 4.2.6 and If I try to upload as a disk from the GUI it seems it tries 
>> to upload full 66Gb, not 1.5Gb...
> 
> 
> You hit
> https://bugzilla.redhat.com/1627032
> 
> 
>> And it goes paused after the probably transferred 1.5Gb...
>> Also, I would like it to be qcow2 1.1 and not 0.10
>> I have run:
>> 
>> qemu-img convert -O qcow2 -o compat=1.1 source.qc2 source.qc2_v3
> 
> 
> This works, but you can use amend instead of convert.
> 
> You can also upload the image as is, oVirt amend the image to use 1.1 after 
> the upload.
> 
>> 
>> and now I have
>> file format: qcow2
>> virtual size: 66G (70866960384 bytes)
>> disk size: 4.2G
>> cluster_size: 65536
>> Format specific information:
>> compat: 1.1
>> lazy refcounts: false
>> refcount bits: 16
>> corrupt: false
>> 
>> Is it expected to pass from 1.5Gb to 4.2Gb after conversion?
> 
> 
> The original image probaly had some compressed clusters. Converting 
> uncompress all clusters.
> 
>> 
>> Anyway also in 1.1 format, if I try to upload It keeps sending the whole 
>> 66Gb and now it goes in paused after about 1 minute (at rate of 60MB/s) that 
>> lets me think that once arrived at the 4.2Gb size it has problems...
> 
> 
> Same issue
> 
>> 
>> Any hint?
> 
> 
> Update to 4.2.7, or upload using the SDK:
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py
> 
> Nir
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/5TDJTW4XQEA7FRFURHBZCO37FWLKUKCZ/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RAB3QUYM7KIAOGCWLJOMRR6T77TELRFS/


[ovirt-users] Re: Best way to add qcow2 file to block storage domain

2018-11-21 Thread Nir Soffer
On Wed, Nov 21, 2018, 17:28 Gianluca Cecchi  Hello,
> I have a qcow2 image file with these details with "qemu-img info" command:
>
> file format: qcow2
> virtual size: 66G (70866960384 bytes)
> disk size: 1.5G
> cluster_size: 65536
> Format specific information:
> compat: 0.10
>
> I'm on 4.2.6 and If I try to upload as a disk from the GUI it seems it
> tries to upload full 66Gb, not 1.5Gb...
>

You hit
https://bugzilla.redhat.com/1627032


And it goes paused after the probably transferred 1.5Gb...
> Also, I would like it to be qcow2 1.1 and not 0.10
> I have run:
>
> qemu-img convert -O qcow2 -o compat=1.1 source.qc2 source.qc2_v3
>

This works, but you can use amend instead of convert.

You can also upload the image as is, oVirt amend the image to use 1.1 after
the upload.


> and now I have
> file format: qcow2
> virtual size: 66G (70866960384 bytes)
> disk size: 4.2G
> cluster_size: 65536
> Format specific information:
> compat: 1.1
> lazy refcounts: false
> refcount bits: 16
> corrupt: false
>
> Is it expected to pass from 1.5Gb to 4.2Gb after conversion?
>

The original image probaly had some compressed clusters. Converting
uncompress all clusters.


> Anyway also in 1.1 format, if I try to upload It keeps sending the whole
> 66Gb and now it goes in paused after about 1 minute (at rate of 60MB/s)
> that lets me think that once arrived at the 4.2Gb size it has problems...
>

Same issue


> Any hint?
>

Update to 4.2.7, or upload using the SDK:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

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


[ovirt-users] Re: Best way to add qcow2 file to block storage domain

2018-11-21 Thread Gianluca Cecchi
On Wed, Nov 21, 2018 at 4:26 PM Gianluca Cecchi 
wrote:

[snip]


> Anyway also in 1.1 format, if I try to upload It keeps sending the whole
> 66Gb and now it goes in paused after about 1 minute (at rate of 60MB/s)
> that lets me think that once arrived at the 4.2Gb size it has problems...
>
> Any hint?
>
> Thanks,
> Gianluca
>
>

In image-proxy.log of engine

(Thread-83 ) ERROR 2018-11-21 16:22:40,402 web:136:web:(log_error) ERROR
[10.4.23.16] PUT /images/8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e [500] Failed
response from host: 500 {"explanation": "The server has either erred or is
incapable of performing the requested operation.", "code": 500, "detail":
"[Errno 22] Invalid argument", "title": "Internal Server Error"}
[request=0.006663]
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
line 99, in __call__
resp = self.dispatch(request, clock)
  File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
line 128, in dispatch
return method(*match.groups())
  File
"/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", line
86, in wrapper
return func(self, *args)
  File
"/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", line
59, in wrapper
ret = func(self, *args)
  File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
line 153, in put
read_timeout=self.config.imaged_read_timeout_sec)
  File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py",
line 239, in make_imaged_request
raise exc.status_map[imaged_resp.status_code](s)
HTTPInternalServerError: Failed response from host: 500 {"explanation":
"The server has either erred or is incapable of performing the requested
operation.", "code": 500, "detail": "[Errno 22] Invalid argument", "title":
"Internal Server Error"}

Inside daemon.log of host involved I have several lines of this type during
the transfer

2018-11-21 16:22:40,359 INFO(Thread-93) [images] [10.4.192.79] WRITE
size=0 offset=4928307200 flush=True
ticket=8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e
2018-11-21 16:22:40,379 INFO(Thread-94) [images] [10.4.192.79] WRITE
size=0 offset=5033164800 flush=True
ticket=8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e
2018-11-21 16:22:40,400 INFO(Thread-95) [images] [10.4.192.79] WRITE
size=0 offset=5138022400 flush=True
ticket=8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e

and then:

2018-11-21 16:22:40,400 ERROR   (Thread-95) [web] ERROR [10.4.192.79] PUT
/images/8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e [500] [Errno 22] Invalid
argument [request=0.000435, operation=0.000109, sync=0.0
7]
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
line 99, in __call__
resp = self.dispatch(request, clock)
  File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/web.py",
line 128, in dispatch
return method(*match.groups())
  File "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/server.py",
line 258, in put
ticket.run(op)
  File "/usr/lib/python2.7/site-packages/ovirt_imageio_daemon/tickets.py",
line 107, in run
operation.run()
  File
"/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py", line
81, in run
self._run()
  File
"/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py", line
176, in _run
remaining = self._seek_before_first_block(dst)
  File
"/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py", line
195, in _seek_before_first_block
dst.seek(self._offset)
  File
"/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py", line
445, in seek
return self._fio.seek(pos, how)
IOError: [Errno 22] Invalid argument
2018-11-21 16:22:43,435 INFO(Thread-96) [images] [10.4.192.79] OPTIONS
ticket=8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e
2018-11-21 16:22:43,452 INFO(Thread-97) [images] [10.4.192.79] WRITE
size=0 offset=5138022400 flush=True
ticket=8e9b2b60-4d5a-4dd8-bd49-8f85ebc6349e
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FFZ5L3K4LOHUGEX6SK4FEXJN5OKILZJB/


[ovirt-users] Best way to add qcow2 file to block storage domain

2018-11-21 Thread Gianluca Cecchi
Hello,
I have a qcow2 image file with these details with "qemu-img info" command:

file format: qcow2
virtual size: 66G (70866960384 bytes)
disk size: 1.5G
cluster_size: 65536
Format specific information:
compat: 0.10

I'm on 4.2.6 and If I try to upload as a disk from the GUI it seems it
tries to upload full 66Gb, not 1.5Gb...
And it goes paused after the probably transferred 1.5Gb...
Also, I would like it to be qcow2 1.1 and not 0.10
I have run:

qemu-img convert -O qcow2 -o compat=1.1 source.qc2 source.qc2_v3

and now I have
file format: qcow2
virtual size: 66G (70866960384 bytes)
disk size: 4.2G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false

Is it expected to pass from 1.5Gb to 4.2Gb after conversion?

Anyway also in 1.1 format, if I try to upload It keeps sending the whole
66Gb and now it goes in paused after about 1 minute (at rate of 60MB/s)
that lets me think that once arrived at the 4.2Gb size it has problems...

Any hint?

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


[ovirt-users] OVF update failure? Export domain.

2018-11-21 Thread Jacob Green
So, I found this bug report Bug 1554116 
, and it looks 
like it was squashed(fixed) in ovirt 4.2.2. I am running 4.2.6 and 
yesterday when I was placing our export domain in maintenance and 
detaching, I saw this message about ignoring OVF update failure. I was 
able to Detach and Reattach the export Domain without any problems. But 
I wanted to know if this is normal or not? I did not check the box on 
either occasion.



Thank you

--
Jacob Green

Systems Admin

American Alloy Steel

713-300-5690

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


[ovirt-users] how to edit a floating disk

2018-11-21 Thread Gianluca Cecchi
Hello,
sometimes I need to modify a not assigned disk, eg change description,
change alias or extend in size.
Nowadays I do it through temporary assignment to a VM from where I can
"edit" the disk.
Instead in Storage --> Disks or Storage --> Domains --> Domain Name -->
Disks I cannot do it
Is it intended by design? Do you think it could be useful to be able to
edit in some way also in these two modes and not only when attached to a VM?

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


[ovirt-users] Re: AffinityGroup API

2018-11-21 Thread Andrej Krejcir
Hi,

Yes, the AffinityGroupHosts is missing. Can you please open a bug[1] so we
can add it?

As a workaround, the hosts can be modified by PUT request to the
AffinityGroup endpoint directly, for example:

PUT /ovirt-engine/api/clusters/1234/affinitygroups/5678







However, this will replace all hosts in the affinity group with the hosts
listed.


Best regards,
Andrej


[1] - https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

On Wed, 21 Nov 2018 at 13:26,  wrote:

> Hello,
>   When using the API to update an AffinityGroup there is a
> AffinityGroupVm and AffinityGroupVms so I can add or remove VMs but there
> is no AffinityGroupHost or AffinityGroupHosts, therefore I can't add or
> remove hosts.
>
> Thanks,
>  Paul S.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BUMDJ34JRLDHSE6CPUVZOD3I2TI2YBQD/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KSZVYBTVPJLTJC7VKICQDRW4WCLSHSRB/


[ovirt-users] Re: Ovirt Node Installtion

2018-11-21 Thread Tony Brian Albers
On Wed, 2018-11-21 at 12:03 +, aru_bar...@yahoo.com wrote:
> 1. I install the ovirt node 4.2 in KVM on centos 7. when i try to
> install package or yum update it shows the message" Cannot retrieve
> metalink for repository:   ovirt-4.2-epel/x86_64. Please verify its
> path and try again Uploading Enabled Repositories Report Loaded
> plugins: fastestmirror, product-id Cannot upload enabled repos
> report, is this client registered?" this system have full internet
> access please give me the solution for this issue
> 
> 2. We need to test ovirt node and ovirt engine for load balance in vm
> so please help me or have any unregister ovirt node
> 
> 3. In Web GUI of Ovirt node console the "Domain Join option is
> disable" is possible to enable

Hello,

Please follow the oVirt installation guide:
https://ovirt.org/documentation/install-guide/

Pay attention to the details regarding host/node prerequisites.

HTH

/tony




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

-- 
-- 
Tony Albers
Systems Architect
Systems Director, National Cultural Heritage Cluster
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RCAATANOMQCCJER34IYOI6PSYQVZZ5YO/


[ovirt-users] AffinityGroup API

2018-11-21 Thread p . staniforth
Hello,
  When using the API to update an AffinityGroup there is a 
AffinityGroupVm and AffinityGroupVms so I can add or remove VMs but there is no 
AffinityGroupHost or AffinityGroupHosts, therefore I can't add or remove hosts.

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


[ovirt-users] Help - Ovirt Node Installation

2018-11-21 Thread barani tharan
Dear Team
1. I install the ovirt node 4.2 in KVM on centos 7. when i try to install 
package or yum update it shows the message" Cannot retrieve metalink for 
repository:   ovirt-4.2-epel/x86_64. Please verify its path and try again 
Uploading Enabled Repositories Report Loaded plugins: fastestmirror, product-id 
Cannot upload enabled repos report, is this client registered?" this system 
have full internet access please give me the solution for this issue 

2. We need to test ovirt node and ovirt engine for load balance in vm so please 
help me or have any unregister ovirt node
3. In Web GUI of Ovirt node console the "Domain Join option is disable" is 
possible to enable

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


[ovirt-users] Ovirt Node Installtion

2018-11-21 Thread aru_barani

1. I install the ovirt node 4.2 in KVM on centos 7. when i try to install 
package or yum update it shows the message" Cannot retrieve metalink for 
repository:   ovirt-4.2-epel/x86_64. Please verify its path and try again 
Uploading Enabled Repositories Report Loaded plugins: fastestmirror, product-id 
Cannot upload enabled repos report, is this client registered?" this system 
have full internet access please give me the solution for this issue

2. We need to test ovirt node and ovirt engine for load balance in vm so please 
help me or have any unregister ovirt node

3. In Web GUI of Ovirt node console the "Domain Join option is disable" is 
possible to enable
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZXH7DFRXBBFUHKVBUKXL33HRNZY4L2O/


[ovirt-users] Unable to increase memory or CPU on hosted Engine version 4.2.5.2

2018-11-21 Thread Florian Schmid
Hi, 

I'm using version 4.2.5.2 and every article I found, I read that with oVirt 
4.2, it should be possible to update CPU and memory for hosted Engine in UI. 

Now, when I'm trying to do this, even being on global maintenance, I always get 
the same error: 
Error while executing action: 

HostedEngine: 
There was an attempt to change Hosted Engine VM values that are locked. 

My problem is, that I need to increase the memory, because we had now several 
times in the last 2 or 3 months an out of memory kill of the java process. 

What is the best way to increase memory here? Should I do it over the config 
file? But how is then the OVF updated? 

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


[ovirt-users] Re: After adding a disk via GUI the VM does not start anymore

2018-11-21 Thread Matthias Barmeier
Unfortunately I am not able to reproduce it after the upgrade I did
yesterday. May be the bug is gone with the last upgrade of the debian
kernel image I received yesterday after upgrading all Debian 9
instances.
Thank you for your quick answer and Sorry for wasting your time.
Matze
Am Dienstag, den 20.11.2018, 20:53 +0200 schrieb Nir Soffer:
> On Tue, Nov 20, 2018, 16:49   > Hi,
> > 
> > 
> > 
> > when I add a disk to a debian 9 VM the VM cannot boot anymore. The
> > VM is stating that /dev/sda1 cannot be found anymore. When I remove
> > the added disk everything works as before.
> > 
> > Could someone please give me a hint what went wrong ?
> 
> When the vm does not boot, can extract the vm xml and post here?
> 
> You can find it in vdsm log, or use virsh:
> 
> 1. Find the vm
> 
> virsh -r list
> 
> 2. Get the xml
> 
> virsh -r dumpxml 
> 
> Nir
> 
> 
> 
> > 
> > The hypervisor host is a Centos 7.5 system.
> > 
> > 
> > 
> > Matze
> > 
> > ___
> > 
> > Users mailing list -- users@ovirt.org
> > 
> > To unsubscribe send an email to users-le...@ovirt.org
> > 
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > 
> > oVirt Code of Conduct: https://www.ovirt.org/community/about/commun
> > ity-guidelines/
> > 
> > List Archives: https://lists.ovirt.org/archives/list/us...@ovirt.or
> > g/message/YEUCBROVHURXN3COXARBD6DE6IGS7UTB/
> > 
> > 
-- 
---
SOURCEPARK GmbH

Dipl.-Inform. Matthias Barmeier
Geschäftsführer

Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)

Hohenzollerndamm 150
14199 Berlin

Tel:+49 (0)30/398 068 30
Fax:+49 (0)30/398 068 39
e-mail: matthias.barme...@sourcepark.de
WWW:www.sourcepark.de
---
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
---

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder
E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse
auf den Rechtscharakter der E-Mail zu.

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VAJSUKKMNGIIYHYQDJUEBDFRORGJUUAD/


[ovirt-users] Re: drag file from local machine to vm

2018-11-21 Thread Victor Toso
Hi,

If you are using windows client, you need UsbDk installed.

https://www.spice-space.org/download.html

You can run remote-viewer from console with --spice-debug option
in order to check what is wrong. Feel free to post the log here.

Cheers,

On Wed, Nov 21, 2018 at 03:12:53AM -, max zhang wrote:
> Thanks,
>  >>>By the way,I also want to use USB-redirect function,But I
>  >>>found
>  the function option is grey..  <<  different reasons. - Is your client running on windows or
>  linux machine? - Is the VM configured for USB? Look for 'USB
>  redirection' in the link above.
> >>>The stages:
> 1.enable VM's usb support on web manager.
> 2.choose SPICE as remote protocol.
> 3.use console to connect VM as administrator or  use vm via user portal .
> problem:
> Found that the option of usb-redirect is grey.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/F7ZETW55I5TFWTWATGCXNDKVEFP4PR6K/


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


[ovirt-users] Re: RAID L1/L5/L10 + NFS Loopback Benchmarks

2018-11-21 Thread Simone Tiraboschi
On Wed, Nov 21, 2018 at 10:08 AM Andrei Verovski 
wrote:

> Hi !
>
> Deadlock of NFS loopback happens with 3.10 stock kernel from CentOS 7.6
> only or also with 4.x mainline ?
>
> I use 4.x mainline on my nodes.
>
>
AFAIK is still an open issue.



>
>
> On 19 Nov 2018, at 12:59, Simone Tiraboschi  wrote:
>
>
>
> On Sun, Nov 18, 2018 at 12:58 PM Andrei Verovski 
> wrote:
>
>> Hi !
>>
>> I run a series of benchmarks with IOZONE testing performance of
>> different RAID configurations on HP ProLiant DL380 + impact of NFS
>> loopback.
>>
>> NFS loopback is necessary even for very small systems (e.g. just 2
>>
>
> AFAIK NFS loopback is still considered a bad practice and it's still
> strongly recommended against since it could lead to deadlock and data loss.
> See https://access.redhat.com/solutions/22231
> I'd strongly recommend a single node hyper-converged gluster over that.
>
>
>> nodes), since oVirt local storage setup is limited to single (only one)
>> node per data center and this is quite useless from the point of view of
>> functionality.
>>
>> Full article:
>> http://www.vacuum-tube.eu/wp/?p=537
>>
>> Short YouTube slide show:
>> https://www.youtube.com/watch?v=Xw_VN9G8jSI
>>
>> Related video:
>> Moving away from local storage setup to NFS/GlusterFS
>> https://www.youtube.com/watch?v=2ebhZ5U6x_Y
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MLHNJNBADLKYTI5PTZQ4KRAWJJCJWQWE/


[ovirt-users] Re: After adding a disk via GUI the VM does not start anymore

2018-11-21 Thread Florian Schmid
Hi Nir, 

we started with oVirt 4.0, but I wanted to say, that we have this problem from 
the beginning... 

Here is an example, where I have added a disk while VM was running and after a 
shutdown und start, the devices have changed: 
/dev/vda1 9.7G 3.5G 6.2G 36% / 
/dev/sdb 976M 15M 895M 2% /tmp 
/dev/sda 976M 4.4M 905M 1% /var/log 

/dev/vda1 9.7G 3.5G 6.2G 36% / 
/dev/sdc 976M 1.3M 908M 1% /tmp 
/dev/sda 976M 4.0M 905M 1% /var/log 

New disk became suddenly sdb instead of sdc. Unfortunately, this happened last 
month and I don't have the logs anymore, nor do I know the exact time. Only had 
my terminals still open... ;) 

I tried to reproduce it with shutdown and start 5 times, but still same order. 
I think it is only changing when you add a new disk to the VM... 

@matthias, 
when it is not to much work for you, you should all the fstabs of your linux 
VMs and change sda... to the disk UUID. These should never change... 

BR Florian 


Von: "Nir Soffer"  
An: "Florian Schmid"  
CC: "matthias barmeier" , "users" 
 
Gesendet: Mittwoch, 21. November 2018 09:28:40 
Betreff: Re: [ovirt-users] Re: After adding a disk via GUI the VM does not 
start anymore 


On Wed, Nov 21, 2018, 09:02 Florian Schmid < [ mailto:fsch...@ubimet.com | 
fsch...@ubimet.com ] wrote: 


Hi, 

we have the same issue since oVirt 4.0. 




Did it work before 4.0? 


BQ_BEGIN
Because we need always several disks, we have the boot disk as virtio and all 
others as virtio-scsi. 
With this approach, boot disk is always vda and all other disks are then sda, 
sdb and so on. They change nearly every time, we reboot. 

BQ_END


I think we try to keep the disks order, and we fixed similar bug few uears ago. 
If you can reproduce this please file a bug. 


BQ_BEGIN

In Linux, you can mount also disks not only by /dev/sdX, you can also mount 
them via UUID of the disk or by label, ... With this, the disks can always be 
correctly identified and mounted. 
Here an example: 
LABEL=cloudimg-rootfs / ext4 defaults 0 0 
/dev/disk/by-label/log /var/log auto defaults,comment=cloudconfig 0 0 
/dev/disk/by-label/tmp /tmp ext4 defaults 0 0 

BQ_END


Sure this is the recommended way, regardless of oVirt effort to keep disks 
order between reboots. 

Nir 



BQ_BEGIN

BR Florian 

- Ursprüngliche Mail - 
Von: "matthias barmeier" < [ mailto:matthias.barme...@sourcepark.de | 
matthias.barme...@sourcepark.de ] > 
An: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Gesendet: Dienstag, 20. November 2018 15:48:42 
Betreff: [ovirt-users] After adding a disk via GUI the VM does not start 
anymore 

Hi, 

when I add a disk to a debian 9 VM the VM cannot boot anymore. The VM is 
stating that /dev/sda1 cannot be found anymore. When I remove the added disk 
everything works as before. 
Could someone please give me a hint what went wrong ? 

The hypervisor host is a Centos 7.5 system. 

Matze 
___ 
Users mailing list -- [ mailto:users@ovirt.org | users@ovirt.org ] 
To unsubscribe send an email to [ mailto:users-le...@ovirt.org | 
users-le...@ovirt.org ] 
Privacy Statement: [ https://www.ovirt.org/site/privacy-policy/ | 
https://www.ovirt.org/site/privacy-policy/ ] 
oVirt Code of Conduct: [ 
https://www.ovirt.org/community/about/community-guidelines/ | 
https://www.ovirt.org/community/about/community-guidelines/ ] 
List Archives: [ 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YEUCBROVHURXN3COXARBD6DE6IGS7UTB/
 | 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YEUCBROVHURXN3COXARBD6DE6IGS7UTB/
 ] 
___ 
Users mailing list -- [ mailto:users@ovirt.org | users@ovirt.org ] 
To unsubscribe send an email to [ mailto:users-le...@ovirt.org | 
users-le...@ovirt.org ] 
Privacy Statement: [ https://www.ovirt.org/site/privacy-policy/ | 
https://www.ovirt.org/site/privacy-policy/ ] 
oVirt Code of Conduct: [ 
https://www.ovirt.org/community/about/community-guidelines/ | 
https://www.ovirt.org/community/about/community-guidelines/ ] 
List Archives: [ 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TEN733K5JNCRRQUVJRV26JMVU6ZRSCKX/
 | 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TEN733K5JNCRRQUVJRV26JMVU6ZRSCKX/
 ] 

BQ_END


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


[ovirt-users] Re: RAID L1/L5/L10 + NFS Loopback Benchmarks

2018-11-21 Thread Andrei Verovski
Hi !

Deadlock of NFS loopback happens with 3.10 stock kernel from CentOS 7.6 only or 
also with 4.x mainline ?

I use 4.x mainline on my nodes.



> On 19 Nov 2018, at 12:59, Simone Tiraboschi  wrote:
> 
> 
> 
> On Sun, Nov 18, 2018 at 12:58 PM Andrei Verovski  > wrote:
> Hi !
> 
> I run a series of benchmarks with IOZONE testing performance of 
> different RAID configurations on HP ProLiant DL380 + impact of NFS loopback.
> 
> NFS loopback is necessary even for very small systems (e.g. just 2 
> 
> AFAIK NFS loopback is still considered a bad practice and it's still strongly 
> recommended against since it could lead to deadlock and data loss.
> See https://access.redhat.com/solutions/22231 
> 
> I'd strongly recommend a single node hyper-converged gluster over that.
>  
> nodes), since oVirt local storage setup is limited to single (only one) 
> node per data center and this is quite useless from the point of view of 
> functionality.
> 
> Full article:
> http://www.vacuum-tube.eu/wp/?p=537 
> 
> Short YouTube slide show:
> https://www.youtube.com/watch?v=Xw_VN9G8jSI 
> 
> 
> Related video:
> Moving away from local storage setup to NFS/GlusterFS
> https://www.youtube.com/watch?v=2ebhZ5U6x_Y 
> 
> ___
> Users mailing list -- users@ovirt.org 
> To unsubscribe send an email to users-le...@ovirt.org 
> 
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ 
> 
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> 
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/
>  
> 

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


[ovirt-users] Re: Cloud-init reset network configuration to default dhcp after reboot and regular run

2018-11-21 Thread Mike Lykov

20.11.2018 15:30, Mike Lykov пишет:

"cloud-init used to use a "marker" file that it created on initial 
execution. If that "marker" file existed it would not rerun on reboot. " 
- are it not working  in ovirt/this cloud-init version ?


new restart:

--
2018-11-21 12:40:53,314 - main.py[DEBUG]: Checking to see if files that 
we need already exist from a previous run that would allow us to stop early.
2018-11-21 12:40:53,315 - main.py[DEBUG]: Execution continuing, no 
previous run detected that would allow us to stop early.

-

which files it try to find ?

--
Mike

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


[ovirt-users] Re: After adding a disk via GUI the VM does not start anymore

2018-11-21 Thread Nir Soffer
On Wed, Nov 21, 2018, 09:02 Florian Schmid  Hi,
>
> we have the same issue since oVirt 4.0.
>

Did it work before 4.0?

Because we need always several disks, we have the boot disk as virtio and
> all others as virtio-scsi.
> With this approach, boot disk is always vda and all other disks are then
> sda, sdb and so on. They change nearly every time, we reboot.
>

I think we try to keep the disks order, and we fixed similar bug few uears
ago. If you can reproduce this please file a bug.


> In Linux, you can mount also disks not only by /dev/sdX, you can also
> mount them via UUID of the disk or by label, ... With this, the disks can
> always be correctly identified and mounted.
> Here an example:
> LABEL=cloudimg-rootfs   /ext4   defaults0 0
> /dev/disk/by-label/log  /var/logauto
> defaults,comment=cloudconfig0   0
> /dev/disk/by-label/tmp /tmp ext4defaults0 0
>

Sure this is the recommended way, regardless of oVirt effort to keep disks
order between reboots.

Nir



> BR Florian
>
> - Ursprüngliche Mail -
> Von: "matthias barmeier" 
> An: "users" 
> Gesendet: Dienstag, 20. November 2018 15:48:42
> Betreff: [ovirt-users] After adding a disk via GUI the VM does not start
> anymore
>
> Hi,
>
> when I add a disk to a debian 9 VM the VM cannot boot anymore. The VM is
> stating that /dev/sda1 cannot be found anymore. When I remove the added
> disk everything works as before.
> Could someone please give me a hint what went wrong ?
>
> The hypervisor host is a Centos 7.5 system.
>
> Matze
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YEUCBROVHURXN3COXARBD6DE6IGS7UTB/
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TEN733K5JNCRRQUVJRV26JMVU6ZRSCKX/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PH6EB2ZFY4G6KL4OR6EGUWV77R5UYAQ5/