[one-users] Network problem with ONE4.6 and ESXi5.5

Jose Manuel Martínez jose.martinez at fcsc.es
Thu May 8 00:43:44 PDT 2014


Hello,

here is the output for ID 15:
/
//[oneadmin at one1 vmware]$ onevm show -x 15//
//<VM>//
//  <ID>15</ID>//
//  <UID>0</UID>//
//  <GID>0</GID>//
//  <UNAME>oneadmin</UNAME>//
//  <GNAME>oneadmin</GNAME>//
//  <NAME>aragt3 gre</NAME>//
//  <PERMISSIONS>//
//    <OWNER_U>1</OWNER_U>//
//    <OWNER_M>1</OWNER_M>//
//    <OWNER_A>0</OWNER_A>//
//    <GROUP_U>0</GROUP_U>//
//    <GROUP_M>0</GROUP_M>//
//    <GROUP_A>0</GROUP_A>//
//    <OTHER_U>0</OTHER_U>//
//    <OTHER_M>0</OTHER_M>//
//    <OTHER_A>0</OTHER_A>//
//  </PERMISSIONS>//
//  <LAST_POLL>1399455443</LAST_POLL>//
//  <STATE>6</STATE>//
//  <LCM_STATE>0</LCM_STATE>//
//  <RESCHED>0</RESCHED>//
//  <STIME>1399455421</STIME>//
//  <ETIME>1399459332</ETIME>//
//  <DEPLOY_ID/>//
//  <MEMORY>0</MEMORY>//
//  <CPU>0</CPU>//
//  <NET_TX>0</NET_TX>//
//  <NET_RX>0</NET_RX>//
//  <TEMPLATE>//
//    <AUTOMATIC_REQUIREMENTS><![CDATA[CLUSTER_ID = 101 & !(PUBLIC_CLOUD 
= YES)]]></AUTOMATIC_REQUIREMENTS>//
//    <CONTEXT>//
//      <DISK_ID><![CDATA[1]]></DISK_ID>//
//<ETH0_IP><![CDATA[2.3.4.6]]></ETH0_IP>//
//<ETH0_MAC><![CDATA[02:00:02:03:04:06]]></ETH0_MAC>//
//<NETWORK><![CDATA[YES]]></NETWORK>//
//      <TARGET><![CDATA[hdb]]></TARGET>//
//    </CONTEXT>//
//    <CPU><![CDATA[1]]></CPU>//
//    <DISK>//
//      <CLONE><![CDATA[YES]]></CLONE>//
//<CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>//
//<CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>//
//<DATASTORE><![CDATA[default]]></DATASTORE>//
//<DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>//
//<DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>//
//      <DISK_ID><![CDATA[0]]></DISK_ID>//
//      <IMAGE><![CDATA[ttylinux - VMware_file0]]></IMAGE>//
//<IMAGE_ID><![CDATA[0]]></IMAGE_ID>//
//<IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>//
//<LN_TARGET><![CDATA[NONE]]></LN_TARGET>//
//<READONLY><![CDATA[NO]]></READONLY>//
//      <SAVE><![CDATA[NO]]></SAVE>//
//      <SIZE><![CDATA[103]]></SIZE>//
//<SOURCE><![CDATA[/vmfs/volumes/1/4117302ca359b7013acfdabe66c9b093]]></SOURCE>//
//      <TARGET><![CDATA[hda]]></TARGET>//
//<TM_MAD><![CDATA[vmfs]]></TM_MAD>//
//      <TYPE><![CDATA[FILE]]></TYPE>//
//    </DISK>//
//    <GRAPHICS>//
//<LISTEN><![CDATA[0.0.0.0]]></LISTEN>//
//      <PORT><![CDATA[5915]]></PORT>//
//      <TYPE><![CDATA[VNC]]></TYPE>//
//    </GRAPHICS>//
//    <MEMORY><![CDATA[256]]></MEMORY>//
//    <NIC>//
//<BRIDGE><![CDATA[vSwitch0]]></BRIDGE>//
//<CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>//
//      <IP><![CDATA[2.3.4.6]]></IP>//
//<IP6_LINK><![CDATA[fe80::400:2ff:fe03:406]]></IP6_LINK>//
//<MAC><![CDATA[02:00:02:03:04:06]]></MAC>//
//<NETWORK><![CDATA[redecilla1]]></NETWORK>//
//<NETWORK_ID><![CDATA[5]]></NETWORK_ID>//
//<NETWORK_UNAME><![CDATA[oneadmin]]></NETWORK_UNAME>//
//      <NIC_ID><![CDATA[0]]></NIC_ID>//
//      <VLAN><![CDATA[YES]]></VLAN>//
//<VLAN_ID><![CDATA[123]]></VLAN_ID>//
//    </NIC>//
//<TEMPLATE_ID><![CDATA[1]]></TEMPLATE_ID>//
//    <VMID><![CDATA[15]]></VMID>//
//  </TEMPLATE>//
//  <USER_TEMPLATE>//
//<DESCRIPTION><![CDATA[ttylinux]]></DESCRIPTION>//
//  </USER_TEMPLATE>//
//  <HISTORY_RECORDS>//
//    <HISTORY>//
//      <OID>15</OID>//
//      <SEQ>0</SEQ>//
//      <HOSTNAME>esxi1</HOSTNAME>//
//      <HID>2</HID>//
//      <CID>101</CID>//
//      <STIME>1399455438</STIME>//
//      <ETIME>1399455443</ETIME>//
//      <VMMMAD>vmware</VMMMAD>//
//      <VNMMAD>vmware</VNMMAD>//
//      <TMMAD>vmfs</TMMAD>//
//<DS_LOCATION>/vmfs/volumes</DS_LOCATION>//
//      <DS_ID>101</DS_ID>//
//      <PSTIME>1399455438</PSTIME>//
//      <PETIME>1399455443</PETIME>//
//      <RSTIME>1399455443</RSTIME>//
//      <RETIME>1399455443</RETIME>//
//      <ESTIME>0</ESTIME>//
//      <EETIME>0</EETIME>//
//      <REASON>1</REASON>//
//      <ACTION>0</ACTION>//
//    </HISTORY>//
//  </HISTORY_RECORDS>//
//</VM>/

