Re: [ovirt-users] Backups take sooo long, how can I improve the situation, where is the bottleneck?

2017-01-05 Thread Arman Khalatyan
Hi Florian,
Did you check the IO  load on the SPM host during the backup? If you have
1Gbit network then the maximum theoretical  IO is restricted to 100MB/s .
So if you get 20GB raw preallocated disk then a single disk backup will be
about: 20/0.08/3600 hours x 3times~10mins: .08 is 20% overhead,3time for
the clone-export-deletesnap process.
Vdsm has also restriction on the migration process to avoid the network
saturation. Check the Cluster properties: this is available for the 4.0
capable clusters. or set the migration_max_bandwidth in vdsm.conf on the
hosts.


Am 05.01.2017 6:27 nachm. schrieb "Florian Nolden" :

> Hallo everyone,
>
> I would like to update my Ovirt installation but, before that I would like
> to create proper VM backups. Currently I try to automate the backups and I
> use the implementation of the following project.
> https://github.com/wefixit-AT/oVirtBackup
>
> The main idea is to use the Ovirt-API to trigger a snapshot, create a new
> VM from the snapshot, delete the snapshot, export the vm to the export
> domain, delete the vm.
>
> This process takes even with only a 20 GB vm disk 55 Minutes. I have now
> 21 VMs with average 30 GB HDD space, that would mean that the backup job
> runs 22 hours.
>
> Is there something wrong with my setup?
> Config?
> Is there a better way to automate backups?
> Is anyone else doing VM Exports as backup or are you just using snapshots?
>
>
> Specs:
> HA Cluster 3 Nodes each has:
> 2x 6x 2.96 GHz, 96 GB RAM, 120 GB HDD for CentOS7, 1 TB SSD VM-Storage
> (Gluster FS), 4x 1 GBit LAN Bond, 4x 1GBit SAN Bond (Gluster Network,
> connection to Backup NAS/ Export Domain)
> Ovirt 4.0.3
>
> The script output:
> Jan 05 14:12:16: Start backup for: wiki (20 GB)
> Jan 05 14:12:17: Snapshot creation started ...
> Jan 05 14:12:30: Snapshot created
> Jan 05 14:12:40: Clone into VM started ...
> Jan 05 14:36:37: Cloning finished
> Jan 05 14:36:38: Snapshot deletion started ...
> Jan 05 14:59:27: Snapshots deleted
> Jan 05 14:59:28: Export started ...
> Jan 05 15:07:09: Exporting finished
> Jan 05 15:07:09: Delete cloned VM started ...
> Jan 05 15:07:15: Cloned VM deleted
> Jan 05 15:07:15: Duration: 55:0 minutes
> Jan 05 15:07:15: VM exported as wiki_BACKUP_010516
> Jan 05 15:07:15: Backup done for: wiki
> Jan 05 15:07:15: All backups done
>
>
> Thanks,
> Florain
>
> ___
> 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] Bad volume specification

2017-01-05 Thread Sahina Bose
Can you provide the gluster mount logs
On Fri, 6 Jan 2017 at 12:01 PM, Rodrick Brown 
wrote:

> I'm using gluster/zfs for the backing store on my Ovirt VM's its seems our
> gluster volume may have ran low on space and a few VM's we're paused due to
> long i/o wait times.
>
> I'm no longer able to bring these VM's back online because I get the
> following error:
>
> OSError: [Errno 22] Invalid argument
> Thread-991494::ERROR::2017-01-06
> 01:17:32,990::vm::759::virt.vm::(_startUnderlyingVm)
> vmId=`add4f65a-6389-4fc8-bf9d-bf92964cecf0`::The vm start process failed
> Traceback (most recent call last):
>   File "/usr/sha
>
> ​StorageUnavailableError: Unable to get volume size for domain domain 
> volume 
>
> I have snapshots is their anyway I can recover or fix this issue? ​
>
>
>
>
> ___
>
> 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] Error creating a storage pool

2017-01-05 Thread Sergei Hanus
 Hi, All!

When trying to attach iscsi device from my storage system, ovirt complains,
that it cannot create a storage pool.

