Bug 1579103
Summary: | RHV-H 4.2.3: hosted-engine agent fails to start after upgrade due to Permission denied: '/var/log/ovirt-hosted-engine-ha/broker.log' '/var/log/ovirt-hosted-engine-ha/agent.log' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Andrea Perotti <aperotti> | ||||
Component: | ovirt-hosted-engine-ha | Assignee: | Martin Sivák <msivak> | ||||
Status: | CLOSED ERRATA | QA Contact: | Nikolai Sednev <nsednev> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.2.3 | CC: | aperotti, deatrich, gianluca.cecchi, kmashalk, lsurette, lsvaty, mgoldboi, nsednev, obockows, stirabos, yturgema | ||||
Target Milestone: | ovirt-4.3.0 | Keywords: | Regression, Triaged, ZStream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | v2.3.0-0.1.beta | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1585028 (view as bug list) | Environment: | |||||
Last Closed: | 2019-05-08 12:31:57 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1585028, 1627790 | ||||||
Attachments: |
|
Description
Andrea Perotti
2018-05-17 01:27:02 UTC
Hi, can you please attach /var/log/imgbased.log ? Created attachment 1440337 [details]
Archive containing imgbased.log for all 3 hypervisors
This just happened to me too. I am upgrading RHEV from 4.1 to 4.2, and the first hypervisor hit this problem when it was rebooted by the manager. I chowned the two log files to vdsm:kvm and it auto-magically recovered.. Will this happen again when the log files rotate? I won't upgrade the other 2 hypervisors until I am sure about this problem. Hello, I can confirm that after changing ownership, in my environment composed by two nodes, the log rotation didn't have any problem. Now 15 days after upgrading both RHV-H nodes from latest 4.1 to 4.2 (as of 23/05) eg: [root@rhevora3 ovirt-hosted-engine-ha]# ll total 29176 -rw-r--r--. 1 vdsm kvm 1861815 Jun 7 16:34 agent.log -rw-r--r--. 1 vdsm kvm 2110007 May 31 19:18 agent.log.2018-05-30 -rw-r--r--. 1 vdsm kvm 2109216 Jun 1 19:18 agent.log.2018-05-31 -rw-r--r--. 1 vdsm kvm 2109085 Jun 2 19:18 agent.log.2018-06-01 -rw-r--r--. 1 vdsm kvm 2106519 Jun 3 19:18 agent.log.2018-06-02 -rw-r--r--. 1 vdsm kvm 2107300 Jun 4 19:19 agent.log.2018-06-03 -rw-r--r--. 1 vdsm kvm 2106155 Jun 5 19:19 agent.log.2018-06-04 -rw-r--r--. 1 vdsm kvm 2104958 Jun 6 19:19 agent.log.2018-06-05 -rw-r--r--. 1 vdsm kvm 1499470 Jun 7 16:34 broker.log -rw-r--r--. 1 vdsm kvm 1644019 May 31 19:12 broker.log.2018-05-30 -rw-r--r--. 1 vdsm kvm 1655812 Jun 1 19:12 broker.log.2018-05-31 -rw-r--r--. 1 vdsm kvm 1661890 Jun 2 19:11 broker.log.2018-06-01 -rw-r--r--. 1 vdsm kvm 1670210 Jun 3 19:12 broker.log.2018-06-02 -rw-r--r--. 1 vdsm kvm 1673656 Jun 4 19:12 broker.log.2018-06-03 -rw-r--r--. 1 vdsm kvm 1674546 Jun 5 19:12 broker.log.2018-06-04 -rw-r--r--. 1 vdsm kvm 1684896 Jun 6 19:12 broker.log.2018-06-05 [root@rhevora3 ovirt-hosted-engine-ha]# Hello, I don't know if it is already expected to contain the fix, as the target appears to be 4.2.4, but I have updated one RHEV 4.1 environment, based on 2 RHV-H nodes originally in version rhvh-4.1-0.20171101.0+1 with self hosted engine. After following the typical upgrade flow for the self hosted engine, first to latest 4.1 (4.1.11.2-0.1.el7) and then to 4.2 (4.2.3.8-0.1.el7), I updated the RHV-H hosts to version 4.2-20180531.0.el7_5. For both the hosts the permissions was ok as expected. I had another problem for only one of the 2 hosts, throwing me to dracut shell when booting the 4.2 image, but I'm going to open a dedicated case and eventually bugzilla for it. Gianluca Works for me on ovirt-hosted-engine-ha-2.2.14-1.el7ev. 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://access.redhat.com/errata/RHEA-2019:1049 sync2jira sync2jira |