problem setting up bonding via rest in ovirt 3.6.6.2
by Sven Kieske
--j9oOhf6Grf0fFqlEVUxQMWAcfqJklkQI7
Content-Type: multipart/mixed; boundary="T7QE2T6V8U03TuXieVjo1CtXdRsCW5TA8"
From: Sven Kieske <s.kieske(a)mittwald.de>
To: users(a)ovirt.org
Cc: devel <devel(a)ovirt.org>
Message-ID: <69e3d02d-ac52-37d7-e8f6-5bc8be8c0d40(a)mittwald.de>
X-Authenticated-mymxserver.com: Yes
Subject: problem setting up bonding via rest in ovirt 3.6.6.2
--T7QE2T6V8U03TuXieVjo1CtXdRsCW5TA8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
I'd like to setup host network in the following way:
I have 4 interfaces: eth0, eno1, eno2, eno3
ovirtmgmt network resides on eth0 and is working.
Now I want to setup a bonding with the slave interfaces
eno2 and eno3 via the hosts "setupnetworks" function:
URL:
https://engine-fqdn/api/hosts/9cdcc85b-dd87-4dcf-9275-b993ee5b5e9c/nics/s=
etupnetworks
Request:
{
"modified_bonds": {
"host_nic": [{
"name": "bond0",
"bonding": {
"options": {
"option": [{
"name": "mode",
"value": "1"
}, {
"name": "miimon",
"value": "100"
}]
},
"slaves": {
"host_nic": [{
"name": "eno2"
}, {
"name": "eno3"
}]
}
}
}]
}
}
Response from ovirt-engine:
<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>
<fault>
<reason>Incomplete parameters</reason>
<detail>Action [hostNics] required for setupNetworks</detail>
</fault>
When I look at the rsdl docs this seems perfectly fine.
I tried google with this error condition but it didn't return anything
useful unfortunately.
Your help would be greatly appreciated.
The official RH docs also do not mention anything else:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtuali=
zation/3.6/html-single/REST_API_Guide/index.html#Multiple_Network_Setup_A=
ction
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtuali=
zation/3.6/html-single/REST_API_Guide/index.html#Bonded_Interfaces
Also this tool doesn't seem to mention anything else:
https://jhernand.fedorapeople.org/ovirt-api-explorer/#/services/host/meth=
ods/setup_networks
--=20
Mit freundlichen Gr=C3=BC=C3=9Fen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
K=C3=B6nigsberger Stra=C3=9Fe 6
32339 Espelkamp
T: +495772 293100
F: +495772 293333
https://www.mittwald.de
Gesch=C3=A4ftsf=C3=BChrer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhause=
n
Komplement=C3=A4rin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oey=
nhausen
--T7QE2T6V8U03TuXieVjo1CtXdRsCW5TA8--
--j9oOhf6Grf0fFqlEVUxQMWAcfqJklkQI7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBAgAGBQJXqfNTAAoJEMby9TMDAbQR9NwQAJ4xm0JeDqRnjW8DuAae6wCz
RLWbGMyhn5jqcL7bRQAU/oppW0FAFGo+So72kwvX29AkII+qRZJnHyHWMo6nnO3s
XnCR23uAk33KH02jmyzVNq9cA6VmckTHX3CWU6cq6WxTA8jhDKNSu7SLkUvOD3/u
pUDGNvoYZJTsN2DU6qQJiROMkIu+zgm0LF9RXKdVcA+tE1G9XuOwz+QBqgAfiWgc
bCD3mWIF+OBfwQoN1GIhe7sxZm3TxJs+Y7UtpotN/hYULXIJffsjU/Lo6e5pEYJY
aPIfPUscPlAr51alEiR11zN9pgzhShqvRW61GHxsxkxTXPn8JVsch2uD4sCe8pQn
8C8Tz9+gdq0tM/gvM3nyYTIcHmMr7ZDn44lyd+x98uJWsUNOuraQH18nAIrs+kaw
TfonDACJKM5t8DQM1FgmUA0nWdS3X5UCcY8LSIHpA5dhLk9sRUWehfvqPl1zDrpJ
uTcOF5/POD7vgpf4Aja9vOlcgrKZJGrKPWGDq2IJkX1OoaeGe2KsIf3VqzqxFG0g
l8UlR9zIeXwslLcfvRpt4YUJT27l3zHkaC6glZo+vkXbvb0fUPVwKfV3Xcyaz9G+
BIs1dC1iYrVGUURaDu8yZ/SZQ5zigD/I/wudKvTgelR8Wd8Y3MStmpkADozqBwY3
hQG0y+cMX/7gvpOsD7cw
=0XKM
-----END PGP SIGNATURE-----
--j9oOhf6Grf0fFqlEVUxQMWAcfqJklkQI7--
8 years, 3 months
3.6 : Hosted_Storage unattached
by Alexis HAUSER
Hi, I installed a new node with a new hosted engine, version 3.6, added a data domain, but I can't see the hosted_storage.
I tried to use the "import storage" on it but it keeps having unattached status, and in the logs I can see :
"2016-08-09 05:39:32,821 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-1) [] Correlation ID: 1d9c8f67, Job ID: 6e75d61e-3140-4f1c-a301-e683ddc28b1f, Call Stack: null, Custom Event ID: -1, Message: This Data center compatibility version does not support importing a data domain with its entities (VMs and Templates). The imported domain will be imported without them."
Any ideas ?
8 years, 3 months
oVirt 4 and Gluster network
by Arsène Gschwind
Hi,
We have setup an oVirt 4 cluster using Gluster as storage backend.
I've setup a separate 10 Gb Network for Gluster traffic and tried to use
that network as written in :
https://www.ovirt.org/develop/release-management/features/network/select-...
But I'm not able to find the "Edit - Brick" menu to be able to set the
IP to use for existing bricks.
Is this not implemented yet? The feature status says "done".
I've been able to create new bricks using that network and it seems the
traffic is going trough the right nics.
Thanks for any hint.
regards,
Arsène
8 years, 3 months
Hosted Engine Storage Domain Stuck and no Volumes tab?
by Dan Lavu
So this is on 4.0.1, Fedora 23, the engine is running fine on glusterfs, on
a 3 replica arbiter 1 volume, the hosted_engine attached storage domain is
*stuck* in offline, wondernig if there is anyway to fix that? Since the
domain cannot be managed inside the engine.
Also I have gluster enabled for one of my clusters but I'm missing a
volumes tab to manage the gluster volumes? The hosts, when putting them
into maintenaince, I have the option to turn off gluster... I know in
3.5-3.6 volume management was a feature, did this change?
Thanks,
Dan
8 years, 3 months
Cannot locate vdsm package, possible cause is incorrect channels
by Huan He (huhe)
I have ovirt engine 3.6 on centos 6.5 and tried to add centos 6.5 host.
I used the command below to install the host
yum localinstall http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
The ovirt repo are listed below.
I tried to uncomment out the baseurl, still got the same issue. Any idea?
It looks to me it failed to find the vdsm pkgs.
Thanks,
Huan
[root@host-182 yum.repos.d]# more ovirt-3.6*.repo
::::::::::::::
ovirt-3.6-dependencies.repo
::::::::::::::
[ovirt-3.6-epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$b...
failovermethod=priority
enabled=1
includepkgs=epel-release,python-uinput,puppet,python-lockfile,python-cpopen,python-ordereddict,python-pthreading,python-inotify,python-argparse,novnc,python-ply,
python-kitchen,python-daemon,python-websockify,livecd-tools,spice-html5,mom,python-IPy,python-ioprocess,ioprocess,safelease,rubygem-rgen,ovirt-guest-agent,pyxatt
r,userspace-rcu
gpgcheck=1
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
[ovirt-3.6-jpackage-6.0-generic]
name=JPackage 6.0, for generic
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&...
enabled=1
gpgcheck=1
includepkgs=dom4j,isorelax,jaxen,jdom,msv,msv-xsdlib,relaxngDatatype,servicemix-specs,tomcat5-servlet-2.4-api,ws-jaxme,xalan-j2,xml-commons,xml-commons-jaxp-1.2-
apis,xml-commons-resolver11,xom,xpp2,xpp3,antlr3,stringtemplate
gpgkey=http://www.jpackage.org/jpackage.asc
[ovirt-3.6-centos-gluster37]
name=CentOS-$releasever - Gluster 3.7
baseurl=http://mirror.centos.org/centos/$releasever/storage/$basearch/glu...
gpgcheck=1
enabled=1
gpgkey=https://raw.githubusercontent.com/CentOS-Storage-SIG/centos-releas...
[ovirt-3.6-patternfly1-noarch-epel]
name=Copr repo for patternfly1 owned by patternfly
baseurl=http://copr-be.cloud.fedoraproject.org/results/patternfly/pattern...
enabled=1
skip_if_unavailable=1
gpgcheck=0
[virtio-win-stable]
name=virtio-win builds roughly matching what was shipped in latest RHEL
baseurl=http://fedorapeople.org/groups/virt/virtio-win/repo/stable
enabled=1
skip_if_unavailable=1
gpgcheck=0
::::::::::::::
ovirt-3.6.repo
::::::::::::::
[ovirt-3.6]
name=Latest oVirt 3.6 Release
#baseurl=http://resources.ovirt.org/pub/ovirt-3.6/rpm/el$releasever/
mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-3.6-e...
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-3.6
[root@host-182 yum.repos.d]#
8 years, 3 months
management interface
by Fernando Fuentes
Team,
Is it possible to move the ovirt management interface to a separate vlan
and keep it from been on the same interface as my LAN?
IE: assign a tag to ovirtmanagement and keep another interface as untag
for my LAN to use with the VM's
Thoughts ideas?
TIA!
Regards,
--
Fernando Fuentes
ffuentes(a)txweather.org
http://www.txweather.org
8 years, 3 months
2 NIC Configuration
by Michael Cooper
Hello Everyone,
I am new to oVirt actively, however I am a long time follower.
I apologize if this question has been asked before but i am not finding
good info on it or I am looking in the worng place or search terms are
poor. I have installed oVirt on a Dell SC1435 Server with 16 gb of ram
and a 1 tb drive. It also has 2 nics however I am only seeing one in the
Web UI, how would I go about adding my second NIC to this configration?
My reasoning for this NIC 1 is used for VM communication and internet
and NIC 2 is used for Storage and management. Hopefully that makes sense.
Thank you so very much for time and pardon me for asking a dumb question.
Michael Cooper
http://coopfire.com
Linux/VMWare Certified Professional
8 years, 3 months
oVirt 4.0 Hosted Engine
by Arsène Gschwind
This is a multi-part message in MIME format.
--------------7EEE0783432E5837A1C9C9DB
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
I have an oVirt setup with 2 server using hosted-engine, both server
resgistered properly the hosted-engine using :
# hosted-engine --deploy
but for some reason the second isn't recognized as a host for
hosted-engine and I'm not able to migrate the hosted-engine.
The error I get when trying to migrate:
* Cannot migrate VM. There is no host that satisfies current
scheduling constraints. See below for details:
* The host xxxxxx did not satisfy internal filter HA because it is not
a Hosted Engine host..
I've tried to redeploy the hosted-engine but this will fail since the
host already exists in the management DB.
I've tried to redeploy the host using the GUI when editing the Host and
set DEPLOY at Hosted Engine but in that case the Event just says the
configuration was updated but nothing happens.
Is there a way to check if the host is registered as hosted-engine host?
How could I register it correctly?
Let me know if you need any logs.
Thanks for any hint.
Regards,
Arsène
--------------7EEE0783432E5837A1C9C9DB
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>I have an oVirt setup with 2 server using hosted-engine, both
server resgistered properly the hosted-engine using :<br>
# hosted-engine --deploy</p>
<p>but for some reason the second isn't recognized as a host for
hosted-engine and I'm not able to migrate the hosted-engine.<br>
The error I get when trying to migrate:</p>
<p>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
</p>
<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom:
10px; color: rgb(0, 0, 0); font-family: "Arial Unicode
MS", Arial, sans-serif; font-size: small; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; line-height:
21.6667px; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<li style="box-sizing: border-box;">Cannot migrate VM. There is no
host that satisfies current scheduling constraints. See below
for details:</li>
<li style="box-sizing: border-box;">The host xxxxxx did not
satisfy internal filter HA because it is not a Hosted Engine
host..</li>
</ul>
<p>I've tried to redeploy the hosted-engine but this will fail since
the host already exists in the management DB.<br>
I've tried to redeploy the host using the GUI when editing the
Host and set DEPLOY at Hosted Engine but in that case the Event
just says the configuration was updated but nothing happens.</p>
<p>Is there a way to check if the host is registered as
hosted-engine host?<br>
How could I register it correctly?</p>
<p>Let me know if you need any logs.<br>
Thanks for any hint.<br>
</p>
<p>Regards,<br>
Arsène<br>
</p>
</body>
</html>
--------------7EEE0783432E5837A1C9C9DB--
8 years, 3 months
preallocated storage issue?
by Simon Barrett
--_000_D86C48DF8800164BBE50B87623F7AC9585F500F2ln2wio001devtra_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
If I create a preallocated disk for a VM, I see the disk image file listing=
as the size I requested (100G):
cd /rhev/data-center/mnt/storage_host1:_vol_pa1__nas__01b__oVirt__prod__01/=
53560d43-874a-49c5-9c5a-8b90487c79f8/images/d97f7706-3662-40bf-9358-80e0dc5=
1bff4
root@ovirt_host> ls -l
total 105064644
-rw-rw---- 1 vdsm kvm 107374182400 Aug 5 10:57 75c14559-e18f-4cc8-a3fe-bc0=
de507720b
-rw-rw---- 1 vdsm kvm 1048576 Aug 5 10:57 75c14559-e18f-4cc8-a3fe-bc0=
de507720b.lease
-rw-r--r-- 1 vdsm kvm 313 Aug 5 10:57 75c14559-e18f-4cc8-a3fe-bc0=
de507720b.meta
and the corresponding space used on disk matches
root@ ovirt_host > du -sh *
101G 75c14559-e18f-4cc8-a3fe-bc0de507720b
1.1M 75c14559-e18f-4cc8-a3fe-bc0de507720b.lease
4.0K 75c14559-e18f-4cc8-a3fe-bc0de507720b.meta
If I then migrate that storage (while the VM is shutdown) to a new storage =
domain, the size on disk does not match the allocated size. In this case th=
ere is nothing in the disk yet so it shows as 0.
cd /rhev/data-center/mnt/storage_host2:_vol_pa1__ovirt__uatprod/1f2c2b48-1e=
77-4c98-a6da-5dc09b78cead/images/d97f7706-3662-40bf-9358-80e0dc51bff4
root@ ovirt_host> ls -l
total 1032
-rw-rw---- 1 vdsm kvm 107374182400 Aug 5 11:06 75c14559-e18f-4cc8-a3fe-bc0=
de507720b
-rw-rw---- 1 vdsm kvm 1048576 Aug 5 11:06 75c14559-e18f-4cc8-a3fe-bc0=
de507720b.lease
-rw-r--r-- 1 vdsm kvm 313 Aug 5 11:06 75c14559-e18f-4cc8-a3fe-bc0=
de507720b.meta
root@ ovirt_host > du -sh *
0 75c14559-e18f-4cc8-a3fe-bc0de507720b
1.1M 75c14559-e18f-4cc8-a3fe-bc0de507720b.lease
4.0K 75c14559-e18f-4cc8-a3fe-bc0de507720b.meta
oVirt still lists the disk as preallocated in the GUI but it is in fact thi=
n provisioned.
I see the same issue if I clone a preallocated VM. The size on disk ends up=
being the equivalent of a thin-provisioned disk. I also had the issue when=
importing VM's from an export domain when I had selected preallocated in t=
he import dialog box.
Is this a known issue? Should preallocated not mean preallocated on physica=
l disk?
Ovirt Engine is running 3.6.4.1-1.el6
The ovirt nodes are running:
OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
Kernel Version: 3.10.0 - 327.4.5.el7.x86_64
KVM Version: 2.3.0 - 31.el7_2.7.1
LIBVIRT Version: libvirt-1.2.17-13.el7_2.2
VDSM Version: vdsm-4.17.23.2-0.el7.centos
SPICE Version: 0.12.4 - 15.el7
GlusterFS Version: [N/A]
CEPH Version: librbd1-0.80.7-3.el7
Many thanks,
Simon
--_000_D86C48DF8800164BBE50B87623F7AC9585F500F2ln2wio001devtra_
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-micr=
osoft-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=3D"Generator" 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.gdol3hyccnd
{mso-style-name:gdol3hyccnd;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@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=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">If I create a preallocated disk for a VM, I see the =
disk image file listing as the size I requested (100G):<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">cd /rhev/data-center/mnt/storage_host1:_vol_pa1__nas=
__01b__oVirt__prod__01/53560d43-874a-49c5-9c5a-8b90487c79f8/images/d97f7706=
-3662-40bf-9358-80e0dc51bff4<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">root@ovirt_host> ls -l<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">total 105064644<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-rw---- 1 vdsm kvm 107374182400 Aug 5 10:57=
75c14559-e18f-4cc8-a3fe-bc0de507720b<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-rw---- 1 vdsm kvm =
1048576 Aug 5 10:57 75c14559-e18f-4cc8-a3fe-bc0de507720b.lease<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-r--r-- 1 vdsm kvm &=
nbsp; 313 Aug 5 10:57 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.meta<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">and the corresponding space used on disk matches<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">root@ ovirt_host > du -sh *<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">101G 75c14559-e18f-4cc8-a3fe-bc0de=
507720b<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">1.1M 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.lease<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">4.0K 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.meta<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">If I then migrate that storage (while the VM is shut=
down) to a new storage domain, the size on disk does not match the allocate=
d size. In this case there is nothing in the disk yet so it shows as 0.<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">cd /rhev/data-center/mnt/storage_host2:_vol_pa1__ovi=
rt__uatprod/1f2c2b48-1e77-4c98-a6da-5dc09b78cead/images/d97f7706-3662-40bf-=
9358-80e0dc51bff4<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">root@ ovirt_host> ls -l<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">total 1032<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-rw---- 1 vdsm kvm 107374182400 Aug 5 11:06=
75c14559-e18f-4cc8-a3fe-bc0de507720b<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-rw---- 1 vdsm kvm =
1048576 Aug 5 11:06 75c14559-e18f-4cc8-a3fe-bc0de507720b.lease<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">-rw-r--r-- 1 vdsm kvm &=
nbsp; 313 Aug 5 11:06 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.meta<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">root@ ovirt_host > du -sh *<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">0 75c14559-e18f-=
4cc8-a3fe-bc0de507720b<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">1.1M 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.lease<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Co=
urier New",serif">4.0K 75c14559-e18f-4cc8-a3fe-bc0de=
507720b.meta<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">oVirt still lists the disk as preallocated in the GU=
I but it is in fact thin provisioned.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I see the same issue if I clone a preallocated VM. T=
he size on disk ends up being the equivalent of a thin-provisioned disk. I =
also had the issue when importing VM’s from an export domain when I h=
ad selected preallocated in the import dialog
box.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Is this a known issue? Should preallocated not mean =
preallocated on physical disk?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Ovirt Engine is running 3.6.4.1-1.el6<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">The ovirt nodes are running: <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">OS Version:  =
; &=
nbsp; RHEL - 7 - 2.1511.el7.centos.2.10<o:p></o:p></p>
<p class=3D"MsoNormal">Kernel Version: =
3.10.0 - 327.4.5.el7=
.x86_64<o:p></o:p></p>
<p class=3D"MsoNormal">KVM Version: &nb=
sp; 2.3.0=
- 31.el7_2.7.1<o:p></o:p></p>
<p class=3D"MsoNormal">LIBVIRT Version: =
libvirt-1.2.17-13.el7_2.2<=
o:p></o:p></p>
<p class=3D"MsoNormal">VDSM Version: &n=
bsp; vdsm-4.17.23.2-0.el7.c=
entos<o:p></o:p></p>
<p class=3D"MsoNormal">SPICE Version: &=
nbsp; 0.12.4 - 15.el7=
<o:p></o:p></p>
<p class=3D"MsoNormal">GlusterFS Version: &nbs=
p; [N/A]<o:p></o:p></p>
<p class=3D"MsoNormal">CEPH Version: &n=
bsp; librbd1-0.=
80.7-3.el7<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Many thanks,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Simon<o:p></o:p></p>
</div>
</body>
</html>
--_000_D86C48DF8800164BBE50B87623F7AC9585F500F2ln2wio001devtra_--
8 years, 3 months
upgrade to ovirt 4 failed
by Fabrice Bacchella
I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes.
But now I'm getting that in /var/log/ovirt-engine/engine.log:
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds
broker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:100) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_92]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_92]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_92]
at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
... 82 more
Caused by: java.lang.NullPointerException
at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182)
at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178)
at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1259)
at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1040)
at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.processProcedureColumns(GenericCallMetaDataProvider.java:353) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.processMetaData(CallMetaDataProviderFactory.java:133) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:299) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createMetaDataProvider(CallMetaDataProviderFactory.java:73) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaData(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE]
at org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(AbstractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE]
at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:]
at org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbcCall.java:288) [spring-jdbc.jar:4.2.4.RELEASE]
at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJdbcCallsHandler.java:169) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:146) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(SimpleJdbcCallsHandler.java:109) [dal.jar:]
at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(SimpleJdbcCallsHandler.java:101) [dal.jar:]
at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129) [dal.jar:]
at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:296) [dal.jar:]
at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:34) [dal.jar:]
at org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.java:421) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.java:237) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:134) [vdsbroker.jar:]
... 87 more
And in server.log:
2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_92]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_92]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_92]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_92]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92]
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)
at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
... 6 more
Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)
at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
... 11 more
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
...
2016-08-03 12:04:40,311 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NullPointerException"}}
...
2016-08-03 12:04:40,916 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of 1633 services (5 services failed or missing dependencies, 438 services are lazy, passive or on-demand)
2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /ovirt-engine/services
2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: /ovirt-engine/webadmin
2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: /ovirt-engine/api
2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /ovirt-engine/docs
2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: /ovirt-engine/sso
2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /ovirt-engine/userportal
2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: /ovirt-engine
2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: /
I see no other error message. Any hint about that ?
8 years, 3 months