[ovirt-users] Problems after upgrade to 3.5

2015-01-09 Thread Alexandr Krivulya
Hello!
Recently I have upgraded my installation to 3.5. Everything works fine
except of two things:

1. I cannot use REST API any more - "Internal server error 500" with
java exception. May be I missing something?
2. Cannot import VM from Export domain to Local Storage - "VM already
exists" error, but there are no any vms or disks on local storage.


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


Re: [ovirt-users] Problems after upgrade to 3.5

2015-01-09 Thread Alexandr Krivulya
No luck, same error. I think it's due to some misconfiguration...



09.01.2015 17:04, Martin Pavlík пишет:
> Hi Alexandr,
>
> for the API part try to change the entry_point as follows:
>
> whatever_the_path_was/api
> to
> whatever_the_path_was/ovirt-engine/api
>
> HTH
>
> Martin Pavlik - RHEV QE
>> On 09 Jan 2015, at 15:24, Alexandr Krivulya  wrote:
>>
>> Hello!
>> Recently I have upgraded my installation to 3.5. Everything works fine 
>> except of two things:
>>
>> 1. I cannot use REST API any more - "Internal server error 500" with java 
>> exception. May be I missing something?
>> 2. Cannot import VM from Export domain to Local Storage - "VM already 
>> exists" error, but there are no any vms or disks on local storage.
>>
>> 
>> ___
>> 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] Problems after upgrade to 3.5

2015-01-09 Thread Alexandr Krivulya
09.01.2015 18:00, Alexander Wels пишет:
> On Friday, January 09, 2015 05:31:20 PM Alexandr Krivulya wrote:
>> No luck, same error. I think it's due to some misconfiguration...
>>
> Hi,
>
> look in /var/log/ovirt-engine at server.log. It should contain the exception 
> that generated the 500 error. If not there look in engine.log. I have a 
> suspicion you will see a java.lang.NoClassDefFoundError exception related to 
> jackson-xc.
>
>
Thank you, Alexander and Martin
It's "java.lang.RuntimeException: Unable to instantiate
MessageBodyWriter". This points me to a similar thread [1], which helps
to solve the problem.

1. http://lists.ovirt.org/pipermail/users/2014-October/028370.html

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


Re: [ovirt-users] [Users] Compiling ovirt-guest-agent on FreeBSD

2015-01-31 Thread Alexandr Krivulya
19.08.2013 13:21, Karli Sjöberg пишет:
> mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra:
>> On 08/19/2013 10:01 AM, Karli Sjöberg wrote:
>>
>>> mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek:
 On Aug 19, 2013, at 09:41 , Karli Sjöberg >>> > wrote:

 > Hi!
 > 
 > As part of a template I´m preparing, I´m wondering how to compile the 
 > agent with just the basics included. I´ve tried running like:
 > 
 > OPTIONS='
 > --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin 
 > --without-pam-ovirt-cred
 > --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no 
 > --with-pam-ovirt-cred=no
 > --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin 
 > --disable-pam-ovirt-cred
 > --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no 
 > --enablepam-ovirt-cred-=no'
 > 
 > # ./configure ${OPTIONS}
 > 
 > Regardless of how I try, it just responds:
 > configure: WARNING: unrecognized options: ${OPTIONS}
 > 
 > I took the package from the "official" oVirt.org repo, src file:
 > ovirt-guest-agent-1.0.6.tar.bz2
 > 
 > What am I doing wrong?

 Hi
 the parameters are gdm, kdm and sso, set them to no
>>>
>>> I don´t get it, it doesn´t seem to care:
>>>
>>> # ./configure --without-gdm
>>> # ./configure --with-gdm=no
>>> # ./configure --enable-gdm=no
>>> # ./configure --disable-gdm
>>> # ./configure --without-gdm --with-gdm=no --enable-gdm=no --disable-gdm
>>> configure: WARNING: unrecognized options: --without-gdm, --with-gdm,
>>> --enable-gdm, --disable-gdm
>> this feature of disabling it was introduced to ovirt-guest-agent in 1.0.8
>>
>> Try this one:
>> http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2
>>
>> ./configure --without-sso --prefix=/usr
>
> You know what, sorry about the noise, because it seems as if
> virtio-serial isn´t even available on FreeBSD, so it´s moot anyway...
> Should probably have looked that up before even getting started;)
>
> But besides the fact that it won´t work until that´s sorted, I can at
> least say that it configured, compiled and installed OK using René´s
> suggestion, cloning from git and building from there.

Hello!
Now when virtio_console(4) driver available in CURRENT does anyone works
on porting ovirt-guest-agent to FreeBSD?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Basic export/import question (KVM to oVirt)

