[Users] [oVirt 3.4.0 beta 2/Test Day] - iproute2 configurator
by Douglas Schilling Landgraf
Hi,
I have tested iproute2:
Test:
==========
- Deployed Host (EL family)
- put in maintenance
- on host changed vdsm.conf to:
[addresses]
management_port = 54321
[vars]
ssl = true
net_configurator = iproute2
net_persistence = unified
- put host up
- Added the network (net25)
-> Networks -> New -> Name: net25 [X] Enable VLAN tagging: 25
- On host added dummy interface:
# ip link add name dummy_interface type dummy
- Put host in maintenance/up to reload the new nic
- Hosts tab -> Network interfaces -> setup hosts networks
Added the network net25 to dummy interface
[OK]
- Added more networks (-> Networks -> New) and more dummy interface at host
- Put host in maintenance/up to reload the new nic
- Added bond via Hosts tab -> Network interfaces
[X] Save network configuration
so far ok, moved the host to maintenance and rebooted. Host is back with
the interfaces but vdsm doesn't start (opened below bug).
vdsm cannot start - iproute2: device ovirtmgmt already exists; can't
create bridge with the same name
https://bugzilla.redhat.com/show_bug.cgi?id=1064530
--
Cheers
Douglas
10 years, 10 months
[Users] [ANN] oVirt 3.4.0 beta 2 Test Day - Today Feb 11th
by Sandro Bonazzola
Hi all,
today Feb 11th we have oVirt 3.4.0 beta 2 test day.
On this day all relevant engineers will be online ready to support
any issues you find during install / operating this new release.
Just make sure you have 1 hosts or more to test drive the new release.
If you're curious to see how it works, this is your chance.
Thanks again for everyone who will join us tomorrow!
Location
#ovirt irc channel
Please communicate here to allow others to see any issues
What
In this test day you have a license to kill ;)
Follow the documentation to setup your environment, and test drive the new features.
Please remember we expect to see some issues, and anything you come up with will save a you when you'll install final release
Remember to try daily tasks you'd usually do in the engine, to see there are no regressions.
Write down the configuration you used (HW, console, etc) in the report etherpad[1].
Documentation
Release notes: http://www.ovirt.org/OVirt_3.4.0_release_notes
Features pages links: http://bit.ly/17qBn6F
If you find errors in the wiki please annotate it as well in report etherpad [1]
Prerequisites / recommendations
Use CentOS or RHEL 6.5 only. 6.4 is unsupported due to various issues (sanlock, libvirt, etc).
Use Fedora 19 only. Fedora 20 is unsupported for running the engine due to various issues (sos, jboss) but may be used as hypervisor.
Latest RPMs
repository to be enabled for testing the release are listed in the release notes page [2].
Note: on Fedora you'll need to enable fedora-virt-preview repository for getting latest libvirt rpms.
Note: on EL6 you'll need to enable EPEL repository.
NEW issues / reports
For any new issue, please update the reports etherpad [1]
Feature owners, please make sure:
your feature is updated and referenced on release page [2].
you have testing instruction for your feature either on test day page [3] or in your feature page.
your team regression testing section is organized and up to date on test day page [3].
[1] http://etherpad.ovirt.org/p/3.4-testday-2
[2] http://www.ovirt.org/OVirt_3.4.0_release_notes
[3] http://www.ovirt.org/OVirt_3.4_Test_Day
Thanks.
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 10 months
[Users] actual disk size of vm via api
by Sven Kieske
Hi,
I got a question regarding the reported actual disk size
of a vm.
you can obtain this value fine via api:
https://your_engine/api/vms/{id}/disks/
however, if the vm is cloned from a template
this disk size does not seem to show the
actual size of the whole disk but instead
the difference from the actual template size.
is this a bug or a feature?
I would like to obtain the "real" size.
e.g. I have a template with 50GB (thin provisioned)
the actual size of this template is 1,5 GB
I clone a vm from this template, the actual size
which gets reported via api is about 8 MB (stuff that
changes from the template).
So I can not obtain the complete used size of the vm.
This was tested under ovirt 3.3.2
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 10 months
Re: [Users] [rhevm-api] Need help to Start and Stop VM using Java SDK
by Juan Hernandez
On 02/12/2014 10:08 AM, Tejesh M wrote:
> Thanks Juan... I'm in process of automating VM creation from Template &
> i want to assign random root password.. can you suggest whether is it
> possible via java SDK?
>
This is possible with a combination of cloud-init and the Java SDK.
First you will need to create a VM manually, install the cloud-init
package, and then make a template from this VM. Once you have this
template you can use something like the following to create a VM from
that template, and start it so that cloud-init will assign the password
you want:
// Generate the random password, using whatever mechanism you
// prefer:
String password = ...;
// You need to know the name of the template, the cluster and
// the VM you are going to create:
String templateName = "mytemplate";
String clusterName = "mycluster";
String vmName = "myvm";
// Prepare the data to create the VM from the template:
Template templateData = new Template();
templateData.setName(templateName);
Cluster clusterData = new Cluster();
clusterData.setName(clusterName);
VM vmDataForCreate = new VM();
vmDataForCreate.setName(vmName);
vmDataForCreate.setCluster(clusterData);
vmDataForCreate.setTemplate(templateData);
// Send the request to create the VM to the server:
api.getVMs().add(vmDataForCreate);
// White till the VM is down (it will be locked for a while):
for (;;) {
String state = api.getVMs().get(vmName).getStatus().getState();
if ("down".equals(state)) {
break;
}
Thread.sleep(1000);
}
// Populate parameters for the action to start the VM with cloud-init:
User userData = new User();
userData.setUserName("root");
userData.setPassword(password);
Users usersData = new Users();
usersData.getUsers().add(userData);
CloudInit cloudData = new CloudInit();
cloudData.setUsers(usersData);
Initialization initData = new Initialization();
initData.setCloudInit(cloudData);
VM vmDataForStart = new VM();
vmDataForStart.setInitialization(initData);
Action actionData = new Action();
actionData.setVm(vmDataForStart);
// Send the request to start the VM to the server:
api.getVMs().get(vmName).start(actionData);
>
>
>
>
> On Tue, Feb 11, 2014 at 9:01 PM, Juan Hernandez <jhernand(a)redhat.com
> <mailto:jhernand@redhat.com>> wrote:
>
> On 02/11/2014 04:16 PM, Itamar Heim wrote:
> > On 02/11/2014 04:55 PM, Tejesh M wrote:
> >> Thanks for your fast response.
> >>
> >> But intelli sense is not listing vm.*start *function
> >>
>
> This is because you are using the VM class from the
> org.ovirt.engine.sdk.entities package, instead of from the
> org.ovirt.engine.sdk.decorators package.
>
> The entities package contains classes that plain containers for the data
> that is sent to and received from the server.
>
> The decorators package contains classes that extend those plain
> containers adding functionality like the action methods.
>
> >> 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
>
> If you want to be able to use the "start" method you will need something
> like this:
>
> org.ovirt.engine.sdk.decorators.VM vm = api.getVMs().get("testVM3");
>
> Then your IDE will show you the additional methods in the decorator,
> including the "start" method.
>
> >> 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%2Brhevm-api@kohlvanwijngaarden.nl>
> >> <mailto:ewoud+rhevm-api@kohlvanwijngaarden.nl
> <mailto:ewoud%2Brhevm-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>
> >> <mailto:rhevm-api@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
> <mailto:rhevm-api@lists.fedorahosted.org>
> >> https://lists.fedorahosted.org/mailman/listinfo/rhevm-api
> >>
> >
> > moving to users@ovirt.org...
> >
> > thanks,
> > Itamar
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
10 years, 10 months
Re: [Users] [Freeipa-users] RHEL 7 beta trust - slow domain user authentication to Linux hosts
by Steve Dainard
+Ovirt users mailing list - might find this interesting. Quick background:
IPA server with cross-forest trust to Windows domain. Authenticating to
Linux clients with domain kerberos credentials.
I'm hosting CentOS 6.5 as an ovirt guest, and have narrowed this ipa client
slow login issue down to a backend storage cause. If I enable async writes
to NFS the CentOS guest performs as my workstations virtualbox guests
(Ubuntu 13.10/Fedora 20) do on login (quick logins).
The client we are investigating is a CentOS 6.5 machine. I've also done the
same test on a RHEL 6.5 machine with the same results. I've increased the
logging level, log attached. I don't see the DC in the logs anywhere.
I guess from an IPA perspective there is not much to be done, but I wanted
to make sure this thread came to some conclusion for future readers. I
suppose the only thing to question, is why ipa authentication would have
any reliance on disk read/write speed to this extent? Perhaps we are
caching something to disk that should be cached in memory?
*Steve Dainard *
IT Infrastructure Manager
Miovision <http://miovision.com/> | *Rethink Traffic*
*Blog <http://miovision.com/blog> | **LinkedIn
<https://www.linkedin.com/company/miovision-technologies> | Twitter
<https://twitter.com/miovision> | Facebook
<https://www.facebook.com/miovision>*
------------------------------
Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON,
Canada | N2C 1L3
This e-mail may contain information that is privileged or confidential. If
you are not the intended recipient, please delete the e-mail and any
attachments and notify us immediately.
On Wed, Feb 12, 2014 at 7:02 AM, Sumit Bose <sbose(a)redhat.com> wrote:
> On Mon, Feb 10, 2014 at 02:08:22PM -0500, Steve Dainard wrote:
> > Sure:
> >
>
> ...
>
> > (0x0400): Attempting kinit for realm [MIOVISION.CORP]
> > (Mon Feb 10 10:14:58 2014) [[sssd[krb5_child[9879]]]] [validate_tgt]
> > (0x0400): TGT verified using key for
> > [host/snapshot-test.miolinux.corp(a)MIOLINUX.CORP].
> > (Mon Feb 10 10:15:06 2014) [[sssd[krb5_child[9879]]]] [become_user]
> > (0x0200): Trying to become user [799001323][799001323].
>
> ...
>
> > (0x0400): Attempting kinit for realm [MIOVISION.CORP]
> > (Mon Feb 10 10:16:35 2014) [[sssd[krb5_child[9929]]]] [validate_tgt]
> > (0x0400): TGT verified using key for
> > [host/snapshot-test.miolinux.corp(a)MIOLINUX.CORP].
> > (Mon Feb 10 10:16:40 2014) [[sssd[krb5_child[9929]]]] [become_user]
> > (0x0200): Trying to become user [799001323][799001323].
>
> ...
>
> > (0x0400): Attempting kinit for realm [MIOVISION.CORP]
> > (Mon Feb 10 10:16:57 2014) [[sssd[krb5_child[9960]]]] [validate_tgt]
> > (0x0400): TGT verified using key for
> > [host/snapshot-test.miolinux.corp(a)MIOLINUX.CORP].
> > (Mon Feb 10 10:17:01 2014) [[sssd[krb5_child[9960]]]] [become_user]
> > (0x0200): Trying to become user [799001323][799001323].
>
> ...
>
> > (0x0400): Attempting kinit for realm [MIOVISION.CORP]
> > (Mon Feb 10 10:17:30 2014) [[sssd[krb5_child[10018]]]] [validate_tgt]
> > (0x0400): TGT verified using key for
> > [host/snapshot-test.miolinux.corp(a)MIOLINUX.CORP].
> > (Mon Feb 10 10:17:34 2014) [[sssd[krb5_child[10018]]]] [become_user]
> > (0x0200): Trying to become user [799001323][799001323].
>
> as you can see the time is spend to validate the ticket. For a user from
> a trusted domain this includes a request for a cross-realm TGT to a AD
> server and then a request to an IPA KDC for a service ticket for the
> local host. With debug_level 9 and higher the libkrb5 tracing is
> switched on which would in more detail show where the time is lost. It
> will also show which AD server is contacted.
>
> You mentioned in your other mail that with a different client the logins
> are faster. Are the two clients in the same network segment? Or is there
> a chance that the other client is "nearer" to the AD server?
>
> bye,
> Sumit
>
10 years, 10 months
[Users] oVirt Node Hypervisor 3.0.3 (f19) Installation Failed - Failed to Partition/format
by Udaya Kiran P
--730575183-253846034-1392189438=:17050
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi All,=0A=0AI am trying to install=A0oVirt Node Hypervisor 3.0.3 (f19) . I=
am getting below error.=0A=0AException: RuntimeError('Failed to Partition/=
format')=0A=0AThe progress bar stopped at 40%.=0A=0APlease suggest how to f=
ix or which logs to be checked?=0A=0AThank You,=0AUdaya Kiran
--730575183-253846034-1392189438=:17050
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:10pt"><div>Hi All,</div><di=
v><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family=
: 'times new roman', 'new york', times, serif; background-color: transparen=
t; font-style: normal;">I am trying to install oVirt Node Hypervisor 3=
.0.3 (f19) . I am getting below error.</div><div style=3D"color: rgb(0, 0, =
0); font-size: 13px; font-family: 'times new roman', 'new york', times, ser=
if; background-color: transparent; font-style: normal;"><br></div><div styl=
e=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', =
'new york', times, serif; background-color: transparent; font-style: normal=
;">Exception: RuntimeError('Failed to Partition/format')</div><div style=3D=
"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new=
york', times, serif; background-color: transparent; font-style:
normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; fon=
t-family: 'times new roman', 'new york', times, serif; background-color: tr=
ansparent; font-style: normal;">The progress bar stopped at 40%.</div><div =
style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roma=
n', 'new york', times, serif; background-color: transparent; font-style: no=
rmal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-f=
amily: 'times new roman', 'new york', times, serif; background-color: trans=
parent; font-style: normal;">Please suggest how to fix or which logs to be =
checked?</div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-fami=
ly: 'times new roman', 'new york', times, serif; background-color: transpar=
ent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font=
-size: 13px; font-family: 'times new roman', 'new york', times, serif; back=
ground-color: transparent; font-style: normal;">Thank You,</div><div
style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new rom=
an', 'new york', times, serif; background-color: transparent; font-style: n=
ormal;">Udaya Kiran</div></div></body></html>
--730575183-253846034-1392189438=:17050--
10 years, 10 months
[Users] [oVirt 3.4.0 beta 2 Test Day]
by Martin Perina
Hi,
I tested following features on F19 (both engine and hosts):
BZ1043473 oVirt Guest Agent for ubuntu
- works without problems on 12.04 LTS and 13.04
BZ1043469 oVirt Guest Agent for OpenSUSE
- works without problems on 13.1
BZ1031040 [RFE] RunOnce dialog can not set a vnc keymap itself
- works fine, you can select VNC keymap in Run Once in similar way to Edit VM dialog
BZ1042782 Fix Control-Alt-Delete functionality in console options
- "Pass c-a-d" is no longer visible in Edit VM options, but pass c-a-d to VM using virt-viewer works fine
Regards
Martin Perina
10 years, 10 months
Re: [Users] oVirt Node Hypervisor 3.0.3 (f19) Installation Failed - Failed to Partition/format
by Ryan Barry
>
> Message: 2
> Date: Wed, 12 Feb 2014 15:17:18 +0800 (SGT)
> From: Udaya Kiran P <ukiran770(a)yahoo.in>
> To: users <users(a)ovirt.org>
> Subject: [Users] oVirt Node Hypervisor 3.0.3 (f19) Installation Failed
> - Failed to Partition/format
> Message-ID:
> <1392189438.17050.YahooMailNeo(a)web193206.mail.sg3.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am trying to install?oVirt Node Hypervisor 3.0.3 (f19) . I am getting
> below error.
>
> Exception: RuntimeError('Failed to Partition/format')
>
> The progress bar stopped at 40%.
>
> Please suggest how to fix or which logs to be checked?
>
> Thank You,
> Udaya Kiran
Can you check /tmp/ovirt.log and /var/log/ovirt.log?
10 years, 10 months
[Users] [Ovirt-Test-Day-2]
by Eli Mesika
Hi
I had tested the following items :
***********************************************************************************************
infra 1038222 Read Only Admin role in AP
Test results : Working as expected, user can only view everything but can not perform any action ***********************************************************************************************
***********************************************************************************************
network 1058594 add /networks sub-collection under /datacenters/xxx
Test results : Working as expected
***********************************************************************************************
***********************************************************************************************
ppc Multiarchitecture support 1053715 Ability to search by architecture
Test results : Working as expected
***********************************************************************************************
***********************************************************************************************
sla 1036746 High Availability flag should be included when exporting/importing from Export Domain
Test results : Working as expected
***********************************************************************************************
***********************************************************************************************
sla 1036749 Even Distribution Policy by number of VMs
Test results : Working as expected
Bugs : https://bugzilla.redhat.com/show_bug.cgi?id=1064289
***********************************************************************************************
***********************************************************************************************
storage 1047273 Adding Disk to a VM which is not down adds a Disk that is not activated
Test results : Working as expected
***********************************************************************************************
***********************************************************************************************
sla 1036753 Make reservations for HA VMs to make sure there's enough capacity to start them if N hosts fail
Test results : Not worked , found a bug that was already reported (1057579)
Working only when host is removed or moved to another cluster ***********************************************************************************************
Apart from that I had opened the following bugs:
---------------------------------------------------
https://bugzilla.redhat.com/show_bug.cgi?id=1063704
https://bugzilla.redhat.com/show_bug.cgi?id=1064289
https://bugzilla.redhat.com/show_bug.cgi?id=1064395
https://bugzilla.redhat.com/show_bug.cgi?id=1064397
Regards
Eli Mesika
10 years, 10 months
[Users] Memory usage
by Koen Vanoppen
Dear all,
When we monitor one of our machines, we noticed that there was one vm that
was constantly giving a error of memory usage. But when we took a look at
it, there is actually nothing wrong with it. Now we looked furhter then
that. We looked at the API of the machine and noticed something very
strange:
<statistic
href="/api/vms/3b9aa245-75ff-42e8-b921-1c9ce61826bf/statistics/b7499508-c1c3-32f0-8174-c1783e57bb08"
id="b7499508-c1c3-32f0-8174-c1783e57bb08"><name>memory.used</name><description>Memory
used (agent)</description><values type="INTEGER"><value><datum>*-944892806*
</datum></value></values><type>GAUGE</type><unit>BYTES</unit>
It's a negative...
What could be the problem?
Kind regards,
koen
10 years, 10 months