Back to bug 2099670

Who When What Removed Added
Milind 2022-06-21 13:15:33 UTC CC adking
Flags needinfo?(adking)
Red Hat One Jira (issues.redhat.com) 2022-06-21 13:17:29 UTC Link ID Red Hat Issue Tracker RHCEPH-4593
Milind 2022-06-21 13:18:47 UTC CC robert.scheck
Robert Scheck 2022-06-21 13:51:56 UTC CC redhat-bugzilla
Lijo Stephen Thomas 2022-06-22 12:28:34 UTC CC lithomas
Geo Jose 2022-06-24 01:16:02 UTC CC gjose
Manny 2022-07-11 22:58:41 UTC CC nravinas
CC mcaldeir
Flags needinfo?(adking)
Link ID Red Hat Knowledge Base (Article) 6967157
Manny 2022-07-11 22:59:28 UTC Link ID Red Hat Knowledge Base (Article) 6967157
Manny 2022-07-11 23:00:12 UTC Link ID Red Hat Knowledge Base (Solution) 6967157
Adam King 2022-07-12 12:42:26 UTC Status NEW ASSIGNED
Target Release 6.1 6.0
Flags needinfo?(adking) needinfo?(adking)
Adam King 2022-07-12 18:03:09 UTC Flags needinfo?(milverma)
Milind 2022-07-19 06:47:32 UTC Flags needinfo?(milverma)
Milind 2022-07-19 07:30:07 UTC Flags needinfo?(adking)
Adam King 2022-07-19 19:11:25 UTC Flags needinfo?(adking)
Veera Raghava Reddy 2022-08-17 05:07:16 UTC CC vereddy
Adam King 2022-08-22 13:17:20 UTC Status ASSIGNED POST
errata-xmlrpc 2022-08-22 20:58:08 UTC Fixed In Version ceph-17.2.3-12.el9cp
Status POST MODIFIED
CC tserlin
Status MODIFIED ON_QA
Vivek Das 2022-08-28 11:02:55 UTC QA Contact mgowri vdas
CC vdas
Eliska 2022-09-08 07:08:07 UTC CC ekristov
Flags needinfo?(adking)
Adam King 2022-09-08 18:43:50 UTC Doc Type If docs needed, set a value Bug Fix
Flags needinfo?(adking)
Doc Text Cause: the ownership of /var/log/ceph was not what cephadm expected if it was created by something else (e.g. ceph-common, ceph-ansible)

Consequence: the cephadm.log could not be rotated due to logrotate taking issue with the ownership of the directory the log lives in

Fix: "su root root" was added to the logrotate config in order to make the rotation be done as root

Result: logrotate will no longer complain if the owner of /var/log/ceph is not what is expected and cephasm.log should be rotated as expected.
Eliska 2022-09-13 08:53:03 UTC Blocks 2126050
Rajendra Khambadkar 2022-09-14 13:33:53 UTC QA Contact vdas rkhambad
CC rkhambad
Manasa 2022-09-15 11:05:44 UTC CC mgowri
Rajendra Khambadkar 2022-09-18 16:34:26 UTC Status ON_QA VERIFIED
Eliska 2022-09-19 10:46:23 UTC Doc Text Cause: the ownership of /var/log/ceph was not what cephadm expected if it was created by something else (e.g. ceph-common, ceph-ansible)

Consequence: the cephadm.log could not be rotated due to logrotate taking issue with the ownership of the directory the log lives in

Fix: "su root root" was added to the logrotate config in order to make the rotation be done as root

Result: logrotate will no longer complain if the owner of /var/log/ceph is not what is expected and cephasm.log should be rotated as expected.
.The `logrotate` command no longer causes an issue

Previously, the `logrotate` command would cause issues if `/var/log/ceph` directory was created by something other than `cephadm`, for example `ceph-common` or `ceph-ansible`. As a consequence, the `cephadm.log` could not be rotated.