2015-04-01 Thread Alexandr Krivulya
01.04.2015 23:08, Bellamy, Peter пишет:
> Is it necessary to export VMs that are straight libvirt/KVM (raw) images 
> before importing them into oVirt?
>
> I have a working oVirt 3.5 lab environment up & I’d like to try and bring in 
> some of my existing VMs from my straight KVM/libvirt setup.  Those VMs are in 
> raw image format.
>
> I *think* I need to export the VMs (using virt-v2v) from the KVM hosts to an 
> export domain, then import those VM images into oVirt (using oVirt admin 
> GUI).  Is that correct, or is it simpler than that?
>
Yes, you are absolutely right. We moved all our infrastructure from pure
KVM (VM disks inside LVM) to oVirt in this way, except of FreeBSD VM's
that we moved via zfs send/recv.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM migration timeout

2014-06-20 Thread Alexandr Krivulya
Hi!
How can I adjust migration timeout? I see this error in my vdsm.log when
I try to migrate one of my VM's:

The migration took 130 seconds which is exceeding the configured maximum
time for migrations of 128 seconds. The migration will be aborted.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM migration timeout

2014-06-20 Thread Alexandr Krivulya
0x00', 'domain':
> '0x', 'type': 'pci', 'function': '0x1'}}, {'device':
> 'virtio-serial', 'alias': 'virtio-serial0', 'type': 'controller',
> 'address': {'slot': '0x04', 'bus': '0x00', 'domain': '0x', 'type':
> 'pci', 'function': '0x0'}}, {'specParams': {'vram': '32768', 'heads':
> '1'}, 'alias': 'video0', 'deviceId':
> '568266ff-9e6c-4ac2-9dff-4ac298db00ca', 'address': {'slot': '0x02',
> 'bus': '0x00', 'domain': '0x', 'type': 'pci', 'function': '0x0'},
> 'device': 'cirrus', 'type': 'video'}, {'nicModel': 'pv', 'macAddr':
> '00:1a:4a:51:89:a6', 'linkActive': True, 'network': 'ovirtmgmt',
> 'specParams': {}, 'filter': 'vdsm-no-mac-spoofing', 'alias': 'net0',
> 'deviceId': '395be56a-2e10-405d-baed-dec5c5186a83', 'address':
> {'slot': '0x03', 'bus': '0x00', 'domain': '0x', 'type': 'pci',
> 'function': '0x0'}, 'device': 'bridge', 'type': 'interface', 'name':
> 'vnet0'}, {'index': '2', 'iface': 'ide', 'name': 'hdc', 'alias':
> 'ide0-1-0', 'specParams': {'path': ''}, 'readonly': 'True',
> 'deviceId': 'a65fa707-1cc3-4960-b6e3-6aa7ca124e48', 'address': {'bus':
> '1', 'controller': '0', 'type': 'drive', 'target': '0', 'unit': '0'},
> 'device': 'cdrom', 'shared': 'false', 'path': '', 'type': 'disk'},
> {'address': {'slot': '0x06', 'bus': '0x00', 'domain': '0x',
> 'type': 'pci', 'function': '0x0'}, 'reqsize': '0', 'index': 0,
> 'iface': 'virtio', 'apparentsize': '32212254720', 'specParams': {},
> 'imageID': '35499e90-dc09-4caa-9537-afdde82223ca', 'readonly':
> 'False', 'shared': 'false', 'truesize': '9280925696', 'type': 'disk',
> 'domainID': '83c4e59a-d810-4965-b7c0-ac2839b709f8', 'volumeInfo':
> {'domainID': '83c4e59a-d810-4965-b7c0-ac2839b709f8', 'volType':
> 'path', 'leaseOffset': 0, 'path':
> '/rhev/data-center/mnt/glusterSD/127.0.0.1:VM__Storage/83c4e59a-d810-4965-b7c0-ac2839b709f8/images/35499e90-dc09-4caa-9537-afdde82223ca/e9abc7ad-57dc-4636-a78c-149893a121a2',
> 'volumeID': 'e9abc7ad-57dc-4636-a78c-149893a121a2', 'leasePath':
> '/rhev/data-center/mnt/glusterSD/127.0.0.1:VM__Storage/83c4e59a-d810-4965-b7c0-ac2839b709f8/images/35499e90-dc09-4caa-9537-afdde82223ca/e9abc7ad-57dc-4636-a78c-149893a121a2.lease',
> 'imageID': '35499e90-dc09-4caa-9537-afdde82223ca'}, 'format': 'raw',
> 'deviceId': '35499e90-dc09-4caa-9537-afdde82223ca', 'poolID':
> '5849b030-626e-47cb-ad90-3ce782d831b3', 'device': 'disk', 'path': '/rhev/
>
> Dafna
>
>
>
>
>
>
> On 06/20/2014 02:10 PM, Alexandr Krivulya wrote:
>> Attached, thank you
>>
>> 20.06.2014 15:15, Dafna Ron пишет:
>>> you might have a problem and the migration got stuck - increasing
>>> timeout will not solve anything
>>> please attach both src and dst vdsm, libvirt and vm qemu logs + engine
>>> log
>>>
>>> Thanks,
>>> Dafna
>>>
>>>
>>> On 06/20/2014 01:00 PM, Alexandr Krivulya wrote:
>>>> Hi!
>>>> How can I adjust migration timeout? I see this error in my vdsm.log
>>>> when
>>>> I try to migrate one of my VM's:
>>>>
>>>> The migration took 130 seconds which is exceeding the configured
>>>> maximum
>>>> time for migrations of 128 seconds. The migration will be aborted.
>>>> ___
>>>> 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] USB support?

