Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 886960 Details for
Bug 1036515
Fix some OpenStack init scripts to return non-zero if service cannot start
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix change of default logfilename api.log -> nova-api.log
0001-restore-api.log.patch (text/plain), 1.28 KB, created by
Alan Pevec
on 2014-04-16 17:32:22 UTC
(
hide
)
Description:
Fix change of default logfilename api.log -> nova-api.log
Filename:
MIME Type:
Creator:
Alan Pevec
Created:
2014-04-16 17:32:22 UTC
Size:
1.28 KB
patch
obsolete
>From 3ede463747c6a754785469157bf100e09cc030e8 Mon Sep 17 00:00:00 2001 >From: Alan Pevec <apevec@redhat.com> >Date: Wed, 16 Apr 2014 19:28:11 +0200 >Subject: [PATCH] restore api.log > >Removing --logfile would fix 966050 "Double logging when using syslog" >but that's not targeting 4.0.z as it would change default logfilename. > >Related: rhbz#1036515 >--- > openstack-nova-api.init | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/openstack-nova-api.init b/openstack-nova-api.init >index 047c00f..313f706 100644 >--- a/openstack-nova-api.init >+++ b/openstack-nova-api.init >@@ -29,6 +29,7 @@ prog=openstack-nova-$suffix > exec="/usr/bin/nova-$suffix" > config="/etc/nova/nova.conf" > pidfile="/var/run/nova/nova-$suffix.pid" >+logfile="/var/log/nova/$suffix.log" > startuplog="/var/log/nova/nova-$suffix-startup.log" > timeout=60 > wrapper="/usr/share/nova/daemon_notify.sh" >@@ -41,7 +42,8 @@ start() { > [ -x $exec ] || exit 5 > [ -f $config ] || exit 6 > echo -n $"Starting $prog: " >- daemon --user nova --pidfile $pidfile "$wrapper $exec $pidfile $startuplog $timeout" >+ execparam="$exec --log-file $logfile" >+ daemon --user nova --pidfile $pidfile "$wrapper \"$execparam\" $pidfile $startuplog $timeout" > retval=$? > echo > [ $retval -eq 0 ] && touch $lockfile >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1036515
:
886114
|
886273
|
886948
| 886960 |
886961
|
886962
|
886976
|
886978
|
887135