[Users] Problem with DWH installation
by Michael Wagenknecht
Hi,
I cannot install the Ovirt DWH.
Here is the logfile:
2013-11-05 15:00:12::DEBUG::ovirt-engine-dwh-setup::250::root:: starting
main()
2013-11-05 15:00:12::DEBUG::common_utils::415::root:: found existing
pgpass file, fetching DB host value
2013-11-05 15:00:12::DEBUG::common_utils::415::root:: found existing
pgpass file, fetching DB port value
2013-11-05 15:00:12::DEBUG::common_utils::415::root:: found existing
pgpass file, fetching DB admin value
2013-11-05 15:00:12::DEBUG::common_utils::415::root:: found existing
pgpass file, fetching DB admin value
2013-11-05 15:00:12::DEBUG::common_utils::448::root:: getting DB
password for postgres
2013-11-05 15:00:12::DEBUG::common_utils::457::root:: found password for
username postgres
2013-11-05 15:00:12::DEBUG::common_utils::58::root:: getting vdc option
MinimalETLVersion
2013-11-05 15:00:12::DEBUG::common_utils::512::root:: Executing command
--> '['/usr/bin/engine-config', '-g', 'MinimalETLVersion',
'--cver=general', '-p',
'/usr/share/ovirt-engine/conf/engine-config-install.properties']'
2013-11-05 15:00:13::DEBUG::common_utils::551::root:: output =
2013-11-05 15:00:13::DEBUG::common_utils::552::root:: stderr = Files
/usr/share/ovirt-engine/conf/engine-config-install.properties does not exist
2013-11-05 15:00:13::DEBUG::common_utils::553::root:: retcode = 1
2013-11-05 15:00:13::ERROR::ovirt-engine-dwh-setup::294::root::
Exception caught!
2013-11-05 15:00:13::ERROR::ovirt-engine-dwh-setup::295::root::
Traceback (most recent call last):
File "/usr/bin/ovirt-engine-dwh-setup", line 255, in main
minimalVersion = utils.getVDCOption("MinimalETLVersion")
File "/usr/share/ovirt-engine-dwh/common_utils.py", line 60, in
getVDCOption
output, rc = execCmd(cmdList=cmd, failOnError=True, msg="Error:
failed fetching configuration field %s" % key)
File "/usr/share/ovirt-engine-dwh/common_utils.py", line 556, in execCmd
raise Exception(msg)
Exception: Error: failed fetching configuration field MinimalETLVersion
This are the installed packages:
ovirt-engine-dwh-3.2.0-1.el6.noarch
ovirt-release-el6-8-1.noarch
ovirt-engine-sdk-python-3.3.0.6-1.el6.noarch
ovirt-host-deploy-java-1.1.1-1.el6.noarch
ovirt-engine-dbscripts-3.3.0.1-1.el6.noarch
ovirt-engine-reports-3.2.0-2.el6.noarch
ovirt-engine-lib-3.3.0.1-1.el6.noarch
ovirt-engine-setup-3.3.0.1-1.el6.noarch
ovirt-log-collector-3.3.1-1.el6.noarch
ovirt-image-uploader-3.3.1-1.el6.noarch
ovirt-host-deploy-1.1.1-1.el6.noarch
ovirt-engine-webadmin-portal-3.3.0.1-1.el6.noarch
ovirt-engine-restapi-3.3.0.1-1.el6.noarch
ovirt-engine-tools-3.3.0.1-1.el6.noarch
ovirt-engine-backend-3.3.0.1-1.el6.noarch
ovirt-engine-cli-3.3.0.4-1.el6.noarch
ovirt-iso-uploader-3.3.1-1.el6.noarch
ovirt-engine-userportal-3.3.0.1-1.el6.noarch
ovirt-engine-3.3.0.1-1.el6.noarch
Can you help me?
Best regards,
Michael
10 years, 9 months
[Users] Migration of Windows
by Rick Ingersoll
--_004_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_
Content-Type: multipart/alternative;
boundary="_000_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_"
--_000_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I have an ovirt 3.1 build. I have 3 hosts and a few virtua=
l machines setup that I am using for testing. I am using gluster storage s=
etup as a distribution between the 3 hosts. I can migrate linux guests acr=
oss my 3 hosts, but I cannot migrate windows hosts. I get "Migration faile=
d due to Error: Fatal error during migration. The event id is 65. Is ther=
e something additional that needs to be done to windows guests for them to =
support live migration?
Thanks,
Rick Ingersoll
IT Consultant
(919) 234-5100 main
(919) 234-5101 direct
(919) 757-5605 mobile
(919) 747-7409 fax
rick.ingersoll(a)mjritsolutions.com<mailto:rick.ingersoll@mjritsolutions.com>
http://www.mjritsolutions.com<http://www.mjritsolutions.com/>
[mjritsolutions_logo_signature]
--_000_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"> &nbs=
p; I have an ovirt 3.1 build. I h=
ave 3 hosts and a few virtual machines setup that I am using for testing.&n=
bsp; I am using gluster storage setup as a distribution between the 3 hosts=
. I can migrate linux guests across my 3 hosts,
but I cannot migrate windows hosts. I get “Migration failed du=
e to Error: Fatal error during migration. The event id is 65. I=
s there something additional that needs to be done to windows guests for th=
em to support live migration?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks, <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:9.0pt;font-family:"=
Arial","sans-serif";color:black">Rick Ingersoll<o:p></o:p></=
span></b></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:9.0pt;font-family:"=
Arial","sans-serif";color:#262626">IT Consultant<o:p></o:p><=
/span></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif"">(919) 234-5100 main<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif"">(919) 234-5101 direct<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif"">(919) 757-5605 mobile<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif"">(919) 747-7409 fax<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif""><a href=3D"mailto:rick.ingersoll@mjritsolu=
tions.com"><span style=3D"color:blue">rick.ingersoll(a)mjritsolutions.com</sp=
an></a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif""><a href=3D"http://www.mjritsolutions.com/"=
><span style=3D"color:blue">http://www.mjritsolutions.com</span></a><o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><img border=3D"0" width=3D"200" height=3D"42" id=3D"=
Picture_x0020_1" src=3D"cid:image001.jpg@01CE75E9.B5CA8020" alt=3D"mjritsol=
utions_logo_signature"><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_--
--_004_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_
Content-Type: image/jpeg; name="image001.jpg"
Content-Description: image001.jpg
Content-Disposition: inline; filename="image001.jpg"; size=2146;
creation-date="Mon, 01 Jul 2013 03:29:49 GMT";
modification-date="Mon, 01 Jul 2013 03:29:49 GMT"
Content-ID: <image001.jpg(a)01CE75E9.B5CA8020>
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMg
IyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wAARCAAqAMgDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAEC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M7NlyxUMfuhj1wO9Fj4YsdPOneQZv8A
iXrIsO588P8Aez61sUUAZVx4b0651eLU3h23UYZSyHG8EEfMO/BNUF8EWSWhtUv9VS2KlfJW7Oza
eox6V0lFAGXaeHrOxv4buAzK8NstqiGQlAg6cevvRWpRQB//2Q==
--_004_af731bceb043497d9dd496522e1ab3bcBL2PR08MB196namprd08pro_--
10 years, 10 months
[Users] API read-only access / roles
by Sander Grendelman
I'm working on (Zabbix) monitoring through the RESTful API.
Which role should I assign to the monitoring user?
The user only needs read access to the data but it looks like
I nead to assign at least an "Admin" role to the user to be
able to read data through the API.
For this I've created a "AdminLoginOnly" role that only has
System->Configure System->Login Permissions access.
Is this the way to go for this king of configuration? Or is there
a way to further minimize the permissions of this user?
Another issue is that a "Login" event is generated every time
the user connects through the API. This makes the "Events"
pane less useful / readable. Is there a way to disable this for
some users/roles?
10 years, 10 months
[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] 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] Unable to log on with expired passord
by Sigbjorn Lie
Hi,
I am doing a POC of RHEV 3.2 VDI for a customer. Their users are located in an IPA server, and
RHEV and IPA has been connected using rhevm-manage-domains.
During the POC we discovered that users which have expired password cannot log on. They receive an
Incorrect password error message.
1. They should at least receive a Your password has expired error instead of the Incorrect
password error message as this is confusing for the user.
2. This creates a problem, as every time a password is reset in IPA, it's automatically set to be
expired so the user will change password at next logon.
Is there a way around this?
I would like to see the user being able to log on the User Portal with the expired password, and
then he will be asked to change his password as usual once he's logging into his Linux VDI
machine.
Regards,
Siggi
10 years, 10 months
[Users] engine reports and dwh setup in 3.3.2
by Gianluca Cecchi
Hello,
I have some questions regarding wheat in subject fro 3.3.2.
In November I upgraded my AIO install from fc18 3.2.3 to fc19 3.3.1 following:
http://www.ovirt.org/OVirt_3.2_to_3.3_upgrade
All went ok.
In Fc18 reports and DWH worked ok if I rememebr correctly.
Probably in November I didn't run any setup again for dwh and
reports... after upgrade
This is a test/home server
Today I updated to 3.3.2 without problems and tried upgrade of dwh and
reports too.
One problem I found is that upgrading from f18 to f19, now my postgres
user cannot directly connect to db without password.
I see that my pg_hba.conf is now this way
local all all md5
host ovirtenginereports engine_reports 0.0.0.0/0 md5
host ovirtenginereports engine_reports ::0/0 md5
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
so that running
ovirt-engine-dwh-setup
aborted because of db connections such as
2013-12-21 14:27:47::DEBUG::common_utils::908::root:: retcode = 0
2013-12-21 14:27:47::DEBUG::common_utils::864::root:: Executing
command --> '/bin/su -l postgres -c /usr/bin/psql -U postgres -d
template1 -tAc "select 1;"' in working directory '/root'
2013-12-21 14:27:47::DEBUG::common_utils::906::root:: output =
2013-12-21 14:27:47::DEBUG::common_utils::907::root:: stderr =
Password for user postgres:
psql: fe_sendauth: no password supplied
I temporarily solved putting this entry for unix domains local access
in my pg-hba.conf and restarting the db service
local all postgres trust
and dwh setup completed ok with this ouptut below where I see a
possible bug in the initial username request
But what if a fresh install? Would the setup give the same error for
default fc19 restricted postgres setup?
Also, It asks me if I want to create it and instead of asking the
username it suddenly outputs an error also at first input
But then it asks the username again and all goes well.
The first request shouldn't give error...
[root@tekkaman ~]# ovirt-engine-dwh-setup
Welcome to ovirt-engine-dwh setup utility
This utility can configure a read only user for DB access. Would you
like to do so? (yes|no): yes
Error: user name cannot be empty
Provide a username for read-only user : ovirt_ruser
Provide a password for read-only user:
Warning: Weak Password.
Re-type password:
Should postgresql be setup with secure connection? (yes|no): yes
Existing DB was found on the system. The size of the detected DB is 27
MB, free space in the backup folder /var/lib/ovirt-engine/backups is
approximately 10.0 GB.
The upgrade utility can backup the existing database. The time and
space required for the database backup depend on its size. The
detected DB size is 27 MB. This process takes time, and in some cases
(for instance, when the size is few GBs) may take few hours to
complete. Would you like to continue and backup the existing database?
Answering "no" will skip the backup step and continue the upgrade
without backing up the database (yes|no): yes
Are you sure you would like to continue and backup database
ovirt_engine_history?
Answering "no" will stop the upgrade (yes|no): yes
Backing up the DB... [ DONE ]
Upgrade DB... [ DONE ]
Creating read-only user... [ DONE ]
Setting DB connectivity... [ DONE ]
Starting ovirt-engine... [ DONE ]
Starting oVirt-ETL... [ DONE ]
Successfully installed ovirt-engine-dwh.
The installation log file is available at:
/var/log/ovirt-engine/ovirt-engine-dwh-setup-2013_12_21_14_56_37.log
The DB was backed up as
'/var/lib/ovirt-engine/backups/ovirt-engine-history.backup.2013_12_21_14_58_21'
The DB backup was created with compression. You must use "pg_restore"
command if you need to recover the DB from the backup.
For reports setup I got instead this kind of error in war deploy
[root@tekkaman ~]# ovirt-engine-reports-setup
Welcome to ovirt-engine-reports setup utility
In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service (yes|no): yes
Stopping ovirt-engine... [ DONE ]
Editing XML files... [ DONE ]
Setting DB connectivity... [ DONE ]
Exporting scheduled reports... [ DONE ]
Exporting current users... [ DONE ]
Deploying Server... [ ERROR ]
Failed step import-minimal-ce of JasperReports Server
Error encountered while installing ovirt-engine-reports, please
consult the log file:
/var/log/ovirt-engine/ovirt-engine-reports-setup-2013_12_21_14_59_36.log
and in log
[advanced-sql] Executing resource:
/usr/share/jasperreports-server/buildomatic/install_resources/sql/postgresql/quartz.ddl
[advanced-sql] 0 rows affected
[advanced-sql] 5 of 153 SQL statements executed successfully
BUILD SUCCESSFUL
Total time: 2 seconds
2013-12-21 15:00:23::DEBUG::common_utils::1028::root:: stderr =
[advanced-sql] Failed to execute: create table JIAccessEvent ( id
int8 not null, user_id int8 not null, event_date timestamp not null,
resource_id int8 not null, updating bool not null, primary key (id) )
[advanced-sql] org.postgresql.util.PSQLException: ERROR: relation
"jiaccessevent" already exists
I uploaded both dwh and reports logs
dwh
see the zip of various attempts and engine.log here
https://drive.google.com/file/d/0BwoPbcrMv8mvcHcxRDRpSUNpQXM/edit?usp=sha...
for reports:
https://drive.google.com/file/d/0BwoPbcrMv8mvUWJmS1dFbTU1cTA/edit?usp=sha...
The problem is that now, without the reports war, if I try to run
setup for the engine again I get:
--== CONFIGURATION PREVIEW ==--
Database name : engine
Database secured connection : False
Database host : localhost
Database user name : engine
Database host name validation : False
Datbase port : 5432
NFS setup : True
NFS mount point : /ISO
Firewall manager : iptables
Configure WebSocket Proxy : True
Host FQDN : tekkaman.localdomain.local
Set application as default page : True
Configure Apache SSL : False
[ INFO ] Backing up database to
'/var/lib/ovirt-engine/backups/engine-20131221151714.ttpGbB.sql'.
[ INFO ] Updating database schema
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No
such file or directory:
'/var/lib/ovirt-engine/deployments/ovirt-engine-reports.war'
[ INFO ] Yum Performing yum transaction rollback
[ INFO ] Rolling back database schema
[ INFO ] Clearing database engine
[ INFO ] Restoring database engine
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20131221151617.log
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of upgrade failed
see log here:
https://drive.google.com/file/d/0BwoPbcrMv8mveklYRjZSck9mSm8/edit?usp=sha...
BTW: note the cosmetical bug of mmisprinting the word "Database" in
port numebr line
Datbase port : 5432
ANy input to solve reports and engine-setup problem appreciated.
On thing I noticed about dhw is that in
/etc/ovirt-engine/ovirt-engine-dwh
I have
[root@tekkaman ovirt-engine-dwh]# ll
total 8
-rw-rw----. 1 root root 1373 Dec 21 14:58 Default.properties
-rw-rw----. 1 ovirt ovirt 1052 Oct 17 18:16 Default.properties.rpmnew
[root@tekkaman ovirt-engine-dwh]# diff Default.properties
Default.properties.rpmnew
7c7
< ovirtEngineHistoryDbUser=engine_history
---
> ovirtEngineHistoryDbUser=postgres
9c9
< ovirtEngineHistoryDbPassword=0489TGUU
---
> ovirtEngineHistoryDbPassword=
17c17
< ovirtEngineDbUser=engine
---
> ovirtEngineDbUser=postgres
19,27c19
< ovirtEngineDbPassword=passw0rd
<
< #Connection Definition to Engine Health Status Portal
< ## Connection Protocol (SSL or Unencrypted)
< ovirtEnginePortalConnectionProtocol=https
< ## Portal Address (JBoss' Location)
< ovirtEnginePortalAddress=tekkaman.localdomain.local
< ## Portal Port (JBoss' Port)
< ovirtEnginePortalPort=443
---
> ovirtEngineDbPassword=
43d34
< etlVersion=3.3.2
the password lines were encrypted during upgrade; previously there was
plain password.
And also etlVersion that contained 3.2 now contains current version
So I presume it wwent ok
Gianluca
10 years, 10 months