[one-users] can't ping and ssh vm

Alexandre De Carvalho alexandre7.decarvalho at gmail.com
Fri Feb 22 01:16:40 PST 2013


*Here onevm show -x <id> :*

[oneadmin at localhost ~]$ onevm show -x 42
<VM>
  <ID>42</ID>
  <UID>2</UID>
  <GID>1</GID>
  <UNAME>oneuser</UNAME>
  <GNAME>users</GNAME>
  <NAME>one-42</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>1361523698</LAST_POLL>
  <STATE>3</STATE>
  <LCM_STATE>3</LCM_STATE>
  <RESCHED>0</RESCHED>
  <STIME>1361465461</STIME>
  <ETIME>0</ETIME>
  <DEPLOY_ID>one-42</DEPLOY_ID>
  <MEMORY>0</MEMORY>
  <CPU>0</CPU>
  <NET_TX>0</NET_TX>
  <NET_RX>0</NET_RX>
  <TEMPLATE>
    <CPU><![CDATA[1]]></CPU>
    <DISK>
      <CLONE><![CDATA[NO]]></CLONE>
      <DATASTORE><![CDATA[VMwareImages]]></DATASTORE>
      <DATASTORE_ID><![CDATA[100]]></DATASTORE_ID>
      <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
      <DISK_ID><![CDATA[0]]></DISK_ID>
      <IMAGE><![CDATA[liiiii]]></IMAGE>
      <IMAGE_ID><![CDATA[13]]></IMAGE_ID>
      <IMAGE_UNAME><![CDATA[oneuser]]></IMAGE_UNAME>
      <PERSISTENT><![CDATA[YES]]></PERSISTENT>
      <READONLY><![CDATA[NO]]></READONLY>
      <SAVE><![CDATA[YES]]></SAVE>

<SOURCE><![CDATA[/var/lib/one/datastores/100/2146b1e4f3002b36ede09bd884b47f1b]]></SOURCE>
      <TARGET><![CDATA[hda]]></TARGET>
      <TM_MAD><![CDATA[shared]]></TM_MAD>
      <TYPE><![CDATA[FILE]]></TYPE>
    </DISK>
    <GRAPHICS>
      <LISTEN><![CDATA[0.0.0.0]]></LISTEN>
      <PORT><![CDATA[5942]]></PORT>
      <TYPE><![CDATA[vnc]]></TYPE>
    </GRAPHICS>
    <MEMORY><![CDATA[2048]]></MEMORY>
    <NAME><![CDATA[one-42]]></NAME>
    <NIC>
      <BRIDGE><![CDATA[br0]]></BRIDGE>
      <IP><![CDATA[10.0.2.50]]></IP>
      <MAC><![CDATA[02:00:b2:aa:4d:32]]></MAC>
      <NETWORK><![CDATA[lol]]></NETWORK>
      <NETWORK_ID><![CDATA[12]]></NETWORK_ID>
      <NETWORK_UNAME><![CDATA[oneuser]]></NETWORK_UNAME>
      <PHYDEV><![CDATA[eth0]]></PHYDEV>
      <VLAN><![CDATA[YES]]></VLAN>
    </NIC>
    <OS>
      <ARCH><![CDATA[i686]]></ARCH>
    </OS>
    <RAW>
      <TYPE><![CDATA[vmware]]></TYPE>
    </RAW>
    <TEMPLATE_ID><![CDATA[25]]></TEMPLATE_ID>
    <VCPU><![CDATA[1]]></VCPU>
    <VMID><![CDATA[42]]></VMID>
  </TEMPLATE>
  <HISTORY_RECORDS>
    <HISTORY>
      <OID>42</OID>
      <SEQ>0</SEQ>
      <HOSTNAME>10.0.1.4</HOSTNAME>
      <HID>0</HID>
      <STIME>1361465483</STIME>
      <ETIME>0</ETIME>
      <VMMMAD>vmm_vmware</VMMMAD>
      <VNMMAD>dummy</VNMMAD>
      <TMMAD>shared</TMMAD>
      <DS_LOCATION>/vmfs/volumes</DS_LOCATION>
      <DS_ID>0</DS_ID>
      <PSTIME>1361465483</PSTIME>
      <PETIME>1361465483</PETIME>
      <RSTIME>1361465483</RSTIME>
      <RETIME>0</RETIME>
      <ESTIME>0</ESTIME>
      <EETIME>0</EETIME>
      <REASON>0</REASON>
    </HISTORY>
  </HISTORY_RECORDS>
</VM>

*here brctl show : *

[oneadmin at localhost ~]$ brctl show
bridge name bridge id STP enabled interfaces
[oneadmin at localhost ~]$

*here ip route :
*
[oneadmin at localhost ~]$ ip route
10.0.1.0/24 dev eth0  proto kernel  scope link  src 10.0.1.3  metric 1
default via 10.0.1.254 dev eth0  proto static
[oneadmin at localhost ~]$

2013/2/21 Jaime Melis <jmelis at opennebula.org>

> Please, send us the output of the following commands
>
> $ onevm show -x <id>
> $ sudo brctl show
> $ sudo ip route
>
>
>
> On Thu, Feb 21, 2013 at 6:07 PM, Alexandre De Carvalho <
> alexandre7.decarvalho at gmail.com> wrote:
>
>> I'm using the version 3.8.1. I used this document :
>> http://opennebula.org/cloud:vmware_centos
>> I can launch some vms but i can't ping or ssh vm. And i don't know how
>> put my own default gateway on vm.
>>
>> Can you help me to resolve  my problem ?
>>
>>
>> Alexandre
>>
>>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jmelis at opennebula.org
>



-- 
Cordialement,
Alexandre DE CARVALHO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130222/482217f3/attachment-0002.htm>


More information about the Users mailing list