Bug 1125873
Summary: | [upgrade rhel6]: the nova logs changed between rhos4 and rhos5 and after upgrade we have both logs and we keep on writing to old ones | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> | ||||
Component: | openstack-nova | Assignee: | Russell Bryant <rbryant> | ||||
Status: | CLOSED ERRATA | QA Contact: | Dafna Ron <dron> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | unspecified | CC: | apevec, dron, ndipanov, sclewis, sgordon, yeylon | ||||
Target Milestone: | z1 | Keywords: | Regression, ZStream | ||||
Target Release: | 5.0 (RHEL 6) | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | openstack-nova-2014.1.2-2.el6ost | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-09-30 17:52:28 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Dafna Ron
2014-08-01 09:37:59 UTC
(In reply to Dafna Ron from comment #0) > Actual results: > > we add the new logs but keep the old log format and continue to write to the > old logs. > > Expected results: > > we need to xz the old logs and start writing to the new ones Can you provide your nova.conf? I'm curious if the log_file option is set. If that option is *not* set, it sounds like the API service didn't get restarted. Can you please verify that nova-api was restarted? # (Optional) Name of log file to output to. If no default is # set, logging will go to stdout. (string value) #log_file=<None> part of the upgrade requires service restart: root@gizmo ~]# openstack-service status nova openstack-nova-api (pid 14091) is running... openstack-nova-cert (pid 14111) is running... openstack-nova-compute (pid 14130) is running... openstack-nova-conductor (pid 14149) is running... openstack-nova-consoleauth (pid 14168) is running... openstack-nova-novncproxy (pid 14197) is running... openstack-nova-scheduler (pid 14212) is running... [root@gizmo ~]# and it should start on reboot: [root@gizmo ~]# chkconfig |grep nova-api openstack-nova-api 0:off 1:off 2:on 3:on 4:on 5:on 6:off Created attachment 924535 [details]
nova.conf
openstack-nova-$service.init in rhos5el6 have explicit--logfile parameter in service startup command line which sets it to /var/log/nova/$service.log That was supposed to be removed as a fix for bug 966050 but looks it was fixed only for el7 and we have a regression in el6. we are writing to the new logs after upgrade. moving to verified on RHEL6.5 upgrade to puddle: 2014-09-10.1 http://pastebin.test.redhat.com/233492 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1341.html |