[Users] about live snapshot and qemu-kvm
by Nathanaël Blanchet
This is a multi-part message in MIME format.
--------------080009080202040109020900
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi all,
I'm about to migrate from the dreyou 3.2 repo to the official 3.3
repositories. I was used to take live snapshot with
qemu-kvm-rhev-0.12.1.2-2.355.el6.5.x86_64 which was recompiled from the
redhat srpms, because live snapshot was not supported by the official
qemu-kvm in el6.4.
* Does now 6.5 include the correct qemu-kvm version for live snapshot?
* If not why does redhat provide a separate qemu package for RHEV
while fedora has got the correct package?
* Does ovirt team provide support for el6 live snapshot "out of the
box" or do they recommend to get the correct qemu-kvm version from
the rhev repository?
Assuming that redhat doesn't provide the same qemu-kvm in rhev than in
el6, what about including qemu-kvm-rhev in the ovirt el6 repository as
dreyou did ?
Thanks
--
Nathanaël Blanchet
Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
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
blanchet(a)abes.fr
--------------080009080202040109020900
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi all,<br>
<br>
I'm about to migrate from the dreyou 3.2 repo to the official 3.3
repositories. I was used to take live snapshot with
qemu-kvm-rhev-0.12.1.2-2.355.el6.5.x86_64 which was recompiled
from the redhat srpms, because live snapshot was not supported by
the official qemu-kvm in el6.4.<br>
</font>
<ul>
<li><font size="-1">Does now 6.5 include the correct qemu-kvm
version for live snapshot?</font></li>
<li><font size="-1">If not why does redhat provide a separate qemu
package for RHEV while fedora has got the correct package? <br>
</font></li>
<li><font size="-1">Does ovirt team provide support for el6 live
snapshot "out of the box" or do they recommend to get the
correct qemu-kvm version from the rhev repository?</font></li>
</ul>
<font size="-1">Assuming that redhat doesn't provide the same
qemu-kvm in rhev than in el6, what about including qemu-kvm-rhev
in the ovirt el6 repository as dreyou did ?<br>
<br>
Thanks <br>
</font><br>
<font size="-1"><br>
</font>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
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
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet(a)abes.fr</a> </pre>
</body>
</html>
--------------080009080202040109020900--
10 years, 10 months
[Users] How do I add a node?
by Rob Abshear
This is a multi-part message in MIME format.
--------------070509040507000705010302
Content-Type: text/plain; charset=US-ASCII; format=flowed
I am thoroughly confused at this point. I have three servers. One for
a controller and two for nodes. These servers were used as an oVirt
environment just last week. But, now, when I try to do a fresh
installation with the exact same configuration as before, I can't add
nodes. Here is the process I used previously:
1. Install Fedora (minimum install) on each machine
2. Install tar on each node machine
3. Install the engine on the controller machine.
4. Add nodes using IP and password in the web admin interface and let
the controller build the node.
5. Profit.
Now that procedure does not work. When I try it that way, the node
installs and then fails with an error that it can't configure the
management network on the node. I have a second working oVirt
environment, but I can't even add the nodes into that one. So, I decide
to try installing using the oVirt Quick Start document located at
http://www.ovirt.org/Quick_Start_Guide. The problem is that, there is no
"oVirt Engine" tab in the administration app. It's my understanding
from the document that this is how you tell the node which controller it
should be allowing. I can't add the nodes that I built with the oVirt
Node Installation CD. The documentation on this is so sparse that I
can't figure out what's going on. It was so easy to set up before, but
I'm having nothing but trouble, now. I have been at this for days, when
the first time took me about an hour. What am I missing? Could someone
either update the Quick Start guide, or reply with some up-to-date
instructions on how to install this environment? FYI, I am doing this
with completely fresh installs of Fedora 19. No software is being
reused or reconfigured. It's completely stock.
Controller=192.168.165.70
Node01=192.168.165.71
Node02=192.168.165.72
All are connected via the same switch. I can ping all the three machines
from each other. If I try to ssh from the controller into either of the
nodes, I get "Read from socket failed: Connection reset by peer". If I
attempt to ssh into either of the nodes from another machine on the
network, I get the same message. If I try to add either node using the
web interface, It fails with: Error while executing action: Cannot add
Host. Connecting to host via SSH has failed, verify that the host is
reachable (IP address, routable address etc.) You may refer to the
engine.log file for further details. The engine.log shows: 2013-12-13
12:21:29,714 WARN [org.ovirt.engine.core.bll.AddVdsCommand]
(ajp--127.0.0.1-8702-3) CanDoAction of action AddVds failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__HOST,$server
192.168.164.71,VDS_CANNOT_CONNECT_TO_SERVER
Please help!
--
*NADA Convention & Expo*: January 24-27, 2014 - New Orleans, LA - Booth
5001
<http://www.bbb.org/south-east-florida/business-reviews/advertising-agenci...><http://www.bbb.org/south-east-florida/business-reviews/advertising-agenci...>
--------------070509040507000705010302
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DISO-8=
859-1">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
I am thoroughly confused at this point. I have three servers.&nbs=
p; One
for a controller and two for nodes. These servers were used as an
oVirt environment just last week. But, now, when I try to do a
fresh installation with the exact same configuration as before, I
can't add nodes. Here is the process I used previously:<br>
1. Install Fedora (minimum install) on each machine<br>
2. Install tar on each node machine<br>
3. Install the engine on the controller machine.<br>
4. Add nodes using IP and password in the web admin interface and
let the controller build the node.<br>
5. Profit.<br>
<br>
Now that procedure does not work. When I try it that way, the nod=
e
installs and then fails with an error that it can't configure the
management network on the node. I have a second working oVirt
environment, but I can't even add the nodes into that one. So, I
decide to try installing using the oVirt Quick Start document
located at
<meta http-equiv=3D"content-type" content=3D"text/html;
charset=3DISO-8859-1">
<a href=3D"http://www.ovirt.org/Quick_Start_Guide">http://www.ovirt.org=
/Quick_Start_Guide</a>.
The problem is that, there is no "oVirt Engine" tab in the
administration app. It's my understanding from the document that
this is how you tell the node which controller it should be
allowing. I can't add the nodes that I built with the oVirt Node
Installation CD. The documentation on this is so sparse that I
can't figure out what's going on. It was so easy to set up before=
,
but I'm having nothing but trouble, now. I have been at this for
days, when the first time took me about an hour. What am I
missing? Could someone either update the Quick Start guide, or
reply with some up-to-date instructions on how to install this
environment? FYI, I am doing this with completely fresh installs =
of
Fedora 19. No software is being reused or reconfigured. It'=
s
completely stock.<br>
<br>
Controller=3D192.168.165.70<br>
Node01=3D192.168.165.71<br>
Node02=3D192.168.165.72<br>
<br>
All are connected via the same switch. I can ping all the three
machines from each other. If I try to ssh from the controller int=
o
either of the nodes, I get "Read from socket failed: Connection
reset by peer". If I attempt to ssh into either of the nodes from
another machine on the network, I get the same message. If I try =
to
add either node using the web interface, It fails with: Error while
executing action: Cannot add Host. Connecting to host via SSH has
failed, verify that the host is reachable (IP address, routable
address etc.) You may refer to the engine.log file for further
details. The engine.log shows: 2013-12-13 12:21:29,714 WARN=
[org.ovirt.engine.core.bll.AddVdsCommand] (ajp--127.0.0.1-8702-3)
CanDoAction of action AddVds failed.
Reasons:VAR__ACTION__ADD,VAR__TYPE__HOST,$server
192.168.164.71,VDS_CANNOT_CONNECT_TO_SERVER<br>
<br>
Please help!<br>
</body>
</html>
<br>
<img src=3D"http://goo.gl/NKPFh"><br><br><div><b style=3D"font-family:Arial=
;font-size:small">NADA Convention & Expo</b><span style=3D"font-family:=
Arial;font-size:small">: January 24-27, 2014 - New Orleans, LA - Boot=
h 5001</span></div><a href=3D"http://www.bbb.org/south-east-florida/busines=
s-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448" target=
=3D"_blank"><img src=3D"http://goo.gl/63JJt" style=3D"font-size:1.3em"></a>=
<a href=3D"http://www.bbb.org/south-east-florida/business-reviews/advertisi=
ng-agencies/citytwist-in-boca-raton-fl-90033448" target=3D"_blank"><img src=
=3D"http://seal-seflorida.bbb.org/seals/blue-seal-96-50-citytwist-90033448.=
png"></a>
--------------070509040507000705010302--
10 years, 10 months
[Users] virt-v2v fail - GuestfsHandle.pm error + Redhat.pm error
by Nicolas Ecarnot
Hi,
After having successfully migrated Debian, XP, 2003, 2008 VMs, I'm stuck
with a migration I was expecting to be easy : RHAS3.
Here is the error log I get :
> # virt-v2v -i libvirt -ic qemu+ssh://xxxx@xxxx/system -o rhev -os xxxx:/data/vmexport -of qcow2 -oa sparse -n ovirtmgmt serv-rhas3-vm1
> serv-rhas3-vm1_copy.raw: 100% [=====================================================================================================]D 0h10m14s
> virt-v2v: Pas de capability dans la configuration correspondant à os='linux' name='virtio' distro='rhel' major='3' minor='0'
> virt-v2v: Pas de capability dans la configuration correspondant à os='linux' name='cirrus' distro='rhel' major='3' minor='0'
> virt-v2v: WARNING: Le pilote d'affichage a été modifié en cirrus, mais il est impossible d'installer le pilote cirrus. X pourrait ne pas fonctionner correctement
> virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique /dev/fd0 inconnu. Cette entrée doit être corrigée manuellement après la conversion.
> virt-v2v: WARNING: /boot/grub/device.map fait référence à un périphérique /dev/sda inconnu. Cette entrée doit être corrigée manuellement après la conversion.
> sh: sh: at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 200.
> at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 2321
I don't mind the warnings and I also had such errors I was able to
correct manually.
But here, the last two lines are lethal.
It seems oVirt tries to guess which OS is imported, and tries to do
specific actions, and do them bad.
Either there's a way o prevent oVirt from guessing, either there's a way
to correct the actions oVirt is failing to do...
Googling was not that helpful about this issue.
Regards.
--
Nicolas Ecarnot
10 years, 10 months
[Users] Ovirt Gluster problems
by Juan Pablo Lorier
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--K1RorUOWmjDsov5Mv5auigJcOlmISEK1x
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I had some issues with a gluster cluster and after some time trying to
get the storage domain up or delete it (I opened a BZ about a deadlock
in the process of removing the domain) I gave up and destroyed the DC.
The thing is that I want to add the hosts that where part of the DC and
now I get that I can't as they have the volume. I try to stop the volume
but I can't as no host is running in the deleted cluster and for some
reason, ovirt needs that.
I can't delete the hosts either as they have the volume... so I'm back
in another chicken and egg problem.
Any hints??
PD: I can't nuke the hole ovirt plataform as I have another DC in
production.... otherwise I would :-)
Regards,
--K1RorUOWmjDsov5Mv5auigJcOlmISEK1x
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJS5+vaAAoJEC5KDDg2+NMMHR4H/1kf5+MMK9VMbNn0cNLXOsDL
pLcFHMAqq5+C5XvA0CrKgsEpTNvkjH49X3hB/ulhwDtXDJBLcoHVC+mAoqMmbkeQ
1bJaUCNQtst9BYOtJ4eq5ZXCGpB7rvEe5wZGuBeJqZUFnJ1FekVc3F1RXbfBmVeE
ELQlJ0rp4cufZod8TwNh1O+wSx0nVHC9TJPKPSPA/qKMqrG2IIiR/3wGlFpeu3QJ
eBcvixk7wf8YyxGvOwBDYVoc4+tYCHmqHiGAj6E6lDAVDySgvRTg/wH5OkoYGpn1
tSRiLWlSzd1A+XpKveOabPdBfOKqSoSUTfgq+NiwTD/9cKJuElb2g5F6UycjPAw=
=oHX+
-----END PGP SIGNATURE-----
--K1RorUOWmjDsov5Mv5auigJcOlmISEK1x--
10 years, 10 months
[Users] oVirt 3.4 test day - results
by Alexander Wels
Hi, I tested the following items during the test day and here are my results:
1. "reboot VM" functionality
The related feature page is: http://www.ovirt.org/Features/Guest_Reboot
The feature page mentions a policy selection checkbox which I was unable to find in
the web admin UI at all. I checked the patches that implement the feature and did not
see the check box implementation. The patches did show me that all I need to use the
feature was to install the guest agent on the guest. So for my test I installed a fedora
guest, and I installed the guest agent on the guest. After about a minute after starting
the guest, the reboot button was enabled and pressing it started the reboot sequence
on the guest.
I had a console open on the guest and it informed me that the admin had started the
reboot process and the guest would be rebooted in a minute. I did not find a way to
change the time it took for the reboot to happen.
I did the same test with the REST api, with the same result. The reboot was scheduled
for a minute after I issued the command. I did not find a way to change the time with
the REST api either. I am guessing that is a future feature.
2. Fix Control-Alt-Delete functionality in console options
I had trouble getting spice to work in my test setup, but no issues with VNC. So I
tested VNC. I checked the VM console options to make sure that 'Map ctrl-alt-del
shortcut to ctrl+alt+end' was checked. Then I connected to a running VM with VNC. I
pressed ctrl-+alt+end expected it to issue a ctrl-alt-del to the guest. Nothing
happened. I pressed ctrl-alt-del and it properly issued ctrl-alt-del to the guest. I made
sure there was no issue with my client by using the menu to issue a ctrl-alt-del to the
guest which also resulted in the proper action on the guest. I opened a bug for this:
/https://bugzilla.redhat.com/show_bug.cgi?id=1057763/[1]
I did this test on my Fedora machine, and the description mentions that certain OSes
capture the ctrl-alt-del before sending it to the guest, Fedora is not one of those OSes,
so maybe my test was not valid?
3. Show name of the template in General tab for a VM if the VM is
deployed from template via clone allocation.
This is a very straight forward test. I created a template from a VM. I named the
template. Then created a VM from that template using clone allocation. I verified that
the name of the template is now properly shown in the VM general sub tab. Works as
expected.
Overall I had issues getting engine installed due to the shmmax issue reported in
other threads, and then I had a really hard time adding new hosts from a blank fedora
minimum install. I was successful one out of three attempts, which I feel was probably
an yum repository issue as I was getting conflicting python-cpopen issues causing
VDSM to not start.
Thanks,
Alexander
--------
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1057763
10 years, 10 months
[Users] spice html5 - windows inverted
by Neil Schulz
Good Morning Everyone,
I installed the Spice guest tools on my windows machine and now
everything is inverted. I am unable to use the machine anymore. The
biggest issue was the mouse not syncing up. That issue was solved after
installing the tools, however the inverted screen kind of makes that fix
pointless. Is there a fix to this?
Along with that, I haven't noticed it on a Windows 2008 R2 server yet,
however, I cannot use Ctl+Alt+Delete in Spice HTML5 to test it.
Thank you,
Neil
10 years, 10 months
[Users] Xeon 5060 support "Dempsey"
by Peter Galgano
Thanks in advance for any help you can provide
We are testing Ovirt 3.2.2 on a 2007 vintage dual Xeon 5060 (Dempsey)
Supermicro Superserver.
http://en.wikipedia.org/wiki/Xeon#5000-series_.22Dempsey.22. This hardware
runs Centos 6.5 and KVM / virt manager just fine, and we have be running
many virtual machines on this hardware with reasonable performance for many
years
We are getting the message: "Non-Operational state as host does not meet
the cluster's minimum CPU level" each time we create a host.
After researching this list, we are coming to the conclusion that this
older processor is not being recognized by ovirt.
Output of virsh -r capabilities and vdsClient -s 0 getVdsCaps are posted
below.
We havent found anyone with exactly this use case in our research. The
closest thread is this:
http://lists.ovirt.org/pipermail/users/2012-May/007536.html
This poster was able to add some lines to the db to recognize his
processor. Here is the advice he received in that post.
> ok, indeed an old host.
> the below config is what we used before going to the 'model' approach, so
you can try this out (though highly recommended for newer cpu since they
improved virt support in each generation)
>
> set the ServerCPUList config to this string for the relevant cluster
compatibility level.
>
> I'm not sure upgrade won't override this for you though, so pay attention
on upgrades to such a low level tweak (it's config, but not all configs are
really expected to be changed by user)
>
> '2:Intel Xeon w/o XD/NX:vmx,sse2:qemu64,-nx,+sse2; 3:Intel
Xeon:vmx,sse2,nx:qemu64,+sse2; 4:Intel Conroe
Family:vmx,sse2,nx,cx16,ssse3:qemu64,+sse2,+cx16,+ssse3; 5:Intel Penryn
Family:vmx,sse2,nx,cx16,ssse3,sse4_1:qemu64,+sse2,+cx16,+ssse3,+sse4.1;
6:Intel Nehalem
Family:vmx,sse2,nx,cx16,ssse3,sse4_1,sse4_2,popcnt:qemu64,+sse2,+cx16,+ssse3,+sse4.1,+sse4.2,+popcnt;
2:AMD Opteron G1 w/o NX:svm,sse2:qemu64,-nx,+sse2; 3:AMD Opteron
G1:svm,sse2,nx:qemu64,+sse2; 4:AMD Opteron
G2:svm,sse2,nx,cx16:qemu64,+sse2,+cx16; 5:AMD Opteron
G3:svm,sse2,nx,cx16,sse4a,misalignsse,popcnt,abm:qemu64,+sse2,+cx16,+sse4a,+misalignsse,+popcnt,+abm;'
We think we understand what is happening: our processors capabilities will
be matched by processor type line 2 or 3, and then the host won't be
rendered "non-operational".
My Questions:
1. is this the correct change to ServerCPUList config in the db,
2. Is this the proper way to get support for older processors?
3. Is this documented anywhere? Can someone please help with a step by step
for less experienced users?
4. Wouldn't it be reasonable to expect Ovirt to support processors that KVM
supports by default? What is the minimum perceived processor expected to
be? why is is conroe, when perfectly functional processors a few months
older cause errors?
The server hardware we are using is fine for our purposes, we don't intend
to upgrade for this purpose.at this time.
Thanks again
Peter
[root@sun1 /]# virsh -r capabilities
<capabilities>
<host>
<uuid>46d8f975-c4c9-44af-b4f8-d4851e2331e0</uuid>
<cpu>
<arch>x86_64</arch>
<model>cpu64-rhel6</model>
<vendor>Intel</vendor>
<topology sockets='2' cores='2' threads='2'/>
<feature name='pdcm'/>
<feature name='xtpr'/>
<feature name='cid'/>
<feature name='vmx'/>
<feature name='ds_cpl'/>
<feature name='monitor'/>
<feature name='dtes64'/>
<feature name='pbe'/>
<feature name='tm'/>
<feature name='ht'/>
<feature name='ss'/>
<feature name='acpi'/>
<feature name='ds'/>
<feature name='vme'/>
</cpu>
[root@sun1 /]# vdsClient -s 0 getVdsCaps
HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:f52e99df611'}]}
ISCSIInitiatorName = 'iqn.1994-05.com.redhat:f52e99df611'
bondings = {'bond0': {'addr': '',
'cfg': {},
'hwaddr': '00:00:00:00:00:00',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'slaves': []},
'bond1': {'addr': '',
'cfg': {},
'hwaddr': '00:00:00:00:00:00',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'slaves': []},
'bond2': {'addr': '',
'cfg': {},
'hwaddr': '00:00:00:00:00:00',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'slaves': []},
'bond3': {'addr': '',
'cfg': {},
'hwaddr': '00:00:00:00:00:00',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'slaves': []},
'bond4': {'addr': '',
'cfg': {},
'hwaddr': '00:00:00:00:00:00',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'slaves': []}}
bridges = {'br0': {'addr': '192.168.0.5',
'cfg': {'BOOTPROTO': 'none',
'BROADCAST': '192.168.0.255',
'DELAY': '0',
'DEVICE': 'br0',
'GATEWAY': '192.168.0.250',
'IPADDR': '192.168.0.5',
'IPV6INIT': 'no',
'MACADDR': '',
'MTU': '',
'NAME': '',
'NETMASK': '255.255.255.0',
'NETWORK': '192.168.0.0',
'ONBOOT': 'yes',
'STP': 'on',
'TYPE': 'Bridge'},
'gateway': '192.168.0.250',
'ipv6addrs': ['fe80::230:48ff:fe78:88cc/64'],
'ipv6gateway': '::',
'mtu': '1500',
'netmask': '255.255.255.0',
'ports': ['eth0', 'vnet0'],
'stp': 'on'}}
clusterLevels = ['3.0', '3.1', '3.2', '3.3']
cpuCores = '4'
cpuFlags =
'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,pebs,bts,pni,dtes64,monitor,ds_cpl,vmx,cid,cx16,xtpr,pdcm,lahf_lm,tpr_shadow,model_coreduo'
cpuModel = 'Intel(R) Xeon(TM) CPU 3.20GHz'
cpuSockets = '2'
cpuSpeed = '1200.000'
cpuThreads = '8'
emulatedMachines = ['rhel6.5.0',
'pc',
'rhel6.4.0',
'rhel6.3.0',
'rhel6.2.0',
'rhel6.1.0',
'rhel6.0.0',
'rhel5.5.0',
'rhel5.4.4',
'rhel5.4.0']
guestOverhead = '65'
hooks = {}
kvmEnabled = 'true'
lastClient = '192.168.0.5'
lastClientIface = 'br0'
management_ip = '0.0.0.0'
memSize = '10020'
netConfigDirty = 'False'
networks = {'br0': {'addr': '192.168.0.5',
'bridged': True,
'cfg': {'BOOTPROTO': 'none',
'BROADCAST': '192.168.0.255',
'DELAY': '0',
'DEVICE': 'br0',
'GATEWAY': '192.168.0.250',
'IPADDR': '192.168.0.5',
'IPV6INIT': 'no',
'MACADDR': '',
'MTU': '',
'NAME': '',
'NETMASK': '255.255.255.0',
'NETWORK': '192.168.0.0',
'ONBOOT': 'yes',
'STP': 'on',
'TYPE': 'Bridge'},
'gateway': '192.168.0.250',
'iface': 'br0',
'ipv6addrs': ['fe80::230:48ff:fe78:88cc/64'],
'ipv6gateway': '::',
'mtu': '1500',
'netmask': '255.255.255.0',
'ports': ['eth0', 'vnet0'],
'qosInbound': '',
'qosOutbound': '',
'stp': 'on'}}
nics = {'eth0': {'addr': '',
'cfg': {'BOOTPROTO': 'none',
'BRIDGE': 'br0',
'BROADCAST': '',
'DEVICE': 'eth0',
'HWADDR': '00:30:48:78:88:CC',
'IPADDR': '',
'IPV6INIT': 'no',
'MACADDR': '',
'MTU': '',
'NAME': '',
'NETMASK': '',
'NETWORK': '',
'ONBOOT': 'yes'},
'hwaddr': '00:30:48:78:88:cc',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'speed': 1000},
'eth1': {'addr': '',
'cfg': {},
'hwaddr': '00:30:48:78:88:cd',
'ipv6addrs': [],
'mtu': '1500',
'netmask': '',
'speed': 0}}
operatingSystem = {'name': 'RHEL', 'release': '5.el6.centos.11.2',
'version': '6'}
packages2 = {'kernel': {'buildtime': 1361511086.0,
'release': '358.el6.x86_64',
'version': '2.6.32'},
'libvirt': {'buildtime': 1387360004,
'release': '29.el6_5.2',
'version': '0.10.2'},
'mom': {'buildtime': 1385055971, 'release': '6.el6',
'version': '0.3.2'},
'qemu-img': {'buildtime': 1386101870,
'release': '2.415.el6_5.3',
'version': '0.12.1.2'},
'qemu-kvm': {'buildtime': 1386101870,
'release': '2.415.el6_5.3',
'version': '0.12.1.2'},
'spice-server': {'buildtime': 1386756528,
'release': '6.el6_5.1',
'version': '0.12.4'},
'vdsm': {'buildtime': 1386757669, 'release': '1.el6',
'version': '4.13.2'}}
reservedMem = '321'
software_revision = '1'
software_version = '4.13'
supportedENGINEs = ['3.0', '3.1', '3.2', '3.3']
supportedProtocols = ['2.2', '2.3']
uuid = '53D19F64-D663-A017-8922-0030487888CC'
version_name = 'Snow Man'
vlans = {}
vmTypes = ['kvm']
10 years, 10 months
Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
by Dresel Christopher
Sure already tried that - IDE, no Ethernet at all, everything related to VirtIO disabled - no success.
Quoted from the forum:
"It has nothing to do with the virtio driver. It is a more deeply rooted problem inside KVM in its emulation of CPU's over Intel chipsets in combination with *BSD amd64."
As I already virtualized pfSense with an older Version of Intel Chipset (Sandy Bridge) with KVM and Hardware Virtualization I really think it's related to the newer Haswell chipset. The same configuration with an i386 ISO build works.
Best Regards,
Christopher
-----Original Message-----
From: René Koch [mailto:rkoch@linuxland.at]
Sent: Donnerstag, 30. Jänner 2014 16:32
To: Dresel Christopher
Cc: Joop; users(a)ovirt.org
Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
On Thu, 2014-01-30 at 12:27 +0000, Dresel Christopher wrote:
> The passing error seems to be a bug when using Run Once - Run behaves as expected.
>
> Nevertheless my problem seems related to Haswell + KVM + Hardware Virtualisation + FreeBSD (see http://forum.proxmox.com/threads/16564-PVE3-1-FreeBSD8-3-pfsense-KVM-Hard...).
>
> Possible Workarounds: Disable Hardware Virtualization (guess this is not possible on VM basis with oVirt?) or use an i386 Version of FreeBSD.
>
I'm pretty sure you can't disable hardware virtualization on a vm basis.
Btw, does FreeBSD boot if you use an IDE disk and e1000 NIC (did go quickly through the proxmox forum thread and issues seem to be virtio related)? This will decrease performance for sure, but maybe it's sufficient.
My Solaris vms are for compiling and Puppet module tests, so IDE and
e1000 emulated devices are fine for me.
Regards,
René
> Thanks for your help.
>
> -----Original Message-----
> From: users-bounces(a)ovirt.org [mailto:users-bounces@ovirt.org] On
> Behalf Of Dresel Christopher
> Sent: Mittwoch, 29. Jänner 2014 21:24
> To: René Koch; Joop
> Cc: users(a)ovirt.org
> Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
>
> Thank you, I already found your repo and I'm testing.
>
> The custom property is selectable via the GUI, the hook gets called,
> but I don't know why it don’t work - it seems like the custom property
> does not get passed to the hook :/
>
> -----Original Message-----
> From: René Koch [mailto:rkoch@linuxland.at]
> Sent: Mittwoch, 29. Jänner 2014 20:51
> To: Joop; Dresel Christopher
> Cc: users(a)ovirt.org
> Subject: Re: [Users] How to setup FreeBSD 8.3 Guest on oVirt 3.3
>
> On Wed, 2014-01-29 at 19:27 +0100, Joop wrote:
> > Dresel Christopher <dresel(a)fhwn.ac.at> wrote:
> > >Hi,
> > >
> > >I’m using oVirt 3.3 and trying to setup a FreeBSD 8.3 Guest machine.
> > >The machine hangs after the booting screen - I already googled
> > >about this, but didn’t find any helpful articles.
> > >
> > >Cluster uses “Intel Penryn Family“, the VM is configured with 1
> > >virtual CPU as suggested in one of the threads I found on the internet.
> > You're probably looking at x2pic cpu flag problems. A vdsm hook might help. Have posted to proxmox forum about this. Also, solaris seems affected, has been discussed on this list.
> >
>
> For Solaris I wrote a hook which can be found here (works fine for Solaris 10/11 on Intel CPUs):
> https://github.com/ovido/ovirt-stuff/tree/master/hooks
>
> Don't know if this is needed for (older versions of) FreeBSD, too.
>
>
> Regards,
> René
>
>
> > Joop
> >
>
>
>
> ________________________________
>
> Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
> University of Applied Sciences Wiener Neustadt for Business and
> Engineering Ltd., Austria Johannes Gutenberg-Straße 3
> 2700 Wiener Neustadt
> Austria, Europe
> ATU: 37772406
> Firmenbuchnummer: 77005v
> Firmenbuchgericht: Landesgericht Wiener Neustadt
> DVR: 0769665
> Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
>
> This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
> ________________________________
>
> Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
> University of Applied Sciences Wiener Neustadt for Business and
> Engineering Ltd., Austria Johannes Gutenberg-Straße 3
> 2700 Wiener Neustadt
> Austria, Europe
> ATU: 37772406
> Firmenbuchnummer: 77005v
> Firmenbuchgericht: Landesgericht Wiener Neustadt
> DVR: 0769665
> Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
>
> This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
________________________________
Fachhochschule Wiener Neustadt für Wirtschaft und Technik Ges.m.b.H.
University of Applied Sciences Wiener Neustadt for Business and Engineering Ltd., Austria
Johannes Gutenberg-Straße 3
2700 Wiener Neustadt
Austria, Europe
ATU: 37772406
Firmenbuchnummer: 77005v
Firmenbuchgericht: Landesgericht Wiener Neustadt
DVR: 0769665
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
10 years, 10 months
[Users] Python SDK list vms slow, excessive cpu usage
by Sander Grendelman
Fetching the list of vms through the API with the python SDK
takes several seconds[1] with 100% cpu usage in the python script.
When I look at the engine log there is only one (fast) fetch from
the API. The rest of the time is spent in the SDK processing a
relatively small bit of XML data (only 26 VMs in my environment).
This seems an excessive amount of CPU for processing ~6KB of XML.
I've included some sample code [2] and output [3].
Attached is the cProfile output for this call and a visualization.
[1] ~6,5 seconds on an oVirt VM with 1 vcpu on older hardware,
~3,5 seconds on a fast physical machine with an i5 cpu.
[2] Sample code, add your own url/credentials/certificate:
#!/usr/bin/python
"""Get ovirt VM names"""
import time
from ovirtsdk.api import API
from ovirtsdk.xml import params
def print_elapsed(logString):
elapsed = time.time() - startTime
print "%fs %s" % (elapsed, logString)
startTime = time.time()
print_elapsed("before connect")
api = API(
url="https://my.engine.url/api",
username="user@domain",
password="password",
ca_file="./ca.crt",
)
print_elapsed("after connect")
print_elapsed("before fetch list")
vmList = api.vms.list()
print_elapsed("after fetch list")
print_elapsed("before use list")
count = 0
for vm in vmList:
vmName = vm.get_name()
count += 1
print "\t number of VMs %d" % count
[3] Example of output:
[grendelmans@bungee src]$ /usr/bin/time ./vm_list_test.py
0.000003s before connect
0.338248s after connect
0.338299s before fetch list
6.795967s after fetch list
6.796041s before use list
number of VMs 26
6.796181s after use list
7.28user 0.05system 0:07.64elapsed 96%CPU (0avgtext+0avgdata 84624maxresident)k
0inputs+0outputs (0major+5605minor)pagefaults 0swaps
[grendelmans@bungee src]$
10 years, 10 months
[Users] Networking. Hosted Setup. All in One Host. Hetzner
by Peter Styk
Greetings,
I'm writing here as to share some of my findings about hosting with
Hetzner. All in one setups on single remote host can be tricky. Provider
mounted an extra /29 subnet to the main host but none is routed by default
and host has to become router itself. At the same time single mistake in
bridging configuration and lost access results in need for re-bootstrap.
It's still tempting to try and with many trials I eventually got to see
guests talking to the net.
Scenario 1: Working. Package bridge-utils, oVirt engine, setup bridge,
VDSM, add host to engine, add routing to host routing table. Networking by
trial and error. Still something is not right. Occasionally on ping out I'm
getting "Redirect Host (New nexthop" messages.
http://styk.tv/wp-content/uploads/2014/01/oVirtHosted1_almost_working.png
Scenario 2: Dreaming. Private network with private router/dhcp/nat. Private
10.0.0.0/24 network. No problems with routing as gateway 10.0.0.1 would be
on the same subnet. Thought of using pfSense but can't seem to bring up an
instance with two network cards on two different networks. I thought this
would be easy. Go to Networks, click create new network, type private, save
ok. then go to new instance. point at iso, attach two network cards. save
ok. Launch "Host did not satisfy internal filter Network" No idea what that
is. Maybe I don't understand how this works. I even tried removing
ovirtmgmt network and leaving private network by itself. Tried with all 3
network card types (rtl8139/e1000/VirtIO)
http://styk.tv/wp-content/uploads/2014/01/oVirtHosted2_preferred.png
Either way if you have a minute or two please take a look at both attached
diagrams. Deliberately making it difficult by forcing all elements on
single box in hosted environment.
Maybe there is a way to have this all installed with Neutron or vSwitch on
the same box or is that pushing it?
Regards,
Peter
10 years, 10 months