[Eucalyptus-Users 0458] Re: euca_conf --register-nodes でNCが追加できない

Xiu YuShen xiu.yushen @ gmail.com
2011年 2月 8日 (火) 23:26:07 JST


たびたびすみません、羽深です。
中途半端なコマンドを送ってしまいました。
正しくは、
/usr/bin/rsync -az /var/lib/eucalyptus/keys/cluster/node-cert.pem \
/var/lib/eucalyptus/keys/cluster/cluster-cert.pem \
/var/lib/eucalyptus/keys/cluster/cluster-pk.pem \
/var/lib/eucalyptus/keys/cluster/node-pk.pem \
/var/lib/eucalyptus/keys/cluster/vtunpass \
/var/lib/eucalyptus/keys/cloud-cert.pem \
10.5.1.3:/var/lib/eucalyptus/keys/
です。すみません。


2011年2月8日23:24 Xiu YuShen <xiu.yushen @ gmail.com>:
> 羽深です。
>
> 今更の反応ですみません。もしまだ解決されていないようであればと思い。
>
>> ・以下eucalyptus入門を参考に、インストール
>> http://cloud.watch.impress.co.jp/docs/column/eucalyptus/20100924_394058.html
>
> 参考にして頂き、ありがとうございます。
>
>> Trying rsync to sync keys with "10.5.1.3"...root @ 10.5.1.3's password:
>> ★:正しいパスワードを入力するも、エラー発生
>> Permission denied, please try again.
>> root @ 10.5.1.3's password:
>> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(260)
>> [sender=2.6.8]
>> failed.
>
> これってつまり以下を手動で実行してもエラーになりますでしょうか?
> /usr/bin/rsync -az /var/lib/eucalyptus/keys/cluster/node-cert.pem \
> /var/lib/eucalyptus/keys/cluster/cluster-cert.pem \
> /var/lib/eucalyptus/keys/cluster/cluster-pk.pem \
> /var/lib/eucalyptus/keys/cluster/node-pk.pem
> /var/lib/eucalyptus/keys/cluster/vtunpass
> /var/lib/eucalyptus/keys/cloud-cert.pem \
> 10.5.1.3:/var/lib/eucalyptus/keys/
>
> ちなみにもし手動でやっても失敗するのであれば、
> ls -lR /var/lib/eucalyptus/keys/
> の結果とか教えてもらえないでしょうか?
>
> 反応が遅くなりましたが、取り急ぎ。
>
>
> 2011年1月26日6:55 江成 洋一 <enari @ newson.co.jp>:
>> はじめまして、江成と申します。
>>
>> いきなりですが、Eucalyptusの設定について質問させてください。
>>
>> Eucalyptusを実験環境に導入したのですが、NCが認識されなくて困っています。
>> 下記にまとめましたので、アドバイスなどいただけると助かります。
>> よろしくお願いします。
>>
>> ■事象
>> ・euca_conf --register-nodes でNCが追加するが、
>> euca_conf --list-nodesで確認できない。
>> ・eucalyptus.confには追加されている。
>> ・euca-describe-availability-zones verbose でfree/maxが0
>>
>>
>> ■環境
>> ・eucalyptus1.6.2
>> ・CLC/CCとNCのサーバ2台構成
>> ・CLC/CC:RHEL5.5、NC:CentOS5.5
>> ※プロジェクトの都合で、このような構成になりました
>> ・KVM
>> ・以下eucalyptus入門を参考に、インストール
>> http://cloud.watch.impress.co.jp/docs/column/eucalyptus/20100924_394058.html
>> ※Xen部分は省略
>> ※Walrus、CC、SCの登録はWebUIから実施
>> ・MANAGEDモード
>>
>> ■やったこと
>> ・/usr/sbin/euca_confの修正
>> http://ml.eucalyptus-users.jp/pipermail/eucalyptus-users/2010-July/000365.html
>> ・euca_conf --deregister-cluster
>> ・euca_conf -synckeys
>>
>> ■特記事項
>> ★:euca_confの修正
>> [root @ vssv03 eucalyptus]# !diff
>> diff /usr/sbin/euca_conf /usr/sbin/euca_conf.org
>> 1366,1367c1366
>> <       # Get the CC_NAME
>> <       . /etc/eucalyptus/eucalyptus.conf
>> ---
>>>
>> 1383,1385c1382
>> < #             if ! sync_keys ${SOURCEDIR} ${DESTDIR} ${NEWNODE} node-cert.pem
>> cluster-cert.pem node-pk.pem cloud-cert.pem; then
>> <               if ! sync_keys ${SOURCEDIR}/${CC_NAME} ${DESTDIR} ${NEWNODE}
>> node-cert.pem cluster-cert.pem node-pk.pem cloud-cert.pem; then
>> <
>> ---
>>>               if ! sync_keys ${SOURCEDIR} ${DESTDIR} ${NEWNODE} node-cert.pem
>> cluster-cert.pem node-pk.pem cloud-cert.pem; then
>> [root @ vssv03 eucalyptus]#
>>
>> ★:clusterが追加できない
>> [root @ vssv03 eucalyptus]# euca_conf --register-cluster cluster 10.5.1.3
>>
>> Trying rsync to sync keys with "10.5.1.3"...root @ 10.5.1.3's password:
>> ★:正しいパスワードを入力するも、エラー発生
>> Permission denied, please try again.
>> root @ 10.5.1.3's password:
>> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(260)
>> [sender=2.6.8]
>> failed.
>>
>>
>> Trying scp to sync keys with "" (user "eucalyptus")...
>> The authenticity of host '10.5.1.3 (10.5.1.3)' can't be established.
>> RSA key fingerprint is 1d:be:02:57:0a:3f:c0:dd:9e:2b:59:96:5e:f3:a3:f3.
>> Are you sure you want to continue connecting (yes/no)? failed.
>> ERROR: failed to sync keys with 10.5.1.3; registration will not be complete
>> until keys can be synced, please try again.
>>
>>
>> ★:WebUIからcluster追加
>>
>> [root @ vssv03 eucalyptus]# euca_conf --list-clusters
>> registered clusters:
>>   cluster-name  10.5.1.3
>> [root @ vssv03 eucalyptus]# euca_conf --deregister-cluster 10.5.1.3
>>
>> SUCCESS: cluster '10.5.1.3' successfully deregistered.
>>
>> ★:NCを追加後、確認できず
>> [root @ vssv03 eucalyptus]# euca_conf --list-nodes
>>
>> ★:euca_conf をsh -x で実行
>>
>> [root @ vssv03 eucalyptus]# sh -x euca_conf --register-cluster cluster 10.5.1.3
>> + FILE=//etc/eucalyptus/eucalyptus.conf
>> + IMPORTFILE=
>> + EUCALYPTUS=
>> + CC_PORT=
>> + NC_PORT=
>> + CLOUD_PORT=
>> + CLOUD_SSL_PORT=
>> + NAME=
>> + INSTANCE=
>> + EUCA_USER=
>> + HYPERVISOR=
>> + DHCPD=
>> + DHCP_USER=
>> + BRIDGE=
>> + NEWNODES=
>> + NODEMODE=
>> + WALRUS_MODE=
>> + SYNC=
>> + WALRUS=
>> + WALRUS_MODE=
>> + CLUSNAME=
>> + NEWCLUS=
>> + CLUSMODE=
>> + UPGRADE_CONF=
>> + SETUP=
>> + VERSION=
>> + CHECK=
>> + TOSYNC=
>> + TO_BACKUP=Y
>> + CREDENTIALZIPFILE=
>> ++ which scp
>> + SCP=/usr/bin/scp
>> ++ which rsync
>> + RSYNC=/usr/bin/rsync
>> ++ which wget
>> + WGET=/usr/bin/wget
>> + VERBOSE=N
>> + LIST=
>> + ENABLED=
>> + DISABLED=
>> + TO_START=
>> + '[' 3 -eq 0 ']'
>> + '[' 3 -gt 0 ']'
>> + '[' --register-cluster = -h -o --register-cluster = -help -o --register-
>> cluster = '?' -o --register-cluster = --help ']'
>> + '[' --register-cluster = -synckeys -o --register-cluster = -synckey ']'
>> + '[' --register-cluster = -norsync -o --register-cluster = --no-rsync ']'
>> + '[' --register-cluster = --list-scs ']'
>> + '[' --register-cluster = --list-walruses ']'
>> + '[' --register-cluster = --list-clusters ']'
>> + '[' --register-cluster = --list-nodes ']'
>> + '[' --register-cluster = --verbose ']'
>> + '[' --register-cluster = -noscp -o --register-cluster = --no-scp ']'
>> + '[' --register-cluster = --skip-scp-hostcheck ']'
>> + '[' --register-cluster = -version -o --register-cluster = --version ']'
>> + '[' --register-cluster = -setup -o --register-cluster = --setup ']'
>> + '[' --register-cluster = --no-sync ']'
>> + '[' --register-cluster = --deregister-walrus ']'
>> + '[' 3 -eq 1 ']'
>> + '[' 3 -lt 2 ']'
>> + '[' --register-cluster = -cc -o --register-cluster = -nc -o --register-
>> cluster = -cloud ']'
>> + '[' --register-cluster = -d ']'
>> + '[' --register-cluster = -name -o --register-cluster = --name ']'
>> + '[' --register-cluster = -bridge ']'
>> + '[' --register-cluster = -upgrade-conf -o --register-cluster = --upgrade-
>> conf ']'
>> + '[' --register-cluster = -import-conf -o --register-cluster = --import-
>> conf ']'
>> + '[' --register-cluster = -dhcpd -o --register-cluster = --dhcpd ']'
>> + '[' --register-cluster = -dhcp_user -o --register-cluster = --dhcp_user ']'
>> + '[' --register-cluster = -nodes ']'
>> + '[' --register-cluster = -ccp -o --register-cluster = --cc-port ']'
>> + '[' --register-cluster = -ncp -o --register-cluster = --nc-port ']'
>> + '[' --register-cluster = -instances -o --register-cluster = --instances ']'
>> + '[' --register-cluster = -user -o --register-cluster = --user ']'
>> + '[' --register-cluster = -hypervisor -o --register-cluster = --hypervisor ']'
>> + '[' --register-cluster = -cloudp ']'
>> + '[' --register-cluster = --get-credentials ']'
>> + '[' --register-cluster = -addnode -o --register-cluster = --register-
>> nodes ']'
>> + '[' --register-cluster = -delnode -o --register-cluster = --deregister-
>> nodes ']'
>> + '[' --register-cluster = --register-walrus ']'
>> + '[' --register-cluster = --deregister-sc ']'
>> + '[' --register-cluster = --register-sc ']'
>> + '[' --register-cluster = -addcluster -o --register-cluster = --register-
>> cluster ']'
>> + '[' 3 -lt 3 ']'
>> + CLUSNAME=cluster
>> + NEWCLUS=10.5.1.3
>> + CLUSMODE=ADD
>> + shift
>> + shift
>> + shift
>> + continue
>> + '[' 0 -gt 0 ']'
>> + '[' -z //etc/eucalyptus/eucalyptus.conf -o '!' -
>> f //etc/eucalyptus/eucalyptus.conf ']'
>> + '[' '' = Y ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' -o -n '' ']'
>> ++ getent passwd eucalyptus
>> ++ cut -f 6 -d :
>> + EUCA_HOME=/home/eucalyptus
>> + '[' -f /home/eucalyptus/.ssh/id_rsa.pub ']'
>> + SSHKEY=
>> + . //etc/eucalyptus/eucalyptus.conf
>> ++ EUCALYPTUS=/
>> ++ EUCA_USER=eucalyptus
>> ++ DISABLE_DNS=Y
>> ++ ENABLE_WS_SECURITY=Y
>> ++ LOGLEVEL=DEBUG
>> ++ CC_PORT=8774
>> ++ SCHEDPOLICY=ROUNDROBIN
>> ++ POWER_IDLETHRESH=300
>> ++ POWER_WAKETHRESH=300
>> ++ NODES=
>> ++ NC_SERVICE=axis2/services/EucalyptusNC
>> ++ NC_PORT=8775
>> ++ HYPERVISOR=kvm
>> ++ INSTANCE_PATH=/usr/local/eucalyptus/
>> ++ VNET_PUBINTERFACE=bond0
>> ++ VNET_PRIVINTERFACE=bond3
>> ++ VNET_BRIDGE=br0
>> ++ VNET_DHCPDAEMON=/usr/sbin/dhcpd
>> ++ VNET_MODE=MANAGED
>> ++ VNET_SUBNET=10.5.1.0
>> ++ VNET_NETMASK=255.255.255.0
>> ++ VNET_DNS=
>> ++ VNET_ADDRSPERNET=32
>> ++ VNET_PUBLICIPS='172.17.5.240 172.17.5.241'
>> ++ VNET_LOCALIP=10.5.1.3
>> ++ VNET_CLOUDIP=172.17.5.3
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n '' ']'
>> + '[' -n cluster ']'
>> + checkLocalService CLC
>> + local SERVICE=
>> + '[' -z /usr/bin/wget -o '!' -x /usr/bin/wget ']'
>> + SERVICE=CLC
>> + '[' -z CLC ']'
>> + '[' CLC = CLC ']'
>> + '[' -n '' ']'
>> + CMD='/usr/bin/wget -T 10 -t 1 -O - -q --no-check-certificate
>> https://127.0.0.1:8443/register | grep CloudVersion >/dev/null'
>> + '[' -n '' ']'
>> + eval /usr/bin/wget -T 10 -t 1 -O - -q --no-check-certificate
>> https://127.0.0.1:8443/register '|' grep CloudVersion '>/dev/null'
>> ++ /usr/bin/wget -T 10 -t 1 -O - -q --no-check-certificate
>> https://127.0.0.1:8443/register
>> ++ grep CloudVersion
>> + return 0
>> + '[' ADD = ADD ']'
>> + '[' -d //var/lib/eucalyptus/keys/ ']'
>> + SOURCEDIR=//var/lib/eucalyptus/keys/cluster/
>> + DESTDIR=//var/lib/eucalyptus/keys/
>> + URL=
>> + createCloudURL Action RegisterCluster Host 10.5.1.3 Name cluster Port 8774
>> + getSecretKey
>> + '[' -d //var/lib/eucalyptus/db/ ']'
>> + DBDIR=//var/lib/eucalyptus/db/
>> ++ grep -i 'CREATE .*TABLE
>> AUTH_USERS' //var/lib/eucalyptus/db//eucalyptus_auth.log //var/lib/eucalyptus/db
>>
>> //eucalyptus_auth.properties //var/lib/eucalyptus/db//eucalyptus_auth.script
>> ++ sed 's/,/\n/g'
>> ++ awk '/[Uu][Ss][Ee][Rr]_[Ss][Ee][Cc][Rr][Ee][Tt][Kk][Ee][Yy]/ {print NR}'
>> + FIELD=7
>> + '[' 7 = '' ']'
>> +++ awk -v field=7 -F, '/INSERT INTO AUTH_USERS.*admin/ {print
>> $field}' //var/lib/eucalyptus/db//eucalyptus_auth.log //var/lib/eucalyptus/db//e
>>
>> ucalyptus_auth.properties //var/lib/eucalyptus/db//eucalyptus_auth.script
>> +++ head -n 1
>> ++ eval echo ''\''iFn10oJx9wvvWXpwk00l4AQpwD55XvZ911aVVw'\'''
>> +++ echo iFn10oJx9wvvWXpwk00l4AQpwD55XvZ911aVVw
>> + SKEY=iFn10oJx9wvvWXpwk00l4AQpwD55XvZ911aVVw
>> ++ grep -i 'CREATE .*TABLE
>> AUTH_USERS' //var/lib/eucalyptus/db//eucalyptus_auth.log //var/lib/eucalyptus/db
>>
>> //eucalyptus_auth.properties //var/lib/eucalyptus/db//eucalyptus_auth.script
>> ++ sed 's/,/\n/g'
>> ++ awk '/[Uu][Ss][Ee][Rr]_[Qq][Uu][Ee][Rr][Yy]_[Ii][Dd]/ {print NR}'
>> + FIELD=6
>> + '[' 6 = '' ']'
>> +++ awk -v field=6 -F, '/INSERT INTO AUTH_USERS.*admin/ {print
>> $field}' //var/lib/eucalyptus/db//eucalyptus_auth.log //var/lib/eucalyptus/db//e
>>
>> ucalyptus_auth.properties //var/lib/eucalyptus/db//eucalyptus_auth.script
>> +++ head -n 1
>> ++ eval echo ''\''WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw'\'''
>> +++ echo WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw
>> + AKEY=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw
>> + return 0
>> + ARGS=AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw
>> + KEY=Action
>> + shift
>> + VAL=RegisterCluster
>> + shift
>> + test -n Action -a -n RegisterCluster
>> +
>> ARGS='AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster
>>
>> '
>> + KEY=Host
>> + shift
>> + VAL=10.5.1.3
>> + shift
>> + test -n Host -a -n 10.5.1.3
>> +
>> ARGS='AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster
>>
>> &Host=10.5.1.3'
>> + KEY=Name
>> + shift
>> + VAL=cluster
>> + shift
>> + test -n Name -a -n cluster
>> +
>> ARGS='AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster
>>
>> &Host=10.5.1.3&Name=cluster'
>> + KEY=Port
>> + shift
>> + VAL=8774
>> + shift
>> + test -n Port -a -n 8774
>> +
>> ARGS='AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster
>>
>> &Host=10.5.1.3&Name=cluster&Port=8774'
>> + KEY=
>> + shift
>> + VAL=
>> + shift
>> + test -n '' -a -n ''
>> + '[' -z iFn10oJx9wvvWXpwk00l4AQpwD55XvZ911aVVw ']'
>> ++ date -u +%Y-%m-%dT%H%%3A%M%%3A%S.000Z
>> +
>> ARGS='AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster
>>
>> &Host=10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersio
>>
>> n=2&Timestamp=2011-01-25T11%3A38%3A23.000Z&Version=eucalyptus'
>> ++ echo -en 'GET\n127.0.0.1
>> \n/services/Configuration\nAWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&A
>>
>> ction=RegisterCluster&Host=10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacS
>>
>> HA256&SignatureVersion=2&Timestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus'
>> ++ openssl dgst -sha256 -hmac iFn10oJx9wvvWXpwk00l4AQpwD55XvZ911aVVw -binary
>> ++ openssl base64
>> + SIGNATURE=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/7k=
>> + export 'URL=http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k='
>> + URL='http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k='
>> + '[' N = Y ']'
>> + return 0
>> + check_ws 'http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k='
>> + local 'URL=http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k='
>> + local ret=
>> + local soap_error=
>> + '[' -z 'http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k=' ']'
>> + '[' -n '' ']'
>> + '[' '' '!=' '' ']'
>> + '[' N = Y ']'
>> ++ /usr/bin/wget -q -T 10 -t 1 -O -
>> 'http://127.0.0.1:8773/services/Configuration?
>> AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterCluster&Host=
>>
>> 10.5.1.3&Name=cluster&Port=8774&SignatureMethod=HmacSHA256&SignatureVersion=2&Ti
>>
>> mestamp=2011-01-25T11%3A38%
>> 3A23.000Z&Version=eucalyptus&Signature=PheX2eUkQ47x7AlV/CeOPm5a0u5y22vJC5p49Cy5/
>>
>> 7k='
>> + soap_error='<euca:RegisterClusterResponse
>> xmlns:euca="http://msgs.eucalyptus.ucsb.edu"><euca:RegisterComponentResponse><eu
>>
>> ca:ConfigurationMessage><euca:correlationId>efb485e4-b3ce-467f-8e29-
>> c971b68836bf</euca:correlationId><euca:userId>admin</euca:userId><euca:effective
>>
>> UserId>eucalyptus</euca:effectiveUserId><euca:_return>true</euca:_return></euca:
>>
>> ConfigurationMessage></euca:RegisterComponentResponse></euca:RegisterClusterResp
>>
>> onse>'
>> + ret=0
>> ++
>> echo '<euca:RegisterClusterResponse' 'xmlns:euca="http://msgs.eucalyptus.ucsb.ed
>>
>> u"><euca:RegisterComponentResponse><euca:ConfigurationMessage><euca:correlationI
>>
>> d>efb485e4-b3ce-467f-8e29-
>> c971b68836bf</euca:correlationId><euca:userId>admin</euca:userId><euca:effective
>>
>> UserId>eucalyptus</euca:effectiveUserId><euca:_return>true</euca:_return></euca:
>>
>> ConfigurationMessage></euca:RegisterComponentResponse></euca:RegisterClusterResp
>>
>> onse>'
>> ++ grep faultstring
>> ++ sed 's:.*<faultstring>\(.*\)</faultstring>.*:\1:'
>> + soap_error=
>> + test -n ''
>> + return 0
>> + '[' -n '' ']'
>> +
>> sync_keys //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/ //var/li
>>
>> b/eucalyptus/keys/ 10.5.1.3 node-cert.pem cluster-cert.pem cluster-pk.pem node-
>> pk.pem vtunpass cloud-cert.pem
>> + local SOURCEDIR=
>> + local DESTDIR=
>> + local REMOTE=
>> + local FILES=
>> + local FILE=
>> + '[' '' = N ']'
>> + '[' 9 -lt 4 ']'
>> + SOURCEDIRS=//var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> + shift
>> + DESTDIR=//var/lib/eucalyptus/keys/
>> + shift
>> + REMOTE=10.5.1.3
>> + shift
>> + '[' 6 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//node-cert.pem ']'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//node-cert.pem ']'
>> + FILE=//var/lib/eucalyptus/keys/cluster//node-cert.pem
>> + '[' //var/lib/eucalyptus/keys/cluster//node-cert.pem = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-cert.pem'
>> + shift
>> + '[' 5 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//cluster-cert.pem ']'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//cluster-cert.pem ']'
>> + FILE=//var/lib/eucalyptus/keys/cluster//cluster-cert.pem
>> + '[' //var/lib/eucalyptus/keys/cluster//cluster-cert.pem = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-cert.pem'
>> + shift
>> + '[' 4 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//cluster-pk.pem ']'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//cluster-pk.pem ']'
>> + FILE=//var/lib/eucalyptus/keys/cluster//cluster-pk.pem
>> + '[' //var/lib/eucalyptus/keys/cluster//cluster-pk.pem = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-pk.pem'
>> + shift
>> + '[' 3 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//node-pk.pem ']'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//node-pk.pem ']'
>> + FILE=//var/lib/eucalyptus/keys/cluster//node-pk.pem
>> + '[' //var/lib/eucalyptus/keys/cluster//node-pk.pem = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> pk.pem //var/lib/eucalyptus/keys/cluster//node-pk.pem'
>> + shift
>> + '[' 2 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//vtunpass ']'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//vtunpass ']'
>> + FILE=//var/lib/eucalyptus/keys/cluster//vtunpass
>> + '[' //var/lib/eucalyptus/keys/cluster//vtunpass = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> pk.pem //var/lib/eucalyptus/keys/cluster//node-
>> pk.pem //var/lib/eucalyptus/keys/cluster//vtunpass'
>> + shift
>> + '[' 1 -ge 1 ']'
>> + FILE=
>> ++ echo //var/lib/eucalyptus/keys/,//var/lib/eucalyptus/keys/cluster/
>> ++ sed 's/,/ /g'
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys//cloud-cert.pem ']'
>> + FILE=//var/lib/eucalyptus/keys//cloud-cert.pem
>> + for sd in '`echo $SOURCEDIRS | sed "s/,/ /g"`'
>> + '[' -e //var/lib/eucalyptus/keys/cluster//cloud-cert.pem ']'
>> + '[' //var/lib/eucalyptus/keys//cloud-cert.pem = '' ']'
>> + FILES=' //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> pk.pem //var/lib/eucalyptus/keys/cluster//node-
>> pk.pem //var/lib/eucalyptus/keys/cluster//vtunpass //var/lib/eucalyptus/keys//cl
>>
>> oud-cert.pem'
>> + shift
>> + '[' 0 -ge 1 ']'
>> ++ hostname -s
>> ++ hostname -f
>> + '[' 10.5.1.3 = 127.0.0.1 -o 10.5.1.3 = localhost -o 10.5.1.3 = vssv03 -o
>> 10.5.1.3 = vssv03 ']'
>> + '[' -n /usr/bin/rsync ']'
>> + echo
>>
>> + echo -n 'Trying rsync to sync keys with "10.5.1.3"...'
>> Trying rsync to sync keys with "10.5.1.3"...+ /usr/bin/rsync -
>> az //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> pk.pem //var/lib/eucalyptus/keys/cluster//node-
>> pk.pem //var/lib/eucalyptus/keys/cluster//vtunpass //var/lib/eucalyptus/keys//cl
>>
>> oud-cert.pem 10.5.1.3://var/lib/eucalyptus/keys//
>> root @ 10.5.1.3's password:
>> Permission denied, please try again.
>> root @ 10.5.1.3's password:
>> rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(260)
>> [sender=2.6.8]
>> + echo failed.
>> failed.
>> + '[' -n /usr/bin/scp ']'
>> + echo
>>
>> + '[' eucalyptus = '' ']'
>> + echo
>>
>> + echo 'Trying scp to sync keys with "" (user "eucalyptus")...'
>> Trying scp to sync keys with "" (user "eucalyptus")...
>> + sudo -u eucalyptus /usr/bin/scp //var/lib/eucalyptus/keys/cluster//node-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> cert.pem //var/lib/eucalyptus/keys/cluster//cluster-
>> pk.pem //var/lib/eucalyptus/keys/cluster//node-
>> pk.pem //var/lib/eucalyptus/keys/cluster//vtunpass //var/lib/eucalyptus/keys//cl
>>
>> oud-cert.pem eucalyptus @ 10.5.1.3://var/lib/eucalyptus/keys/
>> The authenticity of host '10.5.1.3 (10.5.1.3)' can't be established.
>> RSA key fingerprint is 1d:be:02:57:0a:3f:c0:dd:9e:2b:59:96:5e:f3:a3:f3.
>> Are you sure you want to continue connecting (yes/no)? + echo failed.
>> failed.
>> + return 1
>> + echo 'ERROR: failed to sync keys with 10.5.1.3; registration will not be
>> complete until keys can be synced, please try again.'
>> ERROR: failed to sync keys with 10.5.1.3; registration will not be complete
>> until keys can be synced, please try again.
>> + exit 1
>> [root @ vssv03 eucalyptus]#
>>
>>
>> --
>> ニューソン株式会社
>> 法人ビジネス事業本部
>> 基盤サービス事業部
>>
>> 江成 洋一(エナリ ヨウイチ)
>>
>> 〒 151-0072 東京都渋谷区幡ヶ谷1-1-12安斎ビル6F
>> TEL:03-5351-0892 080-6797-2087
>>
>> _______________________________________________
>> Eucalyptus-Users mailing list
>> Eucalyptus-Users @ ml.eucalyptus-users.jp
>> http://ml.eucalyptus-users.jp/mailman/listinfo/eucalyptus-users
>>
>


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