Fix openstack logging issues for debug, use stderr for default logging

- There are stdout logging related bugs exist in openstack services, thus
  as a workaround, stderr logging should be used for non syslog mode (option 1)
- Log config for stdout logging provided as well but now configured to be used
- Because of some issues with logdir/log_dir logfile/log_file typos, use both

TODO fix init scripts to redirect stderr to logfiles and
to not use explicit logfile/logdir/logconfig in daemon launch string

Implements (partially): #FUEL-835, Option 1

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>

Conflicts:
	deployment/puppet/quantum/manifests/init.pp

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Move debug/verbose above syslog section to evaluate it the right way

...If below, logging class would get $::debug option undef from top scope

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix openstack logging issues for debug, use stdout for default logging

- Log config for stdout logging provided as well but now configured to be used
- Because of some issues with logdir/log_dir logfile/log_file typos, use both

TODO fix init scripts for quantum & agents to redirect stderr to logfiles and
to not use explicit logfile/logdir/logconfig in daemon launch string

Implements (partially): #FUEL-835, Option 2

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>

Conflicts:
	deployment/puppet/quantum/files/ocf/quantum-agent-l3
	deployment/puppet/quantum/manifests/init.pp

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Use traditional timestamps, keep rotated files for 4 weeks at master

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Undo powerfull stderr debug for quantum

Cannot use stderr unless quantum & agents would
redirect their init & ocf output to stderr

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Ensure log_file is absent, if it should be, and log_dir is set for debug

To ensure services would use separate files for debug, log(_)dir options
should be used explicitly (except glance which have diff configs for api & registry)

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Dirty hack for quantum init scripts

Explicit --log-config option for daemon overrides config file options
and breaks logging (no logging configs should be used for quantum
because of message loss bug)

Poor workaround for #FUEL-842

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix exec, comments and rsyslog imfile templates for quantum

Workaround for #FUEL-843

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Syslog message format fuelweb compatibility fixes

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix rsyslog templates to honour rfc3164 & rfc5424 for all logs

Refactor templates to honour message formats

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix title to notify cinder services

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Added nailgun-redhat-license package
Merge pull request #432 from kozhukalov/prd1229_new

Prd1229 new
fix mysql initial setup for 5.1, horizon nodejs fix
make horizon packages safe for centos
make horizon packages safe for centos
Merge pull request #434 from mattymo/777-mysqlandhorizon

Fix mysql 5.1 install_db check and install nodejs-less
Patch python 2.6 logging handlers.py to skip BOM insertion

Workaround for #FUEL-829

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add openstack logging client to replace rsyslog::client

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge branch 'feat_logging_server' into fuelweb_bdobrelia