Re: [Users] Can't open ovirt console using Spice or VNC - help!
by Karli Sjöberg
--_000_5F9E965F5A80BC468BE5F40576769F0973373CF8exchange21_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
DQpEZW4gOSBmZWIgMjAxNCAyMDowMCBza3JldiBEcmV3IFNob3dlcnMgPGRyZXdAYXVndXJ3b3Jr
cy5jb20+Og0KPg0KPiBIZWxsbywNCj4NCj4gSSdtIGEgbnViZSB3aXRoIG92aXJ0LCBidXQgaGF2
ZSB0aGUgb3ZpcnQtZW5naW5lIGFuZCAxIHJlbW90ZSBob3N0IHVwIGFuZCBydW5uaW5nIChzZXBh
cmF0ZSBwaHlzaWNhbCBzZXJ2ZXJzLCBzYW1lIHN1Ym5ldCkuIFRoZSBuZXR3b3JrLCBETlMuIE5G
UyBhbGwgd29yay4gSSBjYW4gY3JlYXRlIFZNJ3MsIGluc3RhbGwgdGhlIElTTyBPUyB3aXRoIG5v
IHByb2JsZW1zLiBIZXJlIGlzIHdlcmUgSSBnZXQgc3R1Y2suDQo+DQo+IEFmdGVyIGEgZnJ1c3Ry
YXRpbmcgZmV3IGhvdXJzIHRyeWluZyB0byBnZXQgYSBjb25zb2xlIHRvIGxhdW5jaCBvbiBteSBt
YWMsDQoNCkhhdmUgeW91IHNlZW4gdGhpcz8NCg0KaHR0cDovL3d3dy5vdmlydC5vcmcvU1BJQ0Vf
UmVtb3RlLVZpZXdlcl9vbl9PU19YDQoNCi9LYXJsaQ0KDQpJIGJyb2tlIGRvd24gYW5kIGNyZWF0
ZWQgYSBuZXcgQ2VudG9zIDYuNCBEZXNrdG9wIFZNIHVzaW5nIEZ1c2lvbi4gSSd2ZSBpbnN0YWxs
ZWQgLQ0KPg0KPiBzcGljZS14cGkgKHl1bSBpbnN0YWxsIHNwaWNlLXhwaSkNCj4gdmlydC1tYW5h
Z2VyICh5dW0gaW5zdGFsbCB2aXJ0LW1hbmFnZXIpDQo+DQo+IFVzaW5nIEZpcmVmb3gsIGlmIEkg
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gZnVydGhlciB1bnRpbCBJIGdldCB0aGlzIHdvcmtlZCBvdXQuIE5vIFZNIElQIG9yIGhv
c3QgbmFtZSAmbmJzcDsodW5sZXNzIEknbSBtaXNzaW5nIHNvbWV0aGluZykuLi4gSSBhY3R1YWxs
eSBmaW5kIHRoaXMgcXVpdGUgdW5mcmllbmRseS4gSSBrbm93IHNpbWlsYXIgaXNzdWVzIGhhdmUg
YmVlbiBkaXNjdXNzZWQgcHJldmlvdXNseSwgYnV0IG5vbmUgaGF2ZSBzb2x2ZWQgbXkgcHJvYmxl
bS4gQlRXOiBJJ20NCiBydW5uaW5nIENlbnRvcyA2LjUgb24gYm90aCB0aGUgZW5naW5lIGFuZCBo
b3N0LiZuYnNwOzxicj4NCiZndDs8YnI+DQomZ3Q7IEknbSBub3Qgc3VyZSBpZiBJJ20gbWlzc2lu
ZyBhZGRpdGlvbmFsIHBhY2thZ2VzIG9yIHdoYXQuIEFueSBoZWxwIHdvdWxkIGJlIGdyZWF0bHkg
YXBwcmVjaWF0ZWQuJm5ic3A7PGJyPg0KJmd0Ozxicj4NCiZndDsgVGhhbmtzLDxicj4NCiZndDsg
RHJldzwvcD4NCjwvYm9keT4NCjwvaHRtbD4NCg==
--_000_5F9E965F5A80BC468BE5F40576769F0973373CF8exchange21_--
10 years, 9 months
[Users] User portal
by Maurice James
------=_NextPart_000_0033_01CF258F.5FE44460
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Since ive updated to 3.4.0-0.7.beta2.el6 I am unable to log into the user
portal. I cannot even type my user name and password. Has anyone else
experienced this?
------=_NextPart_000_0033_01CF258F.5FE44460
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-microsoft-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=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><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;}
span.gwt-inlinelabel
{mso-style-name:gwt-inlinelabel;}
.MsoChpDefault
{mso-style-type:export-only;}
@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=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Since ive updated to <span =
class=3Dgwt-inlinelabel>3.4.0-0.7.beta2.el6 </span>I am unable to log =
into the user portal. I cannot even type my user name and password. Has =
anyone else experienced this?<o:p></o:p></p></div></body></html>
------=_NextPart_000_0033_01CF258F.5FE44460--
10 years, 9 months
[Users] 'Drive' object has no attribute 'format'
by Eduardo Ramos
Hi all!
I'm getting this strange message on my vdsm.log
Thread-187887::ERROR::2014-02-07
10:31:13,246::sampling::355::vm.Vm::(collect)
vmId=`226fb21b-ce7e-45ec-8e6e-75b987374ead`::Stats function failed:
<AdvancedStatsFunction _highWrite at 0x2d328f0>
Traceback (most recent call last):
File "/usr/share/vdsm/sampling.py", line 351, in collect
statsFunction()
File "/usr/share/vdsm/sampling.py", line 226, in __call__
retValue = self._function(*args, **kwargs)
File "/usr/share/vdsm/vm.py", line 528, in _highWrite
self._vm.extendDrivesIfNeeded()
File "/usr/share/vdsm/vm.py", line 2285, in extendDrivesIfNeeded
if not drive.blockDev or drive.format != 'cow':
AttributeError: 'Drive' object has no attribute 'format'
Anyone know what could be happening?
Thanks.
10 years, 9 months
[Users] Dedicated Bonding interface for Gluster
by Juan Pablo Lorier
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1g8JPn14EC4bURVvAtoKga8u87IwhL9o3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Mario,
I've created a little guide in the wiki for this porpoise, I haven't
updated it with I tip I was told later on using the hosts file (or dns)
instead of fixed ips, so you may search on that matter to optimize the
solution.
The wiki is
http://www.ovirt.org/oVirt_Wiki:How_to_change_Gluster%27s_network_interfa=
ce
Hope it helps
Regards,
--1g8JPn14EC4bURVvAtoKga8u87IwhL9o3
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/
iQEcBAEBAgAGBQJS+mYXAAoJEC5KDDg2+NMMGB0H/3xXgkjeT4mZz9GS6OIr0ruS
+7jJhYst0+ZE5GAvFIUY+uETInDHpfKd+xehqGC8VIjpFJla8CVsGEnd3xzT8n0G
v11Nns2m+arx2yBGTAqX9Wk9HZKPYVYHbFqKH6ccIFxTMMMQGf3j+cjqVjmeJi3f
13ZTsMbl+evTcpdvVLZJT2mNOa7yl7JTwvI9s5bekbJxfC5HiztCyNz7UA6jX/DW
VFnOOgPswyahy6d0ejkR/4seW6+K0bvvIOg8VoJ4aIGzkSwiXtqGOZnTVBqVjBjs
EZRCX2oq06RVSei59rhRjFsCWf6rVQr7MEr1CrVNc6VDlh835mpUxKvsz7cz6Dg=
=GyrA
-----END PGP SIGNATURE-----
--1g8JPn14EC4bURVvAtoKga8u87IwhL9o3--
10 years, 9 months
[Users] Fwd: Re: Fencing Options
by René Koch
This is a multi-part message in MIME format.
--------------080306010903020407070602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Missed the Reply List button...
On 10.02.2014 17:57, Maurice James wrote:
> How do I enable the other fencing agents that are not shown in the
> power management list of the hosts? Like idrac and drac7?
I suggest to use IPMI fencing, as it works with most Interfaces. I use
it also for DRAC interfaces without problems.
If you want to add custom fence agents, make sure they exist on your
system (e.g. /usr/sbin/fence_idrac) and follow these instructions on how
to add them to oVirt:
https://www.mail-archive.com/users@ovirt.org/msg13433.html
But again, if fence_ipmilan works, use it...
Regards,
René
--------------080306010903020407070602
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">
Missed the Reply List button...<br>
<br>
On 10.02.2014 17:57, Maurice James wrote:<br>
<div class="moz-forward-container">
<blockquote cite="mid:BLU176-W31E63376F5299670E35401B2900@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">How do I enable the other fencing agents that are
not shown in the power management list of the hosts? Like
idrac and drac7? </div>
</blockquote>
<br>
I suggest to use IPMI fencing, as it works with most Interfaces. I
use it also for DRAC interfaces without problems.<br>
<br>
If you want to add custom fence agents, make sure they exist on
your system (e.g. /usr/sbin/fence_idrac) and follow these
instructions on how to add them to oVirt:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://www.mail-archive.com/users@ovirt.org/msg13433.html">https://www.mail-archive.com/users@ovirt.org/msg13433.html</a><br>
<br>
But again, if fence_ipmilan works, use it...<br>
<br>
Regards,<br>
René<br>
<br>
<br>
</div>
<br>
</body>
</html>
--------------080306010903020407070602--
10 years, 9 months
[Users] ERRORS and WARNINGS in engine.log on a just started system
by Sandro Bonazzola
Installed 3.3.3 all-in-one
upgraded to 3.4.0 beta2
created a VM
stopped the engine.
cleaned logs.
started the engine:
engine.log:2014-02-11 13:35:19,573 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-1) Could not parse option
AutoRecoveryAllowedTypes value.
engine.log:2014-02-11 13:36:03,344 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (ajp--127.0.0.1-8702-2) Can't read file
"/var/lib/ovirt-engine/reports.xml" for request "/ovirt-engine/services/reports-ui", will send a 404 error response.
I don't have DWH or reports here.
# grep WARN engine.log server.log |wc -l
178
Warnings are like:
server.log:2014-02-11 13:35:18,914 WARN [org.jboss.as.dependency.private] (MSC service thread 1-9) JBAS018567: Deployment
"deployment.engine.ear.restapi.war" is using a private module ("org.yaml.snakeyaml:main") which may be changed or removed in future versions without
notice.
server.log:2014-02-11 13:35:18,915 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) JBAS018567: Deployment
"deployment.engine.ear.webadmin.war" is using a private module ("org.codehaus.jackson.jackson-xc:main") which may be changed or removed in future
versions without notice.
Can't we get rid of those?
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 9 months
[Users] Very bad write performance in VM (ovirt 3.3.3)
by ml ml
Hello List,
i set up a Cluster with 2 Nodes and Glusterfs.
gluster> volume info all
Volume Name: Repl2
Type: Replicate
Volume ID: 8af9b282-8b60-4d71-a0fd-9116b8fdcca7
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: node1.local:/data
Brick2: node2.local:/data
Options Reconfigured:
auth.allow: *
user.cifs: enable
nfs.disable: off
I turned node2 off. Just to make sure i have not network bottle neck and
that it will not replicate for my first benchmarks.
My first test with bonnie on my local raw disk of node1 gave me 130MB/sec
write speed.
Then i did the same test on my cluster dir /data: 130MB/sec
Then i did the write test in a freshly installed Debian 7 vm: 10MB/sec
This is terrible and i wonder why?!
My tests where made with:
bonnie++ -u root -s <double mem) -d <dir>
Here are my bonnie results: http://oi62.tinypic.com/20aara0.jpg
Since node2 is turned off, this cant be a network bottle neck.
Any ideas?
Thanks,
Mario
10 years, 9 months
Re: [Users] [rhevm-api] Need help to Start and Stop VM using Java SDK
by Itamar Heim
On 02/11/2014 04:55 PM, Tejesh M wrote:
> Thanks for your fast response.
>
> But intelli sense is not listing vm.*start *function
>
> I'm using rhevm-sdk-java-1.0.0.29-1.jar
>
> _*code:*_
>
> import org.ovirt.engine.sdk.Api;
> import org.ovirt.engine.sdk.common.*;
> import org.ovirt.engine.sdk.decorators.VMDisk;
> import org.ovirt.engine.sdk.entities.*;
> import org.apache.commons.beanutils.*;
>
>
> public class rhvm {
> static Api api;
> public static void callAPI()
> {
> try{
>
> api = new Api("https://rhevm:443/api", "admin@internal",
> "password");
>
>
> org.ovirt.engine.sdk.entities.VM vm =
> api.getVMs().get("testVM3"); //get VM
> vm.setDescription("java_sdk");
>
> System.out.print("VM ID:" + vm.getStatus().getState());
> System.out.print("VM ID:" + vm.getId());
>
>
> }
> catch(Exception e)
> {
> System.out.print(e);
> }
> finally {
> api.shutdown();
> }
> }
> public static void main(String a[]) throws Exception
> {
> //rhvm obj = new rhvm();
> callAPI();
> System.out.println("\ncompleted");
> }
> }
>
>
>
>
> On Tue, Feb 11, 2014 at 8:08 PM, Ewoud Kohl van Wijngaarden
> <ewoud+rhevm-api(a)kohlvanwijngaarden.nl
> <mailto:ewoud+rhevm-api@kohlvanwijngaarden.nl>> wrote:
>
> On Tue, Feb 11, 2014 at 08:00:57PM +0530, Tejesh M wrote:
> > Can anyone share sample on how to Start & Stop VM using Java SDK? I
> > couldn't find any document on JAVA SDK for RHEVM.
>
> While this list hasn't been in use for some time, I hope I can still
> point you
> in the right direction. http://www.ovirt.org/Java-sdk#Examples has the
> following examples:
>
> // -- Create proxy
>
> // #1 - import
> import org.ovirt.engine.sdk.Api;
>
> // #2 - create proxy
> Api api = new Api("http://localhost:8080/api", "user@domain",
> "password");
>
> // -- perform an action on resource
>
> // #1 - fetch resource
> VM vm = api.getVMs().get("test");
>
> // #2 - create params + perform an action
> Action res = vm.start(new Action() {
> {
> setVm(new org.ovirt.engine.sdk.entities.VM());
> }
> });
>
> I'd guess vm.stop is exactly the same as vm.start.
> _______________________________________________
> rhevm-api mailing list
> rhevm-api(a)lists.fedorahosted.org
> <mailto:rhevm-api@lists.fedorahosted.org>
> https://lists.fedorahosted.org/mailman/listinfo/rhevm-api
>
>
>
>
> --
> Thanks & Regards
> Tejesh
>
>
> _______________________________________________
> rhevm-api mailing list
> rhevm-api(a)lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhevm-api
>
moving to users@ovirt.org...
thanks,
Itamar
10 years, 9 months