[Eucalyptus-Users 0426] Eucalyptus2.0でNCにpublicIPが割当たらない

片山龍也 katayama.ttsuy @ gmail.com
2010年 11月 15日 (月) 22:51:49 JST


はじめまして。
片山と申します。

テスト環境でEucalyptus2.0を構築しているのですが
NCにPublicIPが割当たらず、CLCからNCへssh接続できずに困っています。

このあたりのログや設定が怪しいなどありましたら教えていただけると幸いです。

環境は以下のようになっています。
Eucalyptus : 2.0.1(rpmでインストール)
OS: CentOS 5 (32bit)
VM: Xen
構成:192.168.98.10(CLC,CC,SC,Walrus), 192.168.98.101(NC)

設定は以下のようになっています。
CLCのeucalyptus.conf
NODES=" 192.168.98.101"
NC_SERVICE="axis2/services/EucalyptusNC"
NC_PORT="8775"
HYPERVISOR="xen"
VNET_PUBINTERFACE="eth0"
VNET_PRIVINTERFACE="eth1"
VNET_BRIDGE="xenbr0"
VNET_DHCPDAEMON="/usr/sbin/dhcpd"
VNET_MODE="MANAGED"
VNET_SUBNET="10.10.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="192.168.10.10"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="192.168.10.170-192.168.10.179"

NCのeucalyptus.conf
NODES=""
NC_SERVICE="axis2/services/EucalyptusNC"
NC_PORT="8775"
HYPERVISOR="xen"
INSTANCE_PATH="/usr/local/eucalyptus/"
VNET_PUBINTERFACE="eth0"
VNET_BRIDGE="xenbr0"
VNET_MODE="MANAGED"

CLCの/var/log/eucalyptus/cc.log
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] monitor_thread(): running
[Mon Nov 15 22:46:27 2010][005912][EUCAINFO  ] refresh_resources(): called
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ]
ncClientCall(ncDescribeResource): called
ncURL=http://192.168.98.101:8775/axis2/services/EucalyptusNC
timeout=20
[Mon Nov 15 22:46:27 2010][023369][EUCADEBUG ] DEBUG: requested URI
http://192.168.98.101:8775/axis2/services/EucalyptusNC
[Mon Nov 15 22:46:27 2010][023369][EUCADEBUG ]
ncClientCall(ncDescribeResource): ppid=5912 client calling
'ncDescribeResource'
[Mon Nov 15 22:46:27 2010][023369][EUCADEBUG ]
ncClientCall(ncDescribeResource): ppid=5912 done calling
'ncDescribeResource' with exit code '0'
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ]
ncClientCall(ncDescribeResource): done clientrc=0 opFail=0
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] refresh_resources():
received data from node=192.168.98.101 mem=283/155 disk=140421/139907
cores=1/0
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] refresh_resources(): done
[Mon Nov 15 22:46:27 2010][005912][EUCAINFO  ] refresh_instances(): called
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ]
ncClientCall(ncDescribeInstances): called
ncURL=http://192.168.98.101:8775/axis2/services/EucalyptusNC
timeout=20
[Mon Nov 15 22:46:27 2010][023370][EUCADEBUG ] DEBUG: requested URI
http://192.168.98.101:8775/axis2/services/EucalyptusNC
[Mon Nov 15 22:46:27 2010][023370][EUCADEBUG ]
ncClientCall(ncDescribeInstances): ppid=5912 client calling
'ncDescribeInstances'
[Mon Nov 15 22:46:27 2010][023370][EUCADEBUG ]
ncClientCall(ncDescribeInstances): ppid=5912 done calling
'ncDescribeInstances' with exit code '0'
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ]
ncClientCall(ncDescribeInstances): done clientrc=0 opFail=0
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] refresh_instances():
describing instance i-58A80A1F, Extant, 0
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] find_instanceCache():
found instance in cache 'i-58A80A1F/192.168.10.170/10.10.1.2'
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] refresh_instances():
storing instance state: i-58A80A1F/Extant/192.168.10.170/10.10.1.2
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] print_ccInstance():
refresh_instances():  instanceId=i-58A80A1F reservationId=r-4B9C0881
emiId=emi-B5021404 kernelId=eki-ED4214A4 ramdiskId=eri-2E04158A
emiURL=http://192.168.98.10:8773/services/Walrus/euca-centos-5.3-i386/centos.5-3.x86.img.manifest.xml
kernelURL=http://192.168.98.10:8773/services/Walrus/euca-centos-5.3-i386/vmlinuz-2.6.24-19-xen.manifest.xml
ramdiskURL=http://192.168.98.10:8773/services/Walrus/euca-centos-5.3-i386/initrd.img-2.6.24-19-xen.manifest.xml
state=Extant ts=1289827201 ownerId=admin keyName=ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCMEoer0etcux/rU67UQIIqc6AcTN9WZ7Zsrq9BaHnHUSW+F1a2Vy0b0WhuejTK7Fbp4/umJD8m6n6GXGUpfRRQwWxFF5RQw4TUDapWpoPTdwMFedzKA/dnZioh+nznkUjdCjJ1yEcBGJZfvnJLOqgpaYIt53JXKYq4ecfCCk9Opnwa1pDn3s2Yp+d8BlxIUClgHib+1azS7wUHMz5YC2URIXtCMIu5lwz30NqXI8j08MClDrnnhAbYGpxc7DyNdL405THz//iQTOJwyRmvInHw7yr1UHIRwXv2zJWz6BLFX8wRSzpi0ss02oQQLo8lagcl+w9q9DqKJCrwJuboc7vn
admin @ eucalyptus ccnet={privateIp=10.10.1.2 publicIp=192.168.10.170
privateMac=D0:0D:58:A8:0A:1F vlan=10 networkIndex=2} ccvm={cores=1
mem=128 disk=2} ncHostIdx=0
serviceTag=http://192.168.98.101:8775/axis2/services/EucalyptusNC
userData= launchIndex=0 volumesSize=0 volumes={} groupNames={default }
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] refresh_instances(): done
[Mon Nov 15 22:46:27 2010][005912][EUCADEBUG ] monitor_thread(): done

NCの/var/log/eucalyptus/nc.log(以下のログがひたすら出力されています。)
[Mon Nov 15 22:45:14 2010][032020][EUCADEBUG ] doDescribeResource() invoked
[Mon Nov 15 22:45:14 2010][032020][EUCADEBUG ] doDescribeInstances() invoked
[Mon Nov 15 22:45:14 2010][032020][EUCADEBUG ] doDescribeInstances():
instanceId=i-58A80A1F publicIp=0.0.0.0 privateIp=10.10.1.2
mac=D0:0D:58:A8:0A:1F vlan=10 networkIndex=2

CLCでのアドレス割り当て状況
[root @ dhcp138 ~]# euca-describe-addresses
ADDRESS 192.168.10.170 i-58A80A1F (eucalyptus)
ADDRESS 192.168.10.171 nobody
ADDRESS 192.168.10.172 nobody
ADDRESS 192.168.10.173 nobody
ADDRESS 192.168.10.174 nobody
ADDRESS 192.168.10.175 nobody
ADDRESS 192.168.10.176 nobody
ADDRESS 192.168.10.177 nobody
ADDRESS 192.168.10.178 nobody
ADDRESS 192.168.10.179 nobody

以上、よろしくお願いします。

-- 
■--■--■--■--■--■--■--■--■--■--■--■--■--■
片山 龍也 (Tatsuya Katayama)
katayama.ttsuy @ gmail.com
□--□--□--□--□--□--□--□--□--□--□--□--□--□



Eucalyptus-Users メーリングリストの案内