<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">Le 15/04/2016 17:27, Nathanaël Blanchet
a écrit :<br>
</div>
<blockquote cite="mid:57110852.5060208@abes.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hi all,<br>
<br>
About serial console:<br>
<ul>
<li>how to get out of a selectionned vm where we are on the
login prompt (why not backing up to the vm menu) rather than
killing the ssh process or closing the terminal? Usual "^] "
doesn't work there.</li>
<li>according to <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html-single/Virtual_Machine_Management_Guide/index.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html-single/Virtual_Machine_Management_Guide/index.html</a>
<br>
<pre class="screen"># ssh -t -p 2222 ovirt-vmconsole@<em class="replaceable">MANAGER_IP</em> --vm-name <em class="replaceable">vm1 </em>
</pre>
</li>
</ul>
should allow to connect directly to a vm on its serial
port, and it is very useful when there are a big number of vm. In
reality, we get a SSH issue : "unknown option -- -"<br>
</blockquote>
An other question is : Why the vm order is not alphabetic? it could
simplify the search when too many vms are displayed. And a simple
"sort -k2" command should do the stuff...<br>
<blockquote cite="mid:57110852.5060208@abes.fr" type="cite">
<ul>
<li>if we want to add 5 users with UserVmManager role on 150 vms
and I can't use group for this stuff, this means I need to do
this with an ovirt-shell script like :<br>
# for i in $(cat /tmp/ids.ovirt); do for j in $(cat
/tmp/list_all);do ovirt-shell -E "add permission
--parent-vm-name $j --user-id $i --role-name UserVmManager";
done; done<br>
and 5*150 API connections only because I can't add several
user ids on the same "add permission" line ? It's doable, but
not not very convinient and very long if I have many more
users to add.</li>
<li>Why can't we add permission by user-name and not user-id ?</li>
</ul>
<p>Thnak you for your help.<br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
</body>
</html>