Get rid of 0644 for config files

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix RabbitMQ config files mode and owner

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add /var/log/syslog to time based rotation as well

/var/log/syslog was initially added to size based rotaion plan (20-fuel.conf) only.
Should be added to time based rotation plan (10-fuel.conf) as well.

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Patch python 2.6 logging handlers.py to skip BOM insertion

Workaround for #FUEL-829

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
For testing internal repos, use IP addresses instead of FQDNs

Implements: #FUEL-785
Workaround for: #FUEL-784

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

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Undo fix for FUEL-546

net04_ext should be created as non shared, as it was before FUEL-546.

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Treat koji OSCI as test internal repo controlled by enable_test_repo

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

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

Conflicts:
	deployment/puppet/cinder/templates/logging.conf.erb
	deployment/puppet/glance/templates/logging.conf.erb
	deployment/puppet/keystone/templates/logging.conf.erb
	deployment/puppet/nova/templates/logging.conf.erb
	deployment/puppet/quantum/templates/logging.conf.erb

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

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