~hopem/charms/trusty/nova-cloud-controller/lp1499435

« back to all changes in this revision

Viewing changes to hooks/nova-cloud-controller-relations

  • Committer: Jerry Seutter
  • Date: 2013-03-05 00:02:41 UTC
  • mto: (48.1.19 ha-support)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: jerry.seutter@canonical.com-20130305000241-mqai3ef5yn3fjd3y
Added health check scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
  determine_services
79
79
  service_ctl all restart
 
80
 
 
81
  # Save our scriptrc env variables for health checks
 
82
  declare -a env_vars=(
 
83
      "OPENSTACK_PORT_MCASTPORT=$(config-get ha-mcastport)"
 
84
      'OPENSTACK_SERVICE_API_EC2=nova-api-ec2'
 
85
      'OPENSTACK_SERVICE_API_OS_COMPUTE=nova-api-os-compute'
 
86
      'OPENSTACK_SERVICE_CERT=nova-cert'
 
87
      'OPENSTACK_SERVICE_CONDUCTOR=nova-conductor'
 
88
      'OPENSTACK_SERVICE_OBJECTSTORE=nova-objectstore'
 
89
      'OPENSTACK_SERVICE_SCHEDULER=nova-scheduler'
 
90
  save_script_rc ${env_vars[@]}
80
91
}
81
92
 
82
93
function amqp_joined {