Bug 1853369 - [ISCSI] Monitoring - Packages for gwtop do not exist in RHCS4 repos
Summary: [ISCSI] Monitoring - Packages for gwtop do not exist in RHCS4 repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.3
Assignee: Amrita
QA Contact: Gopi
URL:
Whiteboard:
: 2019316 (view as bug list)
Depends On:
Blocks: 1966534
TreeView+ depends on / blocked
 
Reported: 2020-07-02 14:02 UTC by Bob Emerson
Modified: 2021-12-13 16:15 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-16 13:40:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-857 0 None None None 2021-08-23 08:35:49 UTC

Description Bob Emerson 2020-07-02 14:02:52 UTC
Description of problem:

Following instructions from 
Instructions to install gwtop in https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/block_device_guide/index#monitoring-the-iscsi-gateways-block

Cannot install gwtop package


Version-Release number of selected component (if applicable):

RHCS4

How reproducible:


https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/block_device_guide/index#monitoring-the-iscsi-gateways-block

Step 1:
Install the ceph-iscsi-tools package:

[root@iscsigw ~]# yum install ceph-iscsi-tools

On gateway node:
[root@dellrhcs4osd1 ~]# yum repolist
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)      12 kB/s | 4.1 kB     00:00
Red Hat Ceph Storage OSD 4 for RHEL 8 x86_64 (RPMs)        17 kB/s | 4.0 kB     00:00
Red Hat Ceph Storage Tools 4 for RHEL 8 x86_64 (RPMs)      17 kB/s | 4.0 kB     00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)    17 kB/s | 4.5 kB     00:00
repo id                               repo name                                                         status
rhceph-4-osd-for-rhel-8-x86_64-rpms   Red Hat Ceph Storage OSD 4 for RHEL 8 x86_64 (RPMs)                 47
rhceph-4-tools-for-rhel-8-x86_64-rpms    Red Hat Ceph Storage Tools 4 for RHEL 8 x86_64 (RPMs)            101
rhel-8-for-x86_64-appstream-rpms    Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)              10,766
rhel-8-for-x86_64-baseos-rpms     Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                  4,834


[root@dellrhcs4osd1 ~]# yum install ceph-iscsi-tools
Updating Subscription Management repositories.
Last metadata expiration check: 0:03:16 ago on Wed 01 Jul 2020 03:04:46 PM EDT.
No match for argument: ceph-iscsi-tools
Error: Unable to find a match: ceph-iscsi-tools


Searching on https://access.redhat.com/downloads/content/package-browser


The following 2 packages are only in rhel-7-server-rhceph-3-tools-rpms repo

Product (Variant, Version, Architecture)        Repo Label
Red Hat Enterprise Linux Server 7 x86_64        rhel-7-server-rhceph-3-tools-rpms

ceph-iscsi-tools
ceph-iscsi-config

I tried to download and install the RPM and there are needed dependencies

[root@dellrhcs4osd1 ~]# rpm -U ceph-iscsi-tools-2.1-3.el7cp.noarch.rpm
warning: ceph-iscsi-tools-2.1-3.el7cp.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        /usr/bin/python is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        ceph-iscsi-config >= 2.3-1 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        pcp >= 3.11 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        pcp-pmda-lio >= 1.0 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        python(abi) = 2.7 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        python-pcp >= 3.11 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch
        python-rtslib >= 2.1.fb64-0.1 is needed by ceph-iscsi-tools-2.1-3.el7cp.noarch


Package pcp exists in the correct repo rhel-8-for-x86_64-appstream-rpms


Ceph 4 env:

[root@dellrhel8ansible ceph-ansible]# ansible all -m shell -i /etc/ansible/hosts -a "cat /etc/redhat-release"
[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation. This feature will be removed in
 version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details

dellrhcs4osd1 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4osd6 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellgrafana | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4osd4 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4osd2 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4osd3 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4osd5 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4rgw2 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4rgw1 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4mon1 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4mon3 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

dellrhcs4mon2 | CHANGED | rc=0 >>
Red Hat Enterprise Linux release 8.1 (Ootpa)

[root@dellrhcs4mon1 ~]# ceph versions
{
    "mon": {
        "ceph version 14.2.8-59.el8cp (53387608e81e6aa2487c952a604db06faa5b2cd0) nautilus (stable)": 3
    },
    "mgr": {
        "ceph version 14.2.8-59.el8cp (53387608e81e6aa2487c952a604db06faa5b2cd0) nautilus (stable)": 3
    },
    "osd": {
        "ceph version 14.2.8-59.el8cp (53387608e81e6aa2487c952a604db06faa5b2cd0) nautilus (stable)": 24
    },
    "mds": {},
    "rgw": {
        "ceph version 14.2.8-59.el8cp (53387608e81e6aa2487c952a604db06faa5b2cd0) nautilus (stable)": 2
    },
    "overall": {
        "ceph version 14.2.8-59.el8cp (53387608e81e6aa2487c952a604db06faa5b2cd0) nautilus (stable)": 32
    }
}



Expected results:

Install gwtop with RHCS4 related repos


Additional info:


Found when testing issue in RHCS4 - https://bugzilla.redhat.com/show_bug.cgi?id=1853065

Comment 1 RHEL Program Management 2020-07-02 14:02:59 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 3 Jason Dillaman 2020-09-15 19:02:52 UTC
We should remove the documentation for gwtop. It's essentially deprecated upstream since it doesn't function in a containerized environment and therefore has been replaced by a built-in prometheus exporter in 'ceph-iscsi'. See BZ1786453 for the related BZ to (re)add the iSCSI grafana dashboard to the Ceph dashboard (was in included in ceph-metrics).

Comment 14 Gopi 2021-09-01 07:22:44 UTC
Hi Amrita,

In section 7.11. MONITORING THE ISCSI GATEWAYS:
{storage-cluster} cluster now incorporates a generic metric gathering framework within the OSDs and MGRs to provide built-in monitoring. The metrics are generated within the {storage-cluster} cluster and there is no need to access client nodes to scrape metrics.

"{storage-cluster} cluster" looks confusing. Can you look into it?

Comment 15 Amrita 2021-09-01 07:39:24 UTC
Hi Gopi,

Thanks for your feedback, have rectified to {storage-product}. 

Block Device Guide 4:
Jenkins preview:
Section 7.11
https://jenkins.dxp.redhat.com/job/CCS/job/ccs-mr-preview/5978/artifact/preview/index.html

Block Device Guide 5:
SEction 10.10
Jenkins preview:
https://jenkins.dxp.redhat.com/job/CCS/job/ccs-mr-preview/5979/artifact/preview/index.html

Thanks
Amrita

Comment 16 Gopi 2021-09-01 13:09:02 UTC
Document looks fine.

Comment 18 Ilya Dryomov 2021-12-13 16:15:02 UTC
*** Bug 2019316 has been marked as a duplicate of this bug. ***


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