daisy retracer #4

Supports: trusty

Description

Installs a retracer for the Daisy error reporting server for Ubuntu, relates to Cassandra and RabbitMQ.


None

Configuration

amqp-user
(string) The user to log into the rabbitMQ server.
daisy
amqp-vhost
(string) The vhost in the rabbitMQ server.
/
apport_code_dirs
(int) How many old copies of apport code to retain (candidates for backouts)
3
basedir
(string) Base directory for code
daisy.ubuntu.com
cache-debs
(boolean) If left True, the default caching of deb files to disk is excecuted by retracer.py. If False, do not cache deb files to disk by passing --nocache-debs to retracer.py.
True
cleanup-debs
(boolean) If True, retracer.py is run with the --cleanup-debs options and will cleanup the debs cache /srv/$sitename/$instance-type/cache/$release/cache-xyz/cache directory after each retrace. If left False, retracer.py uses the default behavior of leaving cached debs data on disk.
cleanup-sandbox
(boolean) If True, retracer.py is run with the --cleanup-sandbox options and will cleanup the sandbox /srv/$sitename/$instance-type/cache/$release/cache-xyz/sandbox directory after each retrace. If left False, retracer.py uses the default behavior of leaving cached chroot data on disk.
daisy-cassandra-password
(string) The Cassandra RPC password. Leave blank if one is not needed.
daisy-cassandra-username
(string) The Cassandra RPC username. Leave blank if one is not needed.
daisy-retracer-architectures
(string) Space separated list of architectures for which to process reports.
i386 amd64 armhf
daisy-retracer-aws-access-key
(string) The AWS access key (EC2_ACCESS_KEY).
daisy-retracer-aws-secret-key
(string) The AWS secret key (EC2_SECRET_KEY).
daisy-retracer-cassandra-host
(string) Override relations to Cassandra with specific host addresses. This is a temporary measure until cross-environment relations are ready.
daisy-retracer-openstack-auth-url
(string) The OpenStack authentication URL, e.g.: https://keystone.yourdomain.com:443/v2.0/
daisy-retracer-openstack-password
(string) The OpenStack password to authenticate with.
daisy-retracer-openstack-region
(string) The OpenStack region to use.
daisy-retracer-openstack-tenant
(string) The OpenStack tenant to use, e.g.: yourname_project.
daisy-retracer-openstack-username
(string) The OpenStack username to authenticate with.
daisy-retracer-s3-bucket
(string) The S3 bucket.
daisy-retracer-s3-host
(string) The S3 IP address.
daisy-retracer-swift-bucket
(string) The OpenStack Swift bucket to use, e.g.: daisy_core_files. Setting this will use Swift instead of S3 for storing core files.
daisy_code_dirs
(int) How many old copies of daisy code to retain (candidates for backouts)
3
duplicate-database
(string) The location for the Apport duplicates database.
porter-i386.canonical.com::whoopsie/apport_duplicates.db
extra-repository
(string) Apt repository required for packages other than daisy-dependencies.
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main
failed-queue
(boolean) If True, retracer.py is run with the --failed option and will use the failed to retrace queue to determine core files to process. If left False, retracer.py will use the queue of core files that have never been retraced.
group_code_owner
(string) The group that owns the code
webops_deploy
group_code_runner
(string) The group that runs the code
whoopsie
instance_type
(string) Instance type
production
lp_oauth_secret
(string) OAuth secret for talking to Launchpad.net.
lp_oauth_token
(string) OAuth token for talking to Launchpad.net.
mailto
(string) Where to send mail on failure.
root
max-disk-usage-pct
(int) The maximum amount of free space to use before purging the retracer caches.
80
nagios-log-file-age-crit
(int) The nagios check critical threshold for the retracer-amd64.log file age check in seconds.
3600
nagios-log-file-age-warn
(int) The nagios check warn threshold for the retracer-amd64.log file age check in seconds.
1800
oops-amqp-exchange
(string) The exchange for the rabbitMQ server for OOPS reports.
oops-amqp-host
(string) The host in the rabbitMQ server for OOPS reports.
oops-amqp-password
(string) The password for the rabbitMQ server for OOPS reports.
daisy-retracer
oops-amqp-routing-key
(string) The routing key for the rabbitMQ server for OOPS reports.
oops-amqp-username
(string) The user to log into the rabbitMQ server for OOPS reports.
daisy-retracer
oops-amqp-vhost
(string) The vhost in the rabbitMQ server for OOPS reports.
/
package-status
(string) The status of service-affecting-packages will be set to this value in the dpkg database. Useful valid values are "install" and "hold".
install
region
(string) Region deploying to. Used by nrpe to define servicegroup
prodstack
repository
(string) The location for the daisy-dependencies package.
ppa:daisy-pluckers/daisy-seeds
sandbox
(boolean) If left True, the default use of --sandbox-dir at /srv/$sitename/$instance-type/cache is used by retracer.py. If False, the --nouse-sandbox switch is used.
True
service-affecting-packages
(string) Packages that may need to be held from automatic upgrades in order to protect service uptime. Space delimited list of package names.
statsd_host
(string) statsd collection host
statsd_port
(string) statsd collection port
time-to-retrace-alert
(int) The maximum number of seconds to allow between accepting a core file and processing it, before we start alerting.
86400
user_code_owner
(string) The user that owns the code
webops_deploy
user_code_runner
(string) The user that runs the code
whoopsie
volume-ephemeral
(boolean) If false, the /srv/$site/$instance_type/cache directory will be symlinked to persistent storage. A configure-error state will be raised if volume-map[$JUJU_UNIT_NAME] is not set (see "volume-map" below). If true, /srv/$site/$instance_type/cache will be on the / partition. All data will be destroyed with the instance. Note volumes require charmsupport to be installed
True
volume-map
(string) YAML map as e.g. "{ daisy-retracer/0: /dev/vdc, daisy-retracer/1: /dev/vdc}". Service units will raise a configure-error if volume-persistent is 'true' and no volume-map value is set. Use 'juju set' to set a value and 'juju resolved' to complete configuration.
{}