[Users] Cluster, hosts, everything down and totally stuck
by Matt .
My cluster is totally down and I'm completely stuck.
I cannot set a host in maintenance, stop a VM because it has a unknown
state, so also the host where this one is on. A new added node cannot find
the storage because all are down but the NFS is up.
On the node that is "unknown" all interfaces are up, on the new added host
all are down following ovirt, but are actually up.
Because of this I'm stuck between 2 or 4 walls and I'm not able to fix this
in some way.
What are my options ? I'm thinking of setting the VM that is stuck on my
existing host to off by editing the DB of ovirt.
I hope we can sort this out.
Cheers,
Matt
11 years, 8 months
[Users] Adding external events to oVirt
by satheesh hegde
--347019335-505193291-1362674185=:59623
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,=0A=0AI tried exploring the feature of adding external events in oVirt. =
(Version 3.2)=0AI just wrote a=A0JavaScript=A0to fetch events and it wroked=
fine.(GEToperation to URLhttp://<IP>/api/events).=0A=0ABut when tried with=
POST operation, to add my own events, it threw "error 405 Method not allowe=
d". (URLhttp://<IP>/api/events).=0A(The html file is not included in any pl=
ugin code, its standalone file).=0A(The data I passed is as specified in li=
nk: =A0" http://www.ovirt.org/Features/Design/DetailedExternalEvents").=0A=
=0AWhat went wrong? =A0Is it not supported on oVirt3.2 or the URL is incorr=
ect?=0A=0ARegards=0ASatheesh J
--347019335-505193291-1362674185=:59623
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:12pt"><div style=3D"font-fa=
mily: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi,</d=
iv><div style=3D"font-family: 'times new roman', 'new york', times, serif; =
font-size: 12pt;"><br></div><div style=3D"font-family: 'times new roman', '=
new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-c=
olor: transparent; font-style: normal;">I tried exploring the feature of ad=
ding external events in oVirt. (<span style=3D"font-weight: bold;">Version =
3.2</span>)</div><div style=3D"background-color: transparent;"><span style=
=3D"font-family: 'times new roman', 'new york', times, serif;">I just wrote=
a JavaScript to fetch events and it wroked fine.(</span><span st=
yle=3D"color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', tim=
es, serif; font-size: 16px; font-style: normal; font-weight: bold;">GET</sp=
an><span
style=3D"font-family: 'times new roman', 'new york', times, serif;"> opera=
tion to URL</span><span style=3D"color: rgb(0, 0, 0); font-family: 'times n=
ew roman', 'new york', times, serif; font-size: 16px; font-style: normal; f=
ont-weight: bold;"> http://<IP>/api/events</span><span style=3D"font-=
family: 'times new roman', 'new york', times, serif;">).</span></div><div s=
tyle=3D"font-family: 'times new roman', 'new york', times, serif; font-size=
: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: nor=
mal;"><br></div><div style=3D"font-family: 'times new roman', 'new york', t=
imes, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transp=
arent;"><span style=3D"font-style: normal;">But when tried with<span style=
=3D"font-weight: bold;"> POST</span> operation, to add my own events, it th=
rew "</span><span style=3D"font-style: italic; text-decoration: underline;"=
>error 405 Method not allowed</span>". (URL<span style=3D"font-style: norma=
l;
font-weight: bold;"> http://<IP>/api/events</span>).</div><div style=
=3D"font-family: 'times new roman', 'new york', times, serif; font-size: 16=
px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;=
">(The html file is not included in any plugin code, its standalone file).<=
/div><div style=3D"font-family: 'times new roman', 'new york', times, serif=
; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font=
-style: normal;">(The data I passed is as specified in link: " http:/=
/www.ovirt.org/Features/Design/DetailedExternalEvents").</div><div style=3D=
"font-family: 'times new roman', 'new york', times, serif; font-size: 16px;=
color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><=
br></div><div style=3D"font-family: 'times new roman', 'new york', times, s=
erif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; =
font-style: normal;">What went wrong? Is it not supported on oVirt3.2
or the URL is incorrect?</div><div style=3D"font-family: 'times new roman'=
, 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); backgroun=
d-color: transparent; font-style: normal;"><br></div><div style=3D"font-fam=
ily: 'times new roman', 'new york', times, serif; font-size: 16px; color: r=
gb(0, 0, 0); background-color: transparent; font-style: normal;">Regards</d=
iv><div style=3D"font-family: 'times new roman', 'new york', times, serif; =
font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-s=
tyle: normal;">Satheesh J</div></div></body></html>
--347019335-505193291-1362674185=:59623--
11 years, 8 months
[Users] install a f18 host with ovirtmgmt vlan tagged
by Gianluca Cecchi
Hello,
engine f18 3.2 stable.
I try to install a host in a new DC where I only configured ovirtmgmt
network as vlan tagged with vlan id 65
Install fails with this error in
/var/log/ovirt-engine/host-deploy/ovirt-20130307154915-10.4.4.57.log
...
2013-03-07 15:49:15 ERROR otopi.context context._executeMethod:139
Failed to execute stage 'Setup validation': Interface em3.65 is VLAN
interface However its configuration is unexpected
..
On fedora18 host I have NetworkManger disabled and network enabled.
At the moment the only adapter that starts on the system is em3 and
its vlan counterpart em3.65, with these conf files:
# cat ifcfg-em3
DEVICE=em3
HWADDR=00:1C:C4:AB:89:0F
TYPE=Ethernet
BOOTPROTO=none
IPV6INIT=no
UUID=0675d8c1-858e-4819-9c65-4ff5f63587b7
ONBOOT=yes
NM_CONTROLLED=no
# cat ifcfg-em3.65
DEVICE=em3.65
ONBOOT=yes
BOOTPROTO=none
VLAN=yes
IPADDR=10.4.4.57
NETMASK=255.255.255.0
GATEWAY=10.4.4.250
NM_CONTROLLED=no
How should I configure the host at the beginning to have ovirtmgmt
configured as VLAN tagged and host deploy with no complain?
Thanks in advance,
Gianluca
11 years, 8 months
[Users] how macro-variables is replaced
by bigclouds
------=_Part_193839_1176079034.1362892252082
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: 7bit
in vdsm code, there are many macro-variables like @xxxxx@.
i want to know how it is replaced by real value.
like config.py.in.
('trust_store_path', '@TRUSTSTORE@',
'Where the certificates and keys are situated.'),
thanks
------=_Part_193839_1176079034.1362892252082
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: 7bit
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">in vdsm code, there are many macro-variables like @xxxxx@.<div>i want to know how it is replaced by real value.</div><div>like config.py.in.</div><div><div> ('trust_store_path', '<span style="color: rgb(255, 0, 0);">@TRUSTSTORE@</span>',</div><div> 'Where the certificates and keys are situated.'),</div></div><div><br></div><div>thanks</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>
------=_Part_193839_1176079034.1362892252082--
11 years, 8 months
[Users] RHEV-toolsSetup
by Kevin Daly
According to the ovirt guide, there is a RHEV-toolsSetup iso to use to
install Windows Clients..
Where do I get this iso?
--
============================
Kevin Daly
(416) 953-8330
11 years, 8 months
[Users] Packet loss to guests
by Neil
Hi guys,
I've got a bit of a strange one, I'm setting up an internal ovirt
system Centos 6.3 64bit dreyou repo...
and I'm getting lots of packet loss on the guest I've installed, the
packet loss doesn't happen on the physical hosts, only the VM gets it,
when communicating from and to it.
1 node(Centos 6.3 64bit)
vdsm-4.10.0-0.46.15.el6.x86_64
vdsm-cli-4.10.0-0.46.15.el6.noarch
vdsm-xmlrpc-4.10.0-0.46.15.el6.noarch
vdsm-python-4.10.0-0.46.15.el6.x86_64
The engine(also Centos 6.3 64bit(engine has local NFS storage which
the node connects to)
ovirt-engine-userportal-3.1.0-3.19.el6.noarch
ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
ovirt-engine-3.1.0-3.19.el6.noarch
ovirt-engine-backend-3.1.0-3.19.el6.noarch
ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
ovirt-image-uploader-3.1.0-16.el6.noarch
ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
ovirt-iso-uploader-3.1.0-16.el6.noarch
ovirt-engine-restapi-3.1.0-3.19.el6.noarch
ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
ovirt-engine-sdk-3.2.0.8-1.el6.noarch
ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
ovirt-engine-cli-3.2.0.5-1.el6.noarch
ovirt-log-collector-3.1.0-16.el6.noarch
ovirt-engine-setup-3.1.0-3.19.el6.noarch
ovirt-engine-jbossas711-1-0.x86_64
ovirt-engine-config-3.1.0-3.19.el6.noarch
Both the node and engine have bonded interfaces all NICS are intel
82574L gigabit and the managed switch reflects gigabit on each of the
ports.
The ifcfg-bond0 is below...
DEVICE=bond0
IPADDR=192.168.0.9
NETWORK=192.168.0.0
NETMASK=255.255.255.0
USERCTL=no
BONDING_OPTS=mode=2
BOOTPROTO=none
MTU=1500
ONBOOT=yes
Then the ifcfg-eth0 and eth1 are almost identical...
DEVICE=eth2
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
MTU=1500
BOOTPROTO=none
These are the network details on the guest, as you can see, there are
no network errors showing on the guest at all, which is strange....
eth0 Link encap:Ethernet HWaddr 00:1A:4A:A8:00:00
inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4aff:fea8:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5050 errors:0 dropped:0 overruns:0 frame:0
TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:490762 (479.2 KiB) TX bytes:32516 (31.7 KiB)
Ethernet controller: Red Hat, Inc Virtio network device
Has anyone got any ideas? Have I set something up wrong?
Any help or advice is greatly appreciated.
Regards.
Neil Wilson.
11 years, 8 months
[Users] UI Plugin iframe dialogs
by René Koch (ovido)
Hi,
I'm still working on my Nagios integration plugin and came across a
limitation of the UI plugin framework caused by iframes.
UI framework creates an iframe for each plugin, so the plugin code is
separated from the main oVirt webadmin code (and other plugins). When
creating a new (big) jQuery dialog in an sub tab-iframe (sub tab of
selected vm or host) it can't be displayed without scrolling in the sub
tab or resizing the sub tab (that's clear as it's displayed in an too
small iframe).
So it would be great if it would be possible to display dialogs in the
middle of the main windows and overlap the iframe (don't know if this is
possible). In short terms I want to create a dialog which behaves like
e.g. the "Setup Host Networks" or "Add Permission to User" dialogs ->
click on a link in the plugin iframe and dialog opens in the middle of
the website not the middle of the iframe.
What I found out so far is that:
1. I must be aware of the same origin policy (that's no problem)
2. I need to put my jQuery-dialog-code in the main oVirt windows and
then I can call it from within the iframe (that's my problem)
So my questions are:
Is it possible to place code outside of the iframe?
If not - are there plans to allow this in future releases?
Or maybe is there a workaround?
Thanks a lot,
René
11 years, 8 months
Re: [Users] Improvement for the oVirt java sdk
by Michael Pasternak
Hi Christopher,
In general SDK abstracts the transport layer, therefore all authentication
internals hidden from the user,
i.e SESSION based authentication happens implicitly (by default), when you
initiate SDK entry point,
the story is different if you want using SSO-like login by reusing JSESSIONID
from the REST-API for instance, and i can support such scenario,
but, is this your case?
On 02/28/2013 10:04 PM, Morrissey, Christopher wrote:
> Hi Michael,
>
> I'm looking to use the oVirt java sdk for connecting into oVirt from our server. However,
> we have a UI plugin that gets access to a session ID that we should be able to use to connect through
> the REST API instead of the username and password. Any chance the sdk could be updated to take the session
> ID and create a connection vs. a user name and password?
>
> -Chris
>
> Chris Morrissey
> Software Engineer
> NetApp Inc.
> 919.476.4428
>
>
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
11 years, 8 months