node registration breakage due to missing keys
Bug #439087 reported by
Dustin Kirkland
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Invalid
|
High
|
Dustin Kirkland |
Bug Description
Binary package hint: upstart
ubuntu@x61:~$ sudo euca_conf --no-rsync --register-nodes 192.168.1.136
[sudo] password for ubuntu:
INFO: We expect all nodes to have eucalyptus installed in //var/lib/
warning: //var/lib/
warning: //var/lib/
warning: //var/lib/
Trying scp to sync keys to: eucalyptus@
done.
Changed in upstart (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Dustin Kirkland (kirkland) |
summary: |
- node registration warnings due to missing keys + node registration breakage due to missing keys |
To post a comment you must log in.
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}