logging.captureWarnings only in Python 2.7, EL6 broken
by Ondřej Svoboda
Hi all,
Sandro pointed out that tests are failing on
File "../tests/testrunner.py", line 33, in <module>
logging.captureWarnings(True)
AttributeError: 'module' object has no attribute 'captureWarnings'
The code, conditionally using the function also in our daemon, has been introduced on http://gerrit.ovirt.org/#/c/34034, adding support for 'warnings' module.
I have dug in Python changelogs and found that captureWarnings has, sadly, never been backported to Python 2.6. I have seen another project [1] employ the function only optionally. But for us, this probably makes the support for 'warnings' module in logging also optional in effect.
Saggi, I wanted to notice you about this. Do you think 'warnings' could be made to work in a different way, or are they only possible on platforms having Python 2.7+?
[1] https://github.com/josegonzalez/python-beaver/blob/master/beaver/utils.py...
10 years, 1 month
failure on multiple jobs due to Could not initialize class jnr.posix.JavaLibCHelper on F21 slaves
by Sandro Bonazzola
Hi,
we have several jenkins jobs failing on different Fedora 21 hosts with error like:
13:27:55 ERROR: Failed to archive artifacts: exported-artifacts/*
13:27:55 java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2047)
13:27:55 at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
13:27:55 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:220)
13:27:55 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736)
13:27:55 at hudson.model.Build$BuildExecution.post2(Build.java:183)
13:27:55 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685)
13:27:55 at hudson.model.Run.execute(Run.java:1765)
13:27:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
13:27:55 at hudson.model.ResourceController.execute(ResourceController.java:88)
13:27:55 at hudson.model.Executor.run(Executor.java:234)
13:27:55 Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:772)
13:27:55 at hudson.remoting.Channel$3.adapt(Channel.java:767)
13:27:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
13:27:55 at hudson.FilePath.copyRecursiveTo(FilePath.java:2045)
13:27:55 ... 11 more
13:27:55 Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.JavaLibCHelper
13:27:55 at jnr.posix.JavaPOSIX.<init>(JavaPOSIX.java:31)
13:27:55 at jnr.posix.POSIXFactory.getJavaPOSIX(POSIXFactory.java:91)
13:27:55 at jnr.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:57)
13:27:55 at jnr.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:33)
13:27:55 at jnr.posix.LazyPOSIX.posix(LazyPOSIX.java:29)
13:27:55 at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267)
13:27:55 at hudson.util.IOUtils.mode(IOUtils.java:128)
13:27:55 at hudson.util.io.TarArchiver.visit(TarArchiver.java:101)
13:27:55 at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
13:27:55 at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2571)
13:27:55 at hudson.FilePath.writeToTar(FilePath.java:2083)
13:27:55 at hudson.FilePath.access$1000(FilePath.java:180)
13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2024)
13:27:55 at hudson.FilePath$41.invoke(FilePath.java:2020)
13:27:55 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2492)
13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
13:27:55 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
13:27:55 at hudson.remoting.Request$2.run(Request.java:328)
13:27:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
13:27:55 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
13:27:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
13:27:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
13:27:55 at java.lang.Thread.run(Thread.java:745)
can you please investigate and fix it?
Reference jobs failing:
fc21-vm01.phx.ovirt.org - http://jenkins.ovirt.org/job/jasper-reports_master_create-rpms_merged/lab...
fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc20-x86_64_mer...
fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/ioprocess_master_create-rpms-fc21-x86_64_mer...
fc21-vm06.phx.ovirt.org - http://jenkins.ovirt.org/job/otopi_master_create-rpms_merged/667/label=fc...
fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-cli_master_create-rpms_merged/l...
fc21-vm03.phx.ovirt.org - http://jenkins.ovirt.org/job/ovirt-engine-jboss-as_master_create-rpms_mer...
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 1 month
ovirt 3.5 Beta Edit Host
by czg sai
I dont know how to config power management for host. Can you tell me how to
fill out the power management ?
10 years, 1 month
ovirt 3.5 Beta Hosts Configure Local Storage
by czg sai
ovirt 3.5 Beta
Choose a host and configure local storage. Can't open the window of
Configure Local Storage. But there is not this problem in ovirt 3.4. Can
you tell me how to do this.
10 years, 1 month
[ANN] oVirt 3.5 GA Releases
by Sandro Bonazzola
The oVirt Project is pleased to announce the general availability of its sixth formal release, oVirt 3.5, as of October 17, 2014.
oVirt is an open source alternative to VMware vSphere, and provides an excellent KVM management interface for multi-node virtualization. oVirt is
available now for Fedora 19, Fedora 20, Red Hat Enterprise Linux 6.5, and CentOS 6.5 (or similar) and allow you to use Red Hat Enterprise Linux 7 and
CentOS 7 too as node and for running Hosted Engine.
New features include:
Live Merge
----------
If an image has one or more snapshots, oVirt 3.5's merge command will combine the data of one volume into another. Live merges can be performed with
data is pulled from one snapshot into another snapshot. The engine can merge multiple disks at the same time and each merge can independently fail or
succeed in each operation.
Import Storage Domain
This latest release expands oVirt's feature of importing ISOs and exporting storage domains to expand support for importing an existing data storage
domain. Based on information stored in the storage domain, oVirt can revive entities such as disks, virtual machines, and templates in the setup of
any data center to which the storage domain is attached.
Advanced Foreman Integration
----------------------------
oVirt 3.5 adds the capability to provision and add hypervisors to oVirt from bare metal. Foreman is a complete lifecycle management tool for physical
and virtual servers. Through deep integration with configuration management, DHCP, DNS, TFTP, and PXE-based unattended installations, Foreman manages
every stage of the lifecycle of your physical or virtual servers. Integrating Foreman with oVirt helps add hypervisor hosts managed by Foreman to the
oVirt engine.
Enhanced Authentication, Authorization and Accounting Support
-------------------------------------------------------------
A new architecture has been built for oVirt 3.5's authentication, authorization and accounting (AAA) system. The enhancements will provide a clear
separation of authentication from authorization and provide a developer API to develop custom extensions for authentication and authorization.
New PatternFly Interface
------------------------
oVirt 3.5 will have a new look and feel, using PatternFly, the open interface project. The new look and feel aims to maintain the colors and spirit
associated with oVirt, while updating it with a new, modern, sleek, and minimal look. The minimal design allows complex screens to look cleaner and
airier, and lets the user focus on the data and the tasks by removing all extraneous visual elements.
Advanced Scheduling with Optaplanner
------------------------------------
The Optaplanner is a new service that takes a snapshot of a cluster (a list of hosts and VMs) and computes an optimized VM-to-Host assignment
solution. Optimization will is done on per Cluster basis. The administrator can use this information as a hint to tweak the cluster to better utilize
resources.
This release of oVirt also includes numerous bug fixes. See the release notes [1] for a complete list of the new features and bugs fixed.
A new repository has been created and will be automatically enabled by installing / upgrading ovirt-release35 package.
See release notes page for further instructions about install / upgrade.
A new oVirt Live iso is also available [2] and a new oVirt Node iso will be available soon.
[1] http://www.ovirt.org/OVirt_3.5_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-live-el6-3.5.0.iso
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 1 month
[VDSM] Master cannot be installed on rhel7 - broken libvirt-dependency
by Nir Soffer
Hi all,
Commit 395c77c90c0b (vdsm: Add support for VIR_MIGRATE_AUTO_CONVERGE
parameter) bumped libvirt-daemon dependency on rhel7 to version 1.2.3.
It seems that there is no such version in rhel7 or rhel7.z
repositories, which means that master cannot be installed now
on rhel7 machines.
Anyone knows on which repository this package exists?
Thanks,
Nir
10 years, 1 month
host installation failed
by Yair Zaslavsky
HI,
I'm getting the following error when trying to add a host -
.
2014-10-17 06:51:02,522 INFO [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Host 192.168.1.1 reports unique id 52402781-53A0-11CB-9BE9-B7E5E5F061A6
2014-10-17 06:51:02,550 INFO [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Assigning unique id 52402781-53A0-11CB-9BE9-B7E5E5F061A6 to Host 192.168.1.1
2014-10-17 06:51:02,817 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Error during deploy dialog: java.lang.NullPointerException
at org.ovirt.otopi.dialog.MachineDialogParser.cliEnvironmentGet(MachineDialogParser.java:236) [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:580) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:579) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:668) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:873) [bll.jar:]
Can you please assist ?
Yair
10 years, 1 month
[ACTION REQUIRED] prepare packages for 3.5.0 GA
by Sandro Bonazzola
Hi,
we're going to start composing 3.5.0 GA tomorrow 2014-10-17 morning starting 8:00 UTC.
We've no blockers, so we're good to go.
If you need to rebuild your packages, please do it as soon as possible.
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 1 month