2014-06-26 Thread Alexandr Krivulya
You can use hostusb vdsm hook:
http://wiki.ovirt.org/VDSM-Hooks/hostusb

26.06.2014 21:37, Demeter Tibor пишет:
> Hi,
>
> Is there any possibility for using the host's usb ports for a guest?
> I need to migrate a physical windows based machine that using usb tokens.
>
> Thanks in advance.
> Tibor
>
>
>
> ___
> 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] Backup

2014-07-05 Thread Alexandr Krivulya
I think you could start from:
- http://www.ovirt.org/Features/Backup-Restore_API_Integration
- http://www.ovirt.org/Features/Backup_API
- http://www.ovirt.org/Ovirt-engine-backup

In our production environment we use storage filesystem snapshots with
subsequent archiving (NFS over ZFS), but it can't be useful in some tasks.

03.07.2014 04:26, Punit Dambiwal ?:
> Hi,
>
> I have one question regarding the backup architecture for ovirt
>
> 1. How to take the backup of VM ??
> 2. Is there any way we can schedule the backup of all VM's on another
> storage(Suppose we have two storage one for VM disks and another for
> VM backups) ??
> 3. Is there any way to restore the backup (after point 2) ??
> 4. How to take the ovirt-engine database backup and restore itis
> there any automated way to do this or we need to manually take the
> backup as we take the backup of postgresql ??
>
> Thanks,
> Punit
>
>
> ___
> 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] oVirt 3.6.1 USB Host Device passthrough

2015-12-23 Thread Alexandr Krivulya
Hi,

1. Look at my previous posts:

http://lists.ovirt.org/pipermail/users/2015-November/035881.html
http://lists.ovirt.org/pipermail/users/2015-November/035890.html

2. You can try to pass a usb host controller and not devices itself. But
I didn't verify it.

23.12.15 10:28, ov...@timmi.org пишет:
> Hi list,
>
> I'm currently trying to get USB devices into a VM.
> My host is running a oVirt 3.6.1.
>
> I'm trying to use the GUI feature to add the device into the VM and
> I'm facing two issues:
>
> 1. I receive the following message while starting the VM:
> Error while executing action:
>
> :
>
>   * Cannot run VM. There is no host that satisfies current scheduling
> constraints. See below for details:
>   * The host  did not satisfy internal filter HostDevice
> because it does not support host device passthrough..
>
> 2. The USB device list never get refreshed while removing or inserting
> different devices.
>
> Does anyone knows what I'm doing wrong or what I need to check?
>
> I found for example the following description for oVirt 3.5.
> http://wiki.rosalab.com/en/index.php/Blog:ROSA_Planet/How_to_use_USB_device_inside_VM_under_Rosa_Virtualisation_%28oVirt_3.5%29
>
> But this is not helping me as I will have multiple USB devices with
> the same ID in the host.
>
> Best regards and Merry Christmas
> Christoph
>
>
>
> ___
> 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] Guest OS wrong cpu count

2016-03-03 Thread Alexandr Krivulya
Hi, Windows Server 2008 R2 Standard supports up to 4 sockets.

03.03.16 13:30, Johan Kooijman пишет:
> Hi all,
>
> I created a VM on our ovirt 3.5 cluster having 8 CPU's and 16 GB of
> RAM (http://imgur.com/aaXfbfq). The guest however, only sees 4
> CPU's: http://imgur.com/dEYVe0S.
>
> Any clues what may have caused this?
>
> -- 
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
>
> ___
> 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] Move from Local SD to Shared

2016-07-15 Thread Alexandr Krivulya
Hi,

I need to move my datacenter from local storage domain to shared (nfs or
posix) without destroying storage. What is the best way to do it in
oVirt 3.6?

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


[ovirt-users] Change local DC host address

2016-08-15 Thread Alexandr Krivulya
Hi!

There is any way to change host address in a local DC? In web-ui it's
grayed out, ovirt-shell gives an error:

  status: 400
  reason: Bad Request
  detail: Host Address can not be modified due to Security
restrictions.  In order to change Host Address, Host has to be reinstalled
 

Reinstall host is not a solution with local DC.

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


Re: [ovirt-users] Change local DC host address

2016-08-18 Thread Alexandr Krivulya
Thank you, so the safest way is to export all vm's and create new local dc.