In logs I can see only this:
--
RuntimeError(u'Error creating a storage pool:
(u"spUUID=3fcace71-cd2b-4ab4-9d64-8ef926ead05a,
poolName=hosted_datacenter, masterDom=71b0d510-c24a-49fa-86ec-6b5ebf530140,
domList=[u\'71b0d510-c24a-49fa-86ec-6b5ebf530140\',
u\'793985b7-9d11-44a4-bf68-4b509a967a52\'], masterVersion=1, clusterlock
params: ({\'LEASETIMESEC\': 60, \'LOCKPOLICY\': \'ON\', \'IOOPTIMEOUTSEC\':
10, \'LEASERETRIES\': 3, \'LOCKRENEWALINTERVALSEC\': 5})",)',), )
---

I have verified, that this block device can be successfully connected and
partitioned on the same server using standard tools (iscsiadm, parted,
mount), so, storage system on its own is working fine.

My question is: what are requirements for block device in order for it to
be compliant with ovirt? I know, that block size must be 512 bytes, but
anything else?

Thank you in advance, any comments appreciated.

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


[ovirt-users] Bad volume specification

2017-01-05 Thread Rodrick Brown
I'm using gluster/zfs for the backing store on my Ovirt VM's its seems our
gluster volume may have ran low on space and a few VM's we're paused due to
long i/o wait times.

I'm no longer able to bring these VM's back online because I get the
following error:

OSError: [Errno 22] Invalid argument
Thread-991494::ERROR::2017-01-06
01:17:32,990::vm::759::virt.vm::(_startUnderlyingVm)
vmId=`add4f65a-6389-4fc8-bf9d-bf92964cecf0`::The vm start process failed
Traceback (most recent call last):
  File "/usr/sha

​StorageUnavailableError: Unable to get volume size for domain domain 
volume 

I have snapshots is their anyway I can recover or fix this issue? ​
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-05 Thread Alexander Wels
On Thursday, January 5, 2017 9:04:00 AM EST Yedidyah Bar David wrote:
> On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins  wrote:
> > On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote:
> >>> Thanks, Didi.  I've read through this page and it provides lots of
> >>> goodness if I wanted to add new tabs to the portal, but I can't find any
> >>> hints how I would change the page that's seen when someone first
> >>> connects to the /ovirt-engine/ page when they first connect to ovirt.
> >> 
> >> Perhaps you were looking for this one:
> >> 
> >> https://www.ovirt.org/develop/release-management/features/ux/branding/
> > 
> > AHA!!  There's a section there called "Welcome Page" which pointed me to
> > /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which
> > seems to be exactly what I want to edit!
> > 
> > Looks like I need to rewrite that in place, but that's okay.  I'm sure it
> > will get overwritten every update but I'll note to fix it then too.
> 
> Please check also BRANDING.adoc from the engine source tree [1].
> You should be able to add your own directory wherever you want and link
> to it from /etc/ovirt-engine/branding with a higher number, and it will
> override the default. You can try either copying only what you want or
> all of the existing directory.
> 

Yes you can make 01-mystuff.brand and in there put a specific template and 
properties file. In the properties file you can specify if you want to append 
or completely overwrite the welcome page. If you just want to add a link, I 
would suggest appending instead of overwriting.

If you need more detailed instructions let me know. I am very familiar with 
that piece of code (since I wrote it).

> Best,
> 
> [1]
> https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=BRANDING.adoc
> > I would never have considered this "branding"..  :)  And of course google
> > never brought me to that link.  I'm sure in 20/20 hindsight I would have
> > better search terms for "modify ovirt welcome page" that would've worked.
> > 
> > Thank you.
> > 
> >> Best,
> >> --
> >> Didi
> > 
> > -derek
> > 
> > --
> > 
> >Derek Atkins 617-623-3745
> >de...@ihtfp.com www.ihtfp.com
> >Computer and Internet Security Consultant


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


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-01-05 Thread Ondra Machacek
ovirt_vms_facts module returns list of vms which match the pattern,
so something like this should work (I didn't try):

- name: print
  shell: echo "{{ item.name }} >> vms_name"
  with_items: "{{ ovirt_vms }}"

Oh right, the snapshots module wasn't merged, I will fix up, thank you.

Yes I agree, that Ansible modules can't currently fully replace the CLI.


On Fri, Dec 30, 2016 at 5:22 PM, Nathanaël Blanchet  wrote:
> Interesting work and thank you for this stuff. I played with some modules
> (ovirt_vms_facts) to get some vms name for example.
>
> [root@acore ovirt]# ansible-playbook All_Vms_list.yml
> with
>   - name: List vms
> ovirt_vms_facts:
>   auth: "{{ ovirt_auth }}"
>   pattern: name=test_cloud
>   fetch_nested: true
>   nested_attributes: name
> register: ovirt_vms
>
>   - shell: echo "{{ ovirt_vms.name }} > vms_name" // doesn't work
>
>   - shell: echo "{{ ovirt_vms }} > vms_name // returns an unicode json file,
> that's surely why we can't parse it. Can you help me to solve this into the
> ovirt_vms_facts.py file?
>
> I have no such problem with ovirt_snaphots_module and I can easily get the
> snaphot.id variable but:
>
> I had to manually copy the ovirt_snaphsots_module because it is not present
> on the git tree. This is very curious: we can find it here
> http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm,
> but it is not available on the main ansible git tre.
> On the doc, return values are not described
>
> For the moment, my opinion is that ansible can't be as much convinient as
> the current CLI, e.g. ovirt-shell -E "list vms", out of the box. Is there a
> really reason to deprecate it?
>
>
> Le 02/12/2016 à 14:12, Ondra Machacek a écrit :
>
> Hello all,
>
> I would like to kindly ask everyone who is Ansible or oVirt user for
> testing of the new Ansible oVirt modules. For everyone who is familiar
> with the Ansible and oVirt, this[1] describes the steps you need to do,
> to setup oVirt modules library and start using those modules (Most of those
> modules will be available in Ansible 2.3, some of them are already in 2.2).
>
> If you have any issue setting this up, please contact me, I will do the
> best to help you.
>
> If you have an issue, which you think is a bug, please open an issue
> here[2]. Please note that Ansible is merging it's repositories, so since
> next week it will actually be stored here[3]. If you are missing
> anything please open an issue as well, or just contact me, and I will
> do fix it. You are also very welcome to sent PR with fixes.
>
> For those who don't have testing environment which can test against,
> I've created an Vagrant project which will deploy you the oVirt instance
> using Ansible playbooks. You can find how to use it here[4].
>
> The repository also contains few examples[5], so you don't have to
> copy-paste them from the source.
>
> Thanks all for reading this and any feedback,
> Ondra
>
> [1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1
> [2] https://github.com/ansible/ansible-modules-extras/issues
> [3] https://github.com/ansible/ansible
> [4] https://github.com/machacekondra/ovirt-tests
> [5] https://github.com/machacekondra/ovirt-tests/tree/master/examples
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVF disk errors

2017-01-05 Thread Michael Watters
Hello,

I have two hosts in a cluster running ovirt 3.6 and I keep seeing
errors in the event log as follows.

Jan 5, 2017 2:34:01 PM

Host ovirt-node-production2 power management was verified successfully.

Jan 5, 2017 2:34:01 PM

Status of host ovirt-node-production2 was set to Up.

Jan 5, 2017 2:33:58 PM

Executing power management status on Host ovirt-node-production2 using Proxy 
Host ovirt-node-production1 and Fence Agent ipmilan:1.2.3.4

Jan 5, 2017 2:33:48 PM

Failed to update OVF disks c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4, OVF data isn't 
updated on those OVF stores (Data Center Default, Storage Domain 
2-Production-Faster).

Jan 5, 2017 2:33:47 PM

Host ovirt-node-production2 is not responding. It will stay in Connecting 
state for a grace period of 104 seconds and after that an attempt to fence the 
host will be issued.

Jan 5, 2017 2:33:47 PM

Failed to update OVF disks 389bd0fe-804c-428d-9de1-640d83fe9a29, OVF data isn't 
updated on those OVF stores (Data Center Default, Storage Domain 
1-Production-Slower).

Jan 5, 2017 2:33:42 PM

VDSM ovirt-node-production2 command failed: Logical Volume extend failed


What concerns me the most is the last two errors.  I've verified that all disks 
are online and all volume groups are working as expected.  Is there a way to 
manually update an OVF disk?  Here is what the engine database shows for these 
disk IDs.


engine=# select * from storage_domains_ovf_info where ovf_disk_id = 
'c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4' ;
  storage_domain_id   | status | ovf_disk_id
  | stored_ovfs_ids |last_updated
--++--+-+
 32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 |  1 | 
c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4 | | 2016-11-21 
13:48:55.756-05
(1 row)


engine=# select * from storage_domains_ovf_info where ovf_disk_id = 
'389bd0fe-804c-428d-9de1-640d83fe9a29' ;
  storage_domain_id   | status | ovf_disk_id
  | stored_ovfs_ids |last_updated
--++--+-+
 52e48bb6-e477-41fe-aa25-69fc04b47c98 |  1 | 
389bd0fe-804c-428d-9de1-640d83fe9a29 | | 2016-12-31 
00:13:58.924-05
(1 row)




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


Re: [ovirt-users] [Ansible - Ovirt] How to specifiy ovs properties ?

2017-01-05 Thread Ondra Machacek
Hi,

please see switch_type parameter in this module:

  http://docs.ansible.com/ansible/ovirt_clusters_module.html

I think that's what are you looking for.

Ondra

On Thu, Jan 5, 2017 at 7:19 AM, TranceWorldLogic .
 wrote:
> Hi,
>
> I want to setup a logcal ovs network in ovirt.
> And to do the same I want to use ansible tool.
>
> Hence I tried looking into ansible document and found below link.
> https://docs.ansible.com/ansible/ovirt_networks_module.html
>
> But question is how to configure propert "ovs = 1" in ansible.
> It may be via nested_attributes but not sure how to do so.
> Please let me know.
>
> Thanks,
> ~Rohit
>
>
>
> ___
> 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 Engine 4.0.5 and CentOS 7.3 Instability

2017-01-05 Thread Rogério Ceni Coelho
Hi Pavel and oVirt Elves,

Today, I install vdsm-jsonrpc-java. Take a look. Let´s see if problem are
solve. Thanks again.

[root@hlg-rbs-ovirt01-poa ~]# rpm -qa | grep -i vdsm-jsonrpc
vdsm-jsonrpc-java-1.2.7-1.el7.centos.noarch
[root@hlg-rbs-ovirt01-poa ~]# wget
http://resources.ovirt.org/pub/ovirt-4.0-snapshot/rpm/el7/noarch/vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
--2017-01-05 17:52:51--
http://resources.ovirt.org/pub/ovirt-4.0-snapshot/rpm/el7/noarch/vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
Resolving resources.ovirt.org (resources.ovirt.org)... 66.187.230.28
Connecting to resources.ovirt.org (resources.ovirt.org)|66.187.230.28|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 123420 (121K) [application/x-rpm]
Saving to:
'vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm'

100%[=>]
123,420  202KB/s   in 0.6s

2017-01-05 17:52:52 (202 KB/s) -
'vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm'
saved [123420/123420]

[root@hlg-rbs-ovirt01-poa ~]# ll
vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
-rw-r--r--. 1 root root 123420 Jan  4 22:39
vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
[root@hlg-rbs-ovirt01-poa ~]# rpm -Uvh
vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
Preparing...  #
[100%]
Updating / installing...
   1:vdsm-jsonrpc-java-1.2.10-1.201612# [
50%]
Cleaning up / removing...
   2:vdsm-jsonrpc-java-1.2.7-1.el7.cen#
[100%]
[root@hlg-rbs-ovirt01-poa ~]#


Em qua, 4 de jan de 2017 às 17:17, Rogério Ceni Coelho <
rogeriocenicoe...@gmail.com> escreveu:

> Wonderfull ... Seems to be the original problem with me on 4.0.5 ... I
> will try this and do some feedback about soon ...
>
> Thanks 
>
> Em qua, 4 de jan de 2017 às 17:08, Pavel Gashev 
> escreveu:
>
> Rogério,
>
>
>
> It looks like https://bugzilla.redhat.com/show_bug.cgi?id=1401585
>
>
>
> Please try to install the following package, and restart the engine.
>
>
> http://resources.ovirt.org/pub/ovirt-4.0-snapshot/rpm/el7/noarch/vdsm-jsonrpc-java-1.2.10-1.20161211091707.gitaf70e3f.el7.centos.noarch.rpm
>
>
>
>
>
> *From: * on behalf of Rogério Ceni Coelho <
> rogeriocenicoe...@gmail.com>
> *Date: *Monday 2 January 2017 at 21:51
> *To: *users 
> *Subject: *[ovirt-users] oVirt Engine 4.0.5 and CentOS 7.3 Instability
>
>
>
> Hi oVirt Gurus,
>
>
>
> Happy new year to everyone !!!
>
>
>
> I update oVirt Engine to 4.0.5 from 4.0.4 and Centos to 7.3 from 7.2 last
> week and after that I have instability four times. Every time ovirt engine
> seems to loose communication with one or more node servers like this image
> below. Every time I rebooted oVirt engine server and everything came back
> to normal.
>
>
>
> Anyone with this kind of problem ???
>
>
>
> [image: asted1]
>
>
>
> After reboot :
>
>
>
> [image: asted2]
>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Robert Story
On Thu, 5 Jan 2017 14:35:33 + Clint wrote:
CB> I'm having trouble with a VM showing that the disk is locked after
CB> trying to clone that VM to a new VM. The source machine was powered off
CB> when the clone was initiated. The source and destination disks both
CB> show to be locked and are currently un-usable. This situation was
CB> brought on around December 27 2016 and persists.

I have the exact same issue, except I'm running 4.0.5.


Robert

-- 
Senior Software Engineer @ Parsons


pgpC5cfj5BGP0.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] The feature everyone was asking for is finally here...

2017-01-05 Thread Roman Mohr
On Wed, Jan 4, 2017 at 4:31 PM, Eyal Edri  wrote:

> FYI,
>
> After many requests from multiple developers and testers, the oVirt CI
> added a new simple job that lets you run the full fledged end-to-end oVirt
> system tests with a click of a button.
> You can read all the details and how-to in the new oVirt blog [1].
>
> We wanted to allow running oVirt system tests on EVERY open patch from ANY
> oVirt project, without relaying on complex building code inside the job.
> Luckily we just added the 'build-on-demand' so together with it you can
> build any rpms you'd like and use them to run the manual job.
>
> So the 2 steps you'll need to do are:
>
>1. Write 'ci please build' inside a comment on an open oVirt patch (
>make sure the feature is enabled for that project first, its already
>available for ovirt-engine,vdsm,dashboard and vdsm-jsonrpc-java)
>2. Run the manual OST job for the version you'd like to test with the
>URLs you got from #1
>
> You'll get and email once the job is done and you can browse the results
> and check for logs from engine and the hosts.
>
> Please feel free to ask questions on in...@ovirt.org as usual.
>
>
> [1] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/
>

Very nice!


> --
> Eyal Edri
> Associate Manager
> RHV DevOps
> EMEA ENG Virtualization R
> Red Hat Israel
>
> phone: +972-9-7692018 <+972%209-769-2018>
> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted Engine does no detect GlobalMaintenaceMode set from other host 4.0.4- > 4.0.5

2017-01-05 Thread Matt .
Hi Guys,

Why updating my hosted-engine from 4.0.4 to 4.0.5 I have set my
cluster into GlobalMaintenaceMode from HE host 1 where the engine was
running on HE host 4.

All hosts reported a GlobalMaintenaceMode on --vm-status but the
hosted-engine didn't want to upgrade because it didn't see this
GlobalMaintenaceMode.

After setting --set-maintenance --mode=global on HE host 4 the
hosted-engine saw the GlobalMaintenanceMode and the upgrade went
further.

Is this a bug maybe ?

Regards,

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


Re: [ovirt-users] The feature everyone was asking for is finally here...

2017-01-05 Thread Eyal Edri
I'm not sure I follow how CLI is related to the job,  ost is using the
ovirt python sdk to run the tests.

On Jan 5, 2017 3:36 PM, "Logan Kuhn"  wrote:

> Isn't the CLI going away in the semi-near future?
>
> Regards,
> Logan
>
> - On Jan 4, 2017, at 9:31 AM, Eyal Edri  wrote:
>
> FYI,
>
> After many requests from multiple developers and testers, the oVirt CI
> added a new simple job that lets you run the full fledged end-to-end oVirt
> system tests with a click of a button.
> You can read all the details and how-to in the new oVirt blog [1].
>
> We wanted to allow running oVirt system tests on EVERY open patch from ANY
> oVirt project, without relaying on complex building code inside the job.
> Luckily we just added the 'build-on-demand' so together with it you can
> build any rpms you'd like and use them to run the manual job.
>
> So the 2 steps you'll need to do are:
>
>1. Write 'ci please build' inside a comment on an open oVirt patch (
>make sure the feature is enabled for that project first, its already
>available for ovirt-engine,vdsm,dashboard and vdsm-jsonrpc-java)
>2. Run the manual OST job for the version you'd like to test with the
>URLs you got from #1
>
> You'll get and email once the job is done and you can browse the results
> and check for logs from engine and the hosts.
>
> Please feel free to ask questions on in...@ovirt.org as usual.
>
>
> [1] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/
>
> --
> Eyal Edri
> Associate Manager
> RHV DevOps
> EMEA ENG Virtualization R
> Red Hat Israel
>
> phone: +972-9-7692018 <+972%209-769-2018>
> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>
> ___
> 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] Backups take sooo long, how can I improve the situation, where is the bottleneck?

2017-01-05 Thread Florian Nolden
Hallo everyone,

I would like to update my Ovirt installation but, before that I would like
to create proper VM backups. Currently I try to automate the backups and I
use the implementation of the following project.
https://github.com/wefixit-AT/oVirtBackup

The main idea is to use the Ovirt-API to trigger a snapshot, create a new
VM from the snapshot, delete the snapshot, export the vm to the export
domain, delete the vm.

This process takes even with only a 20 GB vm disk 55 Minutes. I have now 21
VMs with average 30 GB HDD space, that would mean that the backup job runs
22 hours.

Is there something wrong with my setup?
Config?
Is there a better way to automate backups?
Is anyone else doing VM Exports as backup or are you just using snapshots?


Specs:
HA Cluster 3 Nodes each has:
2x 6x 2.96 GHz, 96 GB RAM, 120 GB HDD for CentOS7, 1 TB SSD VM-Storage
(Gluster FS), 4x 1 GBit LAN Bond, 4x 1GBit SAN Bond (Gluster Network,
connection to Backup NAS/ Export Domain)
Ovirt 4.0.3

The script output:
Jan 05 14:12:16: Start backup for: wiki (20 GB)
Jan 05 14:12:17: Snapshot creation started ...
Jan 05 14:12:30: Snapshot created
Jan 05 14:12:40: Clone into VM started ...
Jan 05 14:36:37: Cloning finished
Jan 05 14:36:38: Snapshot deletion started ...
Jan 05 14:59:27: Snapshots deleted
Jan 05 14:59:28: Export started ...
Jan 05 15:07:09: Exporting finished
Jan 05 15:07:09: Delete cloned VM started ...
Jan 05 15:07:15: Cloned VM deleted
Jan 05 15:07:15: Duration: 55:0 minutes
Jan 05 15:07:15: VM exported as wiki_BACKUP_010516
Jan 05 15:07:15: Backup done for: wiki
Jan 05 15:07:15: All backups done


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


Re: [ovirt-users] Import Virtual Machines From Web Admin GUI

2017-01-05 Thread Beckman, Daniel
I indeed followed that procedure, including confirming I could SSH into the KVM 
host as user ‘vdsm’ without being prompted for a password. I had specified the 
host name of the KVM host, not the IP (though at one point I also tried the IP, 
with same results.) 

I was curious so on the KVM (source) host I added entries in /etc/hosts for all 
of the hypervisors in oVirt, along with the oVirt engine host for good measure 
(probably not necessary).

I tried another import, this time withouth the “no_verify=1” and it worked 
without error. 

Our internal DNS works – all of the hosts were able to correctly resolve 
addresses prior to me editing /etc/hosts. But I guess something in that process 
does not query DNS. 

Anyway, at least that’s a cleaner solution than removing verification. 

Thanks,
Daniel

On 1/5/17, 10:01 AM, "Tomáš Golembiovský"  wrote:

Hi,

I'm sort of puzzled why you still saw "Host key verification failed" if
you followed the procedure (or the steps described in [1]).

https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/


Only thing I can think of is that you used IP of the KVM host during the
procedure but then you used hostname in the URL (in import dialog).

Another possible problem could be that there were two conflicting host
keys in known_hosts file. But I believe adding "no_verify=1" would not
help in this case.


Tomas

On Tue, 3 Jan 2017 22:07:42 +
"Beckman, Daniel"  wrote:

> To answer my own question: as is often the case, perusing the commercial 
(RHV 4.0) documentation proved useful.
> 
> The documentation is here:
> 
https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/virtual-machine-management-guide/612-exporting-and-importing-virtual-machines-and-templates
> 
> However, I kept getting the error “Host key verification failed.: 
Connection reset by peer”. This despite having followed the official 
documentation on generating and copying keys, under Procedure 6.2.6 Importing a 
Virtual Machine from KVM.
> 
> Then I found this article from July 2012 about a different (but similar) 
scenario:
> 
> https://access.redhat.com/solutions/136463
> 
> What helped was the “alternative test” suggestion. Here is the URI I 
ended up using with success:
> 
> qemu+ssh://root@MY_KVM_HOST/system?no_verify=1
> 
> Appending “no_verify=1” did the trick. It’s possible that adding 
hostnames and IPs to /etc/hosts would have also resolved this, but for 
something performed infrequently (importing a VM from another environment), 
modifying the URI is easier.
> 
> Best,
> Daniel
> 
> From:  on behalf of "Beckman, Daniel" 

> Date: Tuesday, January 3, 2017 at 9:58 AM
> To: "users@ovirt.org" 
> Subject: [ovirt-users] Import Virtual Machines From Web Admin GUI
> 
> Can anyone point me to a step-by-step guide on getting an import (say, 
from KVM) to work? I gather it involves some sharing of SSH keys but I haven’t 
seen it explained in detail. Specifically, what user needs to trust what keys 
on which machines? The hypervisor hosts? The machine running the engine? Also, 
some examples of URI paths would be much appreciated.
> 
> Thanks,
> Daniel


-- 
Tomáš Golembiovský 



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


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Clint Boggio
Well Brett that's not totally out of the question however I'd prefer not to. 
I've seen other threads whereby there was a database command to locate the 
problem, and then a command to take that information and solve the problem.

This system is very much in production and I'd like to avoid poking it with a 
stick lol.

Clint Boggio
Cell 903.918.8461
Office 903.213.2523 ext. 210

On Jan 5, 2017, at 9:38 AM, Maton, Brett 
> wrote:

Hopefully someone else will confirm or scream don't do it, before you try this.

In the past I've managed to resolve hung tasks and the like by running 
engine-setup on the engine host

On 5 January 2017 at 14:35, Clint Boggio 
> wrote:
Good day ovirt family.

I'm having trouble with a VM showing that the disk is locked after trying to 
clone that VM to a new VM. The source machine was powered off when the clone 
was initiated. The source and destination disks both show to be locked and are 
currently un-usable. This situation was brought on around December 27 2016 and 
persists.

I have read some of the other threads  and using the information therein, have 
not been able to alleviate the condition. I have not tried to alter the 
database though, which I know is one of  the solutions to this problem. I am 
not confident enough in my diagnosis of the condition to alter the database at 
this time.

I have tried moving SPM to another node, and I have restarted ovirt-engine on 
the management server.

My setup is:


  1.  Dedicated ovirt-engine version 3.6 on CentOS 7
  2.  6 hosts running version 3.6 on CentOS 7

Any help to resolve this would be appreciated.

___
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] Import Virtual Machines From Web Admin GUI