With this fix, `su root root` was added to the logrotate configuration to rotate as a `root` user. The `logrotate` command no longer causes an issue with the ownership of `var/log/ceph` directory, therefore the `cephadm.log` is rotated as expected.
Flags needinfo?(adking)
Adam King 2022-09-19 15:53:12 UTC Flags needinfo?(adking)
Doc Text .The `logrotate` command no longer causes an issue

Previously, the `logrotate` command would cause issues if `/var/log/ceph` directory was created by something other than `cephadm`, for example `ceph-common` or `ceph-ansible`. As a consequence, the `cephadm.log` could not be rotated.

With this fix, `su root root` was added to the logrotate configuration to rotate as a `root` user. The `logrotate` command no longer causes an issue with the ownership of `var/log/ceph` directory, therefore the `cephadm.log` is rotated as expected.
.Log rotation of the `cephadm.log` should no longer cause issues.

Previously, the `logrotate` command would cause issues if `/var/log/ceph` directory was created by something other than `cephadm`, for example `ceph-common` or `ceph-ansible`. As a consequence, the `cephadm.log` could not be rotated.

With this fix, `su root root` was added to the logrotate configuration to rotate as a `root` user. The `logrotate` command no longer causes an issue with the ownership of `var/log/ceph` directory, therefore the `cephadm.log` is rotated as expected.
Eliska 2022-09-20 09:42:24 UTC Doc Text .Log rotation of the `cephadm.log` should no longer cause issues.

Previously, the `logrotate` command would cause issues if `/var/log/ceph` directory was created by something other than `cephadm`, for example `ceph-common` or `ceph-ansible`. As a consequence, the `cephadm.log` could not be rotated.

With this fix, `su root root` was added to the logrotate configuration to rotate as a `root` user. The `logrotate` command no longer causes an issue with the ownership of `var/log/ceph` directory, therefore the `cephadm.log` is rotated as expected.
.Log rotation of the `cephadm.log` should no longer cause issues

Previously, the `logrotate` command would cause issues if `/var/log/ceph` directory was created by something other than `cephadm`, for example `ceph-common` or `ceph-ansible`. As a consequence, the `cephadm.log` could not be rotated.

With this fix, `su root root` was added to the logrotate configuration to rotate as a `root` user. The `logrotate` command no longer causes an issue with the ownership of `var/log/ceph` directory, therefore the `cephadm.log` is rotated as expected.
Eliska 2022-09-21 14:47:38 UTC Docs Contact asriram ekristov
Red Hat Bugzilla 2022-12-31 19:05:04 UTC QA Contact rkhambad msaini
CC rkhambad
Red Hat Bugzilla 2022-12-31 19:15:22 UTC CC mgowri
Red Hat Bugzilla 2023-01-01 05:37:21 UTC CC adking
Assignee adking nobody
Red Hat Bugzilla 2023-01-01 05:39:30 UTC CC tserlin
Red Hat Bugzilla 2023-01-01 08:37:15 UTC QA Contact msaini
Red Hat Bugzilla 2023-01-01 08:46:11 UTC CC vdas
Red Hat Bugzilla 2023-01-01 08:47:04 UTC CC vereddy
Alasdair Kergon 2023-01-04 04:33:20 UTC Assignee nobody adking
Alasdair Kergon 2023-01-04 04:38:28 UTC CC adking
Alasdair Kergon 2023-01-04 04:47:28 UTC QA Contact rkhambad
Alasdair Kergon 2023-01-04 05:14:10 UTC CC mgowri
Alasdair Kergon 2023-01-04 05:36:58 UTC CC rkhambad
Alasdair Kergon 2023-01-04 05:54:53 UTC CC vdas
Alasdair Kergon 2023-01-04 06:25:53 UTC CC tserlin
Alasdair Kergon 2023-01-04 06:59:12 UTC CC vereddy
errata-xmlrpc 2023-03-20 18:37:54 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-03-20 18:56:39 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-03-20 18:56:39 UTC
errata-xmlrpc 2023-03-20 18:57:06 UTC Link ID Red Hat Product Errata RHBA-2023:1360

Back to bug 2099670