18.08.2016 05:03, Jakub Niedermertl пишет:
> Hi Alexandr,
>
> changing host address is not supported in general. The only way to do so is 
> to remove and re-add the host. I'm not sure if there is some way for storage 
> to survive the re-adding. 
> @Tal, can you please add details?
>
> Jakub
>
> - Original Message -
>> From: "Alexandr Krivulya" 
>> To: users@ovirt.org
>> Sent: Monday, August 15, 2016 3:58:31 PM
>> Subject: [ovirt-users] Change local DC host address
>>
>> Hi!
>>
>> There is any way to change host address in a local DC? In web-ui it's
>> grayed out, ovirt-shell gives an error:
>>
>>   status: 400
>>   reason: Bad Request
>>   detail: Host Address can not be modified due to Security
>> restrictions.  In order to change Host Address, Host has to be reinstalled
>>  
>>
>> Reinstall host is not a solution with local DC.
>>
>> ___
>> 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] BSD Guests + oVirt

2016-09-09 Thread Alexandr Krivulya
09.09.2016 09:37, Vinzenz Feenstra пишет:
>>> >> ovirt-guest-tools doesn't support freebsd from what I can find.
> This is correct, this is due to the fact that we don’t have, or at least we 
> haven’t had, virtio-serial drivers which we need for the communication with 
> the guest os
>
I think tihis is not correct, virtio-serial drivers are supported on
latest FreeBSD. See my old post:

http://lists.ovirt.org/pipermail/users/2015-May/033069.html


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


[ovirt-users] Guest IP

2017-02-02 Thread Alexandr Krivulya

Hi,

is there any way to get guest ip provided by guest tools from user 
portal? It present in an admin portal, but not in user.


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


[ovirt-users] engine-reports portal and cpu cores

2015-05-12 Thread Alexandr Krivulya
Hello,
why we have in reports host cores but not logical cpu cores? For example
in "Cluster Capacity Vs. Usage" report I always have more vCores then
Host Cores.
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine-reports portal and cpu cores

2015-05-13 Thread Alexandr Krivulya
Ок, I understand it. But in admin portal on hosts detail tab I see for
example 32 logical cores vs 16 in reports because of Hyper-Threading
enabled. All VM's on this host consumes 26 vCores. Does it
overallocation? According to report - yes, but actually I think not.

Can you clarify?

13.05.2015 10:32, Shirly Radco пишет:
> H Alexandr,
>
> The vCores are the logical cpu cores, 
> and if you has more vCores than Host Cores it means that you have over 
> allocation for the hosts.
> So, if on a specific vm one of the cores will be on 100% usage than all the 
> vms using this core will show 100% as well.
>
> Best,
> --- 
> Shirly Radco 
> BI Software Engineer 
> Red Hat Israel Ltd.
>
>
>
> - Original Message -
>> From: "Alexandr Krivulya" 
>> To: users@ovirt.org
>> Sent: Tuesday, May 12, 2015 3:30:32 PM
>> Subject: [ovirt-users] engine-reports portal and cpu cores
>>
>> Hello,
>> why we have in reports host cores but not logical cpu cores? For example
>> in "Cluster Capacity Vs. Usage" report I always have more vCores then
>> Host Cores.
>> Thank you.
>> ___
>> 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] [Users] Compiling ovirt-guest-agent on FreeBSD