2017-01-05 Thread Tomáš Golembiovský
Forgot to attach the link.

On Thu, 5 Jan 2017 17:01:59 +0100
Tomáš Golembiovský  wrote:

> Hi,
> 
> I'm sort of puzzled why you still saw "Host key verification failed" if
> you followed the procedure (or the steps described in [1]).

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

> Only thing I can think of is that you used IP of the KVM host during the
> procedure but then you used hostname in the URL (in import dialog).
> 
> Another possible problem could be that there were two conflicting host
> keys in known_hosts file. But I believe adding "no_verify=1" would not
> help in this case.



-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import Virtual Machines From Web Admin GUI

2017-01-05 Thread Tomáš Golembiovský
Hi,

I'm sort of puzzled why you still saw "Host key verification failed" if
you followed the procedure (or the steps described in [1]).

Only thing I can think of is that you used IP of the KVM host during the
procedure but then you used hostname in the URL (in import dialog).

Another possible problem could be that there were two conflicting host
keys in known_hosts file. But I believe adding "no_verify=1" would not
help in this case.


Tomas

On Tue, 3 Jan 2017 22:07:42 +
"Beckman, Daniel"  wrote:

> To answer my own question: as is often the case, perusing the commercial (RHV 
> 4.0) documentation proved useful.
> 
> The documentation is here:
> https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/virtual-machine-management-guide/612-exporting-and-importing-virtual-machines-and-templates
> 
> However, I kept getting the error “Host key verification failed.: Connection 
> reset by peer”. This despite having followed the official documentation on 
> generating and copying keys, under Procedure 6.2.6 Importing a Virtual 
> Machine from KVM.
> 
> Then I found this article from July 2012 about a different (but similar) 
> scenario:
> 
> https://access.redhat.com/solutions/136463
> 
> What helped was the “alternative test” suggestion. Here is the URI I ended up 
> using with success:
> 
> qemu+ssh://root@MY_KVM_HOST/system?no_verify=1
> 
> Appending “no_verify=1” did the trick. It’s possible that adding hostnames 
> and IPs to /etc/hosts would have also resolved this, but for something 
> performed infrequently (importing a VM from another environment), modifying 
> the URI is easier.
> 
> Best,
> Daniel
> 
> From:  on behalf of "Beckman, Daniel" 
> 
> Date: Tuesday, January 3, 2017 at 9:58 AM
> To: "users@ovirt.org" 
> Subject: [ovirt-users] Import Virtual Machines From Web Admin GUI
> 
> Can anyone point me to a step-by-step guide on getting an import (say, from 
> KVM) to work? I gather it involves some sharing of SSH keys but I haven’t 
> seen it explained in detail. Specifically, what user needs to trust what keys 
> on which machines? The hypervisor hosts? The machine running the engine? 
> Also, some examples of URI paths would be much appreciated.
> 
> Thanks,
> Daniel


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Maton, Brett
Hopefully someone else will confirm or scream don't do it, before you try
this.

