[Users] How to import KVM machine
by Juan Jose
Hello everybody again,
I would like to know if exist some process or tutorial to import another
KVM machine from other computer and to have this other KVM VM machine
inside my oVirt system. Is there some process or page that explains this
issue?
Many thanks in avanced,
Juanjo.
11 years, 9 months
[Users] Samples Portal for Ovirt
by Shahar Havivi
Hey,
I've recently developed sample User portals written on top of the SDK (Python and Java),
and Ruby on top of rbovirt (partial REST bindings on top of the oVirt engine).
All these examples are placed in the samples-userportal git:
http://gerrit.ovirt.org/gitweb?p=samples-portals.git
Each language portal have its own README file that explain how to run the
server, the Ruby and Python are self serving application, the java portal is
hosted in JBoss.
You can use them as additional examples on how to use the SDK for basic VM
operations,
Shahar Havivi.
11 years, 9 months
[Users] how to add a user
by Jonathan Horne
--_000_9BE6F493F83A594DA60C45E6A09DC5AC017453AAAUSP01DAG0201co_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Im using ovrit 3.1, and I'm trying to add a user to the web console. But t=
he new button brings up a popup that doesn't have any buttons on it. Can I=
use the engine-manage-domains tool, and if yes what is the syntax? So far=
what I have found on google is just getting me authentication errors, so I=
'm sure I'm doing it wrong.
Thanks,
jonathan
________________________________
This is a PRIVATE message. If you are not the intended recipient, please de=
lete without copying and kindly advise us by e-mail of the mistake in deliv=
ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO=
POS to any order or other contract unless pursuant to explicit written agre=
ement or government initiative expressly permitting the use of e-mail for s=
uch purpose.
--_000_9BE6F493F83A594DA60C45E6A09DC5AC017453AAAUSP01DAG0201co_
Content-Type: text/html; charset="us-ascii"
Content-ID: <9D38733021FC7E4D8FD0B2765D2D4D6C(a)collaborationhost.net>
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font=
-family:Calibri,sans-serif">
<div>
<div>
<div>Im using ovrit 3.1, and I'm trying to add a user to the web console. &=
nbsp;But the new button brings up a popup that doesn't have any buttons on =
it. Can I use the engine-manage-domains tool, and if yes what is the =
syntax? So far what I have found on google
is just getting me authentication errors, so I'm sure I'm doing it wrong.<=
/div>
</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>jonathan</div>
<br>
<hr>
<font color=3D"Gray" face=3D"Arial" size=3D"1">This is a PRIVATE message. I=
f you are not the intended recipient, please delete without copying and kin=
dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con=
tent, this e-mail shall not operate to
bind SKOPOS to any order or other contract unless pursuant to explicit wri=
tten agreement or government initiative expressly permitting the use of e-m=
ail for such purpose.</font>
</body>
</html>
--_000_9BE6F493F83A594DA60C45E6A09DC5AC017453AAAUSP01DAG0201co_--
11 years, 9 months
[Users] Fwd: [Engine-devel] Latest open jdk and JBOSS
by Roy Golan
This is a multi-part message in MIME format.
--------------090907000204070407010804
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
FYI
-------- Original Message --------
Subject: [Engine-devel] Latest open jdk and JBOSS
Date: Wed, 06 Feb 2013 08:40:01 -0500
From: Alexander Wels <awels(a)redhat.com>
Reply-To: awels(a)redhat.com
To: engine-devel(a)ovirt.org
Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.
Details can be found here:
https://community.jboss.org/message/796347#796347
I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.
Alexander.
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------090907000204070407010804
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">
FYI<br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>[Engine-devel] Latest open jdk and JBOSS</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Wed, 06 Feb 2013 08:40:01 -0500</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Alexander Wels <a class="moz-txt-link-rfc2396E" href="mailto:awels@redhat.com"><awels(a)redhat.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:awels@redhat.com">awels(a)redhat.com</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:engine-devel@ovirt.org">engine-devel(a)ovirt.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.
Details can be found here:
<a class="moz-txt-link-freetext" href="https://community.jboss.org/message/796347#796347">https://community.jboss.org/message/796347#796347</a>
I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.
Alexander.
_______________________________________________
Engine-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel(a)ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a>
</pre>
<br>
</div>
<br>
</body>
</html>
--------------090907000204070407010804--
11 years, 9 months
[Users] Install problems
by Jonathan Archer
Hi All,
Just wondering if anyone could shed some light on an issue I'm seeing?
I've followed the instructions on the wiki to try and get an ovirt setup
running. (F17 minimal, updated, add repo, yum install ovirt-engine,
engine-setup)
All that seemed to go OK, and the database creation etc seemed to be
fine, however starting the ovirt-engine service seems to have failed to
start, was getting a http 503 error on trying the web interface.
Looking deeper into it, it seems that jboss-as seems to be failing to
start with some errors around logging.
when I run systemctl start ovirt-engine.service i get the following in
the logs:
Feb 6 14:33:52 host1 engine-service.py[25212]: Started engine process
25213.
Failed to configure handler FILE on Logger '' in context
org.jboss.logmanager.LogContext@afc824e: Handler FILE has no class name
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not
properly installed (you must set the "java.util.logging.manager" system
property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at
org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)
... 7 more
Feb 6 14:33:53 host1 systemd[1]: ovirt-engine.service: main process
exited, code=exited, status=1
Feb 6 14:33:53 host1 engine-service.py[25230]: The engine PID file
"/var/run/ovirt-engine.pid" contains 25213, but that process doesn't exist.
Feb 6 14:33:53 host1 systemd[1]: ovirt-engine.service: control process
exited, code=exited status=1
Feb 6 14:33:53 host1 systemd[1]: Unit ovirt-engine.service entered
failed state.
Any ideas?
Thanks
Jon
11 years, 9 months
[Users] MAC in use when importing/cloning a VM
by Nicolas Ecarnot
Hi,
When importing VMs into our export domain, they appear in a list that
allows me to restore them.
The restore window allows to clone instead of restoring, especially in
case of a pure import.
Many imports went all right, but some recent one failed due to a MAC
address already in use somewhere.
The import window does not seem to give a way to change the network
setup of the VM, even if it is imported and not started.
I don't know how to modify the interface setup of a vm before
importing/cloning it?
--
Nicolas Ecarnot
11 years, 9 months
[Users] error using cli on ovirt 3.1
by Jim Kinney
I'm trying to setup a way to restart a large group of windows vms on a
schedule. I'm getting a connection failure that seems related to the use of
https but I'm not sure.
error: __init__() got an unexpected keyword argument 'source_address'
I ran:
ovirt-shell -A <path to server cert/certfile exported from browser> -c
and my .ovirtshellrc is:
[ovirt-shell]
username = "admin@internal"
url = https://my.internal.url/api
#insecure = False
#filter = False
#timeout = -1
password = **********************
I tried putting the ca_cert = <path to cert> but that clearly was not
allowed in .ovirtshellrc
ideas?
--
--
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
11 years, 9 months
[Users] Still cannot migrate VM
by Christian Hernandez
Try as I might; I cannot live migrate a host from one server to another.
I keep getting a "Migration due to error: Could not connect to host"
I see this in the VDSM log.
Thread-3190::ERROR::2013-02-06
10:47:32,948::vm::146::vm.Vm::(_setupVdsConnection)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::Error initiating connection
Traceback (most recent call last):
File "/usr/share/vdsm/vm.py", line 141, in _setupVdsConnection
status = self.destServer.getVmStats(self._vm.id)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1382, in _parse_response
response = file.read(1024)
File "/usr/lib64/python2.6/socket.py", line 383, in read
data = self._sock.recv(left)
File "/usr/lib64/python2.6/ssl.py", line 215, in recv
return self.read(buflen)
File "/usr/lib64/python2.6/ssl.py", line 136, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
Thread-3190::DEBUG::2013-02-06
10:47:32,949::libvirtvm::283::vm.Vm::(_getDiskLatency)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::Disk vda latency not available
Thread-3190::DEBUG::2013-02-06
10:47:32,956::vm::189::vm.Vm::(_prepareGuest)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::migration Process begins
Thread-3190::DEBUG::2013-02-06 10:47:32,976::vm::260::vm.Vm::(run)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::migration semaphore acquired
Thread-3346::DEBUG::2013-02-06
10:47:35,278::task::568::TaskManager.Task::(_updateState)
Task=`66a8f842-f8c2-47af-bf78-b1db48ce4990`::moving from state init ->
state preparing
11 years, 9 months
[Users] Community feedback on the new UI-plugin Framework
by Oved Ourfalli
Hey all,
We had an oVirt workshop this week, which included a few sessions about the new oVirt UI Plugin framework, including a Hackaton and a BOF session.
I've gathered some feedback we got from the different participants about the framework, and what they would like to see in the future of it.
1. People liked the fact that it is a simple framework, allowing you to do nice extensions rapidly, without the need to know complex technologies (simple javascript knowledge is all you need to know).
2. People want the framework to provide tools for adding UI components (main/sub tabs, dialogs, etc.) that aren't URL based, but are based on components we currently have in oVirt, such as grids, key-value pairs (such as the general sub-tab), action buttons in these custom tabs and etc.
The main reason for that is to easily develop a plugin with an oVirt-like look-and-feel. Chris Morrissey from Netapp showed a very nice plugin he wrote that did have an oVirt-like look-and-feel, but it wasn't easy.... and it required him to to develop something specific for the plugin to interact with, in the 3rd party application (something similar to the work we did in the oVirt-Foreman UI-plugin).
3. Support adding tasks to the system - plugins may trigger asynchronous tasks behind the scene, both oVirt and external ones. oVirt tasks and their progress will be reflected in the tasks management view, but if the flows contain external tasks as well, then it would be hard to track through the oVirt UI.
4. Plugin management
* The ability to see what plugins are installed... install new plugins and remove existing ones.
* Change the plugin configuration through webadmin
* Distinguish between public plugin configuration entries (entries the user to change), to private ones (entries it can't).
I guess that this point will be relevant for engine-plugins as well (once support for such plugins will be available) so we should consider providing a similar solution for both. Also, Chris pointed out that it should be taken into consideration as well when working on supporting HA-oVirt-engine, as plugins are vital part of the oVirt environment.
If you find the feedback above true, or you have other comments that weren't mentioned here, please share it with us!
Thank you,
Oved
P.S:
I guess the slides will be uploaded sometime next week (I guess someone would have asked it soon... so now you have your answer :-) )
11 years, 9 months
[Users] UI Plugin issue when switching main tabs
by René Koch
Hi,
I'm working on an UI plugin to integrate Nagios/Icinga into oVirt Engine and made some progress, but have an issue when switching the main tabs.
I use VirtualMachineSelectionChange to create URL with name of vm (and HostSelectionChange for hosts).
Name is used in my backend code (Perl) for fetching monitoring status.
Here's the code of VirtualMachineSelectionChange:
VirtualMachineSelectionChange: function() {
var vmName = arguments[0].name;
alert(vmName);
// Reload VM Sub Tab
api.setTabContentUrl('vms-monitoring', conf.url + '?subtab=vms&name=' + encodeURIComponent(vmName));
}
Everything works fine as long as I stay in Virtual Machine main tab.
When switching to e.g. Disks and back to Virtual Machines again the JavaScript code of start.html isn't processed anymore (or cached (?) as the my generated URL with last vm name will still be sent back to my Perl backend) - added alert() to test this.
oVirt Engine version: ovirt-engine-3.2.0-1.20130118.gitd102d6f.fc18.noarch
Full code of start.hml: http://pastebin.com/iEY6dA6F
Thanks a lot for your help,
René
11 years, 9 months