2015-05-27 Thread Alexandr Krivulya
02.02.2015 12:57, Karli Sjöberg пишет:
> On Sat, 2015-01-31 at 23:54 +0200, Alexandr Krivulya wrote:
>> 19.08.2013 13:21, Karli Sjöberg пишет:
>>
>>> mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra: 
>>>> On 08/19/2013 10:01 AM, Karli Sjöberg wrote:
>>>>
>>>>> mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek: 
>>>>>> On Aug 19, 2013, at 09:41 , Karli Sjöberg  wrote:
>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> As part of a template I´m preparing, I´m wondering how to compile the 
>>>>>>> agent with just the basics included. I´ve tried running like:
>>>>>>>
>>>>>>> OPTIONS='
>>>>>>> --without-gdm-plugin --without-gdm2-plugin  --without-kdm-plugin 
>>>>>>> --without-pam-ovirt-cred
>>>>>>> --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no 
>>>>>>> --with-pam-ovirt-cred=no
>>>>>>> --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin 
>>>>>>> --disable-pam-ovirt-cred
>>>>>>> --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no 
>>>>>>> --enablepam-ovirt-cred-=no'
>>>>>>>
>>>>>>> # ./configure ${OPTIONS}
>>>>>>>
>>>>>>> Regardless of how I try, it just responds:
>>>>>>> configure: WARNING: unrecognized options: ${OPTIONS}
>>>>>>>
>>>>>>> I took the package from the "official" oVirt.org repo, src file:
>>>>>>> ovirt-guest-agent-1.0.6.tar.bz2
>>>>>>>
>>>>>>> What am I doing wrong?
>>>>>> Hi
>>>>>> the parameters are gdm, kdm and sso, set them to no
>>>>> I don´t get it, it doesn´t seem to care:
>>>>>
>>>>> # ./configure --without-gdm
>>>>> # ./configure --with-gdm=no
>>>>> # ./configure --enable-gdm=no
>>>>> # ./configure --disable-gdm
>>>>> # ./configure --without-gdm --with-gdm=no --enable-gdm=no
>>>>> --disable-gdm
>>>>> configure: WARNING: unrecognized options: --without-gdm,
>>>>> --with-gdm, --enable-gdm, --disable-gdm
>>>> this feature of disabling it was introduced to ovirt-guest-agent
>>>> in 1.0.8
>>>>
>>>> Try this one:
>>>> http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2
>>>>
>>>> ./configure --without-sso --prefix=/usr
>>> You know what, sorry about the noise, because it seems as if
>>> virtio-serial isn´t even available on FreeBSD, so it´s moot
>>> anyway... Should probably have looked that up before even getting
>>> started;)
>>>
>>> But besides the fact that it won´t work until that´s sorted, I can
>>> at least say that it configured, compiled and installed OK using
>>> René´s suggestion, cloning from git and building from there.
>> Hello!
>> Now when virtio_console(4) driver available in CURRENT does anyone
>> works on porting ovirt-guest-agent to FreeBSD?
>> plain text document attachment (ATT1)
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> I haven´t tested anything since last time but good to know someone doing
> something:) I can imagine the guest agent would need some tweeking to
> get it running as well:
>
> http://lists.freebsd.org/pipermail/freebsd-emulation/2013-April/010569.html
> "The VirtIO spec is written with mostly Linux in mind and usually takes
> varying amounts of extra effort to adapt to FreeBSD."
>
>
I have successfully build and run guest agent on FreeBSD-Current. It
provides a few information (for example fqdn and logged users) into
admin portal, but all other requires rewriting GuestAgentLinux2.py or
implementing it as separate module. I have no experience in python and
programming itself, but implementing some simple features may be quiet
easy. Can anyone help with it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] CPU Threads Help!!!

2015-08-13 Thread Alexandr Krivulya
13.08.2015 08:54, Roy Golan пишет:
> On 08/12/2015 01:55 PM, Artyom Lukianov wrote:
>> Can you please provide output of lscpu for your host please.
>> Thanks
>
>
>> - Original Message -
>> From: "zhangjian2011" 
>> To: users@ovirt.org
>> Sent: Wednesday, August 12, 2015 1:06:11 PM
>> Subject: [ovirt-users] CPU Threads Help!!!
>>
>>
>>
>> Hi, Guys Recently I am investigating the Optimization Policy in
>> Cluster and try to use “ CPU Threads ”.
>>
>> As the manual of description:
>>
>> 
>>
>> For example, a 24-core
>>
>> system with 2 threads per core (48
>>
>> threads total) can run virtual machines with
>>
>> up to 48 cores each
>>
>> 
>>
>>
>>
>> My host CPU is
>>
>> i3-2120 CPU (2 cores 4 threads)
>>
>>
>>
>> So I think the expect result case is :
>>
>> 1. If the “ Count Threads As Cores ” disable , we can’t run virtual
>> vm with above 2 vCPU
>>
>> 2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm
>> with above 4 vCPU
>>
>>
>>
>> Now the problem is about result case 1:
>>
>> 1. When I set “ Count Threads As Cores ” disable , I still can run
>> virtual vm with 4 vCPU
>>
>> Can anyone help me to explain it ???
>
> Like Artyom mentioned, it best to see your lscpu output but my guess
> is that the 4 threads is actually 2 per core.
>  And there are 2 core and 2 sockets. this means 4 cpus without hyper
> threading and 8 with.
>
> BTW the Host "General" subtab on the webadmin should output all this
> info as well. Check it out.

According to ARK Intel Core i3-2120 cannot be used in dual-socket
configurations.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error running VM because of fnternal filter

2015-11-12 Thread Alexandr Krivulya
Hello!

After upgrade cluster to 3.6 I cannot run VM's because of error:

The host vms-intron did not satisfy internal filter HostDevice because
it does not support host device passthrough..

How can I disable this filter?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Error running VM because of fnternal filter

2015-11-12 Thread Alexandr Krivulya
12.11.15 16:40, Alexandr Krivulya пишет:
> Hello!
>
> After upgrade cluster to 3.6 I cannot run VM's because of error:
>
> The host vms-intron did not satisfy internal filter HostDevice because
> it does not support host device passthrough..
>
> How can I disable this filter?
>

Half-day brainstorm and everything is ok:

delete from vm_device where type='hostdev' and vm_id='aaa--ccc...';
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] hostusb with ovirt3.6

2015-11-12 Thread Alexandr Krivulya
Hello,
after upgrade to 3.6 virtual machine with hostusb vdsm hook attached
cannot be started:

