<commit_before># Default values for manila.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value

global:
  dbUser: manila
  imageNamespace: monsoon
  imageRegistry: DEFINED-IN-REGION-CHART
  master_password: ""
  pgbouncer:
    enabled: true

api_port_internal: '8786'
debug: "True"
image_version: pike-20180430.1

logging:
  formatters:
    context:
      class: oslo_log.formatters.ContextFormatter
    default:
      format: "%(message)s"
  handlers:
    stdout:
      class: StreamHandler
      args: "(sys.stdout,)"
      formatter: context
    "null":
      class: logging.NullHandler
      formatter: default
      args: "()"
    sentry:
      class: "raven.handlers.logging.SentryHandler"
      level: ERROR
      args: "()"
  loggers:
    root:
      handlers: stdout, sentry
      level: WARNING
    manila:
      handlers: stdout, sentry
      level: DEBUG
    manila.api.openstack.wsgi:
      handlers: stdout, sentry
      level: INFO
    amqp:
      handlers: stdout, sentry
      level: WARNING
    amqplib:
      handlers: stdout, sentry
      level: WARNING
    sqlalchemy:
      handlers: stdout, sentry
      level: WARNING
    boto:
      handlers: stdout, sentry
      level: WARNING
    suds:
      handlers: stdout, sentry
      level: INFO
    eventlet.wsgi.server:
      handlers: stdout, sentry
      level: INFO

image_version_manila_nanny: '20180412140924'
nanny:
  enabled: True
  # debug mode - no script run in the containers, just a sleep loop
  debug: False
  # run the nanny every n minutes
  interval: 60
  db_purge:
    enabled: True
    # purge deleted db entries older than n days
    older_than: 7
  quota_sync:
    enabled: True
    # dry run mode, i.e. just check for consistency without fixing it
    dry_run: True
  consistency:
    enabled: False
    # dry run mode, i.e. just check for consistency without fixing it
    dry_run: True
  db_cleanup:
    enabled: False
    # dry run mode, i.e. just check for consistency without fixing it
    dry_run: True

pgmetrics:
  dependencyJobs: "monsoon3:manila-migration"
  customMetrics:
    openstack_manila_share_servers:
      query: "SELECT host, share_network_id, status, COUNT(*) AS count_gauge FROM share_servers GROUP BY host, share_network_id, status"
      metrics:
        - host:
            usage: "LABEL"
            description: "Project ID"
        - share_network_id:
            usage: "LABEL"
            description: "Share Network ID"
        - status:
            usage: "LABEL"
            description: "Status of the Server"
        - count_gauge:<commit_msg>[manila] nanny enable more by default<commit_after># Default values for manila.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value

global:
  dbUser: manila
  imageNamespace: monsoon
  imageRegistry: DEFINED-IN-REGION-CHART
  master_password: ""
  pgbouncer:
    enabled: true

api_port_internal: '8786'
debug: "True"
image_version: pike-20180430.1

logging:
  formatters:
    context:
      class: oslo_log.formatters.ContextFormatter
    default:
      format: "%(message)s"
  handlers:
    stdout:
      class: StreamHandler
      args: "(sys.stdout,)"
      formatter: context
    "null":
      class: logging.NullHandler
      formatter: default
      args: "()"
    sentry:
      class: "raven.handlers.logging.SentryHandler"
      level: ERROR
      args: "()"
  loggers:
    root:
      handlers: stdout, sentry
      level: WARNING
    manila:
      handlers: stdout, sentry
      level: DEBUG
    manila.api.openstack.wsgi:
      handlers: stdout, sentry
      level: INFO
    amqp:
      handlers: stdout, sentry
      level: WARNING
    amqplib:
      handlers: stdout, sentry
      level: WARNING
    sqlalchemy:
      handlers: stdout, sentry
      level: WARNING
    boto:
      handlers: stdout, sentry
      level: WARNING
    suds:
      handlers: stdout, sentry
      level: INFO
    eventlet.wsgi.server:
      handlers: stdout, sentry
      level: INFO

image_version_manila_nanny: '20180412140924'
nanny:
  enabled: true
  # debug mode - no script run in the containers, just a sleep loop
  debug: false
  # run the nanny every n minutes
  interval: 60
  db_purge:
    enabled: true
    # purge deleted db entries older than n days
    older_than: 7
  quota_sync:
    enabled: true
    # dry run mode, i.e. just check for quota out of sync without fixing it
    dry_run: false
  consistency:
    enabled: true
    # dry run mode, i.e. just check for consistency without fixing it
    dry_run: false
  db_cleanup:
    enabled: false
    # dry run mode, i.e. just check for objects without valid project without fixing it
    dry_run: true

pgmetrics:
  dependencyJobs: "monsoon3:manila-migration"
  customMetrics:
    openstack_manila_share_servers:
      query: "SELECT host, share_network_id, status, COUNT(*) AS count_gauge FROM share_servers GROUP BY host, share_network_id, status"
      metrics:
        - host:
            usage: "LABEL"
            description: "Project ID"
        - share_network_id:
            usage: "LABEL"
            description: "Share Network ID"
        - status:
            usage: "LABEL"
            description: "Status of the Server"
        - count_gauge:
{'fraction_non_alphanumeric': 0.07809847198641766, 'fraction_numerical': 0.011695906432748537, 'mean_word_length': 2.5205843293492696, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '215493', 'n_tokens_mistral': 1731, 'n_tokens_neox': 1672, 'n_words': 514}