<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h3
{mso-style-priority:9;
mso-style-link:"Heading 3 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:13.5pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
h4
{mso-style-priority:9;
mso-style-link:"Heading 4 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-link:"Heading 3";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.Heading4Char
{mso-style-name:"Heading 4 Char";
mso-style-priority:9;
mso-style-link:"Heading 4";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1767187259;
mso-list-template-ids:1774760194;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Tino,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Here is the full command, hostnames and passwords changed. The command executes just fine when I copy it out of the log into the terminal. I am very confused.
Both the daemon and the shell session appear to run as oneadmin. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:49 2012 [InM][I]: Monitoring host labhost (12)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes vmware 12 labhost<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][E]: vmware.rb: Error executing: unset http_proxy && /usr/bin/tty_expect -u oneadmin -p MYPASSWORD virsh -c 'esx://labhost/?no_verify=1&auto_answer=1'
--readonly nodeinfo err: ExitCode: 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][I]: out:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][I]: error: internal error curl_easy_perform() returned an error: Couldn't connect to server (7) : Failed to connect to 1.2.3.4: Permission
denied<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][I]: error: failed to connect to the hypervisor<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][E]: Error executing vmware.rb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][I]: ExitCode: 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#595959">Wed Aug 22 18:15:51 2012 [InM][E]: Error monitoring host 12 : MONITOR FAILURE 12 Error executing vmware.rb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="533" colspan="2" valign="top" style="width:399.5pt;padding:0cm 5.4pt 0cm 5.4pt">
</td>
</tr>
<tr>
<td width="266" valign="top" style="width:199.75pt;padding:0cm 5.4pt 0cm 5.4pt"></td>
<td width="266" valign="top" style="width:199.75pt;padding:0cm 5.4pt 0cm 5.4pt"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kind Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Stephen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Tino Vazquez [mailto:cvazquez@opennebula.org]
<br>
<b>Sent:</b> 23 August 2012 15:17<br>
<b>To:</b> Howell, Stephen R<br>
<b>Cc:</b> users@lists.opennebula.org<br>
<b>Subject:</b> Re: [one-users] Problem monitoring ESX host with the CentOS 6.2 appliance listed in marketplace<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear Stephan,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks a lot for the email, this way we can benefit from other people's insights. I couldn't see anything wrong in the env variables, so let's try the http_proxy env var possibility.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please replace the vmware.rb script with the one attached, and retry the monitorization. It basically does an unset of the http_proxy variable and then logs the complete command used. With the logged output we may be able to figure out
what is going on.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-Tino<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br clear="all">
--<br>
Constantino Vázquez Blanco, MSc <br>
Project Engineer<br>
OpenNebula - The Open-Source Solution for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79 | @OpenNebula <br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On Thu, Aug 23, 2012 at 3:42 PM, Howell, Stephen R <<a href="mailto:stephen.r.howell@jpmchase.com" target="_blank">stephen.r.howell@jpmchase.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">I have opened a bug but it was closed.... I have no idea why this is not working. Somehow the host info collection works when the script is run by oneadmin but
not when invoked via the “onehost create” command. Any help is welcome:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"> </span><o:p></o:p></p>
<h3>Cannot add ESX host vai "onehost create" but /var/lib/one/remotes/im/run_probes vmware runs correctly under oneadmin account<o:p></o:p></h3>
<p>Added by <a href="http://dev.opennebula.org/users/1197" target="_blank">stephen howell</a>
<a href="http://dev.opennebula.org/projects/opennebula/activity?from=2012-08-22" target="_blank" title="08/22/2012 02:55 pm">
about 23 hours</a> ago. Updated <a href="http://dev.opennebula.org/projects/opennebula/activity?from=2012-08-23" target="_blank" title="08/23/2012 11:40 am">
about 2 hours</a> ago. <o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Status:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Closed</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Start date:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">08/22/2012</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Priority:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Normal</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Due date:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Assignee:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">-</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">% Done:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellpadding="0" width="80" style="width:60.0pt">
<tbody>
<tr>
<td width="100%" style="width:100.0%;padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p>0%<o:p></o:p></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Category:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">-</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Target version:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">-</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Resolution:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Affected Version:</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">OpenNebula 3.4</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Story points</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">-</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:center">
<b><span lang="EN-GB">Velocity based estimate</span></b><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">-</span><o:p></o:p></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"><a href="http://dev.opennebula.org/issues/1425" target="_blank">Quote</a>
</span><o:p></o:p></p>
<p><strong>Description</strong><o:p></o:p></p>
<p>When adding an ESX host to OpenNebula 3.4.1 using the CentOS appliance the host produces log similar to:<o:p></o:p></p>
<pre><code>Monitoring host labhost (8)</code><br><code>Tue Aug 21 14:42:48 2012 [InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes vmware 8 labhost</code><br><code>Tue Aug 21 14:42:48 2012 [InM][E]: vmware.rb: Error executing: virsh -c 'esx://labhost/?no_verify=1&auto_answer=1' --readonly nodeinfo err: ExitCode: 1</code><br><br><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><code>Tue Aug 21 14:42:48 2012 [InM][I]: out:</code><br><code>Tue Aug 21 14:42:48 2012 [InM][I]: error: internal error curl_easy_perform() returned an error: Couldn't connect to server (7) : Failed to connect to X.X.X.X: Permission denied</code><br><br><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><code>Tue Aug 21 14:42:48 2012 [InM][I]: error: failed to connect to the hypervisor</code><br><code>Tue Aug 21 14:42:48 2012 [InM][E]: Error executing vmware.rb</code><br><code>Tue Aug 21 14:42:48 2012 [InM][I]: ExitCode: 1</code><br><br><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><code>Tue Aug 21 14:42:48 2012 [InM][E]: Error monitoring host 8 : MONITOR FAILURE 8 Error executing vmware.rb</code><o:p></o:p></pre>
<p>HOWEVER, when running the command from the shell it completes without error:<br>
[oneadmin@ONE341 ~]$ /var/lib/one/remotes/im/run_probes vmware 8 labhost<br>
HYPERVISOR=vmware TOTALCPU=800 FREECPU=800 CPUSPEED=2612 TOTALMEMORY=33550332 FREEMEMORY=26840265<o:p></o:p></p>
<h3>History<o:p></o:p></h3>
<h4><a href="http://dev.opennebula.org/issues/1425#note-1" target="_blank">#1</a><o:p></o:p></h4>
<h4><a name="13953bb153cec831_note-1"></a>Updated by <a href="http://dev.opennebula.org/users/1197" target="_blank">
stephen howell</a> <a href="http://dev.opennebula.org/projects/opennebula/activity?from=2012-08-22" target="_blank" title="08/22/2012 02:56 pm">
about 23 hours</a> ago<o:p></o:p></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"><a href="http://dev.opennebula.org/issues/1425" target="_blank" title=""Quote" "><span lang="EN-US" style="color:windowtext;text-decoration:none"><o:p></o:p></span></a></span></p>
<p><a href="http://dev.opennebula.org/issues/1425" target="_blank" title=""Quote" "><span style="color:windowtext;text-decoration:none">ESX host is ESX 4.1 update 1, SSH access for oneadmin is enabled, with passwords correctly added and SSH keys imported into
the host.<o:p></o:p></span></a></p>
<h4><a href="http://dev.opennebula.org/issues/1425" target="_blank" title=""Quote" "><span style="color:windowtext;text-decoration:none"><u><span style="color:blue">#2</span></u><o:p></o:p></span></a></h4>
<h4><a href="http://dev.opennebula.org/issues/1425" target="_blank" title=""Quote" "><span style="color:windowtext;text-decoration:none">Updated by
<u><span style="color:blue">Tino Vázquez</span></u> <u><span style="color:blue">about 22 hours</span></u> ago<o:p></o:p></span></a><a name="13953bb153cec831_note-2"></a></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"><a href="http://dev.opennebula.org/issues/1425" target="_blank" title=""Quote" "><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Since the command executes correctly under the shell, I can only think of environmental variables. Could you compare the variables accesible from the vmware.rb script when ran directly on the
shell compared with the ones available when ONE runs the script?<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Also, are you running any sort of HTTP proxy?<o:p></o:p></span></p>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none"><u><span style="color:blue">#3</span></u><o:p></o:p></span></h4>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none">Updated by <u>
<span style="color:blue">stephen howell</span></u> <u><span style="color:blue">about 22 hours</span></u> ago<o:p></o:p></span></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Not familiar with ruby, could you provide a code snippet to show how I can show those environment variables?<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">No proxy here, direct connection although the system did have http_proxy set I have removed that and rebooted and symptoms remain unchanged.<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Thanks<o:p></o:p></span></p>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none"><u><span style="color:blue">#4</span></u><o:p></o:p></span></h4>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none">Updated by <u>
<span style="color:blue">Tino Vázquez</span></u> <u><span style="color:blue">about 22 hours</span></u> ago<o:p></o:p></span></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Add the following in line 46 of vmware.rb<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">`env > /tmp/vmware_env_vars`<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Run it once from the shell, backup the file, make ONE monitor the host, and compare both files.<o:p></o:p></span></p>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none"><u><span style="color:blue">#5</span></u><o:p></o:p></span></h4>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none">Updated by <u>
<span style="color:blue">stephen howell</span></u> <u><span style="color:blue">about 21 hours</span></u> ago<o:p></o:p></span></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Thanks for the assistance, this is the difference between the version called via "onehost create" and the one run from the shell:<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">[oneadmin@ONE341 ~]$ diff /tmp/vmware_env_vars /tmp/vmware_env_vars_shell<br>
1a2,3<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SELINUX_ROLE_REQUESTED=<br>
TERM=xterm<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">3d4<br>
< TERM=linux<br>
5c6,7<br>
< PRIORITY=19<br>
---<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SSH_CLIENT=169.66.210.159 58446 22<br>
SELINUX_USE_CURRENT_RANGE=<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">7a10<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SSH_TTY=/dev/pts/0<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">8a12<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">13a18<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SELINUX_LEVEL_REQUESTED=<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">15c20<br>
< SHLVL=5<br>
---<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SHLVL=3<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">19a25<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">SSH_CONNECTION=169.66.210.159 58446 169.82.112.252 22<o:p></o:p></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">22d27<br>
< ONE_MAD_DEBUG=<o:p></o:p></span></p>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none"><u><span style="color:blue">#6</span></u><o:p></o:p></span></h4>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none">Updated by <u>
<span style="color:blue">stephen howell</span></u> <u><span style="color:blue">about 4 hours</span></u> ago<o:p></o:p></span></h4>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">Please let me know if you need further information or if this bug is known to you and could be fixed by upgrading to a newer release. I have also noticed that I am unable to login to Sunstone,
log error is " [E]: Error initializing authentication system" Perhaps the two are linked somehow.<o:p></o:p></span></p>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none"><u><span style="color:blue">#7</span></u><o:p></o:p></span></h4>
<h4><span lang="EN-US" style="color:windowtext;text-decoration:none">Updated by <u>
<span style="color:blue">Tino Vázquez</span></u> <u><span style="color:blue">about 2 hours</span></u> ago<o:p></o:p></span></h4>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<strong><span style="font-family:"Calibri","sans-serif";color:windowtext;text-decoration:none">Status</span></strong><span style="color:windowtext;text-decoration:none"> changed from
<i>New</i> to <i>Closed</i></span><span lang="EN-US" style="color:windowtext;text-decoration:none"><o:p></o:p></span></li></ul>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:windowtext;text-decoration:none"><span lang="EN-US"><o:p></o:p></span></span></p>
<p><span lang="EN-US" style="color:windowtext;text-decoration:none">I would suggest an email to the support list describing the monitorization problem, and a second one for the sunstone problem. This way other members of the community can help. I am closing
this bug as it is not clear wether this is a bug or a problem with configuration. We will reopen it if we find out in the mailing list that there is indeed a bug.<o:p></o:p></span></p>
<p></p>
<p></p>
<p><span lang="EN-US" style="font-size:8.0pt;color:windowtext;text-decoration:none">This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official
confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase
& Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that
any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect
any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage
arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to
<u><span style="color:blue">http://www.jpmorgan.com/pages/disclosures</span></u> for disclosures relating to European legal entities.
</span><span lang="EN-US" style="color:windowtext;text-decoration:none"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="color:windowtext;text-decoration:none"><br>
_______________________________________________<br>
Users mailing list<br>
<u><span style="color:blue">Users@lists.opennebula.org</span></u><br>
<u><span style="color:blue">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</span></u><o:p></o:p></span></p>
<p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;text-decoration:none"><o:p> </o:p></span></p>
<p></p>
<p></p>
</a><a name="13953bb153cec831_note-7"></a><a name="13953bb153cec831_note-6"></a><a name="13953bb153cec831_note-5"></a><a name="13953bb153cec831_note-4"></a><a name="13953bb153cec831_note-3"></a></span>
<p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>