Thread-2194::ERROR::2015-11-12
21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm)
vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm
self._run()
  File "/usr/share/vdsm/virt/vm.py", line 1876, in _run
self._domDependentInit()
  File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit
self._getUnderlyingVmDevicesInfo()
  File "/usr/share/vdsm/virt/vm.py", line 1682, in
_getUnderlyingVmDevicesInfo
self._getUnderlyingHostDeviceInfo()
  File "/usr/share/vdsm/virt/vm.py", line 4106, in
_getUnderlyingHostDeviceInfo
if device_type == 'usb':
  File "/usr/share/vdsm/virt/vm.py", line 4092, in
_getUnderlyingHostDeviceUSBInfo
for dev in self.conf['devices']:
UnboundLocalError: local variable 'device' referenced before assignment
Thread-2194::INFO::2015-11-12
21:21:16,546::vm::1278::virt.vm::(setDownStatus)
vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down:
local variable 'device' referenced before assignment (code=1)

Corresponding xml entry present in vm start config:



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


Re: [ovirt-users] hostusb with ovirt3.6

2015-11-13 Thread Alexandr Krivulya
12.11.15 21:29, Alexandr Krivulya пишет:
> Hello,
> after upgrade to 3.6 virtual machine with hostusb vdsm hook attached
> cannot be started:
>
> Thread-2194::ERROR::2015-11-12
> 21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm)
> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm
> self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 1876, in _run
> self._domDependentInit()
>   File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit
> self._getUnderlyingVmDevicesInfo()
>   File "/usr/share/vdsm/virt/vm.py", line 1682, in
> _getUnderlyingVmDevicesInfo
> self._getUnderlyingHostDeviceInfo()
>   File "/usr/share/vdsm/virt/vm.py", line 4106, in
> _getUnderlyingHostDeviceInfo
> if device_type == 'usb':
>   File "/usr/share/vdsm/virt/vm.py", line 4092, in
> _getUnderlyingHostDeviceUSBInfo
> for dev in self.conf['devices']:
> UnboundLocalError: local variable 'device' referenced before assignment
> Thread-2194::INFO::2015-11-12
> 21:21:16,546::vm::1278::virt.vm::(setDownStatus)
> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down:
> local variable 'device' referenced before assignment (code=1)
>
> Corresponding xml entry present in vm start config:
>
>  id="0x14a8"/>
>
>

Dirty hack solves issue (I'm far away from python):

--- vm.py.orig  2015-11-13 14:14:37.152170286 +0200
+++ vm.py   2015-11-13 14:13:47.387855814 +0200
@@ -4103,7 +4103,7 @@
 for x in self._domain.get_device_elements('hostdev'):
 device_type = x.getAttribute('type')
 if device_type == 'usb':
-self._getUnderlyingHostDeviceUSBInfo(x)
+#self._getUnderlyingHostDeviceUSBInfo(x)
 continue
 alias = x.getElementsByTagName('alias')[0].getAttribute('name')
 address = self._getUnderlyingDeviceAddress(x)

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


Re: [ovirt-users] hostusb with ovirt3.6

2015-11-13 Thread Alexandr Krivulya
13.11.15 14:29, Michal Skrivanek пишет:
>> On 13 Nov 2015, at 13:21, Alexandr Krivulya  wrote:
>>
>> 12.11.15 21:29, Alexandr Krivulya пишет:
>>> Hello,
>>> after upgrade to 3.6 virtual machine with hostusb vdsm hook attached cannot 
>>> be started:
> there shouldn’t be a reason for a hook in 3.6, there’s a full support for usb 
> passthrough in UI.
> though it shouldn’t break just by upgrade to 3.6…Martin?

There is an old platform - no support for device passthrough. See my
previous post:

http://lists.ovirt.org/pipermail/users/2015-November/035881.html
>
>>> Thread-2194::ERROR::2015-11-12 
>>> 21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm) 
>>> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed
>>> Traceback (most recent call last):
>>>   File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm
>>> self._run()
>>>   File "/usr/share/vdsm/virt/vm.py", line 1876, in _run
>>> self._domDependentInit()
>>>   File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit
>>> self._getUnderlyingVmDevicesInfo()
>>>   File "/usr/share/vdsm/virt/vm.py", line 1682, in 
>>> _getUnderlyingVmDevicesInfo
>>> self._getUnderlyingHostDeviceInfo()
>>>   File "/usr/share/vdsm/virt/vm.py", line 4106, in 
>>> _getUnderlyingHostDeviceInfo
>>> if device_type == 'usb':
>>>   File "/usr/share/vdsm/virt/vm.py", line 4092, in 
>>> _getUnderlyingHostDeviceUSBInfo
>>> for dev in self.conf['devices']:
>>> UnboundLocalError: local variable 'device' referenced before assignment
>>> Thread-2194::INFO::2015-11-12 
>>> 21:21:16,546::vm::1278::virt.vm::(setDownStatus) 
>>> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down: local 
>>> variable 'device' referenced before assignment (code=1)
>>>
>>> Corresponding xml entry present in vm start config:
>>>
>>> >> id="0x14a8"/>
>>>
>>>
>> Dirty hack solves issue (I'm far away from python):
>>
>> --- vm.py.orig  2015-11-13 14:14:37.152170286 +0200
>> +++ vm.py   2015-11-13 14:13:47.387855814 +0200
>> @@ -4103,7 +4103,7 @@
>>  for x in self._domain.get_device_elements('hostdev'):
>>  device_type = x.getAttribute('type')
>>  if device_type == 'usb':
>> -self._getUnderlyingHostDeviceUSBInfo(x)
>> +#self._getUnderlyingHostDeviceUSBInfo(x)
>>  continue
>>  alias = x.getElementsByTagName('alias')[0].getAttribute('name')
>>  address = self._getUnderlyingDeviceAddress(x)
>>
>> ___
>> 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] Error running VM because of fnternal filter

