Murano does not log to syslog
Bug #1261477 reported by
Vladimir Kuklin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Dmitry Teselkin |
Bug Description
Currently, we do not configure syslog logging in Heat and Murano manifests. We need to implement this.
Changed in fuel: | |
assignee: | Timur Nurlygayanov (tnurlygayanov) → nobody |
assignee: | nobody → Dmitry Teselkin (teselkin-d) |
tags: | added: murano |
summary: |
- Heat and Murano do not log to syslog + Murano does not log to syslog |
Changed in fuel: | |
importance: | High → Medium |
Changed in fuel: | |
milestone: | 4.0 → 4.1 |
To post a comment you must log in.
164 if $use_syslog and !$debug =~ /(?i)(true|yes)/ log_config' : value => "/etc/nova/ logging. conf"; use_syslog' : value => true; use_stderr' : ensure=> absent; syslog_ log_facility' : value => $syslog_ log_facility; logging. conf": 'nova/logging. conf.erb' ), logging. conf", log_config' : ensure=> absent; use_syslog' : ensure=> absent; syslog_ log_facility' : ensure=> absent; use_stderr' : ensure=> absent; logging_ context_ format_ string' : logging_ default_ format_ string' : logging. conf": 'nova/logging. conf-nosyslog. erb'), logging. conf",
165 {
166
167 nova_config
168 {
169 'DEFAULT/
170 'DEFAULT/log_file': ensure=> absent;
171 'DEFAULT/logfile': ensure=> absent;
172 'DEFAULT/
173 'DEFAULT/
174 'DEFAULT/
175 }
176
177 file {"nova-
178 content => template(
179 path => "/etc/nova/
180 require => File[$logdir],
181 }
182 }
183 else {
184 nova_config {
185 'DEFAULT/
186 'DEFAULT/
187 'DEFAULT/
188 'DEFAULT/
189 'DEFAULT/logdir': value=> $logdir;
190 'DEFAULT/
191 value => '%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s] %(instance)s %(message)s';
192 'DEFAULT/
193 value => '%(asctime)s %(levelname)s %(name)s [-] %(instance)s %(message)s';
194 }
195 # might be used for stdout logging instead, if configured
196 file {"nova-
197 content => template(
198 path => "/etc/nova/
199 require => File[$logdir],
200 }
201 }