Re: [Openstack-operators] Mitaka and gnocchi

2017-06-06 Thread mate200
If you'll be in Saint-Petersburg, Russia, just give me a sign :) Thank you once again for your kindness help ! -- Best regards, Mate200 On Thu, 2017-06-01 at 18:48 +, gordon chung wrote: > > On 01/06/17 01:21 PM, mate...@mailbox.org wrote: > > > > Batch setting works like a charm ! I don

Re: [Openstack-operators] Mitaka and gnocchi

2017-06-01 Thread gordon chung
On 01/06/17 01:21 PM, mate...@mailbox.org wrote: > > Batch setting works like a charm ! I don't see any errors in > ceilometer-collector log. > However, gnocchi-api runs like one process with two threads and uwsgi I run > like two proccess with ten threads. > It seems strange for me that uwsgi

Re: [Openstack-operators] Mitaka and gnocchi

2017-06-01 Thread mate200
Gordon thank you very much for your time Batch setting works like a charm ! I don't see any errors in ceilometer-collector log. However, gnocchi-api runs like one process with two threads and uwsgi I run like two proccess with ten threads. It seems strange for me that uwsgi cannot handle t

Re: [Openstack-operators] Mitaka and gnocchi

2017-06-01 Thread gordon chung
On 01/06/17 09:46 AM, gordon chung wrote: > also, in theory you don't need collector. just configure your > pipeline.yaml to push to 'gnocchi://' publisher or 'direct://' in newton errr... nevermind. i just read the subject line. (although direct:// still might work) -- gord _

Re: [Openstack-operators] Mitaka and gnocchi

2017-06-01 Thread gordon chung
On 01/06/17 09:33 AM, mate...@mailbox.org wrote: > /2017-06-01 13:25:55.679 1205875 ERROR ceilometer.dispatcher.gnocchi [-] > Unable to establish connection to > http://10.10.10.69:8041/v1/resource/instance_disk/2940f8ed-02e7-5cc3-ae3f-3fed97ec3953/ there's a connection error? you'll probably ne

Re: [Openstack-operators] Mitaka and gnocchi

