** Description changed:

  I had been having problems with UEC on ubuntu 10.10 getting the Node
  Controllers (NC) to register correctly.
  
  Finally, after searching both the Ubuntu and Eucalyptus forums (and
  launchpad bugs) I found the following message on the Eucalyptus forum:
  
  = = = = = = =
  
-       Posted: Mon, 09/20/2010 - 13:08
-       when you did 'euca_conf --register-nodes 192.168.1.100', did you type 
in your password for either root or eucalyptus account on NC?
+  Posted: Mon, 09/20/2010 - 13:08
+  when you did 'euca_conf --register-nodes 192.168.1.100', did you type in 
your password for either root or eucalyptus account on NC?
  
-         If this continue to fail, then you can perform credential
- exchange steps manually.
+  If this continue to fail, then you can perform credential exchange
+ steps manually.
  
-       1. Add a line to /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf
-       NODES="IP_ADDRESS_OF_NCs" (eg., NODES="10.0.0.2 10.0.0.3")
+  1. Add a line to /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf
+  NODES="IP_ADDRESS_OF_NCs" (eg., NODES="10.0.0.2 10.0.0.3")
  
-       2. Copy followings files from CLC's 
/opt/eucalytpus/var/lib/eucalyptus/keys to the same directory of NC.
-       cc-client-policy.xml cloud-cert.pem cluster-cert.pem 
nc-client-policy.xml node-cert.pem node-pk.pem
+  2. Copy followings files from CLC's /opt/eucalytpus/var/lib/eucalyptus/keys 
to the same directory of NC.
+  cc-client-policy.xml cloud-cert.pem cluster-cert.pem nc-client-policy.xml 
node-cert.pem node-pk.pem
  
-         3. Make sure the owner of above files on NC is eucalyptus.
+  3. Make sure the owner of above files on NC is eucalyptus.
  
-         4. Restart CLC/CC/NC.
+  4. Restart CLC/CC/NC.
  
  = = = = = =
  
  Here is what I found after reading the above in particular the following
  statement:
  
-       2. Copy followings files from CLC's 
/opt/eucalytpus/var/lib/eucalyptus/keys to the same directory of NC.
-       cc-client-policy.xml cloud-cert.pem cluster-cert.pem 
nc-client-policy.xml node-cert.pem node-pk.pem
+  2. Copy followings files from CLC's /opt/eucalytpus/var/lib/eucalyptus/keys 
to the same directory of NC.
+  cc-client-policy.xml cloud-cert.pem cluster-cert.pem nc-client-policy.xml 
node-cert.pem node-pk.pem
  
  That statement made me go look to see where those PEM key files actually
  were on the CLC and it appears that after a default install of UEC on
- 10.10 those PEM key files are NOT located in the directory -
- /opt/eucalytpus/var/lib/eucalyptus/keys
- 
- I found that they were instead they were placed into==>
+ 10.10 the PEM key files are placed into==>
  /var/lib/eucalyptus/keys/cluster1
  
-       $ sudo ls -lg ./var/lib/eucalyptus/keys/cluster1
-       total 24
-       -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cloud-cert.pem
-       -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cluster-cert.pem
-       -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 cluster-pk.pem
-       -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 node-cert.pem
-       -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 node-pk.pem
-       -rw-r--r-- 1 eucalyptus 512 2010-09-28 18:43 vtunpass
+  $ sudo ls -lg ./var/lib/eucalyptus/keys/cluster1
+  total 24
+  -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cloud-cert.pem
+  -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cluster-cert.pem
+  -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 cluster-pk.pem
+  -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 node-cert.pem
+  -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 node-pk.pem
+  -rw-r--r-- 1 eucalyptus 512 2010-09-28 18:43 vtunpass
  
- This is probably where the NC registration problems that myself and
- others have been reporting are occurring.
+ I know there are differences with UEC and Eucalyptus but are these files 
perhaps supposed to be in the /var/lib/eucalyptus/keys
+ If so then this may be where the NC registration problems that myself and 
others have been reporting are occurring.

** Description changed:

  I had been having problems with UEC on ubuntu 10.10 getting the Node
  Controllers (NC) to register correctly.
  
  Finally, after searching both the Ubuntu and Eucalyptus forums (and
  launchpad bugs) I found the following message on the Eucalyptus forum:
  
  = = = = = = =
  
   Posted: Mon, 09/20/2010 - 13:08
   when you did 'euca_conf --register-nodes 192.168.1.100', did you type in 
your password for either root or eucalyptus account on NC?
  
   If this continue to fail, then you can perform credential exchange
  steps manually.
  
   1. Add a line to /opt/eucalyptus/etc/eucalyptus/eucalyptus.conf
   NODES="IP_ADDRESS_OF_NCs" (eg., NODES="10.0.0.2 10.0.0.3")
  
   2. Copy followings files from CLC's /opt/eucalytpus/var/lib/eucalyptus/keys 
to the same directory of NC.
   cc-client-policy.xml cloud-cert.pem cluster-cert.pem nc-client-policy.xml 
node-cert.pem node-pk.pem
  
   3. Make sure the owner of above files on NC is eucalyptus.
  
   4. Restart CLC/CC/NC.
  
  = = = = = =
  
  Here is what I found after reading the above in particular the following
  statement:
  
   2. Copy followings files from CLC's /opt/eucalytpus/var/lib/eucalyptus/keys 
to the same directory of NC.
   cc-client-policy.xml cloud-cert.pem cluster-cert.pem nc-client-policy.xml 
node-cert.pem node-pk.pem
  
  That statement made me go look to see where those PEM key files actually
  were on the CLC and it appears that after a default install of UEC on
  10.10 the PEM key files are placed into==>
  /var/lib/eucalyptus/keys/cluster1
  
   $ sudo ls -lg ./var/lib/eucalyptus/keys/cluster1
   total 24
   -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cloud-cert.pem
   -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 cluster-cert.pem
   -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 cluster-pk.pem
   -rw-r--r-- 1 eucalyptus 1147 2010-09-28 18:43 node-cert.pem
   -rw-r--r-- 1 eucalyptus 1675 2010-09-28 18:43 node-pk.pem
   -rw-r--r-- 1 eucalyptus 512 2010-09-28 18:43 vtunpass
  
- I know there are differences with UEC and Eucalyptus but are these files 
perhaps supposed to be in the /var/lib/eucalyptus/keys
+ I know there are differences with UEC and Eucalyptus but are these files
+ perhaps supposed to be in the /var/lib/eucalyptus/keys
+ 
+ On my CLC if I try to manually register an NC the error messages
+ returned seem to think the fils should be?  (see below)
+ 
+ >> $ euca_conf --register-nodes 172.17.34.31
+ >> cat: /var/lib/eucalyptus/.ssh/id_rsa.pub: Permission denied
+ >>
+ >> 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/
+ >> Warning: cannot file file cloud-cert.pem in //var/lib/eucalyptus/keys/
+ 
+ 
  If so then this may be where the NC registration problems that myself and 
others have been reporting are occurring.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
https://bugs.launchpad.net/bugs/684816

Title:
  Node Controller (NC) fail to register

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to