| Petr Jediný | 07dfda5 | 2017-06-17 13:51:58 +0200 | [diff] [blame] | 1 | ============= | 
|  | 2 | Panko Formula | 
|  | 3 | ============= | 
|  | 4 |  | 
|  | 5 | Panko is a component of the OpenStack Telemetry project and is designed to | 
|  | 6 | provide a metadata indexing, event storage service which enables users to | 
|  | 7 | capture the state information of OpenStack resources at a given time. Its aim | 
|  | 8 | is to enable a scalable means of storing both short and long term data for | 
|  | 9 | use cases such as auditing and system debugging. | 
|  | 10 |  | 
|  | 11 | Sample pillars | 
|  | 12 | ============== | 
|  | 13 |  | 
|  | 14 | Single panko service | 
|  | 15 |  | 
|  | 16 | .. code-block:: yaml | 
|  | 17 |  | 
|  | 18 | panko: | 
|  | 19 | server: | 
|  | 20 | enabled: true | 
|  | 21 | version: pike | 
|  | 22 | database: | 
|  | 23 | engine: mysql | 
|  | 24 | host: 10.20.0.101 | 
|  | 25 | port: 3306 | 
|  | 26 | name: panko | 
|  | 27 | user: panko | 
|  | 28 | password: segreto | 
|  | 29 | bind: | 
|  | 30 | host: 10.20.0.102 | 
|  | 31 | port: 8977 | 
|  | 32 | identity: | 
|  | 33 | engine: keystone | 
|  | 34 | host: 10.20.0.101 | 
|  | 35 | port: 35357 | 
|  | 36 | user: panko | 
|  | 37 | password: segreto | 
|  | 38 | region: RegionOne | 
|  | 39 | tenant: service | 
|  | 40 | endpoint_type: internalURL | 
|  | 41 | cache: | 
|  | 42 | engine: memcached | 
|  | 43 | members: | 
|  | 44 | - host: 10.20.0.102 | 
|  | 45 | port: 11211 | 
|  | 46 | - host: 10.20.0.103 | 
|  | 47 | port: 11211 | 
|  | 48 | - host: 10.20.0.104 | 
|  | 49 | port: 11211 | 
|  | 50 |  | 
| sgarbuz | 49d5faa | 2018-05-15 13:16:33 +0300 | [diff] [blame^] | 51 | Enhanced logging with logging.conf | 
|  | 52 | ---------------------------------- | 
|  | 53 |  | 
|  | 54 | By default logging.conf is disabled. | 
|  | 55 |  | 
|  | 56 | That is possible to enable per-binary logging.conf with new variables: | 
|  | 57 | * openstack_log_appender - set it to true to enable log_config_append for all OpenStack services; | 
|  | 58 | * openstack_fluentd_handler_enabled - set to true to enable FluentHandler for all Openstack services. | 
|  | 59 |  | 
|  | 60 | Only WatchedFileHandler and FluentHandler are available. | 
|  | 61 |  | 
|  | 62 | Also it is possible to configure this with pillar: | 
|  | 63 |  | 
|  | 64 | .. note:: This works only if service doesnt run under apache-wsgi | 
|  | 65 |  | 
|  | 66 | .. code-block:: yaml | 
|  | 67 |  | 
|  | 68 | panko: | 
|  | 69 | server: | 
|  | 70 | logging: | 
|  | 71 | log_appender: true | 
|  | 72 | log_handlers: | 
|  | 73 | watchedfile: | 
|  | 74 | enabled: true | 
|  | 75 | fluentd: | 
|  | 76 | enabled: true | 
|  | 77 |  | 
| Petr Jediný | 07dfda5 | 2017-06-17 13:51:58 +0200 | [diff] [blame] | 78 |  | 
|  | 79 | More information | 
|  | 80 | ================ | 
|  | 81 |  | 
|  | 82 | * https://wiki.openstack.org/wiki/Telemetry | 
|  | 83 | * https://docs.openstack.org/developer/panko/ | 
|  | 84 | * https://github.com/openstack/panko | 
|  | 85 | * https://bugs.launchpad.net/panko | 
|  | 86 |  | 
|  | 87 |  | 
|  | 88 | Documentation and Bugs | 
|  | 89 | ====================== | 
|  | 90 |  | 
|  | 91 | To learn how to install and update salt-formulas, consult the documentation | 
|  | 92 | available online at: | 
|  | 93 |  | 
|  | 94 | http://salt-formulas.readthedocs.io/ | 
|  | 95 |  | 
|  | 96 | In the unfortunate event that bugs are discovered, they should be reported to | 
|  | 97 | the appropriate issue tracker. Use GitHub issue tracker for specific salt | 
|  | 98 | formula: | 
|  | 99 |  | 
|  | 100 | https://github.com/salt-formulas/salt-formula-panko/issues | 
|  | 101 |  | 
|  | 102 | For feature requests, bug reports or blueprints affecting entire ecosystem, | 
|  | 103 | use Launchpad salt-formulas project: | 
|  | 104 |  | 
|  | 105 | https://launchpad.net/salt-formulas | 
|  | 106 |  | 
|  | 107 | Developers wishing to work on the salt-formulas projects should always base | 
|  | 108 | their work on master branch and submit pull request against specific formula. | 
|  | 109 |  | 
|  | 110 | You should also subscribe to mailing list (salt-formulas@freelists.org): | 
|  | 111 |  | 
|  | 112 | https://www.freelists.org/list/salt-formulas | 
|  | 113 |  | 
|  | 114 | Any questions or feedback is always welcome so feel free to join our IRC | 
|  | 115 | channel: | 
|  | 116 |  | 
|  | 117 | #salt-formulas @ irc.freenode.net |