2015-11-13 Thread Alexandr Krivulya
13.11.15 15:32, Michal Skrivanek пишет:
>> On 12 Nov 2015, at 17:54, Alexandr Krivulya  wrote:
>>
>> 12.11.15 16:40, Alexandr Krivulya пишет:
>>> Hello!
>>>
>>> After upgrade cluster to 3.6 I cannot run VM's because of error:
>>>
>>> The host vms-intron did not satisfy internal filter HostDevice because
>>> it does not support host device passthrough..
>>>
>>> How can I disable this filter?
>>>
>> Half-day brainstorm and everything is ok:
>>
>> delete from vm_device where type='hostdev' and vm_id='aaa--ccc…';
> and you didn’t add anything in UI, this is just an upgrade from 3.5 when 
> using usbhost hook?
>

When VM did not start after upgrade I did many different steps including
attaching/detaching usb devices via UI. All my attempts ended with the
same error. Only editing vm_device table by hand solves my problem.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ZFS record size for oVirt

2015-11-23 Thread Alexandr Krivulya
23.11.15 12:32, Johan Kooijman пишет:
> Hi all,
>
> I'm using an NFS storage domain, backed by a ZFS cluster. I need to
> deploy a new storage domain, what would the recommended record size be
> in this?
>
>
I don't think you need care about it, because its real value calculates
via internal algorithms. Generally it depends on your workload. if you
have VM's that do a lot of random writes try to set recsize to equal or
greater value of guest file system block size.

Did you read this white paper? It might help you.
http://www.oracle.com/technetwork/server-storage/sun-unified-storage/documentation/bestprac-zfssa-vsphere5-1940129.pdf
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more

2018-02-22 Thread Alexandr Krivulya