In the past I've managed to resolve hung tasks and the like by running
engine-setup on the engine host

On 5 January 2017 at 14:35, Clint Boggio  wrote:

> Good day ovirt family.
>
>
>
> I’m having trouble with a VM showing that the disk is locked after trying
> to clone that VM to a new VM. The source machine was powered off when the
> clone was initiated. The source and destination disks both show to be
> locked and are currently un-usable. This situation was brought on around
> December 27 2016 and persists.
>
>
>
> I have read some of the other threads  and using the information therein,
> have not been able to alleviate the condition. I have not tried to alter
> the database though, which I know is one of  the solutions to this problem.
> I am not confident enough in my diagnosis of the condition to alter the
> database at this time.
>
>
>
> I have tried moving SPM to another node, and I have restarted ovirt-engine
> on the management server.
>
>
>
> My setup is:
>
>
>
>1. Dedicated ovirt-engine version 3.6 on CentOS 7
>2. 6 hosts running version 3.6 on CentOS 7
>
>
>
> Any help to resolve this would be appreciated.
>
> ___
> 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 NFS hosted storage

2017-01-05 Thread Maton, Brett
oVirt Engine Version: 4.2.0-0.0.master.20170103170149.git03816f2.el7.centos

I installed hosted-engine on an NFS share on 'NAS a'.

I'd like to move it to 'NAS b'  is there an easy way to do this ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM Disks Locked

2017-01-05 Thread Clint Boggio
Good day ovirt family.

I'm having trouble with a VM showing that the disk is locked after trying to 
clone that VM to a new VM. The source machine was powered off when the clone 
was initiated. The source and destination disks both show to be locked and are 
currently un-usable. This situation was brought on around December 27 2016 and 
persists.

I have read some of the other threads  and using the information therein, have 
not been able to alleviate the condition. I have not tried to alter the 
database though, which I know is one of  the solutions to this problem. I am 
not confident enough in my diagnosis of the condition to alter the database at 
this time.

I have tried moving SPM to another node, and I have restarted ovirt-engine on 
the management server.

My setup is:


  1.  Dedicated ovirt-engine version 3.6 on CentOS 7
  2.  6 hosts running version 3.6 on CentOS 7

Any help to resolve this would be appreciated.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-05 Thread Pavel Gashev
Yaniv,

Here you go https://galaxy.ansible.com/thepax/ovirt-drbd-vm/


From:  on behalf of Pavel Gashev 
Date: Wednesday 4 January 2017 at 19:17
To: Yaniv Kaul 
Cc: Ovirt Users 
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Yaniv,

I have an ansible role. I’ll upload it to the Ansible Galaxy.


From: Yaniv Kaul 
Date: Wednesday 4 January 2017 at 14:36
To: Pavel Gashev 
Cc: Ovirt Users , Fernando Frediani 

Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?



On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org blog post, for example.
Y.



From: > on behalf of 
Fernando Frediani 
>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org" 
>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306

8272306

Email: yd...@redhat.com

IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue Professeur-Jean-Louis-Viala

34193 MONTPELLIER CEDEX 5

Tél. 33 (0)4 67 54 84 55

Fax  33 (0)4 67 54 84 14

blanc...@abes.fr
___ Users mailing list 
Users@ovirt.org 

[ovirt-users] Block device requirements for ovirt

2017-01-05 Thread Sergei Hanus
 Hi, All!

When trying to attach iscsi device from my storage system, ovirt complains,
that it cannot create a storage pool.

