I tried to reproduce the bug on latest release (Rocky) using the
following command,

snippet :
stack@ubuntu-xenial:~/cinder$ curl -g -i -X POST 
http://127.0.0.1/metric/v1/resource/generic/7a4a6220-32a3-43fa-86a9-85ed5eaa6ea1/metric/
 -H "User-Agent: osc-lib/1.10.0 keystoneauth1/3.4.0 python-requests/2.18.4 
CPython/2.7.12" -H "Content-Type: application/json" -H "Accept: 
application/json, */*" -H "X-Auth-Token: 
gAAAAABa2bTVOm6SY_QwGmP5JX7kfGKk4viVQ0259-LUdXdeScxqh3JCmi5QV9Sf7xS02EqzNmdZCbOgT4D2k1qNVOg8n1r0djYYKaAPjWAPkUZpajz4eUUTMopBlRNsv_pgvR5gR8G3z4M5K-eBkFXGP9su7mzi9sdaeLRcZlEKg_Jzko3WCQk"
 -d '{"new_metric12345":{"name":"new_metric12345"}}'

The command executed successfully and the following metric was created.


+--------------------------------------+---------------------+--------------------------------------------+-----------+--------------------------------------+
| id                                   | archive_policy/name | name             
                          | unit      | resource_id                          |
+--------------------------------------+---------------------+--------------------------------------------+-----------+--------------------------------------+
| f1896996-60b5-4e40-b0c0-1dcef334c811 | low                 | new_metric12345  
                          | None      | 7a4a6220-32a3-43fa-86a9-85ed5eaa6ea1 |


Please guide me on reproducing this bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1763304

Title:
  Gnocchi Metric creation along with resource-id is not working in
  Gnocchi 3.3.1 version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1763304/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to