[ovirt-users] Will Shared storage distributes Compute and Storage Resources?

2016-06-18 Thread Dewey Du
I use GlusterFS as my Shared storage to hold the Virtual Machines. I
confuse what does Host ( oVirt Node) do. Will the VMs use the Compute
Resources of Host (oVirt Node), such as CPU, Memory? And GlusterFS servers
are used for store the VM images?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-18 Thread Pavel Gashev
Cam,

«Inventory -> Hosts and Clusters» represents path to required host in URL.

On 17/06/16 16:04, "Cam Mac" > 
wrote:

It is not visible in the default tree view, but if you go to 
Home->Inventory->VMs and Templates you can see the folders.

The structure looks like:

nssesxi-mgmt
   --> North Sutton Street
--> Systems
 --> vm1 etc

Not sure why the cluster name disappears from this view.

Cheers,

Campbell

On Fri, Jun 17, 2016 at 12:25 PM, Pavel Gashev 
> wrote:
So there is no Systems folder?

Try:
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt.ldn.arda.net?no_verify=1


On 17/06/16 14:10, "Cam Mac" > 
wrote:

Hi Pavel,

I can't do a screenshot right now, but the structure in vCenter is:

nssesxi-mgmt.ldn.arda.net
  --> North Sutton Street
--> nssesxi
  --> 
nssesxi01-mgmt.ldn.arda.net
   
nssesxi02-mgmt.ldn.arda.net
   
nssesxi03-mgmt.ldn.arda.net
   
nssesxi04-mgmt.ldn.arda.net
   
nssesxi05-mgmt.ldn.arda.net

I've tried fully qualified names, but the same error occurs.

Cheers,

Cam

On Fri, Jun 17, 2016 at 11:15 AM, Pavel Gashev 
> wrote:
Cam,

It's another error. Now there is an issue with esxi server name – 
'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot of 
vcenter tree would help.

Please note, there is no need to double escape the URL.

On 17/06/16 13:00, "Cam Mac" > 
wrote:

Hi Pavel,

I've tried those URLs (and quite a few other permutations) but get the 
following errors:

vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

If I double escape the spaces with %2520, it reports it can't find the 
datacenter.

Cheers,

Campbell



On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev 
> wrote:
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://

Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-18 Thread Pavel Gashev
Basically, I boot windows in safe mode and remove vmware tools. In this case I 
was able to use old VM if there are issues with conversion. Of course you can 
remove vmware tools before migration.

Linux VMs do not need the convertor. The procedure is much simpler:
1. Make sure you don't use device names in /etc/fstab and grub
2. Make sure initramfs has required drivers:
dracut -f --add-drivers "virtio virtio_net virtio_blk virtio_scsi virtio_pci"
3. Create appropriate VM in oVirt. Disks must be in raw format (default), but 
sparse. NICs must have the same MACs.
4. Hard link vmware and ovirt disk images, and fix permissions (chown 36:36 / 
chmod 0660)
5. Shutdown VM in vmware and immediately start VM in oVirt

On 17/06/16 16:08, "Cam Mac" > 
wrote:

Hi Pavel,

Just to clarify: I've read on the virt-v2v page that you should remove the 
VMware tools from the Windows VM before migration - for step 13 in your list, 
does that apply only to non-windows VMs?

Cheers,

Cam

On Fri, Jun 17, 2016 at 10:54 AM, Cam Mac 
> wrote:
Hi Pavel,

I was testing an import of a Win 7 VM, though there are 2012 ones to import as 
well. Thanks for all those steps, I'll try them out.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev 
> wrote:
Cam,

I did import vmware VMs, but it was not an easy procedure. Last time I did it, 
there were the following issues:
* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you 
are not able to see the list VMs to import.
* There were issues if you have a cluster in vCenter. I had to setup a proxy 
server to fix URLs on the fly, but then I've found a better way. See below.
* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v 
from Fedora.

Thus, if you want to convert it manually, the procedure is the following:
1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
2. Setup a VM with latest Fedora, install virt-v2v.
3. Mount your NFS storage inside v2v VM.
4. Move windows VMs to the same NFS storage.
5. Connect to vcenter using the following command:
virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
6. Find windows VM using 'list' command, and dump config using 'dumpxml 
VMNAME/ID'
7. Edit the xml providing full path to vmdk images (see «source file=»)
8. Create appropriate VM in oVirt
9. Find new VM IDs using ovirt-shell
10. Make sure the source VM is stopped
11. Execute virt-v2v (make sure:
virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os 
/nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 
368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 
2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid 
421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools 
and drivers.

I hope this helps.

On 15/06/16 20:41, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and 
I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 
2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling 
case for getting rid of VMware. Using OVF files looks like a lot more manual 
work as compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam


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


[ovirt-users] Hosted Engine Spamming Transition E-Mails

2016-06-18 Thread Charles Tassell

Hi Folks,

  I'm having a strange issue with my 3.6 setup.  For the past few days 
the system has been spamming me with "The state machine changed state" 
E-Mails.  First I get the "EngineUnexpectedlyDown-EngineDown", then 
"EngineDown-EngineStart" then "EngineStart-EngineStarting"  I checked 
the hosted engine VM and it's been up for 16 days and the system looks 
to be running fine, so I'm wondering what's going on.


 And when I say spamming, I mean I'm getting 200+ E-Mails a day.  It 
seems to trigger every 20 minutes or so with about 2 minutes between 
each of the 3 messages in the set.

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


Re: [ovirt-users] Stuck process in the "Tasks" tab (webadmin interface)

2016-06-18 Thread Arman Khalatyan
Restart engine, or run  engine-setup it will clear Zombie tasks.
Am 17.06.2016 3:08 nachm. schrieb "Alexis HAUSER" <
alexis.hau...@telecom-bretagne.eu>:

> hi,
>
> I realized that I still have a process of creating a VM pool in the Tasks
> since...May 20...
> How can I check if there is a stuck job or something still trying to do it
> ? If nothing is going on, how can I clear this from the event logs ?
> ___
> 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] update eats maintenance reason

2016-06-18 Thread Sandro Bonazzola
Il 17/Giu/2016 12:38, "Sven Kieske"  ha scritto:
>
> On 17/06/16 12:00, Fabrice Bacchella wrote:
> > I put an host in maintenance with 'update reason' :
> >
> > 
> > maintenance
> > update
> > 
> >
> > Then click "Upgrade in the GUI, the maintenance reason is gone :
> > 
> > maintenance
> > 
> >
> > Using the API gave the same result.
>
> I'd suggest opening a bug report or RFE at bugzilla.redhat.com (ovirt
> project).

Karma +1
looks like a bug.

>
> HTH
>
>
> --
> Mit freundlichen Grüßen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +495772 293100
> F: +495772 29
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
Oeynhausen
>
>
> ___
> 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