~ubuntu-branches/ubuntu/natty/eucalyptus/natty-201103250208

« back to all changes in this revision

Viewing changes to debian/registration/cluster

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey), Scott Moser, Dave Walker (Daviey), Clint Byrum
  • Date: 2010-08-25 22:11:40 UTC
  • Revision ID: james.westby@ubuntu.com-20100825221140-vgaza8n8833yag3n
Tags: 2.0~bzr1233-0ubuntu2

[Scott Moser]
* take the multiboot path only if kernel really is a multiboot
  image (LP: #622995)

[Dave Walker (Daviey)]
* debian/registration/{cluster,node,storage,walrus}: Added more verbose 
  logging on failure, and state success/failure rather than just return code.
* debian/uec-component-listener.upstart: Added sleep, as it was starting too
  early; often causing registration failures. (LP: #622698)

[Clint Byrum]
* debian/rules debian/eucalyptus-common.install: Fixing munin plugin install
* Added README.Debian file to eucalyptus-common package to explain usage of
  munin plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
  fi
20
20
done
21
21
 
22
 
/usr/sbin/euca_conf --no-rsync --skip-scp-hostcheck --register-cluster "${CLUSTERNAME}" "${IP}"
23
 
reglog "euca_conf --register-cluster returned $?"
 
22
SHORT_COMMAND="euca_conf --register-cluster"
 
23
REAL_COMMAND="/usr/sbin/euca_conf --no-rsync --skip-scp-hostcheck --register-cluster "${CLUSTERNAME}" "${IP}""
 
24
COMMAND_OUTPUT=$(eval $REAL_COMMAND)
 
25
STATUS=$?
 
26
 
 
27
if [ $STATUS -eq 0 ];then
 
28
   reglog "$SHORT_COMMAND returned SUCCESS"
 
29
else
 
30
   reglog "$SHORT_COMMAND returned FAILURE (error $STATUS): Command attempted was \"$REAL_COMMAND\", and had the following output: \"$COMMAND_OUTPUT\""
 
31
fi
 
32