=== modified file 'tools/euca_conf.in'
--- tools/euca_conf.in 2009-09-26 06:55:06 +0000
+++ tools/euca_conf.in 2009-09-30 00:53:21 +0000
@@ -1303,6 +1303,8 @@ echo "INFO: We expect all nodes to have eucalyptus installed in $EUCALYPTUS/var/lib/eucalyptus/keys for key synchronization."
fi
+ # Get the CC_NAME
+ . /etc/eucalyptus/eucalyptus.conf
# adding (or removing) nodes
for NEWNODE in ${NEWNODES} ; do
# remove is simpler: just remove the node name
@@ -1318,7 +1320,7 @@
fi
# let's sync keys with the nodes
- 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 echo echo "ERROR: could not synchronize keys with $NEWNODE!" echo "The configuration will not have this node."
I think this should fix it:
=== modified file 'tools/ euca_conf. in'
echo "INFO: We expect all nodes to have eucalyptus installed in $EUCALYPTUS/ var/lib/ eucalyptus/ keys for key synchronization."
--- tools/euca_conf.in 2009-09-26 06:55:06 +0000
+++ tools/euca_conf.in 2009-09-30 00:53:21 +0000
@@ -1303,6 +1303,8 @@
fi
+ # Get the CC_NAME /eucalyptus. conf
+ . /etc/eucalyptus
# adding (or removing) nodes
for NEWNODE in ${NEWNODES} ; do
# remove is simpler: just remove the node name
@@ -1318,7 +1320,7 @@
fi
# let's sync keys with the nodes /${CC_NAME} ${DESTDIR} ${NEWNODE} node-cert.pem cluster-cert.pem node-pk.pem cloud-cert.pem; then
echo
echo "ERROR: could not synchronize keys with $NEWNODE!"
echo "The configuration will not have this node."
- if ! sync_keys ${SOURCEDIR} ${DESTDIR} ${NEWNODE} node-cert.pem cluster-cert.pem node-pk.pem cloud-cert.pem; then
+ if ! sync_keys ${SOURCEDIR}