In logs I can see only this:
--
RuntimeError(u'Error creating a storage pool:
(u"spUUID=3fcace71-cd2b-4ab4-9d64-8ef926ead05a, poolName=hosted_datacenter,
masterDom=71b0d510-c24a-49fa-86ec-6b5ebf530140,
domList=[u\'71b0d510-c24a-49fa-86ec-6b5ebf530140\',
u\'793985b7-9d11-44a4-bf68-4b509a967a52\'], masterVersion=1, clusterlock
params: ({\'LEASETIMESEC\': 60, \'LOCKPOLICY\': \'ON\', \'IOOPTIMEOUTSEC\':
10, \'LEASERETRIES\': 3, \'LOCKRENEWALINTERVALSEC\': 5})",)',), )
---

I have verified, that this block device can be successfully connected and
partitioned on the same server using standard tools (iscsiadm, parted,
mount), so, storage system on its own is working fine.

My question is: what are requirements for block device in order for it to
be compliant with ovirt? I know, that block size must be 512 bytes, but
anything else?

Thank you in advance, any comments appreciated.

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


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Yaniv Dary
There was a bug on this:
https://bugzilla.redhat.com/show_bug.cgi?id=1378045
Using the 'import' from VMs tab resolved the problem.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Thu, Jan 5, 2017 at 3:23 PM, Yevgeny Zaspitsky 
wrote:

> Kun,
>
> I found that the OVF file includes a VM with a single vNic, but "
> rasd:MACAddress" entry is missing there.
> Could you please tell what was the MAC address in the source system and
> what it is in oVirt once you've succeed importing the VM?
> Also could you please tell what kind of system is the source system and
> what is the tool you use for exporting VM out of there?
>
> Are you able to find the MAC address info in the export file prior using
> virt-v2v?
>
> Regards,
> Yevgeny
>
> On Thu, Jan 5, 2017 at 1:42 PM, Kun Wei  wrote:
>
>>
>> Hi,I have been sent ovf file to Yevgeny in private
>> Thanks
>>
>>
>> - Original Message -
>> From: "Yevgeny Zaspitsky" 
>> To: "Kun Wei" 
>> Cc: "Shahar Havivi" , "users" ,
>> "Tingting Zheng" , "Ming Xie" 
>> Sent: Thursday, January 5, 2017 6:37:58 PM
>> Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
>> file by virt-v2v
>>
>> Seems like engines tries to validate a vNic with an empty MAC address and
>> fails on that. The fact that in the direct flow it works sounds weird to
>> me: either we loose the MAC in one flow or we do not validate it in the
>> other one.
>>
>> Kun, could you please send (in private if you like) the OVF file from the
>> input tarball you've used, so we'd be able to debug the case more
>> thoroughly?
>>
>> Regards,
>> Yevgeny
>>
>> On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei  wrote:
>>
>> >
>> > Hi,shavivi.
>> >
>> > Thank you .Yes,as you know i can import ova directly and it can be
>> import
>> > successful.
>> >
>> > But  i am testing v2v now  and  i want to confirm if it is a new bug.
>> >
>> >
>> >
>> > - Original Message -
>> > From: "Shahar Havivi" 
>> > To: "Kun Wei" , "Yevgeny Zaspitsky" <
>> yzasp...@redhat.com
>> > >
>> > Cc: "users" , "Tingting Zheng" ,
>> > "Ming Xie" 
>> > Sent: Thursday, January 5, 2017 3:05:45 PM
>> > Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
>> > file by virt-v2v
>> >
>> > Yevgeny, please look why it fails on "isMacInRange"
>> >
>> > Kun, you know that you can import ova directly instead of using
>> virt-v2v to
>> > export domain and then import to data domain,
>> > you can do that from the VMs tab->Import-> and change the source to OVA.
>> >
>> > On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:
>> >
>> > >
>> > > Hi,  I want to confirm a questions if it is a bug,or if something
>> wrong
>> > > with me.Thanks
>> > >
>> > > When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
>> > > failed.The attachment are engine.log and vdsm.log.
>> > >
>> > >
>> > >
>> > > Version:
>> > > libguestfs-1.32.7-3.el7_3.2.x86_64
>> > > virt-v2v-1.32.7-3.el7_3.2.x86_64
>> > > qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
>> > > libvirt-2.0.0-10.el7_3.3.x86_64
>> > > rhv4.0: 4.0.6.3
>> > >
>> > > Steps :
>> > > 1:Prepare a regular ova file guest .
>> > > 2:Use virt-v2v to convert the ova file to rhv4.0.
>> > > # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:
>> > /home/nfs_export
>> > > -of qcow2
>> > > [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
>> > > [  44.1] Creating an overlay to protect the source from being modified
>> > > [  45.0] Initializing the target -o rhev -os 10.73.131.93:
>> > /home/nfs_export
>> > > [  45.3] Opening the overlay
>> > > [  53.1] Inspecting the overlay
>> > > [  70.2] Checking for sufficient free disk space in the guest
>> > > [  70.2] Estimating space required on target for each disk
>> > > [  70.2] Converting Red Hat Enterprise Linux Server release 6.8
>> > (Santiago)
>> > > to run on KVM
>> > > virt-v2v: This guest has virtio drivers installed.
>> > > [ 215.6] Mapping filesystem data to avoid copying unused and blank
>> areas
>> > > [ 216.0] Closing the overlay
>> > > [ 217.2] Checking if the guest needs BIOS or UEFI to boot
>> > > [ 217.2] Assigning disks to buses
>> > > [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
>> > > 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
>> > > b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
>> > > (100.00/100%)
>> > > [ 254.6] Creating output metadata
>> > > [ 254.7] Finishing off
>> > > 3.Then login rhv4.0 and try to import the guest from export domain to
>> > data
>> > > domain after finishing the conversion.But it is failed with the
>> > > error:"Failed to 

Re: [ovirt-users] The feature everyone was asking for is finally here...

2017-01-05 Thread Logan Kuhn
Isn't the CLI going away in the semi-near future? 

Regards, 
Logan 

- On Jan 4, 2017, at 9:31 AM, Eyal Edri  wrote: 

| FYI,

| After many requests from multiple developers and testers, the oVirt CI added a
| new simple job that lets you run the full fledged end-to-end oVirt system 
tests
| with a click of a button.
| You can read all the details and how-to in the new oVirt blog [1].

| We wanted to allow running oVirt system tests on EVERY open patch from ANY 
oVirt
| project, without relaying on complex building code inside the job.
| Luckily we just added the 'build-on-demand' so together with it you can build
| any rpms you'd like and use them to run the manual job.

| So the 2 steps you'll need to do are:

|1. Write 'ci please build' inside a comment on an open oVirt patch ( make 
sure
|the feature is enabled for that project first, its already available for
| ovirt-engine,vdsm,dashboard and vdsm-jsonrpc-java)
|2. Run the manual OST job for the version you'd like to test with the URLs 
you
| got from #1

| You'll get and email once the job is done and you can browse the results and
| check for logs from engine and the hosts.

| Please feel free to ask questions on in...@ovirt.org as usual.

| [1] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/

| --
| Eyal Edri
| Associate Manager
| RHV DevOps
| EMEA ENG Virtualization R
| Red Hat Israel

| phone: +972-9-7692018
| irc: eedri (on #tlv #rhev-dev #rhev-integ)

| ___
| 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] The feature everyone was asking for is finally here...

2017-01-05 Thread Roy Golan
On 4 January 2017 at 17:31, Eyal Edri  wrote:

> FYI,
>
> After many requests from multiple developers and testers, the oVirt CI
> added a new simple job that lets you run the full fledged end-to-end oVirt
> system tests with a click of a button.
> You can read all the details and how-to in the new oVirt blog [1].
>
> We wanted to allow running oVirt system tests on EVERY open patch from ANY
> oVirt project, without relaying on complex building code inside the job.
> Luckily we just added the 'build-on-demand' so together with it you can
> build any rpms you'd like and use them to run the manual job.
>
> So the 2 steps you'll need to do are:
>
>1. Write 'ci please build' inside a comment on an open oVirt patch (
>make sure the feature is enabled for that project first, its already
>available for ovirt-engine,vdsm,dashboard and vdsm-jsonrpc-java)
>2. Run the manual OST job for the version you'd like to test with the
>URLs you got from #1
>
> You'll get and email once the job is done and you can browse the results
> and check for logs from engine and the hosts.
>
> Please feel free to ask questions on in...@ovirt.org as usual.
>
>
> [1] https://www.ovirt.org/blog/2017/01/ovirt-system-tests-to-the-rescue/
>

kudus! will give it a try


> --
> Eyal Edri
> Associate Manager
> RHV DevOps
> EMEA ENG Virtualization R
> Red Hat Israel
>
> phone: +972-9-7692018 <+972%209-769-2018>
> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>
> ___
> Infra mailing list
> in...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Yevgeny Zaspitsky
Kun,

I found that the OVF file includes a VM with a single vNic, but "
rasd:MACAddress" entry is missing there.
Could you please tell what was the MAC address in the source system and
what it is in oVirt once you've succeed importing the VM?
Also could you please tell what kind of system is the source system and
what is the tool you use for exporting VM out of there?

Are you able to find the MAC address info in the export file prior using
virt-v2v?

Regards,
Yevgeny

On Thu, Jan 5, 2017 at 1:42 PM, Kun Wei  wrote:

>
> Hi,I have been sent ovf file to Yevgeny in private
> Thanks
>
>
> - Original Message -
> From: "Yevgeny Zaspitsky" 
> To: "Kun Wei" 
> Cc: "Shahar Havivi" , "users" ,
> "Tingting Zheng" , "Ming Xie" 
> Sent: Thursday, January 5, 2017 6:37:58 PM
> Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
> file by virt-v2v
>
> Seems like engines tries to validate a vNic with an empty MAC address and
> fails on that. The fact that in the direct flow it works sounds weird to
> me: either we loose the MAC in one flow or we do not validate it in the
> other one.
>
> Kun, could you please send (in private if you like) the OVF file from the
> input tarball you've used, so we'd be able to debug the case more
> thoroughly?
>
> Regards,
> Yevgeny
>
> On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei  wrote:
>
> >
> > Hi,shavivi.
> >
> > Thank you .Yes,as you know i can import ova directly and it can be import
> > successful.
> >
> > But  i am testing v2v now  and  i want to confirm if it is a new bug.
> >
> >
> >
> > - Original Message -
> > From: "Shahar Havivi" 
> > To: "Kun Wei" , "Yevgeny Zaspitsky" <
> yzasp...@redhat.com
> > >
> > Cc: "users" , "Tingting Zheng" ,
> > "Ming Xie" 
> > Sent: Thursday, January 5, 2017 3:05:45 PM
> > Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
> > file by virt-v2v
> >
> > Yevgeny, please look why it fails on "isMacInRange"
> >
> > Kun, you know that you can import ova directly instead of using virt-v2v
> to
> > export domain and then import to data domain,
> > you can do that from the VMs tab->Import-> and change the source to OVA.
> >
> > On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:
> >
> > >
> > > Hi,  I want to confirm a questions if it is a bug,or if something wrong
> > > with me.Thanks
> > >
> > > When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
> > > failed.The attachment are engine.log and vdsm.log.
> > >
> > >
> > >
> > > Version:
> > > libguestfs-1.32.7-3.el7_3.2.x86_64
> > > virt-v2v-1.32.7-3.el7_3.2.x86_64
> > > qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
> > > libvirt-2.0.0-10.el7_3.3.x86_64
> > > rhv4.0: 4.0.6.3
> > >
> > > Steps :
> > > 1:Prepare a regular ova file guest .
> > > 2:Use virt-v2v to convert the ova file to rhv4.0.
> > > # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:
> > /home/nfs_export
> > > -of qcow2
> > > [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
> > > [  44.1] Creating an overlay to protect the source from being modified
> > > [  45.0] Initializing the target -o rhev -os 10.73.131.93:
> > /home/nfs_export
> > > [  45.3] Opening the overlay
> > > [  53.1] Inspecting the overlay
> > > [  70.2] Checking for sufficient free disk space in the guest
> > > [  70.2] Estimating space required on target for each disk
> > > [  70.2] Converting Red Hat Enterprise Linux Server release 6.8
> > (Santiago)
> > > to run on KVM
> > > virt-v2v: This guest has virtio drivers installed.
> > > [ 215.6] Mapping filesystem data to avoid copying unused and blank
> areas
> > > [ 216.0] Closing the overlay
> > > [ 217.2] Checking if the guest needs BIOS or UEFI to boot
> > > [ 217.2] Assigning disks to buses
> > > [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
> > > 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
> > > b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
> > > (100.00/100%)
> > > [ 254.6] Creating output metadata
> > > [ 254.7] Finishing off
> > > 3.Then login rhv4.0 and try to import the guest from export domain to
> > data
> > > domain after finishing the conversion.But it is failed with the
> > > error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster
> > Default"
> > > as appendix picture.
> > >
> > > -Additional info :
> > > I can import a guest from kvm or vmware.Only can not import this way.
> > >
> > >
> > > -
> > > Best Regards,
> > > Kun Wei
> > >
> > >
> > >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Import from Admin GUI: "VM has MAC address(es) , which is/are out ouf its MAC pool definitions"

2017-01-05 Thread Michael Burman
Hello Daniel,

Good catch, i have reported a bug for the misspelling -
https://bugzilla.redhat.com/show_bug.cgi?id=1410346

It shouldn't lead to a problem. It depend on you if you want to run your VM
with MAC addresses that out of your current MAC pool range.

In 4.1 we added new feature which allow you to re-assign new MAC addresses
from the destination cluster. You will have an tooltip warning you that the
VM you about to import has MAC addresses which are out of its MAC range and
you will have an option to re-assign the MAC addresses or not.
http://www.ovirt.org/develop/release-management/features/network/import-vm-net-changes/

Best regards


On Wed, Jan 4, 2017 at 6:25 PM, Beckman, Daniel <
daniel.beck...@ingramcontent.com> wrote:

> I recently completed a VM import from a standard KVM host (Centos 7 based)
> to oVirt 4.0.5. The import completed fine and the VM runs and operates as
> expected. But I got the error cited in subject. Here’s the complete
> unedited error:
>
>
>
> VM thays-puppet-svr has MAC address(es) 52:54:00:ce:2b:7d, which is/are
> out ouf its MAC pool definitions.
>
>
>
> Note that is a direct copy and paste – and note the misspelling for “of”
> as “ouf”.
>
>
>
> Will running this VM with a MAC address falling outside of the pool lead
> to problems?
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Michael Burman
RedHat Israel, RHV-M Network QE

Mobile: 054-5355725
IRC: mburman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Kun Wei

Hi,I have been sent ovf file to Yevgeny in private
Thanks 


- Original Message -
From: "Yevgeny Zaspitsky" 
To: "Kun Wei" 
Cc: "Shahar Havivi" , "users" , "Tingting 
Zheng" , "Ming Xie" 
Sent: Thursday, January 5, 2017 6:37:58 PM
Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova file 
by virt-v2v

Seems like engines tries to validate a vNic with an empty MAC address and
fails on that. The fact that in the direct flow it works sounds weird to
me: either we loose the MAC in one flow or we do not validate it in the
other one.

Kun, could you please send (in private if you like) the OVF file from the
input tarball you've used, so we'd be able to debug the case more
thoroughly?

Regards,
Yevgeny

On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei  wrote:

>
> Hi,shavivi.
>
> Thank you .Yes,as you know i can import ova directly and it can be import
> successful.
>
> But  i am testing v2v now  and  i want to confirm if it is a new bug.
>
>
>
> - Original Message -
> From: "Shahar Havivi" 
> To: "Kun Wei" , "Yevgeny Zaspitsky"  >
> Cc: "users" , "Tingting Zheng" ,
> "Ming Xie" 
> Sent: Thursday, January 5, 2017 3:05:45 PM
> Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
> file by virt-v2v
>
> Yevgeny, please look why it fails on "isMacInRange"
>
> Kun, you know that you can import ova directly instead of using virt-v2v to
> export domain and then import to data domain,
> you can do that from the VMs tab->Import-> and change the source to OVA.
>
> On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:
>
> >
> > Hi,  I want to confirm a questions if it is a bug,or if something wrong
> > with me.Thanks
> >
> > When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
> > failed.The attachment are engine.log and vdsm.log.
> >
> >
> >
> > Version:
> > libguestfs-1.32.7-3.el7_3.2.x86_64
> > virt-v2v-1.32.7-3.el7_3.2.x86_64
> > qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
> > libvirt-2.0.0-10.el7_3.3.x86_64
> > rhv4.0: 4.0.6.3
> >
> > Steps :
> > 1:Prepare a regular ova file guest .
> > 2:Use virt-v2v to convert the ova file to rhv4.0.
> > # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:
> /home/nfs_export
> > -of qcow2
> > [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
> > [  44.1] Creating an overlay to protect the source from being modified
> > [  45.0] Initializing the target -o rhev -os 10.73.131.93:
> /home/nfs_export
> > [  45.3] Opening the overlay
> > [  53.1] Inspecting the overlay
> > [  70.2] Checking for sufficient free disk space in the guest
> > [  70.2] Estimating space required on target for each disk
> > [  70.2] Converting Red Hat Enterprise Linux Server release 6.8
> (Santiago)
> > to run on KVM
> > virt-v2v: This guest has virtio drivers installed.
> > [ 215.6] Mapping filesystem data to avoid copying unused and blank areas
> > [ 216.0] Closing the overlay
> > [ 217.2] Checking if the guest needs BIOS or UEFI to boot
> > [ 217.2] Assigning disks to buses
> > [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
> > 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
> > b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
> > (100.00/100%)
> > [ 254.6] Creating output metadata
> > [ 254.7] Finishing off
> > 3.Then login rhv4.0 and try to import the guest from export domain to
> data
> > domain after finishing the conversion.But it is failed with the
> > error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster
> Default"
> > as appendix picture.
> >
> > -Additional info :
> > I can import a guest from kvm or vmware.Only can not import this way.
> >
> >
> > -
> > Best Regards,
> > Kun Wei
> >
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Shahar Havivi
I think the OVA will be better,
we can test all the scenarios with that

On Thu, Jan 5, 2017 at 12:37 PM, Yevgeny Zaspitsky 
wrote:

> Seems like engines tries to validate a vNic with an empty MAC address and
> fails on that. The fact that in the direct flow it works sounds weird to
> me: either we loose the MAC in one flow or we do not validate it in the
> other one.
>
> Kun, could you please send (in private if you like) the OVF file from the
> input tarball you've used, so we'd be able to debug the case more
> thoroughly?
>
> Regards,
> Yevgeny
>
> On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei  wrote:
>
>>
>> Hi,shavivi.
>>
>> Thank you .Yes,as you know i can import ova directly and it can be import
>> successful.
>>
>> But  i am testing v2v now  and  i want to confirm if it is a new bug.
>>
>>
>>
>> - Original Message -
>> From: "Shahar Havivi" 
>> To: "Kun Wei" , "Yevgeny Zaspitsky" <
>> yzasp...@redhat.com>
>> Cc: "users" , "Tingting Zheng" ,
>> "Ming Xie" 
>> Sent: Thursday, January 5, 2017 3:05:45 PM
>> Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
>> file by virt-v2v
>>
>> Yevgeny, please look why it fails on "isMacInRange"
>>
>> Kun, you know that you can import ova directly instead of using virt-v2v
>> to
>> export domain and then import to data domain,
>> you can do that from the VMs tab->Import-> and change the source to OVA.
>>
>> On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:
>>
>> >
>> > Hi,  I want to confirm a questions if it is a bug,or if something wrong
>> > with me.Thanks
>> >
>> > When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
>> > failed.The attachment are engine.log and vdsm.log.
>> >
>> >
>> >
>> > Version:
>> > libguestfs-1.32.7-3.el7_3.2.x86_64
>> > virt-v2v-1.32.7-3.el7_3.2.x86_64
>> > qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
>> > libvirt-2.0.0-10.el7_3.3.x86_64
>> > rhv4.0: 4.0.6.3
>> >
>> > Steps :
>> > 1:Prepare a regular ova file guest .
>> > 2:Use virt-v2v to convert the ova file to rhv4.0.
>> > # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:
>> /home/nfs_export
>> > -of qcow2
>> > [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
>> > [  44.1] Creating an overlay to protect the source from being modified
>> > [  45.0] Initializing the target -o rhev -os 10.73.131.93:
>> /home/nfs_export
>> > [  45.3] Opening the overlay
>> > [  53.1] Inspecting the overlay
>> > [  70.2] Checking for sufficient free disk space in the guest
>> > [  70.2] Estimating space required on target for each disk
>> > [  70.2] Converting Red Hat Enterprise Linux Server release 6.8
>> (Santiago)
>> > to run on KVM
>> > virt-v2v: This guest has virtio drivers installed.
>> > [ 215.6] Mapping filesystem data to avoid copying unused and blank areas
>> > [ 216.0] Closing the overlay
>> > [ 217.2] Checking if the guest needs BIOS or UEFI to boot
>> > [ 217.2] Assigning disks to buses
>> > [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
>> > 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
>> > b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
>> > (100.00/100%)
>> > [ 254.6] Creating output metadata
>> > [ 254.7] Finishing off
>> > 3.Then login rhv4.0 and try to import the guest from export domain to
>> data
>> > domain after finishing the conversion.But it is failed with the
>> > error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster
>> Default"
>> > as appendix picture.
>> >
>> > -Additional info :
>> > I can import a guest from kvm or vmware.Only can not import this way.
>> >
>> >
>> > -
>> > Best Regards,
>> > Kun Wei
>> >
>> >
>> >
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Yevgeny Zaspitsky
Seems like engines tries to validate a vNic with an empty MAC address and
fails on that. The fact that in the direct flow it works sounds weird to
me: either we loose the MAC in one flow or we do not validate it in the
other one.

Kun, could you please send (in private if you like) the OVF file from the
input tarball you've used, so we'd be able to debug the case more
thoroughly?

Regards,
Yevgeny

On Thu, Jan 5, 2017 at 10:03 AM, Kun Wei  wrote:

>
> Hi,shavivi.
>
> Thank you .Yes,as you know i can import ova directly and it can be import
> successful.
>
> But  i am testing v2v now  and  i want to confirm if it is a new bug.
>
>
>
> - Original Message -
> From: "Shahar Havivi" 
> To: "Kun Wei" , "Yevgeny Zaspitsky"  >
> Cc: "users" , "Tingting Zheng" ,
> "Ming Xie" 
> Sent: Thursday, January 5, 2017 3:05:45 PM
> Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova
> file by virt-v2v
>
> Yevgeny, please look why it fails on "isMacInRange"
>
> Kun, you know that you can import ova directly instead of using virt-v2v to
> export domain and then import to data domain,
> you can do that from the VMs tab->Import-> and change the source to OVA.
>
> On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:
>
> >
> > Hi,  I want to confirm a questions if it is a bug,or if something wrong
> > with me.Thanks
> >
> > When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
> > failed.The attachment are engine.log and vdsm.log.
> >
> >
> >
> > Version:
> > libguestfs-1.32.7-3.el7_3.2.x86_64
> > virt-v2v-1.32.7-3.el7_3.2.x86_64
> > qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
> > libvirt-2.0.0-10.el7_3.3.x86_64
> > rhv4.0: 4.0.6.3
> >
> > Steps :
> > 1:Prepare a regular ova file guest .
> > 2:Use virt-v2v to convert the ova file to rhv4.0.
> > # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 10.73.131.93:
> /home/nfs_export
> > -of qcow2
> > [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
> > [  44.1] Creating an overlay to protect the source from being modified
> > [  45.0] Initializing the target -o rhev -os 10.73.131.93:
> /home/nfs_export
> > [  45.3] Opening the overlay
> > [  53.1] Inspecting the overlay
> > [  70.2] Checking for sufficient free disk space in the guest
> > [  70.2] Estimating space required on target for each disk
> > [  70.2] Converting Red Hat Enterprise Linux Server release 6.8
> (Santiago)
> > to run on KVM
> > virt-v2v: This guest has virtio drivers installed.
> > [ 215.6] Mapping filesystem data to avoid copying unused and blank areas
> > [ 216.0] Closing the overlay
> > [ 217.2] Checking if the guest needs BIOS or UEFI to boot
> > [ 217.2] Assigning disks to buses
> > [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
> > 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
> > b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
> > (100.00/100%)
> > [ 254.6] Creating output metadata
> > [ 254.7] Finishing off
> > 3.Then login rhv4.0 and try to import the guest from export domain to
> data
> > domain after finishing the conversion.But it is failed with the
> > error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster
> Default"
> > as appendix picture.
> >
> > -Additional info :
> > I can import a guest from kvm or vmware.Only can not import this way.
> >
> >
> > -
> > Best Regards,
> > Kun Wei
> >
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Video performance

2017-01-05 Thread Shalabh Goel
More from the output of top command:

%Cpu(s):  2.4 us,  0.4 sy,  0.0 ni, 97.1 id,  0.1 wa,  0.0 hi,  0.0 si,
0.0 st
KiB Mem : 13182395+total, 10438806+free,  4205056 used, 23230840 buff/cache
KiB Swap:  4194300 total,  4194300 free,0 used. 12692883+avail Mem


-- 
Shalabh Goel


On Thu, Jan 5, 2017 at 3:32 PM, Shalabh Goel 
wrote:

> One more thing. When I close the video, the CPU usage by qemu reduces to 6
> % or lesser.
>
> --
> Shalabh Goel
>
>
> On Thu, Jan 5, 2017 at 3:31 PM, Shalabh Goel 
> wrote:
>
>> Hi,
>>
>> I have installed ovirt engine 4.0.5 on centos 7.3. I installed ovirt-node
>> on a separate phyical system and added it to ovirt-engine. I installed
>> windows 7 in a VM on the node. I installed all the virtio drivers in the
>> guest. The protocol used by me to access VM is Spice  QXL. I have installed
>> virt-viewer on the clients to access (one is windows and othe ris ubuntu)
>>   Now, when I pay the sample video "wildlife" in the windows the video
>> frame rate is very low and it is skipping a aot of frames. I tested it on
>> both of the clients. The screen resolution is 1280x1024 on ubuntu and
>> 1366x768 on windows.
>>
>> The *lscpu* output of the node is:
>>
>> Architecture:  x86_64
>> CPU op-mode(s):32-bit, 64-bit
>> Byte Order:Little Endian
>> CPU(s):48
>> On-line CPU(s) list:   0-47
>> Thread(s) per core:2
>> Core(s) per socket:12
>> Socket(s): 2
>> NUMA node(s):  2
>> Vendor ID: GenuineIntel
>> CPU family:6
>> Model: 62
>> Model name:Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
>> Stepping:  4
>> CPU MHz:   3047.097
>> BogoMIPS:  5406.43
>> Virtualization:VT-x
>> L1d cache: 32K
>> L1i cache: 32K
>> L2 cache:  256K
>> L3 cache:  30720K
>> NUMA node0 CPU(s): 0-11,24-35
>> NUMA node1 CPU(s): 12-23,36-47
>>
>> The top command output is showing the following on the node:
>>
>> PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
>> COMMAND
>>
>> 30219 qemu  20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
>> qemu-kvm
>>
>>  6178 root  15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
>> supervdsmServer
>>
>>   361 root  25   5   0  0  0 S   7.0  0.0 333:14.58
>> ksmd
>>
>>   265 root  rt   0   0  0  0 S   2.6  0.0   0:06.80
>> migration/32
>>
>> 27504 qemu  20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
>> qemu-kvm
>>
>> 30222 root  20   0   0  0  0 S   2.0  0.0   0:11.98
>> vhost-30219
>>
>>  6329 vdsm   0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75 vdsm
>>
>> -
>> Please suggest what should I do to improve the video performance.
>>
>> Thank You
>>
>> Shalabh Goel
>>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Video performance

2017-01-05 Thread Shalabh Goel
One more thing. When I close the video, the CPU usage by qemu reduces to 6
% or lesser.

-- 
Shalabh Goel


On Thu, Jan 5, 2017 at 3:31 PM, Shalabh Goel 
wrote:

> Hi,
>
> I have installed ovirt engine 4.0.5 on centos 7.3. I installed ovirt-node
> on a separate phyical system and added it to ovirt-engine. I installed
> windows 7 in a VM on the node. I installed all the virtio drivers in the
> guest. The protocol used by me to access VM is Spice  QXL. I have installed
> virt-viewer on the clients to access (one is windows and othe ris ubuntu)
>   Now, when I pay the sample video "wildlife" in the windows the video
> frame rate is very low and it is skipping a aot of frames. I tested it on
> both of the clients. The screen resolution is 1280x1024 on ubuntu and
> 1366x768 on windows.
>
> The *lscpu* output of the node is:
>
> Architecture:  x86_64
> CPU op-mode(s):32-bit, 64-bit
> Byte Order:Little Endian
> CPU(s):48
> On-line CPU(s) list:   0-47
> Thread(s) per core:2
> Core(s) per socket:12
> Socket(s): 2
> NUMA node(s):  2
> Vendor ID: GenuineIntel
> CPU family:6
> Model: 62
> Model name:Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
> Stepping:  4
> CPU MHz:   3047.097
> BogoMIPS:  5406.43
> Virtualization:VT-x
> L1d cache: 32K
> L1i cache: 32K
> L2 cache:  256K
> L3 cache:  30720K
> NUMA node0 CPU(s): 0-11,24-35
> NUMA node1 CPU(s): 12-23,36-47
>
> The top command output is showing the following on the node:
>
> PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
> COMMAND
>
> 30219 qemu  20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
> qemu-kvm
>
>  6178 root  15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
> supervdsmServer
>
>   361 root  25   5   0  0  0 S   7.0  0.0 333:14.58
> ksmd
>
>   265 root  rt   0   0  0  0 S   2.6  0.0   0:06.80
> migration/32
>
> 27504 qemu  20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
> qemu-kvm
>
> 30222 root  20   0   0  0  0 S   2.0  0.0   0:11.98
> vhost-30219
>
>  6329 vdsm   0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75 vdsm
>
> -
> Please tell me what should I do to improve the video performance.
>
> Thank You
>
> Shalabh Goel
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Video performance

2017-01-05 Thread Shalabh Goel
Hi,

I have installed ovirt engine 4.0.5 on centos 7.3. I installed ovirt-node
on a separate phyical system and added it to ovirt-engine. I installed
windows 7 in a VM on the node. I installed all the virtio drivers in the
guest. The protocol used by me to access VM is Spice  QXL. I have installed
virt-viewer on the clients to access (one is windows and othe ris ubuntu)
  Now, when I pay the sample video "wildlife" in the windows the video
frame rate is very low and it is skipping a aot of frames. I tested it on
both of the clients. The screen resolution is 1280x1024 on ubuntu and
1366x768 on windows.

The *lscpu* output of the node is:

Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):48
On-line CPU(s) list:   0-47
Thread(s) per core:2
Core(s) per socket:12
Socket(s): 2
NUMA node(s):  2
Vendor ID: GenuineIntel
CPU family:6
Model: 62
Model name:Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
Stepping:  4
CPU MHz:   3047.097
BogoMIPS:  5406.43
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  30720K
NUMA node0 CPU(s): 0-11,24-35
NUMA node1 CPU(s): 12-23,36-47

The top command output is showing the following on the node:

PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND

30219 qemu  20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
qemu-kvm

 6178 root  15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
supervdsmServer

  361 root  25   5   0  0  0 S   7.0  0.0 333:14.58
ksmd

  265 root  rt   0   0  0  0 S   2.6  0.0   0:06.80
migration/32

27504 qemu  20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
qemu-kvm

30222 root  20   0   0  0  0 S   2.0  0.0   0:11.98
vhost-30219

 6329 vdsm   0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75
vdsm

-
Please tell me what should I do to improve the video performance.

Thank You

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


Re: [ovirt-users] Unable to connect to console in user portal

2017-01-05 Thread Shalabh Goel
This is the rpm installed in my server.



*ovirt-release40-4.0.5-2.noarch*Looks like I have ovirt 4.0.5 installed.
How to upgrade to 4.0.6?

@Pavel, yes disabling Single sign-on worked.

Thanks a lot everyone.

Shalabh Goel


On Thu, Jan 5, 2017 at 2:46 PM, Tomas Jelinek  wrote:

> It looks like you are hitting this bug: https://bugzilla.redhat.
> com/show_bug.cgi?id=1391146
>
> It should have been fixed in 4.0.6. What exact version of ovirt-engine do
> you have?
>
> On Thu, Jan 5, 2017 at 8:16 AM, Pavel Gashev  wrote:
>
>> Shalabh,
>>
>>
>>
>> Does it help to disable SSO on that VM?
>>
>>
>>
>>
>>
>> *From: * on behalf of Shalabh Goel <
>> shalabhgoe...@gmail.com>
>> *Date: *Wednesday 4 January 2017 at 14:55
>> *To: *users 
>> *Subject: *[ovirt-users] Unable to connect to console in user portal
>>
>>
>>
>> Hi,
>>
>> I have created two VMs on a node. Then I created a user and gave
>> permission to the user for both as UserRole from the web console. Now when
>> I login as the user to the user portal, I can see both the VMs. But when I
>> click connect or double-click on a particular VM, I get an error message
>> "Error while executing action VmLogon: Internal Engine Error".
>>
>> The ovirt engine and node version is 4.0.
>>
>>
>>
>> Please help
>>
>>
>>
>> Thank You
>>
>> Shalabh Goel
>>
>> ___
>> 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] oVirt VNC issue

2017-01-05 Thread Matthias Müller
Hello oVirt users,

 

I am evaluating oVirt at the moment and have an issue with the VNC access of the VMs. Direct console access (with Realvnc viewer) and noVNC is not possible. The window is closed directly or for noVNC only the message "Loading" is shown.

 

oVirt 4 was installed on CentOS 7.3,  engine and node on different machines. I now installed oVirt 3.6 with the all in one option on one CentOS 7.3 x64 and have the same issue. I also checked, if the VM is running in KVM with virsh command, if all ports are open (5900, 6100) and responding, the CA certificate is installed and the services are running.

When I try to connect with Realvnc viewer a password is requested, if I state a wrong one a message is shown, that the access was wrong, if I enter the correct, the window is closed.

 

Do you have any ideas, why it is not working?

 

Thanks

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


Re: [ovirt-users] Unable to connect to console in user portal

2017-01-05 Thread Tomas Jelinek
It looks like you are hitting this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1391146

It should have been fixed in 4.0.6. What exact version of ovirt-engine do
you have?

On Thu, Jan 5, 2017 at 8:16 AM, Pavel Gashev  wrote:

> Shalabh,
>
>
>
> Does it help to disable SSO on that VM?
>
>
>
>
>
> *From: * on behalf of Shalabh Goel <
> shalabhgoe...@gmail.com>
> *Date: *Wednesday 4 January 2017 at 14:55
> *To: *users 
> *Subject: *[ovirt-users] Unable to connect to console in user portal
>
>
>
> Hi,
>
> I have created two VMs on a node. Then I created a user and gave
> permission to the user for both as UserRole from the web console. Now when
> I login as the user to the user portal, I can see both the VMs. But when I
> click connect or double-click on a particular VM, I get an error message
> "Error while executing action VmLogon: Internal Engine Error".
>
> The ovirt engine and node version is 4.0.
>
>
>
> Please help
>
>
>
> Thank You
>
> Shalabh Goel
>
> ___
> 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] New User Portal - gathering feedback

2017-01-05 Thread Marek Libra
Please note, ovirt-4.1.0_beta2 is needed.
It contains recent ovirt-web-ui-0.1.1-2 release.

On Thu, Jan 5, 2017 at 9:57 AM, Marek Libra  wrote:

> Yes, recently just the OAUTH. We are working on fixing the docker image
> which was created before adding SSO support.
>
> On Wed, Jan 4, 2017 at 10:26 AM, Краснобаев Михаил  wrote:
>
>> Good day,
>>
>> just tried to run the new portal in docker, gives a "Login Failed" error.
>> I am running 4.0.5.
>> In engine.log i see:
>> 2017-01-04 11:04:11,692 ERROR [org.ovirt.engine.core.sso.utils.SsoUtils]
>> (default task-19) [] OAuthException access_denied: Cannot authenticate user
>> No valid profile found in credentials.
>>
>> Credentials that I tried "admin", "admin@internal-authz".
>> New portal works only with OAuth?
>>
>>
>> 03.01.2017, 22:51, "Michal Skrivanek" :
>>
>>
>> It doesn't hurt to add a link for the project page:)
>> Check out [1] for more details and also instructions for running a
>> standalone docker container plugged into existing setup. Should work fine
>> with any 4.0+
>>
>> Thanks,
>> michal
>>
>> [1] https://github.com/oVirt/ovirt-web-ui
>>
>> On 03 Jan 2017, at 18:15, Logan Kuhn  wrote:
>>
>>
>> I don't have a test cluster available for this at the moment, but could
>> you send some screenshots?  I'd like to get the resources and that might
>> help
>>
>> Regards,
>> Logan
>>
>> - On Jan 3, 2017, at 6:13 AM, Marek Libra  wrote:
>>
>> Hi,
>>
>> with ovirt-4.1.0_beta2, new Basic User Portal is introduced, so far as
>> tech preview.
>> To try, please follow the new "Basic User Portal" link from the main page.
>>
>> Recently most of previous (GWT based) Basic User Portal's functionality
>> is available.
>> In plan is full conformity and selected features of recent Extended
>> Portal.
>>
>> Following goals were stated for this project:
>> - improve UX by
>>   - modern UI (conforms Patternfly 3)
>>   - faster UI responses
>> - shareable
>>   - built from reusable components to share portions of the UI in other
>> projects (like ManageIQ)
>> - POC for ongoing oVirt UI development
>>   - one of the options for next-gen oVirt UI to consider
>>
>> From technical perspective, the project is based on
>> - oVirt REST API
>> - React/Redux/Saga
>> - Patternfly 3
>> - pure JavaScript App without server-side processing except the existing
>> REST API
>>
>> So far, the project is tech preview to gather user feedback.
>>
>> Please share your comments and ideas, it will really help with ongoing
>> development.
>> Real-life use-cases (both existing or potential) will be much appreciated.
>>
>> Thanks,
>> Marek
>>
>>
>> ___
>> 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
>>
>>
>>
>> --
>> С уважением, Краснобаев Михаил.
>>
>>
>>
>> ___
>> 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] Import guest at rhv4.0.6 failed after convert a regular ova file by virt-v2v

2017-01-05 Thread Kun Wei

Hi,shavivi.

Thank you .Yes,as you know i can import ova directly and it can be import 
successful.

But  i am testing v2v now  and  i want to confirm if it is a new bug.



- Original Message -
From: "Shahar Havivi" 
To: "Kun Wei" , "Yevgeny Zaspitsky" 
Cc: "users" , "Tingting Zheng" , "Ming Xie" 

Sent: Thursday, January 5, 2017 3:05:45 PM
Subject: Re: Import guest at rhv4.0.6 failed after convert a regular ova file 
by virt-v2v

Yevgeny, please look why it fails on "isMacInRange"

Kun, you know that you can import ova directly instead of using virt-v2v to
export domain and then import to data domain,
you can do that from the VMs tab->Import-> and change the source to OVA.

On Thu, Jan 5, 2017 at 4:35 AM, Kun Wei  wrote:

>
> Hi,  I want to confirm a questions if it is a bug,or if something wrong
> with me.Thanks
>
> When i convert a ova guest file to rhv4.0.6 by virt-v2v,but import is
> failed.The attachment are engine.log and vdsm.log.
>
>
>
> Version:
> libguestfs-1.32.7-3.el7_3.2.x86_64
> virt-v2v-1.32.7-3.el7_3.2.x86_64
> qemu-img-rhev-2.6.0-28.el7_3.2.x86_64
> libvirt-2.0.0-10.el7_3.3.x86_64
> rhv4.0: 4.0.6.3
>
> Steps :
> 1:Prepare a regular ova file guest .
> 2:Use virt-v2v to convert the ova file to rhv4.0.
> # virt-v2v -i ova esx-rhel6.8-vmdkgz.tar -o rhev -os 
> 10.73.131.93:/home/nfs_export
> -of qcow2
> [   0.0] Opening the source -i ova esx-rhel6.8-vmdkgz.tar
> [  44.1] Creating an overlay to protect the source from being modified
> [  45.0] Initializing the target -o rhev -os 10.73.131.93:/home/nfs_export
> [  45.3] Opening the overlay
> [  53.1] Inspecting the overlay
> [  70.2] Checking for sufficient free disk space in the guest
> [  70.2] Estimating space required on target for each disk
> [  70.2] Converting Red Hat Enterprise Linux Server release 6.8 (Santiago)
> to run on KVM
> virt-v2v: This guest has virtio drivers installed.
> [ 215.6] Mapping filesystem data to avoid copying unused and blank areas
> [ 216.0] Closing the overlay
> [ 217.2] Checking if the guest needs BIOS or UEFI to boot
> [ 217.2] Assigning disks to buses
> [ 217.2] Copying disk 1/1 to /tmp/v2v.8kDoXb/908b80fa-09a6-
> 4827-8e0a-a6a54520f685/images/47a1919e-1914-44b4-920f-
> b8e208fa4bc1/da74f1c3-8f43-4a15-934a-bb9d380615c3 (qcow2)
> (100.00/100%)
> [ 254.6] Creating output metadata
> [ 254.7] Finishing off
> 3.Then login rhv4.0 and try to import the guest from export domain to data
> domain after finishing the conversion.But it is failed with the
> error:"Failed to import Vm rhel6u8 to Data Center Default, Cluster Default"
> as appendix picture.
>
> -Additional info :
> I can import a guest from kvm or vmware.Only can not import this way.
>
>
> -
> Best Regards,
> Kun Wei
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users