Major changes in the disk entities in oVirt Engine
by Tal Nisan
Hi everyone,
Today I've merged the last patch of a feature that changes the disks
entities in oVirt.
Up until now any disk entity (image, LUN etc.) contained properties of
whether it is a boot disk and what disk interface it should be connected
with (IDE, VirtIO etc.).
The old design might have made some sense in earlier versions since back
then it was not possible for a disk to be connected to a few VMs at once.
in later versions, with the introduction of sharable disk and the
introduction of a disk snapshot attachment to a VM this made less sense and
created a very big limitation given the fact that you could not have a disk
connected as a bootable to on VM and not bootable on another or connected
to one VM via IDE and to the other with VirtIO.
>From version 4.0 as a part of a larger scale refactoring of the disk
entities throughout oVirt, the boot and interface properties are now
defined per VM and in light of this do not exist for a floating disk (i.e.
a disk which is not connected to any VM) and thus have to be specified upon
creating/attaching a disk for a VM.
Before I'll get to the changes and specifics, I'd like to ask all you
developers and users that if you encounter any faults or exceptions
(especially surrounding the %Disk% entities and specifically DiskVmElement)
please contact me or better yet - open a bug and assign to me.
This change pretty much involves every storage related flow in oVirt and
while I've verified extensively there'll always be corner cases that might
fail.
Now you're probably asking for the bottom line, given those changes what
will change in the "outer" behavior of oVirt?
The Webadmin changes are quite intuitive, you will notice when creating a
new floating disk the mentioned properties need not be specified and since
they do not exist before a disk is attached to a VM they will need to be
specified upon the attachment (see screenshot).
Note that as mentioned above the properties defined will be specific ONLY
for that VM and of course the same limitation that once existed still apply
such as matters of maximum number of controllers, single bootable disk per
VM and so on.
The real API change is in the REST, a new type called DiskAttachment was
introduced to define how a disk is connected to a VM, I'll give some
examples to clarify as most of you will probably have to change your
scripts accordingly:
*Creation of a floating disk*
No change here just note that bootable and interface properties will be
ignored
*Creation of a VM disk*
Will now be done through api/vms/{vm_id}/diskattachments - the request body
should contain the diskattachment containing the bootable and interface
properties and the disk inside it (as in the old API, no disk ID should be
specified):
<disk_attachment>
<disk>
<alias>Alias</alias>
<provisioned_size>1073741824</provisioned_size>
<format>cow</format>
<storage_domains>
<storage_domain id="53ef639c-0b27-46e0-827e-b64ebfffe28f"/>
</storage_domains>
</disk>
<bootable>false</bootable>
<interface>virtio</interface>
</disk_attachment>
*Attach a disk to VM*
Will be through api/vms/{vm_id}/diskattachments - the request body should
contain the diskattachment containing the bootable and interface properties
and the disk inside it with ID only:
<disk_attachment>
<disk id="8871306b-56da-4443-bd05-2a1974580517"/>
<bootable>false</bootable>
<interface>virtio</interface>
</disk_attachment>
*Update a VM disk*
Will be through api/vms/{vm_id}/diskattachments/{disk_id} - the request
body should contain the diskattachment containing the bootable and
interface properties if they need updating and the disk inside it with
properties that need updating, this will change the interface to IDE, make
the disk bootable and update the disk alias:
<disk_attachment id="8871306b-56da-4443-bd05-2a1974580517">
<bootable>true</bootable>
<interface>IDE</interface>
<disk>
<alias>MyNewAlias</alias>
</disk>
</disk_attachment>
*"Getting" a disk*
When getting a disk which is not attach to a VM via api/disks or
api/disks/{disk_id} the aforementioned properties will not appear simply
because of the fact that they do not exist anymore, for disks attached to a
VM via api/vms/{vm_id}/disks or api/vms/{vm_id}/disks/{disk_id} the
behavior will stay the same.
This pretty much sums it all, I'd like to thank jhernandaz for the great
help with the REST part and to derez and amureini for their help in
reviewing.
Please don't hesitate to contact me if you have any questions.
8 years, 5 months
[VDSM] Excessive warnings in vdsm log
by Nir Soffer
Hi all,
Since data verification patches were merged, vdsm logs is spammed with
useless warnings (see bellow).
This spam make it harder to debug vdsm.
Please add configuration variable to enable this warnings, and make
them disabled by default.
Thanks,
Nir
----
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,719::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['ksmMergeAcrossNodes', 'haStats'] were not
recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,720::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUserVdsmd is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,720::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,720::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuLoad is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,720::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter memUsed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,720::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter elapsedTime is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter netConfigDirty is not boolean type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,721::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,722::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,722::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,722::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,722::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,722::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,723::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,724::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,724::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,724::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,724::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,724::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,725::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,726::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,726::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,726::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,726::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,726::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,727::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,728::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,729::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,729::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,729::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,729::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,729::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,730::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,731::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,731::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,731::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,731::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,731::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,732::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,732::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txErrors is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,732::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter txRate is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,732::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter speed is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,732::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter tx is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,733::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter rxDropped is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,733::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,733::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,733::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,733::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,734::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,734::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,734::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,734::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,734::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,735::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,735::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,735::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,735::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,735::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,736::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,736::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,736::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,736::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,736::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,737::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,737::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,737::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,737::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,737::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,738::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,738::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,738::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,738::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,738::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,739::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,739::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,739::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,739::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,739::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,740::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,740::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,740::schemaapi::140::SchemaCache::(_report_inconsistency)
Following parameters ['nodeIndex'] were not recognized
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,740::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSys is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,740::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,741::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property numaNodeIndex is not provided when calling
Host.getStats
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,741::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuIdle is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,741::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuUser is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,741::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter ksmCpu is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,741::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter memFree is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,742::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,742::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,742::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,742::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,742::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,743::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,743::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,743::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,743::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,743::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter lastCheck is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter delay is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter free is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter free is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter free is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,744::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter free is not uint type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,745::schemaapi::140::SchemaCache::(_report_inconsistency)
Parameter cpuSysVdsmd is not float type
jsonrpc.Executor/0::WARNING::2016-05-16
23:05:21,745::schemaapi::140::SchemaCache::(_report_inconsistency)
Required property haStatus is not provided when calling Host.getStats
8 years, 5 months
In-place sparsify support in VDSM
by Shmuel Melamud
Hi!
There is an RFE being implemented currently (
https://bugzilla.redhat.com/show_bug.cgi?id=734120) to use --inplace option
in virt-sparsify to sparsify a disk image in-place, without copying it.
The problem is that in-place sparsify works on NFS only starting from NFS
4.2, while the copying implementation supposedly works with any storage.
>From my point of view, it is better to remove the old code and start with
the new code that uses --inplace and just add to document that one will
need NFS >= 4.2 for sparsify feature to work. Although the old
implementation exists, it is not used currently so there are no actual
users that may be affected by the change. If it will be a crying need to
use sparsify on older NFS or some other incompatible storage, we can add it
later on the base of the new code. The old code is far from ideal and we
will need to rewrite it in any case, and there is not sense to do this
without real need.
What do you think?
Shmuel
8 years, 5 months
Ovirt system tests review recording
by David Caro
--SvF6CGw9fzJC4Rcx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Here you have the recording of the ovirt system tests review meeting:
https://bluejeans.com/s/9FaJ/
There will be another one with a hands-on focus on which you'll finish runn=
ing
the tests on your laptop yourself.
Enjoy!
--=20
David Caro
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605
Email: dcaro(a)redhat.com
IRC: dcaro|dcaroest@{freenode|oftc|redhat}
Web: www.redhat.com
RHT Global #: 82-62605
--SvF6CGw9fzJC4Rcx
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJXPETmAAoJEEBxx+HSYmnDB2MH/RqtS1rAPt7S3j/5ShXNqm92
9599Lbamjz75eaxmuupwQFf+AnF7q3eOtQL0WitmJ4GdDYbbLmG01jsn0XYmMS6d
jc5d2G1/eA7xA2rf47nbwcvTDv4Ncjge1KQVr496CJ5BcsuBAzxbVXre3WsYItiH
Fkizp6vK/4Qwh9N0J1G8WzYqaraeNX6lnKw7U8TKvQdoJ+k/oLytZ9uQqNeLKRkq
jbIO7Uwvzdk/s0cTXvp/djf2nJNTe2sJXzoNDmnqVXVWqv1KPLNIDzMtsWjkb+8A
+G/mZWaiR6LhOZMUydHfMVg0xaBpX0zyipUc4M9A9MdbZAQRjq3GnR9+Ye1hkt4=
=dERY
-----END PGP SIGNATURE-----
--SvF6CGw9fzJC4Rcx--
8 years, 5 months
Storage Domains Created/Attached with vdsClient command not visible on Web Interface
by Hayley Swimelar
Hello all,
I'm currently working with vdsClient and I've been able to successfully
create and attach an nfs storage domain to the default storage pool of
my cluster; however this domain is not being represented in the web GUI.
Is there something that I need to do to propagate these changes from the
host to the engine?
My present setup is two hosts with one stand alone engine node all
running Fedora Server 24 on physical machines. I'm using the master
snapshot repository for oVirt.
Please let me know if there is anything additional I should provide to
help answer this question.
Best,
Hayley
8 years, 5 months
oVirt 4.0.0 beta build planned
by Sandro Bonazzola
Fyi oVirt developers,
Just a reminder that an oVirt build is planned for tomorrow, Wednesday
11:00 AM TLV time (10:00 AM CET).
Taking into consideration the time it takes for Jenkins to run a full CI
everything need to be backported by today, Tuesday 11PM TLV time.
Please make sure to mark as verified and CR +2 your patches so it will be
ready for merging Wednesday morning.
Thanks.
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
8 years, 5 months
Vdsm call 17/5/2016 summary
by Yaniv Bronheim
*VDSM call 17/5/2016*
mzamzal, mpolednik, edwardh, danken, ybronhei, igoihman, nsoffer, pkliczew
*mzamza* -
* Working on debian support to run vms. still experimental. Milan will send
elaborated mail about it.
*pkliczew* -
* We replaced the json with yaml schema, now when engine sends not well
defined request we warn it in vdsm.log. this leaded to many warn logs which
makes it harder to follow issues. we currently look for solution there.
* Additional to that, it exposed issue with gluster cli that we currently
investigate.
*igoihman* -
* We merged a patch that from now on every test that we add to the system
it needs to pass python3 unless you add it to a blacklist. This is another
way to remind developers to be compatible with python3 (this part of
accelerating our move to python3 as for now python-blivert which gluster
uses won't be available in f25 and above for python2 - so we must support
python3 to work over later fedora versions).
* We merged tox support which replaces the need for pep8 and pyflakes. This
allows to align with specific versions of pep8 and pyflakes. I updated
vdsm-developers wiki patch about that.
*nsoffer* -
* Working on discard fixes - allows to reuse wiped storage.
* Supporting flash in mount points.
* Fix circular dependencies in storage server tests.
* Introduced Image uploader - daemon (ovirt-imageio) that allows to upload
(later download) images directly from engine by http from hosts
* Proposed to have vdsm blog that talks about new plans such as the debian
support.
*mpolednik *-
* Working on fixing the api to changeCD (https://gerrit.ovirt.org/#/c/56805/
).
*danken *-
* openvswitch support - still work in process. we might get it async to 4.0.
*ybronhei *-
* Managed to push forward host package refactoring and will publish soon
the metric collection plans
Thanks for participating. Feel free to comment
--
*Yaniv Bronhaim.*
8 years, 5 months
[vdsm] Another network test failing
by Adam Litke
When running make check on my local system I often (but not always)
get the following error:
$ rpm -qa | grep libvirt-python
libvirt-python-1.2.18-1.fc23.x86_64
<snip>
======================================================================
ERROR: Failure: ImportError (No module named 'libvirt')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/nose/failure.py", line 39, in
runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3.4/site-packages/nose/loader.py", line 418, in
loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3.4/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3.4/site-packages/nose/importer.py", line 94,
in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib64/python3.4/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.4/imp.py", line 171, in load_source
module = methods.load()
File "<frozen importlib._bootstrap>", line 1220, in load
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in
_call_with_frames_removed
File "/home/alitke/src/vdsm/tests/network/models_test.py", line 27,
in <module>
from vdsm.network.netinfo import bonding, mtus
File "/home/alitke/src/vdsm/lib/vdsm/network/netinfo/__init__.py",
line 26, in <module>
from vdsm import libvirtconnection
File "/home/alitke/src/vdsm/lib/vdsm/libvirtconnection.py", line 29,
in <module>
import libvirt
ImportError: No module named 'libvirt'
----------------------------------------------------------------------
Ran 234 tests in 11.084s
FAILED (SKIP=42, errors=1)
--
Adam Litke
8 years, 5 months