Hello, the same problem after upgrade to 4.2.1 :(


18.01.2018 11:53, Daniel Helgenberger пишет:

Hello,

yesterday I upgraded to 4.2.0 from 4.1.8.

Now I notice I cannot assign host dev pass though any more; in the GUI
the 'Pinnded to host' list is empty; I cannot select any host for pass
through host pinning.

When I was creating the particular VM in 4.1 it was working as expected.

The hostdev from before the upgrades are still present. I tried to
remove them and got an NPE (see below).

As a workaround, is the old hostusb[1] method I know back from 3.x still 
working in the 4.x
line?

AFAICT IOMMU is working


dmesg | grep -e DMAR -e IOMMU
[0.00] ACPI: DMAR 7b7e7000 002C6 (v01 HP ProLiant 0001 
HP   0001)
[0.168032] DMAR: Host address width 46
[0.168034] DMAR: DRHD base: 0x00fbffc000 flags: 0x0
[0.168047] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap 8d2078c106f0466 
ecap f020de
[0.168050] DMAR: DRHD base: 0x00c7ffc000 flags: 0x1
[0.168061] DMAR: dmar1: reg_base_addr c7ffc000 ver 1:0 cap 8d2078c106f0466 
ecap f020de
[0.168063] DMAR: RMRR base: 0x0079174000 end: 0x0079176fff
[0.168065] DMAR: RMRR base: 0x00791f4000 end: 0x00791f7fff
[0.168067] DMAR: RMRR base: 0x00791de000 end: 0x00791f3fff
[0.168070] DMAR: RMRR base: 0x00791cb000 end: 0x00791dbfff
[0.168071] DMAR: RMRR base: 0x00791dc000 end: 0x00791ddfff
[0.168073] DMAR: ATSR flags: 0x0
[0.168075] DMAR: ATSR flags: 0x0
[0.168079] DMAR-IR: IOAPIC id 10 under DRHD base  0xfbffc000 IOMMU 0
[0.168082] DMAR-IR: IOAPIC id 8 under DRHD base  0xc7ffc000 IOMMU 1
[0.168084] DMAR-IR: IOAPIC id 9 under DRHD base  0xc7ffc000 IOMMU 1
[0.168086] DMAR-IR: HPET id 0 under DRHD base 0xc7ffc000
[0.168088] DMAR-IR: Queued invalidation will be enabled to support x2apic 
and Intr-remapping.
[0.169073] DMAR-IR: Enabled IRQ remapping in x2apic mode

Thanks,

[1] https://www.ovirt.org/develop/release-management/features/virt/hostusb/


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


Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more

2018-02-22 Thread Alexandr Krivulya



22.02.2018 11:30, Martin Polednik пишет:

On 22/02/18 10:40 +0200, Alexandr Krivulya wrote:

Hello, the same problem after upgrade to 4.2.1 :(


18.01.2018 11:53, Daniel Helgenberger пишет:

Hello,

yesterday I upgraded to 4.2.0 from 4.1.8.

Now I notice I cannot assign host dev pass though any more; in the GUI
the 'Pinnded to host' list is empty; I cannot select any host for pass
through host pinning.


Does the host that previously worked report device passthrough
capability? In the UI it's the "Device Passthrough: Enabled" field.
(and similarly named field in vdsm-client getCapabilities call) 

Now "Device Passthrough: Disabled", but usb passthrough works well on 4.1
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more

2018-02-22 Thread Alexandr Krivulya

22.02.2018 11:37, Alexandr Krivulya пишет:

22.02.2018 11:30, Martin Polednik пишет:

On 22/02/18 10:40 +0200, Alexandr Krivulya wrote:

Hello, the same problem after upgrade to 4.2.1 :(


18.01.2018 11:53, Daniel Helgenberger пишет:

Hello,

yesterday I upgraded to 4.2.0 from 4.1.8.

Now I notice I cannot assign host dev pass though any more; in the GUI
the 'Pinnded to host' list is empty; I cannot select any host for pass
through host pinning.


Does the host that previously worked report device passthrough
capability? In the UI it's the "Device Passthrough: Enabled" field.
(and similarly named field in vdsm-client getCapabilities call) 

Now "Device Passthrough: Disabled", but usb passthrough works well on 4.1


After enabling intel_iommu usb passthrough works again. But why this 
option needed for usb now?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Power off VM from VM portal

2018-03-06 Thread Alexandr Krivulya

Hi,

is there any way to power off VM from VM portal (4.2.1.7)? I can't find 
"power off" button, just "shutdown".



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


Re: [ovirt-users] Power off VM from VM portal

2018-03-07 Thread Alexandr Krivulya



06.03.2018 17:39, Nicolas Ecarnot пишет:

Le 06/03/2018 à 16:02, Alexandr Krivulya a écrit :

Hi,

is there any way to power off VM from VM portal (4.2.1.7)? I can't 
find "power off" button, just "shutdown".



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


Hello Alexandr,

After having clicked on the VM link, you'll notice that on the right 
of the Shutdown button is an arrow allowing you to access to the Power 
Off feature.


I cant find this arrow on Shutdown button


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


Re: [ovirt-users] Power off VM from VM portal

2018-03-07 Thread Alexandr Krivulya

06.03.2018 19:22, Derek Atkins пишет:

Alexandr Krivulya  writes:


is there any way to power off VM from VM portal (4.2.1.7)? I can't
find "power off" button, just "shutdown".

I don't know about 4.2, but in 4.1 and 4.0 there is a right-click
context menu that gives you access to the Power Off feature.  If that
doesn't work (ISTR disucssion about removing that context menu), then
there must be a different way to access it now.



In 4.2 User portal was replaced with new VM portal. There is no 
right-click context menu on VM list :(

From admin portal I can poweroff VM.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Re: Fwd: FreeBSD after 10.3 could not boot (Freeze)

2018-05-29 Thread Alexandr Krivulya

Hi!
I procced with default instalation of 10.4-amd64 from ISO and it boots 
just fine. Can you provide some more info about VM configuration?


26.05.2018 20:59, Paul.LKW пишет:

HI All:
Any one have tried to boot up FreeBSD 10.4 successful? I tried 10.3 is 
all working fine but no lucky in 10.4 at all even boot from DVD !!!

Attached is the freezes point.



BR,
Paul.LKW


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


___
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/BCXCX5QMXL7SQUVBJMN3HFSQSS56VPJF/


[ovirt-users] Re: Fwd: FreeBSD after 10.3 could not boot (Freeze)

2018-05-30 Thread Alexandr Krivulya

2        vCPU
8Gb   vRAM
10Gb vHDD (virtio-scsi)

Intel SandyBridge Family Cluster

29.05.2018 21:06, Karli Sjöberg пишет:

I just tried it as well, works fine, no problemo. My VM has:
1   vCPU
1GB vRAM
8GB vHDD

In a Nehalem cluster.

Alex, Paul, what´s yours?


___
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/NFOYSZNGANUTEJNK7NTG7OXDE7OBPCHM/