Bug 1380596 - error: error creating state file /var/lib/logrotate.status: Read-only file system
Summary: error: error creating state file /var/lib/logrotate.status: Read-only file sy...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.6.9
Hardware: All
OS: Linux
medium
high
Target Milestone: ovirt-3.6.10
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: jianwu
URL:
Whiteboard:
Depends On: 1381719
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-30 04:37 UTC by Douglas Schilling Landgraf
Modified: 2017-01-17 18:04 UTC (History)
7 users (show)

Fixed In Version: rhev-hypervisor7-7.3-20161021.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 18:04:44 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0108 0 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.10 2017-01-17 22:48:34 UTC
oVirt gerrit 65617 0 None None None 2016-10-20 05:23:57 UTC

Description Douglas Schilling Landgraf 2016-09-30 04:37:16 UTC
Description of problem:

/var/log/cron showing logrotate error:

Sep 29 20:40:01 localhost CROND[29472]: (root) CMDOUT (error: error creating state file /var/lib/logrotate.status: Read-only file system)

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.3-20160923.2

How reproducible:
- Install rhev-hypervisor7-7.3-20160923.2
- check /var/log/cron log

Comment 1 Ying Cui 2016-10-10 06:51:51 UTC
Chen, could you reproduce this issue on QE env.?

Comment 2 cshao 2016-10-10 09:50:31 UTC
(In reply to Ying Cui from comment #1)
> Chen, could you reproduce this issue on QE env.?

Yes, I can reproduce this issue.

Test version:
Red Hat Enterprise Virtualization Hypervisor release 7.3 (20160923.2.el7ev)
ovirt-node-3.6.1-20.0.el7ev.noarch


# tail -f /var/log/cron
Oct 10 09:40:01 dhcp-11-27 CROND[20963]: (root) CMD (/usr/sbin/logrotate /etc/logrotate.conf)
Oct 10 09:40:01 dhcp-11-27 CROND[20964]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Oct 10 09:40:01 dhcp-11-27 CROND[20962]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Oct 10 09:40:01 dhcp-11-27 CROND[20905]: (root) CMDOUT (error: error creating state file /var/lib/logrotate.status: Read-only file system)

Comment 3 jianwu 2016-11-10 08:56:20 UTC
I have tested new version about this issue

Test version:
RHEV-H 7.3-20161028.1.e17ev
ovirt-node-3.6.1-34.0.el7ev.noarch

#tail -f /var/log/cron
Nov 10 08:20:01 dhcp-8-194 CROND[18135]: (root) CMD (/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf)
Nov 10 08:22:01 dhcp-8-194 CROND[18158]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:24:01 dhcp-8-194 CROND[18176]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:26:01 dhcp-8-194 CROND[18194]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:28:01 dhcp-8-194 CROND[18369]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:29:25 dhcp-8-194 crond[2154]: (CRON) INFO (Shutting down)
Nov 10 16:30:27 dhcp-8-194 crond[2805]: (CRON) INFO (Syslog will be used instead of sendmail.)
Nov 10 16:30:27 dhcp-8-194 crond[2805]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 14% if used.)
Nov 10 16:30:27 dhcp-8-194 crond[2805]: (CRON) INFO (running with inotify support)
Nov 10 08:32:01 dhcp-8-194 CROND[17745]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:34:01 dhcp-8-194 CROND[17973]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
Nov 10 08:36:01 dhcp-8-194 CROND[17991]: (root) CMD (python < /usr/share/rhn/virtualization/poller.py)
(......)

There is no error occur, this bug is fixed on new version, i will verify this bug.

Jian Wu
Thanks

Comment 5 errata-xmlrpc 2017-01-17 18:04:44 UTC
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.

https://rhn.redhat.com/errata/RHEA-2017-0108.html


Note You need to log in before you can comment on or make changes to this bug.