2017-06-01 Thread mate200
So, with gnocchi-api running directly all works fine. But if a run uwsgi with this config: [uwsgi]http-socket = 10.10.10.69:8041# Set the correct path depending on your installationwsgi-file = /usr/local/bin/gnocchi-apilogto = /var/log/gnocchi-uwsgi.logmaster = truedie-on-term = truethreads = 2#

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-31 Thread mate200
Thanks Grodon ! I've found that I need ! Regarding the output problem, for now I execute gnocchi-api -p 8041 &>> /var/log/gnocchi-uwsgi.log &and it solves the problem. Will try to execute api part with uwsgi options. --  Best regards, Mate200 On Tue, 2017-05-30 at 20:11 +, gordon chung wrote

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-30 Thread gordon chung
On 30/05/17 10:42 AM, mate...@mailbox.org wrote: > > Second thing, that I don't understand is how to get access to stored > data. For instance, with ceilometer I can execute /ceilometer > sample-list -m memory.usage -q resource_id= / > and receive memory usage for some instance. Now, If i execute

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-30 Thread mate200
Mathieu, Gordon thank you both ! I'm using Mitaka release. It looks like that ceilometer-collector is pooling data to gnocchi, but I don't understand a few things. I'm receiving log messages to my terminal input from gnocchi-api, however in gnocchi.conf logging is set to write to a file and debug

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-26 Thread gordon chung
On 26/05/17 09:31 AM, Mathieu Gagné wrote: > > With Mitaka, I found that you need to run this command to get resource > types created in Gnocchi: > > gnocchi-upgrade --create-legacy-resource-types > > With latest version, Ceilometer handles that part. this ^... thanks Mathieu! if you are using

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-26 Thread Mathieu Gagné
On Fri, May 26, 2017 at 9:27 AM, wrote: > Thank you Gordon ! > > Now I'm encountering this kind of errors : > > *[​...]* > *​* > *2017-05-26 13:21:28.393 1404925 ERROR ceilometer.dispatcher.gnocchi [-] > Resource type instance does not exist (HTTP 404)* > *2017-05-26 13:21:28.400 1404925 ERROR ce

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-26 Thread mate200
Thank you Gordon ! Now I'm encountering this kind of errors : 2017-05-26 13:19:27.853 1404925 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: None reply to None __call__ /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:2012017-05-26 13:19:28.026 1404

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-23 Thread gordon chung
On 23/05/17 10:16 AM, mate...@mailbox.org wrote: > / 2017-05-23 13:29:10.961 1931583 ERROR ceilometer.dispatcher.gnocchi > [-] Failed to connect to Gnocchi./ > /2017-05-23 13:29:10.962 1931583 ERROR stevedore.extension [-] Could not > load 'gnocchi': Unexpected exception for > http//10.10.10.69:8

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-23 Thread mate200
I'm trying to connect ceilometer to gnocchi. I don't use any wsgi application and ceilometer is connecting directly to gnocchi-api.The thing is that I see these kind of errors in ceilometer-collector.log  -  2017-05-23 13:29:10.961 1931583 ERROR ceilometer.dispatcher.gnocchi [-] Failed to connect

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-23 Thread mate200
As for gnocchi 2.2.1 policy.json is needed :) Now I'm fighting with ceilometer. > On May 23, 2017 at 3:16 PM gordon chung wrote: > > > > > On 23/05/17 06:35 AM, mate...@mailbox.org wrote: > > Sorry, I didn't notice policy.json in the first link. I'll check it. > > :) > > depending on gnoc

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-23 Thread gordon chung
On 23/05/17 06:35 AM, mate...@mailbox.org wrote: > Sorry, I didn't notice policy.json in the first link. I'll check it. :) depending on gnocchi version, it might look internally for policy.json if it doesn't find policy.json in /etc/gnocchi/ -- gord __

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-23 Thread mate200
Sorry, I didn't notice policy.json in the first link. I'll check it. > On May 22, 2017 at 6:09 PM mate...@mailbox.org wrote: > > > Hello Gordon, > I'm trying to use gnocchi client and it always says to me that I don't have > sufficient priviligies - > 10.10.10.69 - - [22/May/2017 14:58:33] "GE

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-22 Thread mate200
Hello Gordon, I'm trying to use gnocchi client and it always says to me that I don't have sufficient priviligies - 10.10.10.69 - - [22/May/2017 14:58:33] "GET /v1/resource/generic HTTP/1.1" 403 77 Insufficient privileges (HTTP 403) I think it's because of the policy.json absence. The log gives me

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-18 Thread mate200
Thank you once again ! I'll check it. -- Best regards, Mate200 On Tue, 2017-05-16 at 15:22 +, gordon chung wrote: > > On 15/05/17 06:58 AM, mate...@mailbox.org wrote: > > > It seems to me that I should add more settings to both config files, but > > the problem is that I cannot find info

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-16 Thread gordon chung
On 15/05/17 06:58 AM, mate...@mailbox.org wrote: > It seems to me that I should add more settings to both config files, but > the problem is that I cannot find information on that. > here's the conf file from gate using mitaka+gnocchi2.2[1]. i would start there. i've moved it to paste.openst

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-15 Thread mate200
Well, I installed gnocchi 2.2.1 and gnocchiclient 2.8.2 and I created config with this command -  oslo-config-generator --config-file=/usr/local/etc/gnocchi/gnocchi-config-generator.conf --output- file=/etc/gnocchi/gnocchi.conf  Version without comments is here - https://pastebin.com/0RQr9qtT Ful

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-12 Thread gordon chung
On 12/05/17 10:32 AM, mate...@mailbox.org wrote: > Gordon do you mean that gnocchiclient should be lesser then 3.0.0 version ? > The documentation isn't clear so I've stacked. Where should I ask help here > or at dev mailing list ? > > Thanks again for your time. either ML should give you repl

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-12 Thread mate200
Gordon do you mean that gnocchiclient should be lesser then 3.0.0 version ? The documentation isn't clear so I've stacked. Where should I ask help here or at dev mailing list ? Thanks again for your time. > On May 4, 2017 at 5:51 PM gordon chung wrote: > > > > > On 04/05/17 09:37 AM, mate

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-05 Thread mate200
Gordon, thank you a lot for the answer ! On Thu, 2017-05-04 at 14:51 +, gordon chung wrote: > > On 04/05/17 09:37 AM, mate...@mailbox.org wrote: > > Hi everyone ! Am I understanding right that is possible to install > > gnocchi 2.0 into Mitaka release ? > > yes, you can use gnocchi v2 with

Re: [Openstack-operators] Mitaka and gnocchi

2017-05-04 Thread gordon chung
On 04/05/17 09:37 AM, mate...@mailbox.org wrote: > Hi everyone ! Am I understanding right that is possible to install > gnocchi 2.0 into Mitaka release ? yes, you can use gnocchi v2 with mitaka. you should have gnocchiclient<3.0.0 for it to work. truthfully, you should try to backport the disp