Del openstack *-all.log file resources, fix 0644

*-all.log files would be provided by rsyslog with 0600/root.adm
Defaults for access rights should be changed 0644->0640 as well

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix group for quantum logging.conf

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix multiple tinyproxy config lines
floating ip range unit tests
nova floating debug
Merge pull request #499 from Zipfer/floating_ip

Floating ip range unit tests
Merge pull request #361 from bogdando/fix_alllogs

Fix alllogs
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>
Fix global scoped references for vars from site.pp

Fuel-lib's vars from top scope (site.pp) aren't top scoped
at fuel-web, thus, need to be passed to classes via its own vars

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