*** ddieterly has quit IRC | 00:05 | |
*** ericpeterson has quit IRC | 00:12 | |
*** dschroeder has quit IRC | 00:58 | |
*** ddieterly has joined #openstack-monasca | 01:16 | |
*** ddieterly has quit IRC | 01:21 | |
*** amalagon has quit IRC | 02:00 | |
*** ddieterly has joined #openstack-monasca | 02:28 | |
*** ddieterly has quit IRC | 02:32 | |
*** ddieterly has joined #openstack-monasca | 02:33 | |
*** amalagon has joined #openstack-monasca | 03:11 | |
*** amalagon has quit IRC | 03:15 | |
*** sanjayu has joined #openstack-monasca | 04:04 | |
*** amalagon has joined #openstack-monasca | 05:01 | |
*** garyh has quit IRC | 05:09 | |
*** garyh has joined #openstack-monasca | 05:40 | |
*** Miouge has joined #openstack-monasca | 07:31 | |
*** amalagon has quit IRC | 08:25 | |
*** amalagon has joined #openstack-monasca | 08:25 | |
*** Miouge has quit IRC | 11:56 | |
*** Miouge has joined #openstack-monasca | 12:01 | |
htruta | ddieterly: just arrived. Are you there? | 12:18 |
---|---|---|
ddieterly | htruta: yeah, i'm here | 13:46 |
htruta | ddieterly: so, answering roland's question | 13:50 |
htruta | you are using "mini-mon" user, right? | 13:50 |
ddieterly | yes | 13:51 |
htruta | by default, mini-mon has two roles: _member_ and monasca-user | 13:51 |
ddieterly | yes | 13:51 |
htruta | currently, we don't check in which project (or tenant as you want) these roles are attributed | 13:52 |
*** th_ has joined #openstack-monasca | 13:52 | |
ddieterly | the role is not being set | 13:52 |
htruta | so, you just need to put either "_member_" or "monasca-user" in default_authorized_roles | 13:52 |
htruta | and you'll be able to access monasca-api with mini-mon | 13:52 |
ddieterly | i thought i did that | 13:53 |
htruta | or you can grant mini-mon an admin role | 13:53 |
htruta | it worked here with: default_authorized_roles = admin,monasca-user | 13:53 |
ddieterly | let me try that | 13:54 |
htruta | have you restarted monasca-api after updated the .conf? | 13:54 |
ddieterly | HTTP/1.0 401 Unauthorized | 13:56 |
ddieterly | Date: Fri, 30 Jan 2015 13:55:36 GMT | 13:56 |
ddieterly | Server: WSGIServer/0.1 Python/2.7.8 | 13:56 |
ddieterly | WWW-Authenticate: Keystone uri='http://192.168.10.5:35357' | 13:56 |
ddieterly | Content-type: text/plain | 13:56 |
ddieterly | Content-Length: 23 | 13:56 |
ddieterly | yes, i restarted the api | 13:56 |
ddieterly | [security] | 13:56 |
ddieterly | # The roles that are allowed full access to the API. | 13:56 |
ddieterly | default_authorized_roles = admin,monasca-user | 13:56 |
ddieterly | # The roles that are allowed to only POST metrics to the API. This role would be used by the Monasca Agent. | 13:56 |
ddieterly | agent_authorized_roles = monasca-agent | 13:56 |
ddieterly | # The roles that are allowed to access the API on behalf of another tenant. | 13:57 |
ddieterly | # For example, a service can POST metrics to another tenant if they are a member of the "delegate" role. | 13:57 |
ddieterly | delegate_authorized_roles = admin | 13:57 |
ddieterly | are those settings correct? | 13:59 |
ddieterly | htruta: ^^ | 13:59 |
htruta | looks like they are | 13:59 |
htruta | how are you calling the api? curl? | 14:00 |
htruta | I think your token has expired... this Unauthorized might be from keystonemiddleware | 14:02 |
*** LeanReox has joined #openstack-monasca | 14:08 | |
ddieterly | yeah, forgot to get a new token... | 14:14 |
ddieterly | htruta: still getting this | 14:18 |
ddieterly | { | 14:18 |
ddieterly | "title": "Forbidden", | 14:18 |
ddieterly | "description": "Tenant ID is missing a required role to access this service" | 14:18 |
ddieterly | } | 14:18 |
ddieterly | i'm using pycharm rest tool | 14:18 |
ddieterly | i use it all the time | 14:18 |
htruta | how is your request body? | 14:20 |
*** openstackstatus has joined #openstack-monasca | 14:21 | |
*** ChanServ sets mode: +v openstackstatus | 14:21 | |
htruta | to get the token | 14:21 |
htruta | this is what I'm using to get the token: http://paste.openstack.org/show/164168/ | 14:22 |
htruta | where the user id is from the mini-mon user and the project is from mini-mon project | 14:23 |
ddieterly | i'm driving in to the office now. will be back online later. | 14:24 |
*** ddieterly has quit IRC | 14:24 | |
-openstackstatus- NOTICE: zuul isn't running jobs since ~10:30 utc, investigation underway | 14:25 | |
*** ChanServ changes topic to "zuul isn't running jobs since ~10:30 utc, investigation underway" | 14:25 | |
*** theresa_ has joined #openstack-monasca | 14:29 | |
*** th_ has quit IRC | 14:30 | |
*** th_ has joined #openstack-monasca | 14:32 | |
*** theresa_ has quit IRC | 14:35 | |
*** sanjayu has quit IRC | 14:38 | |
*** th_ has quit IRC | 14:47 | |
*** th_ has joined #openstack-monasca | 14:48 | |
*** ddieterly has joined #openstack-monasca | 14:57 | |
*** rbak has joined #openstack-monasca | 15:01 | |
ddieterly | root@mini-mon:/vagrant/tests# keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 15:01 |
ddieterly | +----------+----------------------------------+ | 15:01 |
ddieterly | | Property | Value | | 15:01 |
ddieterly | +----------+----------------------------------+ | 15:01 |
ddieterly | | expires | 2015-01-30T16:01:07Z | | 15:01 |
ddieterly | | id | f749dc2ce2a3400e9b99a500df119322 | | 15:01 |
ddieterly | | user_id | 9ee6eadb360341ddb32ad4904b68c0af | | 15:01 |
ddieterly | +----------+----------------------------------+ | 15:01 |
ddieterly | htruta: i get the x-auth-token and then place that in a header field of the request | 15:03 |
ddieterly | deklans-macbook-pro:monasca-api dieterlyd$ cat notification-methods-request.xml | 15:06 |
ddieterly | <RestClientRequest> | 15:06 |
ddieterly | <option name="biscuits"> | 15:06 |
ddieterly | <list /> | 15:06 |
ddieterly | </option> | 15:06 |
ddieterly | <option name="httpMethod" value="GET" /> | 15:06 |
ddieterly | <option name="urlBase" value="http://localhost:9000" /> | 15:06 |
ddieterly | <option name="urlPath" value="/v2.0/notification-methods" /> | 15:06 |
ddieterly | <option name="headers"> | 15:06 |
ddieterly | <list> | 15:06 |
ddieterly | <KeyValuePair> | 15:06 |
ddieterly | <option name="key" value="Accept" /> | 15:06 |
ddieterly | <option name="value" value="*/*" /> | 15:06 |
ddieterly | </KeyValuePair> | 15:06 |
ddieterly | <KeyValuePair> | 15:06 |
ddieterly | <option name="key" value="Cache-Control" /> | 15:06 |
ddieterly | <option name="value" value="no-cache" /> | 15:06 |
ddieterly | </KeyValuePair> | 15:06 |
ddieterly | <KeyValuePair> | 15:07 |
ddieterly | <option name="key" value="Content-Type" /> | 15:07 |
ddieterly | <option name="value" value="application/json" /> | 15:07 |
ddieterly | </KeyValuePair> | 15:07 |
ddieterly | <KeyValuePair> | 15:07 |
ddieterly | <option name="key" value="X-Auth-Token" /> | 15:07 |
ddieterly | <option name="value" value="f749dc2ce2a3400e9b99a500df119322" /> | 15:07 |
ddieterly | </KeyValuePair> | 15:07 |
ddieterly | </list> | 15:07 |
ddieterly | </option> | 15:07 |
ddieterly | <option name="parameters"> | 15:07 |
ddieterly | <list /> | 15:07 |
ddieterly | </option> | 15:07 |
ddieterly | <option name="parametersEnabled" value="true" /> | 15:07 |
ddieterly | <option name="haveTextToSend" value="false" /> | 15:07 |
ddieterly | <option name="haveFileToSend" value="false" /> | 15:07 |
ddieterly | <option name="isFileUpload" value="false" /> | 15:07 |
ddieterly | <option name="textToSend" value="" /> | 15:07 |
ddieterly | <option name="filesToSend" value="" /> | 15:07 |
ddieterly | </RestClientRequest>deklans-macbook-pro:monasca-api dieterlyd$ | 15:07 |
ddieterly | htruta: did you use mini-mon to try this? | 15:09 |
ddieterly | htruta: this is what is returned from keystone | 15:40 |
ddieterly | {u'token': {u'methods': [u'password', u'token'], u'expires_at': u'2015-01-30T16:33:21.000000Z', u'extras': {}, u'user': {u'domain': {u'id': u'default', u'name': u'Default'}, u'id': u'9ee6eadb360341ddb32ad4904b68c0af', u'name': u'mini-mon'}, u'audit_ids': [u'_3zvvzlcS7W94m9HH7OirA'], u'issued_at': u'2015-01-30T15:33:21.782454'}} | 15:40 |
ddieterly | there is no role info | 15:40 |
ddieterly | htruta: seeing this in the console | 15:45 |
ddieterly | 015-01-30 08:01:59.350 9716 WARNING keystonemiddleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint | 15:45 |
htruta | ddieterly: I get this same message too | 15:53 |
htruta | can you send your request body? | 15:53 |
ddieterly | there is nothing in the request body | 15:54 |
htruta | at the point you get the "Tenant ID is missing a required role to access this service" message, keystonemiddleware has already validated the token | 15:54 |
*** dschroeder has joined #openstack-monasca | 15:55 | |
htruta | the body you send to get the token, I mean | 15:55 |
htruta | I get the token with a POST http://192.168.10.5:35357/v3/auth/tokens | 15:56 |
htruta | with this body: http://paste.openstack.org/show/164168/ | 15:56 |
ddieterly | i'm getting the token using this: keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 15:58 |
ddieterly | i'm using v2 | 15:58 |
htruta | hm... that might be the problem | 15:59 |
htruta | can you try v3? | 15:59 |
htruta | keystone CLI only works with v2.0 | 16:02 |
*** ddieterly has quit IRC | 16:02 | |
*** ddieterly has joined #openstack-monasca | 16:07 | |
htruta | to get a v3 token from the CLI, you must use OS client | 16:07 |
htruta | just do: | 16:07 |
htruta | vagrant@devstack:~/devstack$ source openrc mini-mon mini-mon | 16:08 |
htruta | vagrant@devstack:~/devstack$ export OS_PASSWORD=password | 16:08 |
htruta | vagrant@devstack:~/devstack$ openstack token issue | 16:08 |
htruta | and you'll get your v3 token working | 16:08 |
ddieterly | ok | 16:08 |
htruta | I guess keystone v2 is (or will be in a short future) deprecated | 16:10 |
htruta | so, we should focus on v3 | 16:10 |
ddieterly | what dir are you in? | 16:10 |
htruta | ~/devstack in the devstack VM | 16:11 |
*** ChanServ changes topic to "OpenStack Monitoring as a Service | https://wiki.openstack.org/wiki/Monasca" | 16:13 | |
-openstackstatus- NOTICE: zuul is running again and changes have been reenqueud. seehttp://status.openstack.org/zuul/ before rechecking if in doubt | 16:13 | |
ddieterly | that worked | 16:14 |
htruta | cool | 16:14 |
htruta | I think I should provide a better explanation on how to use that... | 16:14 |
ddieterly | however, if you look at the env we're using, it is setup to use v2.0 | 16:15 |
ddieterly | OS_IDENTITY_API_VERSION=2.0 | 16:15 |
ddieterly | OS_AUTH_URL=http://192.168.10.5:5000/v2.0 | 16:15 |
htruta | where is it? | 16:15 |
ddieterly | vagrant@devstack:~/devstack$ env | 16:15 |
ddieterly | and in the monasca.conf file | 16:16 |
*** rbak has quit IRC | 16:16 | |
*** rbak has joined #openstack-monasca | 16:17 | |
htruta | the v2 in monasca file refers to monasca api v2, doesn'it? | 16:17 |
ddieterly | no, it's not in the monasca.conf file | 16:17 |
ddieterly | yeah, my mistake | 16:17 |
htruta | when you ran the openerc command i sent you, this should be the property you get: OS_AUTH_URL=http://192.168.10.5:35357/v3/ | 16:18 |
htruta | when you do 'env' | 16:18 |
ddieterly | # Authenticating against an OpenStack cloud using Keystone returns a **Token** | 16:21 |
ddieterly | # and **Service Catalog**. The catalog contains the endpoints for all services | 16:21 |
ddieterly | # the user/tenant has access to - including nova, glance, keystone, swift, ... | 16:21 |
ddieterly | # We currently recommend using the 2.0 *identity api*. | 16:21 |
ddieterly | # | 16:21 |
ddieterly | after i do 'source openrc mini-mon mini-mon' i get OS_IDENTITY_API_VERSION=2.0 in the env | 16:22 |
ddieterly | i'll have to talk to criag about this | 16:23 |
htruta | yeah... you're right | 16:24 |
htruta | if you do: "openstack --debug token issue", you'll see that it has called keystone v2.0 | 16:24 |
htruta | so, it works on v2.0 too | 16:25 |
htruta | now I see the diffence | 16:25 |
ddieterly | so, this is how i've been getting an x-auth-token | 16:25 |
ddieterly | root@mini-mon:/etc/monasca# keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:25 |
ddieterly | +----------+----------------------------------+ | 16:25 |
ddieterly | | Property | Value | | 16:25 |
ddieterly | +----------+----------------------------------+ | 16:25 |
ddieterly | | expires | 2015-01-30T17:25:24Z | | 16:25 |
ddieterly | | id | bdad215943a746ccb0f7f7703057ce49 | | 16:25 |
ddieterly | | user_id | 9ee6eadb360341ddb32ad4904b68c0af | | 16:26 |
ddieterly | +----------+----------------------------------+ | 16:26 |
ddieterly | using that token does not work with your new code | 16:26 |
ddieterly | when i get a token with the way you describe, it works | 16:26 |
htruta | the problem is that this token is not correctly scoped | 16:26 |
ddieterly | so, am i doing it wrong or is the code you submitted not configured correct? | 16:27 |
htruta | do it now | 16:27 |
ddieterly | do what now? | 16:28 |
htruta | I just did keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:28 |
htruta | and the token worked | 16:28 |
htruta | this should be becaus it is passing the tenant from mini-mon | 16:28 |
htruta | after we did openrc | 16:28 |
*** Miouge has quit IRC | 16:29 | |
ddieterly | i get the same 401 | 16:29 |
ddieterly | let me restart api... | 16:29 |
htruta | http://paste.openstack.org/show/164223/ | 16:30 |
htruta | did you get the tenant_id column? | 16:30 |
ddieterly | still 401 | 16:30 |
ddieterly | no | 16:31 |
htruta | I mean, in the response of token-get | 16:31 |
htruta | as in the paste I sent | 16:31 |
ddieterly | root@mini-mon:/etc/monasca# keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:31 |
ddieterly | +----------+----------------------------------+ | 16:31 |
ddieterly | | Property | Value | | 16:31 |
ddieterly | +----------+----------------------------------+ | 16:31 |
ddieterly | | expires | 2015-01-30T17:31:12Z | | 16:31 |
ddieterly | | id | fcce90e026424f129dfa399543fa8a01 | | 16:31 |
ddieterly | | user_id | 9ee6eadb360341ddb32ad4904b68c0af | | 16:31 |
ddieterly | +----------+----------------------------------+ | 16:31 |
htruta | check this: | 16:32 |
htruta | http://paste.openstack.org/show/164224/ | 16:32 |
*** amalagon has quit IRC | 16:32 | |
htruta | this is right after I logged in devstack VM | 16:33 |
htruta | so, the first token-get does not work | 16:33 |
htruta | but the second does | 16:33 |
*** amalagon has joined #openstack-monasca | 16:33 | |
htruta | my monasca.conf: default_authorized_roles = monasca-user,admin | 16:34 |
htruta | the problem is that the token was not correctly scoped, that's why you don't get the tenant_id column | 16:37 |
*** amalagon has quit IRC | 16:37 | |
ddieterly | i have monasca-user,admin | 16:37 |
ddieterly | no, i have admin,monasca-user | 16:38 |
htruta | did it work? the problem is all in the token | 16:40 |
ddieterly | what is the solution? | 16:40 |
ddieterly | no, it did not work | 16:40 |
htruta | when you do openrc mini-mon mini-mon you explicitely say that you want a token for the mini-mon tenant | 16:41 |
htruta | which the mini-mon user has two roles: monasca-user and _member_ | 16:41 |
ddieterly | vagrant@devstack:~/devstack$ keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:41 |
ddieterly | Invalid user / password (Disable debug mode to suppress these details.) (HTTP 401) | 16:41 |
ddieterly | vagrant@devstack:~/devstack$ keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:41 |
ddieterly | Invalid user / password (Disable debug mode to suppress these details.) (HTTP 401) | 16:41 |
htruta | do: | 16:41 |
htruta | export OS_PASSWORD=password | 16:41 |
ddieterly | root@mini-mon:/vagrant/tests# cat env.sh | 16:42 |
ddieterly | # Environment variables for use with python-monascaclient running via monaca-vagrant | 16:42 |
ddieterly | export OS_USERNAME=mini-mon | 16:42 |
ddieterly | export OS_PASSWORD=password | 16:42 |
ddieterly | export OS_PROJECT_NAME=mini-mon | 16:42 |
ddieterly | export OS_AUTH_URL=http://192.168.10.5:35357/v3/ | 16:42 |
ddieterly | that's what we normally use | 16:42 |
*** craigbr has joined #openstack-monasca | 16:42 | |
ddieterly | interesting, it has v3 | 16:42 |
ddieterly | we do that from mini-mon | 16:43 |
ddieterly | then we do this to get a token | 16:44 |
ddieterly | root@mini-mon:/vagrant/tests# keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:44 |
ddieterly | +----------+----------------------------------+ | 16:44 |
ddieterly | | Property | Value | | 16:44 |
ddieterly | +----------+----------------------------------+ | 16:44 |
ddieterly | | expires | 2015-01-30T17:44:15Z | | 16:44 |
ddieterly | | id | 07d0ac8b0f364eeb977d8145bfc3b2dc | | 16:44 |
ddieterly | | user_id | 9ee6eadb360341ddb32ad4904b68c0af | | 16:44 |
ddieterly | +----------+----------------------------------+ | 16:44 |
ddieterly | are you doing everything from devstack host? | 16:44 |
*** Miouge has joined #openstack-monasca | 16:47 | |
htruta | I was | 16:48 |
htruta | but it should work on mini-mon too | 16:48 |
htruta | let me see | 16:49 |
htruta | ok. got it | 16:51 |
htruta | the problem is that v2 has tenants and v3 has projects | 16:51 |
htruta | so, as you want to user v2, you must set export OS_TENANT_NAME=mini-mon | 16:51 |
htruta | and when you get the token, it will be scoped to the mini-mon project/tenant | 16:52 |
htruta | to use v2* | 16:53 |
ddieterly | let me try that | 16:53 |
ddieterly | root@mini-mon:/vagrant/tests# keystone --os-auth-url http://192.168.10.5:35357/v2.0 token-get | 16:54 |
ddieterly | User 9ee6eadb360341ddb32ad4904b68c0af is unauthorized for tenant mini-mon (Disable debug mode to suppress these details.) (HTTP 401) | 16:54 |
htruta | is 9ee6eadb360341ddb32ad4904b68c0af mini-mon? | 16:54 |
htruta | export OS_USERNAME=mini-mon | 16:54 |
htruta | export OS_PASSWORD=password | 16:54 |
ddieterly | yeah, that's the user_id | 16:54 |
*** amalagon has joined #openstack-monasca | 16:54 | |
htruta | that's weird | 16:55 |
*** craigbr has quit IRC | 16:55 | |
htruta | I just did that: http://paste.openstack.org/show/164230/ | 16:56 |
htruta | and the second token-get workd | 16:57 |
ddieterly | craig is looking at it | 17:06 |
htruta | ok | 17:07 |
htruta | but it's all about getting a right scoped token | 17:07 |
*** craigbr has joined #openstack-monasca | 17:08 | |
*** ericpeterson has joined #openstack-monasca | 17:10 | |
LeanReox | craigbr, i can confirm that the patch is working like a charm monasca-ceilometer posting metrics like a boss | 17:23 |
*** ddieterly has quit IRC | 17:25 | |
*** craigbr has quit IRC | 17:26 | |
*** ddieterly has joined #openstack-monasca | 17:27 | |
*** ddieterly has quit IRC | 17:27 | |
*** ddieterly has joined #openstack-monasca | 17:27 | |
*** craigbr has joined #openstack-monasca | 17:28 | |
craigbr | LeanReox: Cool. Can you +1 https://review.openstack.org/151345 to show you are happy with it? | 17:29 |
*** ddieterly has quit IRC | 17:30 | |
craigbr | Athough I was just talking to a team mate and the API is being overly restrictive in terms of what it will accept. | 17:30 |
craigbr | Currently, it won't allow unicode and that is not good. | 17:30 |
craigbr | We will probably be updating the allowed characters and then we will have to update monclient.py again | 17:30 |
*** dlfryar_ has joined #openstack-monasca | 17:31 | |
LeanReox | ill do | 17:37 |
LeanReox | craigbr, i saw the comment on the code | 17:37 |
LeanReox | no problems, ill add all the metrics that ceilometer pushes from the "*" meter, to the monasca publisher | 17:38 |
LeanReox | to check if any other metric post fails | 17:38 |
craigbr | LeanReox: Thanks | 17:38 |
LeanReox | craigbr, +1 on the code review done | 17:54 |
*** ddieterly has joined #openstack-monasca | 17:54 | |
craigbr | Great. Thanks | 17:56 |
*** shaneduan has quit IRC | 18:08 | |
*** pdm has quit IRC | 18:08 | |
*** stackedsax has quit IRC | 18:09 | |
*** ddieterly has quit IRC | 18:09 | |
*** pdm has joined #openstack-monasca | 18:09 | |
*** dlfryar_ has quit IRC | 18:12 | |
*** shaneduan has joined #openstack-monasca | 18:13 | |
*** stackedsax has joined #openstack-monasca | 18:13 | |
*** craigbr has quit IRC | 18:23 | |
*** ddieterly has joined #openstack-monasca | 18:27 | |
ddieterly | htruta: we got it working with OS_TENANT_NAME=mini-mon | 18:27 |
htruta | v2? | 18:32 |
-openstackstatus- NOTICE: Gerrit and Zuul will be offline from 1900 to 1930 UTC for project renames | 18:43 | |
*** craigbr has joined #openstack-monasca | 18:49 | |
*** craigbr has quit IRC | 18:50 | |
htruta | ddieterly: I havent't tested it with v2. That's good news, then | 18:54 |
openstackgerrit | Joe Keen proposed stackforge/monasca-notification: Notification engine refactored from many processes to one https://review.openstack.org/151736 | 18:59 |
LeanReox | ddieterly, is there any chance that a metric that its collected and printed in the collector.log on the agent is not getting posted to the monasca api ? | 19:01 |
LeanReox | cause i dont see it on the forwarder.log on the same agent | 19:01 |
*** theresa_ has joined #openstack-monasca | 19:02 | |
openstackgerrit | Joe Keen proposed stackforge/monasca-notification: Notification engine refactored from many processes to one https://review.openstack.org/151022 | 19:03 |
*** ther4011__ has joined #openstack-monasca | 19:04 | |
*** th_ has quit IRC | 19:05 | |
*** theresa_ has quit IRC | 19:07 | |
-openstackstatus- NOTICE: Gerrit and Zuul are offline until 1930 UTC for project renames | 19:08 | |
*** ChanServ changes topic to "Gerrit and Zuul are offline until 1930 UTC for project renames" | 19:08 | |
*** craigbr has joined #openstack-monasca | 19:20 | |
ddieterly | LeanReox: it's possible | 19:25 |
ddieterly | there could be a bug in the agent | 19:25 |
LeanReox | ddieterly, but its the net.* metrics | 19:25 |
LeanReox | and where working like a charm | 19:25 |
*** th_ has joined #openstack-monasca | 19:26 | |
LeanReox | now i have a warning -> Metric net.in_errors has an interval of 0. Not flushing. | 19:26 |
ddieterly | htruta: v2 | 19:26 |
ddieterly | LeanReox: yeah, there's a problem in the agent | 19:26 |
ddieterly | the agent is probably the most problematic component | 19:27 |
LeanReox | ddieterly, any chance to solve this without rebooting ? | 19:27 |
ddieterly | no | 19:27 |
LeanReox | ddieterly, why the "Not flushing error" suddenly appears ? | 19:28 |
ddieterly | you mean restart the agent, right? | 19:28 |
LeanReox | no no ... i restarted the agent | 19:28 |
LeanReox | but ... still the same | 19:28 |
LeanReox | these metrics dont get posted | 19:28 |
LeanReox | but get "colleted" i see them on the collector.log | 19:28 |
*** ther4011__ has quit IRC | 19:29 | |
LeanReox | the only thing i see on the logs regarding the problematic metrics is Metric net.in_packets has an interval of 0. Not flushing. | 19:29 |
LeanReox | ddieterly, any thoughts ? | 19:30 |
*** ChanServ changes topic to "OpenStack Monitoring as a Service | https://wiki.openstack.org/wiki/Monasca" | 19:30 | |
-openstackstatus- NOTICE: Gerrit is back online | 19:30 | |
ddieterly | tim kuhlman is the person to ask | 19:32 |
ddieterly | he's at lunch now | 19:32 |
LeanReox | is th_ here ? | 19:33 |
th_ | hi | 19:33 |
LeanReox | ddieterly, the weirdest thing is that if activate the "track connection state" .... i see that metrics, and are from the SAME PLUGIN :S | 19:34 |
LeanReox | ddieterly, whats his irc user ? | 19:34 |
ddieterly | dunno | 19:35 |
ddieterly | as soon as he's back, i'll poke him | 19:35 |
LeanReox | thank ddieterly | 19:35 |
ddieterly | garyh can help you too | 19:35 |
LeanReox | garyh, can you lend me a hand on that | 19:39 |
LeanReox | garyh, it seems that theres no difference between sample2 and 1 , and im getting a "has an interval of 0. Not flushing" | 19:39 |
LeanReox | other metrics, also from the same plugin like net.tcp4_listening | 19:40 |
LeanReox | are getting posted just fine | 19:40 |
garyh | LeanReox There have been quite a few changes to the agent lately. I’ll look and see if I can found out what changed that might cause this. | 19:40 |
LeanReox | i redeployed fresh today, last week those metrics were working just fine garyh | 19:41 |
garyh | Ok | 19:43 |
LeanReox | garyh, http://pastebin.com/CuvstdM3 | 19:43 |
*** tkuhlman has joined #openstack-monasca | 19:44 | |
LeanReox | added a couple of debugs on the network.py , the network.py its doing his job just fine | 19:45 |
LeanReox | but when you run monasca-collector -v check_all | 19:45 |
garyh | LeamRox I think it is related to an issue with rate related metrics not getting through that we just started seeing. Looking into it. | 19:45 |
LeanReox | network return just empy garyh | 19:45 |
LeanReox | great :) | 19:45 |
garyh | LeanRox Try running sudo python /usr/local/bin/monasca-collector info on your box. Right now mine returns Collected 0 metrics & 0 events for the network plugin. | 19:47 |
openstackgerrit | Gary Hessler proposed stackforge/monasca-agent: Adding apache web server monitoring for OpenStack https://review.openstack.org/151750 | 19:52 |
LeanReox | garyh, same on mine ... | 19:52 |
LeanReox | working last week | 19:52 |
LeanReox | if you activate the "collect connection status" that uses the same plugin network.py | 19:52 |
LeanReox | that metrics are added and work fine garyh | 19:53 |
garyh | Hmm, Ok. | 19:53 |
LeanReox | garyh, i mean the metrics from the netstat of course | 19:53 |
garyh | Got it. | 19:54 |
LeanReox | garyh, network metrics like net-in.bytes etc | 19:54 |
LeanReox | not posted | 19:54 |
*** ddieterly has quit IRC | 19:54 | |
LeanReox | maybe the timestamp is override in someplace, and thats why " net.in_packets / bytes/ erros has an interval of 0. Not flushing" appears | 19:55 |
*** ddieterly has joined #openstack-monasca | 19:55 | |
LeanReox | garyh, let me know if you guys find something, ill take a look to it too | 20:03 |
garyh | LeanRox Ok | 20:03 |
*** theresa_ has joined #openstack-monasca | 20:05 | |
*** openstackgerrit has quit IRC | 20:06 | |
*** openstackgerrit has joined #openstack-monasca | 20:07 | |
*** th_ has quit IRC | 20:09 | |
*** tkuhlman has quit IRC | 20:14 | |
*** theresa_ has quit IRC | 20:23 | |
*** ddieterl_ has joined #openstack-monasca | 20:26 | |
*** ddieterly has quit IRC | 20:26 | |
*** theresa_ has joined #openstack-monasca | 20:27 | |
*** craigbr has quit IRC | 20:58 | |
LeanReox | garyh, any findings ? | 20:59 |
garyh | LeanReox Nothing so far. | 21:00 |
LeanReox | garyh, ok, ill try rebooting the compute in the meantime to check if something chances | 21:00 |
LeanReox | changes | 21:00 |
*** th_ has joined #openstack-monasca | 21:05 | |
*** theresa_ has quit IRC | 21:09 | |
*** th_ has quit IRC | 21:12 | |
*** theresa_ has joined #openstack-monasca | 21:27 | |
*** th_ has joined #openstack-monasca | 21:30 | |
*** ddieterl_ has quit IRC | 21:31 | |
*** theresa_ has quit IRC | 21:33 | |
*** ddieterly has joined #openstack-monasca | 21:49 | |
*** craigbr has joined #openstack-monasca | 22:02 | |
*** craigbr has quit IRC | 22:04 | |
*** craigbr has joined #openstack-monasca | 22:05 | |
*** ericpeterson has quit IRC | 22:07 | |
*** amalagon has quit IRC | 22:16 | |
openstackgerrit | Merged stackforge/monasca-agent: Changed it so you have to explicitly choose the detailed process metrics. https://review.openstack.org/151053 | 22:19 |
*** craigbr has quit IRC | 22:26 | |
*** ddieterly has quit IRC | 22:27 | |
LeanReox | garyh, any news ? | 22:47 |
*** ther4011__ has joined #openstack-monasca | 22:51 | |
*** th_ has quit IRC | 22:54 | |
*** htruta has quit IRC | 23:02 | |
*** amalagon has joined #openstack-monasca | 23:04 | |
*** LeanReox has quit IRC | 23:08 | |
*** ddieterly has joined #openstack-monasca | 23:10 | |
*** ddieterly has quit IRC | 23:29 | |
*** ddieterly has joined #openstack-monasca | 23:33 | |
*** ddieterly has quit IRC | 23:50 | |
*** Miouge has quit IRC | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!