[ubuntu-cloud] Fwd: UEC front node can not find the end node

Osama Lotf engbarakat2007 at gmail.com
Thu Jan 20 06:58:44 UTC 2011


you have to write the folowing configuration in eculyptus.conf

#VNET_SUBNET=""
#VNET_NETMASK=""
#VNET_DNS=""
#VNET_PUBLICIPS=""

check the network part in eucalyptus guide for examples

2011/1/20 wang iluxasia <iluxasia at gmail.com>

> i have restarted the publication service, below is the output:
> 2011-01-20 10:20:33+08:00 | 32582 -> SC for testcloud is already
> registered.
> 2011-01-20 10:20:33+08:00 | 32580 -> Walrus 10.8.55.246 is already
> registered.
> 2011-01-20 10:21:30+08:00 | 525 -> Calling cluster testcloud 10.8.55.246
> 2011-01-20 10:21:30+08:00 | 525 -> Cluster testcloud is already registered.
> 2011-01-20 10:21:44+08:00 | 605 -> Calling walrus Walrus 10.8.55.246
> 2011-01-20 10:21:44+08:00 | 605 -> Walrus 10.8.55.246 is already
> registered.
> 2011-01-20 10:21:50+08:00 | 760 -> Calling storage testcloud storage
> 10.8.55.246
> 2011-01-20 10:21:50+08:00 | 760 -> SC for testcloud is already registered.
> 2011-01-20 10:22:28+08:00 | 954 -> Calling node testcloud node 10.8.55.247
> 2011-01-20 10:22:30+08:00 | 954 -> euca_conf --register-nodes returned
> SUCCESS
> 2011-01-20 10:30:38+08:00 | 4086 -> Calling cluster testcloud 10.8.55.246
> 2011-01-20 10:30:38+08:00 | 4085 -> Calling storage testcloud storage
> 10.8.55.246
> 2011-01-20 10:30:38+08:00 | 4087 -> Calling walrus Walrus 10.8.55.246
> 2011-01-20 10:30:38+08:00 | 4088 -> Calling node testcloud node 10.8.55.247
> 2011-01-20 10:30:38+08:00 | 4088 -> Node 10.8.55.247 is already registered.
> 2011-01-20 10:30:38+08:00 | 4087 -> Walrus 10.8.55.246 is already
> registered.
> 2011-01-20 10:30:38+08:00 | 4086 -> Cluster testcloud is already
> registered.
> 2011-01-20 10:30:38+08:00 | 4085 -> SC for testcloud is already registered.
>  the configure in the eucalyptus.conf:
> # Affects: All
> # See: **NOTE** below
> EUCALYPTUS="/"
> EUCA_USER="eucalyptus"
> # Affects: CLC, Walrus, SC
> DISABLE_DNS="Y"
> CLOUD_OPTS="-Xmx512m"
> # Affects: SC
> DISABLE_EBS="N"
> DISABLE_ISCSI="N"
> # Affects: CC, NC
> # See: **NOTE** below
> ENABLE_WS_SECURITY="Y"
> LOGLEVEL="DEBUG"
> VNET_PUBINTERFACE="eth0"
> VNET_PRIVINTERFACE="eth0"
> #VNET_MODE="MANAGED-NOVLAN"
> VNET_MODE="SYSTEM"
> # Affects: CC
> # See: **NOTE** below
> CC_PORT="8774"
> SCHEDPOLICY="ROUNDROBIN"
> POWER_IDLETHRESH="300"
> POWER_WAKETHRESH="300"
> NC_SERVICE="axis2/services/EucalyptusNC"
> VNET_DHCPDAEMON="/usr/sbin/dhcpd3"
> VNET_DHCPUSER="dhcpd"
> DISABLE_TUNNELLING="N"
> NODES=""
> VNET_ADDRSPERNET="32"
> #VNET_SUBNET=""
> #VNET_NETMASK=""
> #VNET_DNS=""
> #VNET_PUBLICIPS=""
> # Affects: NC
> NC_PORT="8775"
> HYPERVISOR="kvm"
> MANUAL_INSTANCES_CLEANUP=0
> VNET_BRIDGE="br0"
> INSTANCE_PATH="/var/lib/eucalyptus/instances/"
> USE_VIRTIO_NET="0"
> USE_VIRTIO_DISK="1"
> USE_VIRTIO_ROOT="0"
> #MAX_MEM=2048
> #MAX_CORES="2"
> #MAX_DISK="100"
> 2011/1/20 Osama Lotf <engbarakat2007 at gmail.com>
>
>  I forgot CC registration too this make it 3 points.
>>
>> nice u said that to update my logbook .
>>
>> thank you
>>
>> 2011/1/19 graziano obertelli <graziano at eucalyptus.com>
>>
>> Do you have the keys on the CC machine? If not, there is a good chance
>>> that the CC didn't get register. You can check either on the webUI or
>>> using euca_conf --list-clusters.
>>>
>>> Once the CC gets register, you will see the node certificates in the keys
>>> directory and you can sync them with the node.
>>>
>>> cheers
>>> graziano
>>>
>>>
>>> On Wed, Jan 19, 2011 at 08:21:11PM +0800, Osama Lotf wrote:
>>> > I had the same problem and i solved it Alhamdullah
>>> >
>>> > check the following
>>> >
>>> > 1- ssh keys in nodes
>>> >
>>> > 2- make sure that all setting are done in
>>> /etc/eucalyptus/eucalyptus.conf
>>> >
>>> >
>>> > why ? bcos there are setting are not done in installation like ip pool
>>> and
>>> > extra. you read the network section in eucalyptus installing help.
>>> >
>>> > tell us
>>> >
>>> > 2011/1/19 Shang Wu <shang at ubuntu.com>
>>> >
>>> > >  On 11-01-19 11:29 AM, wang iluxasia wrote:
>>> > >
>>> > >
>>> > > > ubuntu01 at ubuntu01:/etc/init.d$ sudo euca_conf --register-nodes
>>> > >  10.8.55.247
>>> > >
>>> > > >
>>> > >
>>> > > > INFO: We expect all nodes to have eucalyptus installed in
>>> > >
>>> > > > //var/lib/eucalyptus/keys for key synchronization.
>>> > >
>>> > > >
>>> > >
>>> > > > Warning: cannot file file node-cert.pem in
>>> //var/lib/eucalyptus/keys/
>>> > >
>>> > > >
>>> > >
>>> > > > Warning: cannot file file cluster-cert.pem in
>>> > >
>>> > > > //var/lib/eucalyptus/keys/
>>> > >
>>> > > >
>>> > >
>>> > > > Warning: cannot file file node-pk.pem in //var/lib/eucalyptus/keys/
>>> > >
>>> > > >
>>> > >
>>> > > > Trying rsync to sync keys with "10.8.55.247"...done.
>>> > >
>>> > >
>>> > > Look into your /var/log/eucalyptus/registration.log file, there
>>> should be a
>>> > > command that you need to copy and paste at your node side, looks
>>> similar to
>>> > > the following:
>>> > >
>>> > > sudo -u eucalyptus mkdir -p ~eucalyptus/.ssh
>>> > > sudo -u eucalyptus tee ~eucalyptus/.ssh/authorized_keys > /dev/null
>>> <<EOT
>>> > > ssh-rsa ABCDE
>>> > > EOT
>>> > >
>>> > >
>>> > > When that is done, restart the node and eucalyptus.
>>> > >
>>> > >
>>> > >  >
>>> > >
>>> > > > ubuntu01 at ubuntu01:/etc/init.d$ sudo euca_conf --list-nodes
>>> > >
>>> > > >
>>> > > > ubuntu01 at ubuntu01:/etc/init.d$
>>> > >
>>> > > > ubuntu01 at ubuntu01:~$ <ubuntu01 at ubuntu01:%7E$> sudo
>>>  > > euca-describe-availability-zones verbose
>>> > > AVAILABILITYZONE        cluster1        10.8.55.246
>>> > > AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
>>> > > AVAILABILITYZONE        |- m1.small     0000 / 0000   1    192     2
>>> > > AVAILABILITYZONE        |- c1.medium    0000 / 0000   1    256     5
>>> > > AVAILABILITYZONE        |- m1.large     0000 / 0000   2    512    10
>>> > > AVAILABILITYZONE        |- m1.xlarge    0000 / 0000   2   1024    20
>>> > > AVAILABILITYZONE        |- c1.xlarge    0000 / 0000   4   2048    20
>>> > >
>>> > > >when register the NC node,  no error raise, but there is no NC  node
>>> from
>>> > > the "euca_conf --list-nodes" and  "euca-describe-availability-zones
>>> verbose"
>>> > > command. So upload image and startup VM can not success.
>>> > > >what is the reason?
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Ubuntu-cloud mailing list
>>> > > Ubuntu-cloud at lists.ubuntu.com
>>> > > Modify settings or unsubscribe at:
>>> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > Eng. Osamah Lutf Barakat
>>> > Master Student
>>> > Computer security
>>> > Faculty of Engineering
>>> > University Putra Malaysia
>>> >
>>> >
>>> >
>>> > --
>>> > Eng. Osamah Lutf Barakat
>>> > Master Student
>>> > Computer security
>>> > Faculty of Engineering
>>> > University Putra Malaysia
>>>
>>> > --
>>> > Ubuntu-cloud mailing list
>>> > Ubuntu-cloud at lists.ubuntu.com
>>> > Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>>
>>>
>>> --
>>> Graziano Obertelli
>>> Eucalyptus Systems, Inc.
>>>
>>> --
>>>  Ubuntu-cloud mailing list
>>> Ubuntu-cloud at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>>
>>
>>
>> --
>>  Eng. Osamah Lutf Barakat
>> Master Student
>> Computer security
>> Faculty of Engineering
>> University Putra Malaysia
>>
>>
>> --
>> Ubuntu-cloud mailing list
>> Ubuntu-cloud at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-cloud
>>
>>
>

-- 
Eng. Osamah Lutf Barakat
Master Student
Computer security
Faculty of Engineering
University Putra Malaysia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20110120/0d6e4cd8/attachment-0001.html>


More information about the Ubuntu-cloud mailing list