Bug 1722407 - Add missing repo for prometheus to container guide
Summary: Add missing repo for prometheus to container guide
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 3.3
Assignee: Karen Norteman
QA Contact: Sunil Angadi
Aron Gunn
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-20 09:26 UTC by Matthias Muench
Modified: 2020-05-13 06:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-13 06:49:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthias Muench 2019-06-20 09:26:07 UTC
Description of problem:
Container guide doesn't reflect need of repo rhel-7-server-rhceph-3-tools-rpms to be enabled to install and configure dashboard using cephmetrics-ansible.

Version-Release number of selected component (if applicable):
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/container_guide/index#registering-red-hat-ceph-storage-nodes-to-cdn-and-attaching-subscriptions

How reproducible:
Always when following container guide.


Steps to Reproduce:
1. install ceph cluster with internet connection and repos enabled: rhel-7-server-rpms, rhel-7-server-extras-rpms
2. install cephmetrics-ansible, configure /etc/ansible/hosts
3. cd /usr/share/cephmetrics-ansible; ansible-playbook -v playbook.yml

Actual results:
TASK [ceph-node-exporter : Install packages] **********************************************************************
fatal: [ceph32c-osd1]: FAILED! => {"changed": false, "msg": "No package matching 'prometheus-node_exporter' found available, installed or updated", "rc": 126, "results": ["No package matching 'prometheus-node_exporter' found available, installed or updated"]}
fatal: [ceph32c-osd3]: FAILED! => {"changed": false, "msg": "No package matching 'prometheus-node_exporter' found available, installed or updated", "rc": 126, "results": ["No package matching 'prometheus-node_exporter' found available, installed or updated"]}
fatal: [ceph32c-osd2]: FAILED! => {"changed": false, "msg": "No package matching 'prometheus-node_exporter' found available, installed or updated", "rc": 126, "results": ["No package matching 'prometheus-node_exporter' found available, installed or updated"]}
fatal: [ceph32c-osd4]: FAILED! => {"changed": false, "msg": "No package matching 'prometheus-node_exporter' found available, installed or updated", "rc": 126, "results": ["No package matching 'prometheus-node_exporter' found available, installed or updated"]}
fatal: [ceph32c-osd5]: FAILED! => {"changed": false, "msg": "No package matching 'prometheus-node_exporter' found available, installed or updated", "rc": 126, "results": ["No package matching 'prometheus-node_exporter' found available, installed or updated"]}
ok: [ceph32c-metrics] => {"changed": false, "msg": "", "rc": 0, "results": ["All packages providing prometheus-node_exporter are up to date", ""]}
...
PLAY RECAP ********************************************************************************************************
ceph32c-metrics            : ok=77   changed=7    unreachable=0    failed=0   
ceph32c-osd1               : ok=17   changed=2    unreachable=0    failed=1   
ceph32c-osd2               : ok=6    changed=0    unreachable=0    failed=1   
ceph32c-osd3               : ok=6    changed=0    unreachable=0    failed=1   
ceph32c-osd4               : ok=6    changed=0    unreachable=0    failed=1   
ceph32c-osd5               : ok=6    changed=0    unreachable=0    failed=1   
localhost                  : ok=1    changed=0    unreachable=0    failed=0   



Expected results:
After enabling repo rhel-7-server-rhceph-3-tools-rpms on all cluster nodes:
TASK [ceph-node-exporter : Install packages] **********************************************************************
ok: [ceph32c-metrics] => {"changed": false, "msg": "", "rc": 0, "results": ["All packages providing prometheus-node_exporter are up to date", ""]}
changed: [ceph32c-osd4] => {"changed": true, "msg": "", "rc": 0, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package          Arch   Version        Repository                         Size\n================================================================================\nInstalling:\n prometheus-node-exporter\n                  x86_64 0.15.2-2.el7cp rhel-7-server-rhceph-3-tools-rpms 3.1 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 3.1 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n  Verifying  : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n\nInstalled:\n  prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp                              \n\nComplete!\n"]}
changed: [ceph32c-osd1] => {"changed": true, "msg": "", "rc": 0, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package          Arch   Version        Repository                         Size\n================================================================================\nInstalling:\n prometheus-node-exporter\n                  x86_64 0.15.2-2.el7cp rhel-7-server-rhceph-3-tools-rpms 3.1 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 3.1 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n  Verifying  : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n\nInstalled:\n  prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp                              \n\nComplete!\n"]}
changed: [ceph32c-osd5] => {"changed": true, "msg": "", "rc": 0, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package          Arch   Version        Repository                         Size\n================================================================================\nInstalling:\n prometheus-node-exporter\n                  x86_64 0.15.2-2.el7cp rhel-7-server-rhceph-3-tools-rpms 3.1 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 3.1 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n  Verifying  : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n\nInstalled:\n  prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp                              \n\nComplete!\n"]}
changed: [ceph32c-osd3] => {"changed": true, "msg": "", "rc": 0, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package          Arch   Version        Repository                         Size\n================================================================================\nInstalling:\n prometheus-node-exporter\n                  x86_64 0.15.2-2.el7cp rhel-7-server-rhceph-3-tools-rpms 3.1 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 3.1 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n  Verifying  : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n\nInstalled:\n  prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp                              \n\nComplete!\n"]}
changed: [ceph32c-osd2] => {"changed": true, "msg": "", "rc": 0, "results": ["Loaded plugins: product-id, search-disabled-repos, subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package          Arch   Version        Repository                         Size\n================================================================================\nInstalling:\n prometheus-node-exporter\n                  x86_64 0.15.2-2.el7cp rhel-7-server-rhceph-3-tools-rpms 3.1 M\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal download size: 3.1 M\nInstalled size: 10 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n  Verifying  : prometheus-node-exporter-0.15.2-2.el7cp.x86_64               1/1 \n\nInstalled:\n  prometheus-node-exporter.x86_64 0:0.15.2-2.el7cp                              \n\nComplete!\n"]}


Additional info:
enabling repo rhel-7-server-rhceph-3-tools-rpms on all cluster nodes fixes it

Comment 1 Giridhar Ramaraju 2019-08-05 13:10:14 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 2 Giridhar Ramaraju 2019-08-05 13:11:20 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 3 Giridhar Ramaraju 2019-08-20 06:58:01 UTC
Level setting the severity of this defect to "High" with a bulk update. Pls refine it to a more closure value, as defined by the severity definition in https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity


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