Bug 1638377

Summary: openstack: 'metric' is not an openstack command
Product: Red Hat OpenStack Reporter: Sasha Smolyak <ssmolyak>
Component: openstack-gnocchiAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14.0 (Rocky)CC: apevec, jschluet, lhh, mabaakou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 14:17:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sasha Smolyak 2018-10-11 12:32:53 UTC
Description of problem:
When trying to get the list of resources (on undercloud or on controller):
openstack metric resource list,
Get an error:
openstack: 'metric' is not an openstack command

Gnocchi containers are started on controller and are detected healthy:
(overcloud) [heat-admin@controller-0 ~]$ sudo docker ps | grep gnocchi
eaf1d99e3840        192.168.24.1:8787/rhosp14/openstack-gnocchi-api:2018-10-08.4                 "kolla_start"            About an hour ago   Up About an hour (healthy)                         gnocchi_api
1428d3c7b80b        192.168.24.1:8787/rhosp14/openstack-gnocchi-metricd:2018-10-08.4             "kolla_start"            About an hour ago   Up About an hour (healthy)                         gnocchi_metricd
763b3f038361        192.168.24.1:8787/rhosp14/openstack-gnocchi-statsd:2018-10-08.4              "kolla_start"            About an hour ago   Up About an hour (healthy)                         gnocchi_statsd



Version-Release number of selected component (if applicable):
[heat-admin@controller-0 ~]$ rpm -qa | grep gnocchi
puppet-gnocchi-13.3.1-0.20180901135430.edb2394.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install puddle 2018-10-08.4 with telemetry enabled
2. Try to run cli openstack metric resource list
3.

Actual results:
Error

Expected results:
List of resources

Additional info:

Comment 1 Mehdi ABAAKOUK 2018-10-11 14:17:43 UTC

*** This bug has been marked as a duplicate of bug 1623387 ***