<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/12/2015 02:07 PM, Mark Steele
wrote:<br>
</div>
<blockquote
cite="mid:CAPt0GsSF_idPuPuAaEEMFgH-dbpw0YxkX_eeqcrKpYopJAfMqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Thank
you Roy,</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">I
installed the client but am getting a permissions error when I
run it</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
<div class="gmail_default">[root@ovirt-01 ~]# vdsClient -s 0
list</div>
<div class="gmail_default">Traceback (most recent call last):</div>
<div class="gmail_default"> File
"/usr/share/vdsm/vdsClient.py", line 2678, in <module></div>
<div class="gmail_default"> serv.do_connect(hostPort)</div>
<div class="gmail_default"> File
"/usr/share/vdsm/vdsClient.py", line 136, in do_connect</div>
<div class="gmail_default"> self.s =
vdscli.connect(hostPort, self.useSSL, self.truststore)</div>
<div class="gmail_default"> File
"/usr/lib/python2.6/site-packages/vdsm/vdscli.py", line 110,
in connect</div>
<div class="gmail_default"> raise Exception("No permission
to read file: %s" % f)</div>
<div class="gmail_default">Exception: No permission to read
file: /etc/pki/vdsm/keys/vdsmkey.pem</div>
<div class="gmail_default"><br>
</div>
</div>
</div>
</blockquote>
<br>
This should work. something isn't right with your setup<br>
is your host an ovirt-node? could be that you hit [1] . let me know
what version are you running. <br>
<br>
please try the same with user vdsm. it should have permissions to
/etc/pki/vdsm<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://gerrit.ovirt.org/#/c/27779/">https://gerrit.ovirt.org/#/c/27779/</a><br>
<br>
<br>
<blockquote
cite="mid:CAPt0GsSF_idPuPuAaEEMFgH-dbpw0YxkX_eeqcrKpYopJAfMqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
<div class="gmail_default">If I restart vdsm, will that cause
any issues with running VM's on this ovirt installation?
This is our production environment.</div>
</div>
</div>
</blockquote>
<br>
Generatlly the answer is no but lets avoid it if we can for this is
a minor cosmetic issue I guess. <br>
<br>
just as FYI - vdsm only reconnects to the socket exposed by libvirt
to control the vm lifecycle. VDSM doesn't manadate the lifecycle of
a VM unless the engine tells is so. Storage wise there could be some
operations but i'm almost sure they must not have effect on running
VMs. <br>
<blockquote
cite="mid:CAPt0GsSF_idPuPuAaEEMFgH-dbpw0YxkX_eeqcrKpYopJAfMqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
<div class="gmail_default"><br>
</div>
<div class="gmail_default">Thank you</div>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font face="verdana, sans-serif"
color="#000000"><br>
</font></div>
<div><font face="verdana, sans-serif"
color="#000000">***</font></div>
<div><b
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><font
size="2">Mark Steele</font></b><br>
</div>
<div><font face="verdana, sans-serif"><span
style="color:rgb(0,0,0)">CIO / VP Technical
Operations | TelVue Corporation</span></font></div>
<div><font face="verdana, sans-serif"><span
style="font-size:x-small;color:rgb(0,0,0)">TelVue
- We Share Your Vision</span></font></div>
<div><font face="verdana, sans-serif"><span
style="font-size:x-small;color:rgb(0,0,0)">800.885.8886
x128 | <a moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank">msteele@telvue.com</a> | </span><a
moz-do-not-send="true"
href="http://www.telvue.com/"
style="font-size:x-small" target="_blank"><a class="moz-txt-link-freetext" href="http://www.telvue.com">http://www.telvue.com</a></a></font></div>
<div><font face="verdana, sans-serif"><span
style="font-size:x-small">twitter: </span><a
moz-do-not-send="true"
href="http://twitter.com/telvue"
style="font-size:x-small" target="_blank"><a class="moz-txt-link-freetext" href="http://twitter.com/telvue">http://twitter.com/telvue</a></a><span
style="font-size:x-small"> | facebook: </span><a
moz-do-not-send="true"
href="https://www.facebook.com/telvue"
style="font-size:x-small" target="_blank"><a class="moz-txt-link-freetext" href="https://www.facebook.com/telvue">https://www.facebook.com/telvue</a></a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Sun, Jul 12, 2015 at 4:09 AM, Roy
Golan <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<div>On 07/09/2015 06:34 PM, Mark Steele wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Yes,</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">It
is displayed in the engine:</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><img
src="cid:part6.04090408.01030409@redhat.com"
alt="Inline image 1" height="32" width="562"><br>
</div>
</div>
</blockquote>
<br>
</span> the vdsm on that host reports it back to the
engine . since this vm isn't in the engine DB it is
concidered as EXTERNAL (thus the error 400 from the API)<br>
<br>
do yo know if the qemu-kvm proccess isn't running anymore?
<br>
<br>
if the process isn't running then vdsm must clean its
cache<br>
<br>
try to:<br>
<br>
yum install vdsm-cli<br>
vdsClient -s 0 list<br>
vdsClient -s 0 destroy {vmId}<br>
<br>
alternativly a vdsm restart will work (if the qemu
proccess isn't running)
<div>
<div class="h5"><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br>
</div>
<div class="gmail_default"
style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">The
VM is not really running - the IP addresses that
are being reported are from another VM that was
recently removed. All attempts to control the VM
have failed. It does not have any NICS or disk
associated with it - so this seems to be a ghost
in the machine. I attempted to unlock it using
the unlock_entity.sh script - it reports
successful, however I still cannot do anything
with the VM.</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font face="verdana,
sans-serif" color="#000000"><br>
</font></div>
<div><font face="verdana,
sans-serif" color="#000000">***</font></div>
<div><b
style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><font
size="2">Mark Steele</font></b><br>
</div>
<div><font face="verdana,
sans-serif"><span
style="color:rgb(0,0,0)">CIO /
VP Technical Operations |
TelVue Corporation</span></font></div>
<div><font face="verdana,
sans-serif"><span
style="font-size:x-small;color:rgb(0,0,0)">TelVue
- We Share Your Vision</span></font></div>
<div><font face="verdana,
sans-serif"><span
style="font-size:x-small;color:rgb(0,0,0)"><a
moz-do-not-send="true"
href="tel:800.885.8886"
value="+18008858886"
target="_blank">800.885.8886</a>
x128 | <a
moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:msteele@telvue.com">msteele@telvue.com</a></a> | </span><a
moz-do-not-send="true"
href="http://www.telvue.com"
target="_blank"><a class="moz-txt-link-freetext" href="http://www.telvue.com">http://www.telvue.com</a></a></font></div>
<div><font face="verdana,
sans-serif"><span
style="font-size:x-small">twitter: </span><a
moz-do-not-send="true"
href="http://twitter.com/telvue"
target="_blank"><a class="moz-txt-link-freetext" href="http://twitter.com/telvue">http://twitter.com/telvue</a></a><span
style="font-size:x-small"> |
facebook: </span><a
moz-do-not-send="true"
href="https://www.facebook.com/telvue"
target="_blank"><a class="moz-txt-link-freetext" href="https://www.facebook.com/telvue">https://www.facebook.com/telvue</a></a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Thu, Jul 9, 2015 at
11:11 AM, Artyom Lukianov <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:alukiano@redhat.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:alukiano@redhat.com">alukiano@redhat.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Can you sea via
engine, on what host run VM?<br>
Anyway if you have really run VM on host you
can try to figure it with 'ps aux | grep
qemu', if it will return you some process, you
can just kill process via 'kill pid'.<br>
I hope it will help you.<br>
<span><br>
----- Original Message -----<br>
From: "Mark Steele" <<a
moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:msteele@telvue.com">msteele@telvue.com</a></a>><br>
</span><span>To: "Artyom Lukianov" <<a
moz-do-not-send="true"
href="mailto:alukiano@redhat.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:alukiano@redhat.com">alukiano@redhat.com</a></a>><br>
Cc: <a moz-do-not-send="true"
href="mailto:users@ovirt.org"
target="_blank">users@ovirt.org</a><br>
Sent: Thursday, July 9, 2015 5:42:20 PM<br>
Subject: Re: [ovirt-users] This VM is not
managed by the engine<br>
<br>
Artyom,<br>
<br>
Thank you - I don't have vdsClient installed
- can you point me to the<br>
download?<br>
<br>
<br>
***<br>
</span>*Mark Steele*<br>
<div>
<div>CIO / VP Technical Operations | TelVue
Corporation<br>
TelVue - We Share Your Vision<br>
<a moz-do-not-send="true"
href="tel:800.885.8886%20x128"
value="+18008858886" target="_blank">800.885.8886
x128</a> | <a moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank">msteele@telvue.com</a> |
<a moz-do-not-send="true"
href="http://www.telvue.com"
rel="noreferrer" target="_blank">http://www.telvue.com</a><br>
twitter: <a moz-do-not-send="true"
href="http://twitter.com/telvue"
rel="noreferrer" target="_blank">http://twitter.com/telvue</a>
| facebook:<br>
<a moz-do-not-send="true"
href="https://www.facebook.com/telvue"
rel="noreferrer" target="_blank">https://www.facebook.com/telvue</a><br>
<br>
On Thu, Jul 9, 2015 at 10:11 AM, Artyom
Lukianov <<a moz-do-not-send="true"
href="mailto:alukiano@redhat.com"
target="_blank">alukiano@redhat.com</a>><br>
wrote:<br>
<br>
> Please check host where VM
run(vdsClient -s 0 list table), and you
can<br>
> destroy it via vdsClient(vdsClient -s
0 destroy vm_id).<br>
> Thanks<br>
><br>
> ----- Original Message -----<br>
> From: "Mark Steele" <<a
moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:msteele@telvue.com">msteele@telvue.com</a></a>><br>
> To: <a moz-do-not-send="true"
href="mailto:users@ovirt.org"
target="_blank">users@ovirt.org</a><br>
> Sent: Thursday, July 9, 2015 4:38:32
PM<br>
> Subject: [ovirt-users] This VM is not
managed by the engine<br>
><br>
> I have a VM that was not started and
is now showing as running. When I<br>
> attempt to suspend or stop it in the
ovirt-shell, I get the message:<br>
><br>
> status: 400<br>
> reason: bad request<br>
> detail: Cannot hibernate VM. This VM
is not managed by the engine.<br>
><br>
> Not sure how the VM was initially
created on the ovirt manager. This VM is<br>
> not needed - how can I 'shutdown' and
remove this VM?<br>
><br>
> Thanks<br>
><br>
> ***<br>
> Mark Steele<br>
> CIO / VP Technical Operations |
TelVue Corporation<br>
> TelVue - We Share Your Vision<br>
> <a moz-do-not-send="true"
href="tel:800.885.8886%20x128"
value="+18008858886" target="_blank">800.885.8886
x128</a> | <a moz-do-not-send="true"
href="mailto:msteele@telvue.com"
target="_blank">msteele@telvue.com</a> |
<a moz-do-not-send="true"
href="http://www.telvue.com"
rel="noreferrer" target="_blank">http://www.telvue.com</a><br>
> twitter: <a moz-do-not-send="true"
href="http://twitter.com/telvue"
rel="noreferrer" target="_blank">http://twitter.com/telvue</a>
| facebook:<br>
> <a moz-do-not-send="true"
href="https://www.facebook.com/telvue"
rel="noreferrer" target="_blank">https://www.facebook.com/telvue</a><br>
><br>
>
_______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@ovirt.org"
target="_blank">Users@ovirt.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>