Registering Walrus fail

Bug #429719 reported by Etienne Goyer
This bug report is a duplicate of:  Bug #423465: euca.p12 owned by root. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
New
Undecided
Unassigned

Bug Description

On a brand new installation of Eucalyptus 1.6~bzr672-0ubuntu3 on karmic, after manually copying ~eucalyptus/.ssh/id_rsa.pub to ~eucalyptus/.ssh/authorized_keys and successfully registering the cluster, registration of the walrus component fail with the following error:

cloudmaster@uec-frontend:~$ sudo euca_conf --no-rsync --register-walrus 10.153.108.210
  <CloudVersion>1.6-devel</CloudVersion>
Adding WALRUS host 10.153.108.210
http://127.0.0.1:8773/services/Configuration?AWSAccessKeyId=WKy3rMzOWPouVOxK1p3Ar1C2uRBwa2FBXnCw&Action=RegisterWalrus&Host=10.153.108.210&Name=walrus&Port=8773&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2009-09-14T18%3A21%3A11.000Z&Version=eucalyptus&Signature=MRpYbYSDb60shAr1jq4l8e4TMfRv0BHo9chQXkWrwJo=
<euca:RegisterWalrusResponse xmlns:euca="http://msgs.eucalyptus.ucsb.edu"><euca:RegisterComponentResponse><euca:ConfigurationMessage><euca:correlationId>95c0b6f9-c15f-4192-a6bf-e961b72b313d</euca:correlationId><euca:userId>admin</euca:userId><euca:effectiveUserId>eucalyptus</euca:effectiveUserId><euca:_return>true</euca:_return></euca:ConfigurationMessage></euca:RegisterComponentResponse></euca:RegisterWalrusResponse>

Trying scp to sync keys with "" (user "eucalyptus")...
scp: //var/lib/eucalyptus/keys//euca.p12: Permission denied
failed.
ERROR: failed to sync keys with 10.153.108.210.

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

The in question is already there, and writable only by root, hence why scp fail:

cloudmaster@uec-frontend:~$ sudo ls -l /var/lib/eucalyptus/keys//euca.p12
-rw-r--r-- 1 root root 21546 2009-09-14 18:06 /var/lib/eucalyptus/keys//euca.p12

Revision history for this message
Daniel Nurmi (nurmi) wrote :

thanks Etienne; we have fixed this upstream in bzr733 (change the ownership of euca.p12 on system startup). The next package from upstream should contain the fix!

Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

The following workaround allows you to proceed with walrus registration:

    sudo chown eucalyptus:eucalyptus /var/lib/eucalyptus/keys/euca.p12

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.