Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature
by Sven Kieske
Am 09.07.2014 20:30, schrieb Arik Hadas:
> Hi All,
>
> The proposed feature will introduce a new process of import virtual machines from external systems using virt-v2v in oVirt.
> I've created a wiki page that contains initial thoughts and design for it:
> http://www.ovirt.org/Features/virt-v2v_Integration
>
> You are more than welcome to share your thoughts and insights.
>
> Thanks,
> Arik
Am I right that this still involves a full operational e.g. esxi host
to import vmware vms?
There is a huge user demand on a simpler process for just converting and
importing an vmware disk image. This feature will not solve this
use case, will it?
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
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
10 years
Re: [ovirt-users] oVirt 3.5 & NAT
by Phil Daws
How does one add multiple custom properties ? tried:
engine-config -s CustomDeviceProperties='{type=interface;prop={vlan=^[a-zA-Z0-9_ ---]+$}}{type=interface;prop={bridge=^[a-zA-Z0-9_ ---]+$}}'
but ended up with one call vlan and the other prop :) If can add vlan and bridge then should be able to use a vNIC profile for adding an interface directly to OVS using a custom hook.
Thanks, Phil
----- Original Message -----
From: "Phil Daws" <uxbod(a)splatnix.net>
To: users(a)ovirt.org
Sent: Monday, 27 October, 2014 3:04:20 PM
Subject: Re: [ovirt-users] oVirt 3.5 & NAT
Well, in fact have got something to work now! Left ovirtmgmt and em1 alone but ran:
$ ovs-vsctl add-br ovsbr0
$ ip link add name veth0 type veth peer name veth1
$ brctl addif ovirtmgmt veth0
$ ovs-vsctl add-port ovsbr veth1
$ ip add add XXX.XXX.XXX.XXX/29 dev veth1
$ ip link set veth0 up && ip link set veth1 up
and now veth1 is responding as-well as veth0.
ovs-vsctl show
08554d11-3ba7-4303-b9d5-6a09f23c9057
Bridge "ovsbr0"
Port "veth1"
Interface "veth1"
Port "ovsbr0"
Interface "ovsbr0"
type: internal
so what I think should do now is create a custom parameter on the Engine Manager that allows one to define an OVS bridge name and VLAN so when a virtual guest is created it can be assigned to the new bridge; with the use of a custom hook.
Thanks, Phil
----- Original Message -----
From: "Phil Daws" <uxbod(a)splatnix.net>
To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Monday, 27 October, 2014 2:10:34 PM
Subject: Re: [ovirt-users] oVirt 3.5 & NAT
Darn, looks like this will not work :( the problem is that oVirt creates the bridge ovirtmgmt and binds that to your interface eg. em1. So at that point you have network running. If you then try to add that to the OVS stack your networking stop :( I tried to add it as a port using ovs-vsctl add-port ovsbr0 ovirtmgmt which is accepted but then networking stops. As soon as I remove again networking comes back to life. There does not seem to be a way to have two co-existing bridges :( Thanks, Phil
----- Original Message -----
From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
To: "Phil Daws" <uxbod(a)splatnix.net>
Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
Sent: Monday, 27 October, 2014 12:13:30 PM
Subject: Re: [ovirt-users] oVirt 3.5 & NAT
----- Original Message -----
> From: "Phil Daws" <uxbod(a)splatnix.net>
> To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> Sent: Monday, October 27, 2014 11:41:56 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
>
> Hi Antoni:
>
> Yes, prior to the reboot it did work okay. This is how it should look I
> believe:
>
> Bridge "ovirtmgmt"
> Port "mgmt0"
> Interface "mgmt0"
> type: internal
> Port "ovsbr0"
> Interface "ovsbr0"
> type: internal
>
> So the bridge would be defined by oVirt then I guess with a custom hook that
> would then be added to the OVS stack ?
exactly! You could just make a hook script that runs an after_network_setup
hook that does the ovs-vsctl for you ;-)
Here you can see the presentation I gave last February at devconf about extending
with configurators and hooks.
http://blog.antoni.me/devconf14/#/8/1
I linked directly to a before_network_setup hook sample, because it works just like
the after_network_setup hook. Instead of logging to systemd, just add that if
'remove' is not in data and network == 'ovirtmgmt', it adds the network bridge to
the vswitch with python's subprocess.call or subprocess.check_output.
You can send it if you want me to take a look ;-)
PS: It is possible to write the hooks in bash, c, perl, etc. But we only have the
convenience read_json methods and such for python. If you wanted to, you could have
a simple bash hook that just checked if there was an ovirtmgmt bridge and it would
add it doing ovs-vsctl in the before_vdsm_start hooking point. That would have the
drawback that changing the ovirtmgmt bridge with oVirt UI would leave it disconnected
again.
>
> Thanks, Phil
>
> ----- Original Message -----
> From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> To: "Phil Daws" <uxbod(a)splatnix.net>
> Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> Sent: Monday, 27 October, 2014 9:56:38 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
>
>
>
> ----- Original Message -----
> > From: "Phil Daws" <uxbod(a)splatnix.net>
> > To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> > Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> > Sent: Monday, October 27, 2014 10:37:18 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> >
> > That is what I tried but oVirt appears to overwrite the bridge information
> > on
> > boot :( Thanks, Phil
>
> But before rebooting, does it work as you intended? If so, you could just
> make
> a vdsm hook that adds ovirtmgmt to the ovs bridge after it is set up. (I
> could
> give more directions into how to do it).
>
> >
> > ----- Original Message -----
> > From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> > To: "Phil Daws" <uxbod(a)splatnix.net>
> > Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> > Sent: Monday, 27 October, 2014 8:00:33 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> >
> >
> >
> > ----- Original Message -----
> > > From: "Phil Daws" <uxbod(a)splatnix.net>
> > > To: "Dan Kenigsberg" <danken(a)redhat.com>
> > > Cc: users(a)ovirt.org
> > > Sent: Saturday, October 25, 2014 5:02:59 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > >
> > > Hmmm, this is becoming difficult ..
> > >
> > > I have added into the engine the custom hook and understand how that will
> > > work. The issue is how can a single NIC use two different bridges ?
> > > Example with OVS would be that one requires:
> > >
> > > em1 -+ ovirtmgmt (bridge) -> management IP (public)
> > > + ovs (bridge) -> firewall IP (public)
> > > |
> > > + vlan 1
> > > + vlan 2
> > >
> > > this works fine when using OVS and KVM, without oVirt, so there must be a
> > > way
> > > to hook the two together without a Neutron appliance.
> > >
> > > Any thoughts ? Thanks, Phil.
> >
> > I haven't tried this, and it may not work, but what happens if you add the
> > ovirtmgmt
> > bridge as a port of the ovs bridge?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dan Kenigsberg" <danken(a)redhat.com>
> > > To: "Phil Daws" <uxbod(a)splatnix.net>
> > > Cc: users(a)ovirt.org
> > > Sent: Wednesday, 22 October, 2014 3:54:46 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > >
> > > On Wed, Oct 22, 2014 at 03:12:09PM +0100, Phil Daws wrote:
> > > > Thanks Dan & Antoni:
> > > >
> > > > I wonder then if I could replace the standard libvirt defined network
> > > > with
> > > > an OpenVSwitch one like I have on my dev system? That is just straight
> > > > KVM with OVS integrated. Maybe a bit more overhead in administration
> > > > but
> > > > possibly less than having to spin up a Neutron Appliance.
> > >
> > > Once you start to use the vdsm-hook-extnet, all that you need to do is
> > > to replace the libvirt-side definition of the "external network". This
> > > may well be an OpenVSwitch-based network e.g.
> > > http://libvirt.org/formatnetwork.html#elementVlanTag
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
10 years, 1 month
Sizing the master storage domain
by Nicolas Ecarnot
Hi,
I know Itamar explained that the notion of master storage domain will
disappear in some releases.
But now, with a 3.4 I'm installing, I was wondering :
- on my other oVirt setups, I started with one big (iSCSI) LUN, which is
the master, and stored as many VMs I could
- when space came to miss, I added another LUN, the another...
- when I have to do some maintenance (grow, disable, other...) on a LUN,
I can move my VM disks amongst the normal storage domains. When Empty, I
can switch them off, add others, and so on
The only one I can not play with is the master one.
I came to think that I had no benefice storing anything on the master
storage domain, and use only the normal storage domains.
And then, I came to think I had no reason to dedicate a huge LUN for the
master.
Ok, but according to you, what is the minimum reasonable size for a
master storage domain?
--
Nicolas Ecarnot
10 years, 1 month
change ovirt and node hostname.fqdn - all in one installation
by Grzegorz Szypa
Hi.
I have a problem with changing ovirt hostname:
I change the following:
1. config in /etc/hosts and /etc/sysconfig/network and restart machine
2. /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename --newname=<new
hostname.fqdn>
3. engine-setup
But still a problem with changing address in node in webadmin portal.
Have somebody any idea how to do it?
--
G.Sz.
10 years, 1 month
Migrating from Fedora 19 to Fedora 20 with oVirt 3.5.0
by Sandro Bonazzola
Hi,
just finished testing migration path from F19 to F20 for systems running oVirt.
F19 is going EOL one month after F21 release which is currently planned for December 2nd.
If you're running oVirt on Fedora 19 I suggest you to do it once finished to upgrade oVirt to 3.5.0.
I've saved some notes in the test request bug[1]:
Bug 1131828 - Test upgrade path from Fedora 19 with oVirt 3.5.z to Fedora 20
Enjoy!
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1131828
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 1 month
Re: [ovirt-users] Ovirt VM Performance abd CPU times
by Daniel Helgenberger
On 29.10.2014 11:48, Xavier Naveira wrote:
> On 10/29/2014 11:47 AM, Xavier Naveira wrote:
>> On 10/29/2014 11:40 AM, Daniel Helgenberger wrote:
>>>
>>>
>>> On 29.10.2014 10:21, Xavier Naveira wrote:
>>>> Hi,
>>>>
>>>> We are migrating our ifrastructure from kvm+libvirt hypervisors to
>>>> ovirt.
>>>>
>>>> Everything is working fine but we're noticing that all the qemu-kvm
>>>> processes in the hypervisors take a lot of CPU.
>>> Without further details of the workload this is hard tell. One Reason I
>>> can think of might be KSM [1]. Is it enabled on your cluster(s)? What is
>>> your mem over-commitment setting?
>>>
>>> Note, IIRC the KSM policy is currently hard coded; it will start at 80%
>>> host mem usage.
>>>
>>> [1] http://www.ovirt.org/Sla/host-mom-policy
>>>>
>>>> The typical example is an idle machine, running top from the machine
>>>> itself it reports cpu use percentages below 10% and loads (with 2
>>>> processors) of 0.0x. The process running that machine in the hypervisor
>>>> rports cpu uses in the order of the 80-100%.
>>>>
>>>> Should the values look like this? Why are the idle machines eating up so
>>>> much CPU time?
>>>>
>>>> Thank you.
>>>> Xavier
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>
> Hi, thank you for the answer.
>
> I've been trying to work out some pattern and realized that the VMs
> using that much cpu all are Redhat 5.x, the Readhat 6.x doesn't exhibit
> this kind of high cpu use. (we run only redhat/centos 5.x/6.x on the
> cluster)
What OS are the hosts running? In case of EL6, make sure you have
tuned-0.2.19-13.el6.noarch installed [1].
To further investigate please post Engine, VDSM, libvirt and kernel
versions from the hosts.
[1] https://access.redhat.com/solutions/358033
>
> I'll take a look to the KSM config.
>
> Cheers,
>
> Xavier
>
--
Daniel Helgenberger
m box bewegtbild GmbH
P: +49/30/2408781-22
F: +49/30/2408781-10
ACKERSTR. 19
D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767
10 years, 1 month
webhook
by Koen Vanoppen
Hi all,
Just a quick question. Is it possible to set a webhook on the removal and
creation of a new vm? So we can send to foreman a delete action when the VM
is deleted...
Kind regards,
Koen
10 years, 1 month
Add multiple files to a VM via cloud-init
by Branimir Pejakovic
Hi list,
I was wondering is there a way to add multiple files to a vm via cloud-init
using python SDK. I was able to add /etc/resolv.conf and additionally I
would like to add config files for NICs (ifcfg-ethX) with appropriate
values (ip,gw,netmask). I used an example given here:
http://www.ovirt.org/Features/Cloud-Init_Integration . But unfortunately I
cannot do the same thing If I want to write multiple files to a vm in
params.Action class.
Thank you in advance!
Best regards,
Branimir
10 years, 1 month
GlusterFS Distributed Replicate HA with KeepAlived
by Punit Dambiwal
Hi,
I have 4 node GlusterFS Distributed Replicate volume...the same 4 host node
i am using for compute purpose....now i want to make it HA....so if any
host goes down .....VM will not pause and it will migrate to another
available node...
1. Can any one have any document or reference to do this with keepalived...
2. I have one more node as spare...so if any host goes down and can not
come up again because of any HW failure...i can add it...but i didn't find
any way to add these bricks to volume...??
Thanks,
Punit
10 years, 1 month