Regards.
JoseM

El 07/05/14 15:05, Tino Vazquez escribió:
> Hi,
>
> The template that is being passed to the "pre" script in your tests 
> corresponds to VM with ID 15 (you can decode it and check, it is 
> encoded Base64), and is lacking a lot of attributes.
>
> Can you let us know the output of "onevm show -x 15", or 
> alternatively, send us the relevant lines in the oned.log of the 
> failure of VM 20?
>
> Best,
>
> -Tino
>
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com <http://www.c12g.com> | @C12G | es.linkedin.com/in/tinova 
> <http://es.linkedin.com/in/tinova>
>
> --
> Confidentiality Warning: The information contained in this e-mail and 
> any accompanying documents, unless otherwise expressly indicated, is 
> confidential and privileged, and is intended solely for the person 
> and/or entity to whom it is addressed (i.e. those identified in the 
> "To" and "cc" box). They are the property of C12G Labs S.L.. 
> Unauthorized distribution, review, use, disclosure, or copying of this 
> communication, or any part thereof, is strictly prohibited and may be 
> unlawful. If you have received this e-mail in error, please notify us 
> immediately by e-mail at abuse at c12g.com <mailto:abuse at c12g.com> and 
> delete the e-mail and attachments and any copy from your system. C12G 
> thanks you for your cooperation.
>
>
> On 7 May 2014 14:15, Jose Manuel Martínez <jose.martinez at fcsc.es 
> <mailto:jose.martinez at fcsc.es>> wrote:
>
>     Hello again.
>
>     More info. I have placed many "print" lines in "VMware.rb" like this:
>
>     /[...]
>             vm_id =  @vm['ID']
>             host = @vm['HISTORY_RECORDS/HISTORY/HOSTNAME']
>
>     print "\n"
>     print host
>     tmp1 = @vm['ID']
>     print "\n"
>     print tmp1
>     tmp2 = @vm['UID']
>     print "\n"
>     print tmp2
>     tmp3 = @vm['GID']
>     print "\n"
>     print tmp3
>     tmp4 = @vm['STIME']
>     print "\n"
>     print tmp4
>     tmp5 = @vm['LAST_POLL']
>     print "\n"
>     print tmp5
>     print "\n"
>     [...]/
>
>
>     ...trying ti see if other values are propertly returned, and here
>     is the output:
>
>     /[...]/
>     //var/lib/one/remotes/vnm/vmware/pre
>     ///PFZNPjxJRD4xNTwvSUQ+PERFUExPWV9JRC8+PFRFTVBMQVRFPjxOSUM+PEJSSURHRT48IVtDREFUQVt2U3dpdGNoMF1dPjwvQlJJREdFPjxDTFVTVEVSX0lEPjwhW0NEQVRBWzEwMV1dPjwvQ0xVU1RFUl9JRD48SVA+PCFbQ0RBVEFbMi4zLjQuNl1dPjwvSVA+PElQNl9MSU5LPjwhW0NEQVRBW2ZlODA6OjQwMDoyZmY6ZmUwMzo0MDZdXT48L0lQNl9MSU5LPjxNQUM+PCFbQ0RBVEFbMDI6MDA6MDI6MDM6MDQ6MDZdXT48L01BQz48TkVUV09SSz48IVtDREFUQVtyZWRlY2lsbGExXV0+PC9ORVRXT1JLPjxORVRXT1JLX0lEPjwhW0NEQVRBWzVdXT48L05FVFdPUktfSUQ+PE5FVFdPUktfVU5BTUU+PCFbQ0RBVEFbb25lYWRtaW5dXT48L05FVFdPUktfVU5BTUU+PE5JQ19JRD48IVtDREFUQVswXV0+PC9OSUNfSUQ+PFZMQU4+PCFbQ0RBVEFbWUVTXV0+PC9WTEFOPjxWTEFOX0lEPjwhW0NEQVRBWzEyM11dPjwvVkxBTl9JRD48L05JQz48L1RFTVBMQVRFPjwvVk0+//
>     ///
>     /*/nil/**/
>     /**/11/**/
>     /**/nil/**/
>     /**/nil/**/
>     /**/nil/**/
>     /**/nil/*/
>     //ERROR: pre: Error executing: ((esxcfg-vswitch vSwitch0 -l|grep
>     one-pg-4) || /sbin/esxcfg-vswitch vSwitch0 --add-pg one-pg-4);
>     /sbin/esxcfg-vswitch vSwitch0 -p one-pg-4 --vlan=41 on host:  err:
>     Pseudo-terminal will not be allocated because stdin is not a
>     terminal.//
>     //ssh: Could not resolve hostname ((esxcfg-vswitch vSwitch0
>     -l|grep one-pg-4) || /sbin/esxcfg-vswitch vSwitch0 --add-pg
>     one-pg-4); /sb: Name or service not known//
>     //ExitCode: 255//
>     // out: /
>     /[...]/
>
>     It looks like only the <ID> tag is correctly defined or returned.
>
>     Regards.
>
>
>
>     El 07/05/14 13:11, Jose Manuel Martínez escribió:
>>     Hello Tino,
>>
>>     Here is the output of the command over 2 VMs:
>>         ID 20 is from a failed machine deployed with dynamic VMWare
>>     network mode.
>>         ID 21 is from a runnig machine deployed in dummy mode.
>>
>>     The hostname tag looks to be ok in both cases.
>>
>>
>>     */[oneadmin at one1 vmware]$ onevm show -x 20/*/
>>     //<VM>//
>>     //  <ID>20</ID>//
>>     //  <UID>0</UID>//
>>     //  <GID>0</GID>//
>>     //  <UNAME>oneadmin</UNAME>//
>>     //  <GNAME>oneadmin</GNAME>//
>>     //  <NAME>Copy of ttylinux-20</NAME>//
>>     //  <PERMISSIONS>//
>>     //    <OWNER_U>1</OWNER_U>//
>>     //    <OWNER_M>1</OWNER_M>//
>>     //    <OWNER_A>0</OWNER_A>//
>>     //    <GROUP_U>0</GROUP_U>//
>>     //    <GROUP_M>0</GROUP_M>//
>>     //    <GROUP_A>0</GROUP_A>//
>>     //    <OTHER_U>0</OTHER_U>//
>>     //    <OTHER_M>0</OTHER_M>//
>>     //    <OTHER_A>0</OTHER_A>//
>>     //  </PERMISSIONS>//
>>     //<LAST_POLL>1399460031</LAST_POLL>//
>>     //  <STATE>7</STATE>//
>>     //  <LCM_STATE>0</LCM_STATE>//
>>     //  <RESCHED>0</RESCHED>//
>>     //  <STIME>1399460007</STIME>//
>>     //  <ETIME>1399460031</ETIME>//
>>     //  <DEPLOY_ID/>//
>>     //  <MEMORY>0</MEMORY>//
>>     //  <CPU>0</CPU>//
>>     //  <NET_TX>0</NET_TX>//
>>     //  <NET_RX>0</NET_RX>//
>>     //  <TEMPLATE>//
>>     //<AUTOMATIC_REQUIREMENTS><![CDATA[CLUSTER_ID = 101 &
>>     !(PUBLIC_CLOUD = YES)]]></AUTOMATIC_REQUIREMENTS>//
>>     //    <CONTEXT>//
>>     //<DISK_ID><![CDATA[1]]></DISK_ID>//
>>     //<ETH0_IP><![CDATA[2.3.4.6]]></ETH0_IP>//
>>     //<ETH0_MAC><![CDATA[02:00:02:03:04:06]]></ETH0_MAC>//
>>     //<NETWORK><![CDATA[YES]]></NETWORK>//
>>     //<TARGET><![CDATA[hdb]]></TARGET>//
>>     //    </CONTEXT>//
>>     //<CPU><![CDATA[1]]></CPU>//
>>     //    <DISK>//
>>     //<CLONE><![CDATA[YES]]></CLONE>//
>>     //<CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>//
>>     //<CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>//
>>     //<DATASTORE><![CDATA[default]]></DATASTORE>//
>>     //<DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>//
>>     //<DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>//
>>     //<DISK_ID><![CDATA[0]]></DISK_ID>//
>>     //      <IMAGE><![CDATA[ttylinux - VMware_file0]]></IMAGE>//
>>     //<IMAGE_ID><![CDATA[0]]></IMAGE_ID>//
>>     //<IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>//
>>     //<LN_TARGET><![CDATA[NONE]]></LN_TARGET>//
>>     //<READONLY><![CDATA[NO]]></READONLY>//
>>     //<SAVE><![CDATA[NO]]></SAVE>//
>>     //<SIZE><![CDATA[103]]></SIZE>//
>>     //<SOURCE><![CDATA[/vmfs/volumes/1/4117302ca359b7013acfdabe66c9b093]]></SOURCE>//
>>     //<TARGET><![CDATA[hda]]></TARGET>//
>>     //<TM_MAD><![CDATA[vmfs]]></TM_MAD>//
>>     //<TYPE><![CDATA[FILE]]></TYPE>//
>>     //    </DISK>//
>>     //    <GRAPHICS>//
>>     //<LISTEN><![CDATA[0.0.0.0]]></LISTEN>//
>>     //<PORT><![CDATA[5920]]></PORT>//
>>     //<TYPE><![CDATA[VNC]]></TYPE>//
>>     //    </GRAPHICS>//
>>     //<MEMORY><![CDATA[256]]></MEMORY>//
>>     //    <NIC>//
>>     //<BRIDGE><![CDATA[vSwitch0]]></BRIDGE>//
>>     //<CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>//
>>     //<IP><![CDATA[2.3.4.6]]></IP>//
>>     //<IP6_LINK><![CDATA[fe80::400:2ff:fe03:406]]></IP6_LINK>//
>>     //<MAC><![CDATA[02:00:02:03:04:06]]></MAC>//
>>     //<NETWORK><![CDATA[redecilla1]]></NETWORK>//
>>     //<NETWORK_ID><![CDATA[5]]></NETWORK_ID>//
>>     //<NETWORK_UNAME><![CDATA[oneadmin]]></NETWORK_UNAME>//
>>     //<NIC_ID><![CDATA[0]]></NIC_ID>//
>>     //<VLAN><![CDATA[YES]]></VLAN>//
>>     //<VLAN_ID><![CDATA[123]]></VLAN_ID>//
>>     //    </NIC>//
>>     //<TEMPLATE_ID><![CDATA[1]]></TEMPLATE_ID>//
>>     //<VMID><![CDATA[20]]></VMID>//
>>     //  </TEMPLATE>//
>>     //  <USER_TEMPLATE>//
>>     //<DESCRIPTION><![CDATA[ttylinux]]></DESCRIPTION>//
>>     //  </USER_TEMPLATE>//
>>     //  <HISTORY_RECORDS>//
>>     //    <HISTORY>//
>>     //      <OID>20</OID>//
>>     //      <SEQ>0</SEQ>//
>>     //<HOSTNAME>esxi1</HOSTNAME>//
>>     //      <HID>2</HID>//
>>     //      <CID>101</CID>//
>>     //<STIME>1399460028</STIME>//
>>     //<ETIME>1399460031</ETIME>//
>>     //      <VMMMAD>vmware</VMMMAD>//
>>     //      <VNMMAD>vmware</VNMMAD>//
>>     //      <TMMAD>vmfs</TMMAD>//
>>     //<DS_LOCATION>/vmfs/volumes</DS_LOCATION>//
>>     //      <DS_ID>101</DS_ID>//
>>     //<PSTIME>1399460028</PSTIME>//
>>     //<PETIME>1399460031</PETIME>//
>>     //<RSTIME>1399460031</RSTIME>//
>>     //<RETIME>1399460031</RETIME>//
>>     //      <ESTIME>0</ESTIME>//
>>     //      <EETIME>0</EETIME>//
>>     //      <REASON>1</REASON>//
>>     //      <ACTION>0</ACTION>//
>>     //    </HISTORY>//
>>     //  </HISTORY_RECORDS>//
>>     //</VM>/
>>
>>
>>     /*[oneadmin at one1 vmware]$ onevm show -x 21*
>>     <VM>
>>       <ID>21</ID>
>>       <UID>0</UID>
>>       <GID>0</GID>
>>       <UNAME>oneadmin</UNAME>
>>       <GNAME>oneadmin</GNAME>
>>       <NAME>ttylinux-21</NAME>
>>       <PERMISSIONS>
>>         <OWNER_U>1</OWNER_U>
>>         <OWNER_M>1</OWNER_M>
>>         <OWNER_A>0</OWNER_A>
>>         <GROUP_U>0</GROUP_U>
>>         <GROUP_M>0</GROUP_M>
>>         <GROUP_A>0</GROUP_A>
>>         <OTHER_U>0</OTHER_U>
>>         <OTHER_M>0</OTHER_M>
>>         <OTHER_A>0</OTHER_A>
>>       </PERMISSIONS>
>>     <LAST_POLL>1399460266</LAST_POLL>
>>       <STATE>3</STATE>
>>       <LCM_STATE>3</LCM_STATE>
>>       <RESCHED>0</RESCHED>
>>       <STIME>1399460007</STIME>
>>       <ETIME>0</ETIME>
>>       <DEPLOY_ID>one-21</DEPLOY_ID>
>>       <MEMORY>75776</MEMORY>
>>       <CPU>0</CPU>
>>       <NET_TX>0</NET_TX>
>>       <NET_RX>0</NET_RX>
>>       <TEMPLATE>
>>     <AUTOMATIC_REQUIREMENTS><![CDATA[CLUSTER_ID = 101 &
>>     !(PUBLIC_CLOUD = YES)]]></AUTOMATIC_REQUIREMENTS>
>>         <CONTEXT>
>>     <DISK_ID><![CDATA[1]]></DISK_ID>
>>     <NETWORK><![CDATA[YES]]></NETWORK>
>>     <TARGET><![CDATA[hdb]]></TARGET>
>>         </CONTEXT>
>>         <CPU><![CDATA[1]]></CPU>
>>         <DISK>
>>     <CLONE><![CDATA[YES]]></CLONE>
>>     <CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
>>     <CLUSTER_ID><![CDATA[101]]></CLUSTER_ID>
>>     <DATASTORE><![CDATA[default]]></DATASTORE>
>>     <DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
>>     <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
>>     <DISK_ID><![CDATA[0]]></DISK_ID>
>>           <IMAGE><![CDATA[ttylinux - VMware_file0]]></IMAGE>
>>     <IMAGE_ID><![CDATA[0]]></IMAGE_ID>
>>     <IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>
>>     <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
>>     <READONLY><![CDATA[NO]]></READONLY>
>>     <SAVE><![CDATA[NO]]></SAVE>
>>     <SIZE><![CDATA[103]]></SIZE>
>>     <SOURCE><![CDATA[/vmfs/volumes/1/4117302ca359b7013acfdabe66c9b093]]></SOURCE>
>>     <TARGET><![CDATA[hda]]></TARGET>
>>     <TM_MAD><![CDATA[vmfs]]></TM_MAD>
>>     <TYPE><![CDATA[FILE]]></TYPE>
>>         </DISK>
>>     <MEMORY><![CDATA[256]]></MEMORY>
>>     <TEMPLATE_ID><![CDATA[0]]></TEMPLATE_ID>
>>     <VMID><![CDATA[21]]></VMID>
>>       </TEMPLATE>
>>       <USER_TEMPLATE>
>>     <DESCRIPTION><![CDATA[ttylinux]]></DESCRIPTION>
>>       </USER_TEMPLATE>
>>       <HISTORY_RECORDS>
>>         <HISTORY>
>>           <OID>21</OID>
>>           <SEQ>0</SEQ>
>>           <HOSTNAME>esxi1</HOSTNAME>
>>           <HID>2</HID>
>>           <CID>101</CID>
>>           <STIME>1399460058</STIME>
>>           <ETIME>0</ETIME>
>>           <VMMMAD>vmware</VMMMAD>
>>           <VNMMAD>vmware</VNMMAD>
>>           <TMMAD>vmfs</TMMAD>
>>     <DS_LOCATION>/vmfs/volumes</DS_LOCATION>
>>           <DS_ID>101</DS_ID>
>>           <PSTIME>1399460058</PSTIME>
>>           <PETIME>1399460061</PETIME>
>>           <RSTIME>1399460061</RSTIME>
>>           <RETIME>0</RETIME>
>>           <ESTIME>0</ESTIME>
>>           <EETIME>0</EETIME>
>>           <REASON>0</REASON>
>>           <ACTION>0</ACTION>
>>         </HISTORY>
>>       </HISTORY_RECORDS>
>>     </VM>/
>>
>>
>>     Regards.
>>     JoseM
>>
>>
>>
>>     El 07/05/14 12:45, Tino Vazquez escribió:
>>>     Hi José Manuel,
>>>
>>>     It looks indeed like the driver is not capable of retieve the
>>>     hostname of the ESX correctly. This information is pulled from
>>>     the VM template:
>>>
>>>             host = @vm['HISTORY_RECORDS/HISTORY/HOSTNAME']
>>>
>>>     Let's first check that this information is there. Could you send
>>>     us the output of:
>>>
>>>      $ onevm show -x 15       # I think 15 is the ID of the VM that
>>>     is failing to be launched, but I may be wrong
>>>
>>>     Regards,
>>>
>>>     -Tino
>>>
>>>     --
>>>     OpenNebula - Flexible Enterprise Cloud Made Simple
>>>
>>>     --
>>>     Constantino Vázquez Blanco, PhD, MSc
>>>     Senior Infrastructure Architect at C12G Labs
>>>     www.c12g.com <http://www.c12g.com> | @C12G |
>>>     es.linkedin.com/in/tinova <http://es.linkedin.com/in/tinova>
>>>
>>>     --
>>>     Confidentiality Warning: The information contained in this
>>>     e-mail and any accompanying documents, unless otherwise
>>>     expressly indicated, is confidential and privileged, and is
>>>     intended solely for the person and/or entity to whom it is
>>>     addressed (i.e. those identified in the "To" and "cc" box). They
>>>     are the property of C12G Labs S.L.. Unauthorized distribution,
>>>     review, use, disclosure, or copying of this communication, or
>>>     any part thereof, is strictly prohibited and may be unlawful. If
>>>     you have received this e-mail in error, please notify us
>>>     immediately by e-mail at abuse at c12g.com <mailto:abuse at c12g.com>
>>>     and delete the e-mail and attachments and any copy from your
>>>     system. C12G thanks you for your cooperation.
>>>
>>>
>>>     On 7 May 2014 12:11, Jose Manuel Martínez <jose.martinez at fcsc.es
>>>     <mailto:jose.martinez at fcsc.es>> wrote:
>>>
>>>         Hello everybody.
>>>
>>>         I'm trying to setup a testing cluster with ONE4.6 and only
>>>         one ESXi5.5 compute host.
>>>         The ESXi host has been added using dynamic "vmware" network
>>>         mode (onehost create esxi1 -i vmware -v vmware -n vmware).
>>>         This is my first time trying to use native vmware network
>>>         mode. I'm been deploying VMs over this testbed without
>>>         problems with dummy network mode. The only change now is
>>>         network from "dummy" to "vmware" (from predefined to dynamic).
>>>
>>>         When I try to deploy a VM with a VMWare tagged virtual
>>>         network, I get the next error:
>>>
>>>         *//var/log/one/oned.log/*
>>>         /[...]/
>>>         /Wed May  7 11:37:18 2014 [ReM][D]: Req:8800 UID:0 AclInfo
>>>         result SUCCESS, "<ACL_POOL><ACL><ID>0..."//
>>>         //Wed May  7 11:37:18 2014 [ReM][D]: Req:6576 UID:0
>>>         VirtualMachineDeploy invoked, 15, 2, false, 101//
>>>         //Wed May  7 11:37:18 2014 [DiM][D]: Deploying VM 15//
>>>         //Wed May  7 11:37:18 2014 [ReM][D]: Req:6576 UID:0
>>>         VirtualMachineDeploy result SUCCESS, 15//
>>>         //Wed May  7 11:37:18 2014 [ReM][D]: Req:9584 UID:0
>>>         VirtualMachineInfo invoked, 15//
>>>         //Wed May  7 11:37:18 2014 [ReM][D]: Req:9584 UID:0
>>>         VirtualMachineInfo result SUCCESS, "<VM><ID>15</ID><UID>..."//
>>>         //Wed May  7 11:37:23 2014 [TM][D]: Message received:
>>>         TRANSFER SUCCESS 15 -//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 *Command execution fail:
>>>         /var/lib/one/remotes/vnm/vmware/pr**e*
>>>         PFZNPjxJRD4xNTwvSUQ+PERFUExPWV9JRC8+PFRFTVBMQVRFPjxOSUM+PEJSSURHRT48IVtDREFUQVt2U3dpdGNoMF1dPjwvQlJJREdFPjxDTFVTVEVSX0lEPjwhW0NEQVRBWzEwMV1dPjwvQ0xVU1RFUl9JRD48SVA+PCFbQ0RBVEFbMi4zLjQuNl1dPjwvSVA+PElQNl9MSU5LPjwhW0NEQVRBW2ZlODA6OjQwMDoyZmY6ZmUwMzo0MDZdXT48L0lQNl9MSU5LPjxNQUM+PCFbQ0RBVEFbMDI6MDA6MDI6MDM6MDQ6MDZdXT48L01BQz48TkVUV09SSz48IVtDREFUQVtyZWRlY2lsbGExXV0+PC9ORVRXT1JLPjxORVRXT1JLX0lEPjwhW0NEQVRBWzVdXT48L05FVFdPUktfSUQ+PE5FVFdPUktfVU5BTUU+PCFbQ0RBVEFbb25lYWRtaW5dXT48L05FVFdPUktfVU5BTUU+PE5JQ19JRD48IVtDREFUQVswXV0+PC9OSUNfSUQ+PFZMQU4+PCFbQ0RBVEFbWUVTXV0+PC9WTEFOPjxWTEFOX0lEPjwhW0NEQVRBWzEyM11dPjwvVkxBTl9JRD48L05JQz48L1RFTVBMQVRFPjwvVk0+//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG E
>>>         15 pre: Error executing: ((esxcfg-vswitch vSwitch0 -l|grep
>>>         one-pg-5) || /sbin/esxcfg-vswitch vSwitch0 --add-pg
>>>         one-pg-5); /sbin/esxcfg-vswitch vSwitch0 -p one-pg-5
>>>         --vlan=123 on host:  err: Pseudo-terminal will not be
>>>         allocated because stdin is not a terminal.//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 ssh: *Could not resolve hostname ((esxcfg-vswitch
>>>         vSwitch0 -l|grep one-pg-5) || /sbin/esxcfg-vswitch vSwitch0
>>>         --add-pg one-pg-5); /sb: Name or service not known*//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 ExitCode: 255//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 out://
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 ExitCode: 0//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received: LOG I
>>>         15 Failed to execute network driver operation: pre.//
>>>         //
>>>         //Wed May  7 11:37:23 2014 [VMM][D]: Message received:
>>>         DEPLOY FAILURE 15 -//
>>>         //
>>>         //Wed May  7 11:37:45 2014 [InM][D]: Monitoring host esxi1 (2)//
>>>         //Wed May  7 11:37:46 2014 [ImM][D]: Datastore system (0)
>>>         successfully monitored.//
>>>         //Wed May  7 11:37:46 2014 [ImM][D]: Datastore VMS (101)
>>>         successfully monitored.//
>>>         //[...]/
>>>
>>>         It looks like if the script "pre" is not getting the
>>>         hostname of the esxi where it has to execute the command.
>>>         The hostname should be "esxi1". Trying to debug the issue I
>>>         have placed some "print host" lines over the ruby scripts
>>>         (pre and VMWare.rb) and they always return "nil".
>>>
>>>         The host, datastores and virtual network are merged into the
>>>         same cluster, and this is the virtual network definition:
>>>
>>>         */[oneadmin at one1 vmware]$ onevnet list/*/
>>>         //  ID USER         GROUP NAME            CLUSTER      TYPE
>>>         BRIDGE   LEASES//
>>>         //   5 oneadmin     oneadmin redecilla1      clustercil     
>>>         F vSwitch0      2
>>>
>>>         /*/[oneadmin at one1 vmware]$ onevnet show 5/*/
>>>         //VIRTUAL NETWORK 5 INFORMATION //
>>>         //ID             : 5 //
>>>         //NAME           : red1 //
>>>         //USER           : oneadmin //
>>>         //GROUP          : oneadmin //
>>>         //CLUSTER        : cluster1 //
>>>         //TYPE           : FIXED //
>>>         //BRIDGE         : vSwitch0 //
>>>         //VLAN           : Yes //
>>>         //VLAN ID        : 123 //
>>>         //USED LEASES    : 2 //
>>>         //
>>>         //PERMISSIONS //
>>>         //OWNER          : um- //
>>>         //GROUP          : --- //
>>>         //OTHER          : --- //
>>>         //
>>>         //VIRTUAL NETWORK TEMPLATE //
>>>         //BRIDGE="vSwitch0"//
>>>         //DESCRIPTION=""//
>>>         //PHYDEV=""//
>>>         //VLAN="YES"//
>>>         //VLAN_ID="123"//
>>>         //
>>>         //USED LEASES //
>>>         //LEASE=[ MAC="02:00:02:03:04:05", IP="2.3.4.5",
>>>         IP6_LINK="fe80::400:2ff:fe03:405", USED="1", VID="14" ]//
>>>         //LEASE=[ MAC="02:00:02:03:04:06", IP="2.3.4.6",
>>>         IP6_LINK="fe80::400:2ff:fe03:406", USED="1", VID="15" ]//
>>>         //
>>>         //FREE LEASES //
>>>         //LEASE=[ MAC="02:00:02:03:04:07", IP="2.3.4.7",
>>>         IP6_LINK="fe80::400:2ff:fe03:407", USED="0", VID="-1" ]//
>>>         //
>>>         //VIRTUAL MACHINES//
>>>         //
>>>         //    ID USER     GROUP NAME            STAT UCPU    UMEM
>>>         HOST             TIME//
>>>         //    14 oneadmin oneadmin bghy            fail    0
>>>         0K              0d 00h00//
>>>         //    15 oneadmin oneadmin aragt3 gre      fail    0
>>>         0K              0d 00h00//
>>>         /
>>>         Can you help me?.
>>>         Regards.
>>>         -- 
>>>
>>>         *---
>>>         Jose Manuel Martínez García*
>>>
>>>         *Coordinador de Sistemas*
>>>
>>>         T: +34-987-29 31 74 / e-mail: jose.martinez at fcsc.es
>>>         <mailto:jose.martinez at fcsc.es>
>>>
>>>         www.fcsc.es <http://www.fcsc.es>
>>>
>>>         Edificio CRAI-TIC.Campus de Vegazana, s/n. Universidad de León
>>>
>>>         24071 León
>>>
>>>         	
>>>
>>>         Identificador Junta color
>>>
>>>         	
>>>
>>>         SUPERCOMPUTACION_new_logo
>>>
>>>         Este mensaje se dirige exclusivamente a su destinatario y
>>>         puede contener información privilegiada o confidencial. Si
>>>         Vd. no es el destinatario indicado, queda notificado de que
>>>         la lectura, utilización, divulgación y/o copia sin
>>>         autorización está prohibida en virtud de la legislación
>>>         vigente.Si ha recibido este mensaje por error, le rogamos
>>>         que nos lo comunique inmediatamente por esta misma vía y
>>>         proceda a su destrucción. El correo electrónico vía Internet
>>>         no permite asegurar la confidencialidad de los mensajes que
>>>         se transmiten ni su integridad o correcta recepción. La
>>>         Fundación Centro de Supercomputación de Castilla y León no
>>>         asume ninguna responsabilidad por estas circunstancias.
>>>
>>>         This message is intended exclusively for its addressee and
>>>         may contain information that is CONFIDENTIAL and protected
>>>         by a professional privilege or whose disclosure is
>>>         prohibited by law. If you are not the intended recipient you
>>>         are hereby notified that any read, dissemination, copy or
>>>         disclosure of this communication is strictly prohibited by law.
>>>
>>>         If this message has been received in error, please
>>>         immediately notify us via e-mail and delete it. Internet
>>>         e-mail neither guarantees the confidentiality nor the
>>>         integrity or proper receipt of the messages sent. Fundación
>>>         Centro de Supercomputación de Castilla y León does not
>>>         assume any liability for those circumstances.
>>>
>>>
>>>         _______________________________________________
>>>         Users mailing list
>>>         Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>>     -- 
>>
>>     *---
>>     Jose Manuel Martínez García*
>>
>>     *Coordinador de Sistemas*
>>
>>     T: +34-987-29 31 74 / e-mail: jose.martinez at fcsc.es
>>     <mailto:jose.martinez at fcsc.es>
>>
>>     www.fcsc.es <http://www.fcsc.es>
>>
>>     Edificio CRAI-TIC.Campus de Vegazana, s/n. Universidad de León
>>
>>     24071 León
>>
>>     	
>>
>>     Identificador Junta color
>>
>>     	
>>
>>     SUPERCOMPUTACION_new_logo
>>
>>     Este mensaje se dirige exclusivamente a su destinatario y puede
>>     contener información privilegiada o confidencial. Si Vd. no es el
>>     destinatario indicado, queda notificado de que la lectura,
>>     utilización, divulgación y/o copia sin autorización está
>>     prohibida en virtud de la legislación vigente.Si ha recibido este
>>     mensaje por error, le rogamos que nos lo comunique inmediatamente
>>     por esta misma vía y proceda a su destrucción. El correo
>>     electrónico vía Internet no permite asegurar la confidencialidad
>>     de los mensajes que se transmiten ni su integridad o correcta
>>     recepción. La Fundación Centro de Supercomputación de Castilla y
>>     León no asume ninguna responsabilidad por estas circunstancias.
>>
>>     This message is intended exclusively for its addressee and may
>>     contain information that is CONFIDENTIAL and protected by a
>>     professional privilege or whose disclosure is prohibited by law.
>>     If you are not the intended recipient you are hereby notified
>>     that any read, dissemination, copy or disclosure of this
>>     communication is strictly prohibited by law.
>>
>>     If this message has been received in error, please immediately
>>     notify us via e-mail and delete it. Internet e-mail neither
>>     guarantees the confidentiality nor the integrity or proper
>>     receipt of the messages sent. Fundación Centro de
>>     Supercomputación de Castilla y León does not assume any liability
>>     for those circumstances.
>>
>
>
>     -- 
>
>     *---
>     Jose Manuel Martínez García*
>
>     *Coordinador de Sistemas*
>
>     T: +34-987-29 31 74 / e-mail: jose.martinez at fcsc.es
>     <mailto:jose.martinez at fcsc.es>
>
>     www.fcsc.es <http://www.fcsc.es>
>
>     Edificio CRAI-TIC.Campus de Vegazana, s/n. Universidad de León
>
>     24071 León
>
>     	
>
>     Identificador Junta color
>
>     	
>
>     SUPERCOMPUTACION_new_logo
>
>     Este mensaje se dirige exclusivamente a su destinatario y puede
>     contener información privilegiada o confidencial. Si Vd. no es el
>     destinatario indicado, queda notificado de que la lectura,
>     utilización, divulgación y/o copia sin autorización está prohibida
>     en virtud de la legislación vigente.Si ha recibido este mensaje
>     por error, le rogamos que nos lo comunique inmediatamente por esta
>     misma vía y proceda a su destrucción. El correo electrónico vía
>     Internet no permite asegurar la confidencialidad de los mensajes
>     que se transmiten ni su integridad o correcta recepción. La
>     Fundación Centro de Supercomputación de Castilla y León no asume
>     ninguna responsabilidad por estas circunstancias.
>
>     This message is intended exclusively for its addressee and may
>     contain information that is CONFIDENTIAL and protected by a
>     professional privilege or whose disclosure is prohibited by law.
>     If you are not the intended recipient you are hereby notified that
>     any read, dissemination, copy or disclosure of this communication
>     is strictly prohibited by law.
>
>     If this message has been received in error, please immediately
>     notify us via e-mail and delete it. Internet e-mail neither
>     guarantees the confidentiality nor the integrity or proper receipt
>     of the messages sent. Fundación Centro de Supercomputación de
>     Castilla y León does not assume any liability for those circumstances.
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 

*---
Jose Manuel Martínez García*

*Coordinador de Sistemas*

T: +34-987-29 31 74 / e-mail: jose.martinez at fcsc.es

www.fcsc.es

Edificio CRAI-TIC.Campus de Vegazana, s/n. Universidad de León

24071 León

	

Identificador Junta color

	

SUPERCOMPUTACION_new_logo

Este mensaje se dirige exclusivamente a su destinatario y puede contener 
información privilegiada o confidencial. Si Vd. no es el destinatario 
indicado, queda notificado de que la lectura, utilización, divulgación 
y/o copia sin autorización está prohibida en virtud de la legislación 
vigente.Si ha recibido este mensaje por error, le rogamos que nos lo 
comunique inmediatamente por esta misma vía y proceda a su destrucción. 
El correo electrónico vía Internet no permite asegurar la 
confidencialidad de los mensajes que se transmiten ni su integridad o 
correcta recepción. La Fundación Centro de Supercomputación de Castilla 
y León no asume ninguna responsabilidad por estas circunstancias.

This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by a professional 
privilege or whose disclosure is prohibited by law. If you are not the 
intended recipient you are hereby notified that any read, dissemination, 
copy or disclosure of this communication is strictly prohibited by law.

If this message has been received in error, please immediately notify us 
via e-mail and delete it. Internet e-mail neither guarantees the 
confidentiality nor the integrity or proper receipt of the messages 
sent. Fundación Centro de Supercomputación de Castilla y León does not 
assume any liability for those circumstances.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3038 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0012.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3612 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0013.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3038 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0014.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3612 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0015.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3038 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0016.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3612 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0017.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3038 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 3612 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140508/cebabe5d/attachment-0005.jpg>


More information about the Users mailing list