Re: [openstack-dev] [gnocchi] influxdb driver gate error
Le 2016-12-01 23:48, Sam Morrison a écrit : Using influxdb v1.1 works fine. anything less than 1.0 I would deem unusable for influxdb. So to get this to work we’d need a newer version of influxdb installed. That's work for me. Any idea how to do this? I see they push out a custom ceph repo to install a newer ceph so I guess we’d need to do something similar although influx don’t provide a repo, just a deb. We do this kind of thing in tooz: https://github.com/openstack/tooz/blob/master/tox.ini#L73 https://github.com/openstack/tooz/blob/master/setup-consul-env.sh A tarball and setting the PATH is easiest and compatible with more platforms. -- Mehdi Abaakouk mail: sil...@sileht.net irc: sileht __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [gnocchi] influxdb driver gate error
I’ve been working a bit on this and the errors I’m getting in the gate I can now replicate in my environment if I use the same version of influxdb in the gate (0.10) Using influxdb v1.1 works fine. anything less than 1.0 I would deem unusable for influxdb. So to get this to work we’d need a newer version of influxdb installed. Any idea how to do this? I see they push out a custom ceph repo to install a newer ceph so I guess we’d need to do something similar although influx don’t provide a repo, just a deb. Sam > On 30 Nov. 2016, at 7:35 pm, Sam Morrison wrote: > > >> On 30 Nov. 2016, at 6:23 pm, Mehdi Abaakouk wrote: >> >> >> >> Le 2016-11-30 08:06, Sam Morrison a écrit : >>> 2016-11-30 06:50:14.969302 | + pifpaf -e GNOCCHI_STORAGE run influxdb >>> -- pifpaf -e GNOCCHI_INDEXER run mysql -- ./tools/pretty_tox.sh >>> 2016-11-30 06:50:17.399380 | ERROR: pifpaf: 'ascii' codec can't decode >>> byte 0xc2 in position 165: ordinal not in range(128) >>> 2016-11-30 06:50:17.415485 | ERROR: InvocationError: >>> '/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/run-tests.sh’ >> >> You can temporary pass '--debug' to pifpaf to get the full backtrace. > > Good idea, thanks! Get this error. Don’t get it on the py3 job though > > Get further with the py3 job but get some other errors I don’t see in my env > so trying to figure out what is different. > > > 2016-11-30 07:40:17.209979 | + pifpaf --debug -e GNOCCHI_STORAGE run influxdb > -- pifpaf -e GNOCCHI_INDEXER run mysql -- ./tools/pretty_tox.sh > 2016-11-30 07:40:17.746304 | DEBUG: pifpaf.drivers: executing: ['influxd', > '-config', '/tmp/tmp.7pq0EBpjgt/tmpikRcvn/config'] > 2016-11-30 07:40:17.759236 | DEBUG: pifpaf.drivers: influxd[20435] output: > 2016-11-30 07:40:17.759804 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 .d888 888 888b. 88b. > 2016-11-30 07:40:17.759909 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888d88P" 888 888 "Y88b 888 "88b > 2016-11-30 07:40:17.760003 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888888888 888888 888 .88P > 2016-11-30 07:40:17.760094 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 8b. 88 888 888 888 888 888 888888 888K. > 2016-11-30 07:40:17.760196 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 888 "88b 888888 888 888 Y8bd8P' 888888 888 "Y88b > 2016-11-30 07:40:17.760296 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 888 888 888888 888 888 X88K 888888 888888 > 2016-11-30 07:40:17.760384 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 888 888 888888 Y88b 888 .d8""8b. 888 .d88P 888 d88P > 2016-11-30 07:40:17.760474 | DEBUG: pifpaf.drivers: influxd[20435] output: > 888 888 888 888888 "Y8 888 888 888P" 888P" > 2016-11-30 07:40:17.760516 | DEBUG: pifpaf.drivers: influxd[20435] output: > 2016-11-30 07:40:17.760643 | DEBUG: pifpaf.drivers: influxd[20435] output: > 2016/11/30 07:40:17 InfluxDB starting, version 0.10.0, branch unknown, commit > unknown, built unknown > 2016-11-30 07:40:17.760722 | DEBUG: pifpaf.drivers: influxd[20435] output: > 2016/11/30 07:40:17 Go version go1.6rc1, GOMAXPROCS set to 8 > 2016-11-30 07:40:17.859524 | DEBUG: pifpaf.drivers: influxd[20435] output: > 2016/11/30 07:40:17 Using configuration at: > /tmp/tmp.7pq0EBpjgt/tmpikRcvn/config > 2016-11-30 07:40:17.860852 | DEBUG: pifpaf.drivers: influxd[20435] output: > [meta] 2016/11/30 07:40:17 Starting meta service > 2016-11-30 07:40:17.861033 | DEBUG: pifpaf.drivers: influxd[20435] output: > [meta] 2016/11/30 07:40:17 Listening on HTTP: 127.0.0.1:51232 > 2016-11-30 07:40:17.871362 | DEBUG: pifpaf.drivers: influxd[20435] output: > [metastore] 2016/11/30 07:40:17 Using data dir: > /tmp/tmp.7pq0EBpjgt/tmpikRcvn/meta > 2016-11-30 07:40:17.878511 | DEBUG: pifpaf.drivers: influxd[20435] output: > [metastore] 2016/11/30 07:40:17 Node at localhost:51233 [Follower] > 2016-11-30 07:40:19.079831 | DEBUG: pifpaf.drivers: influxd[20435] output: > [metastore] 2016/11/30 07:40:19 Node at localhost:51233 [Leader]. > peers=[localhost:51233] > 2016-11-30 07:40:19.180811 | Traceback (most recent call last): > 2016-11-30 07:40:19.180865 | File "/usr/lib/python2.7/logging/__init__.py", > line 884, in emit > 2016-11-30 07:40:19.182121 | stream.write(fs % msg.encode("UTF-8")) > 2016-11-30 07:40:19.182194 | UnicodeDecodeError: 'ascii' codec can't decode > byte 0xc2 in position 211: ordinal not in range(128) > 2016-11-30 07:40:19.182225 | Logged from file __init__.py, line 80 > 2016-11-30 07:40:19.183188 | ERROR: pifpaf: Traceback (most recent call last): > 2016-11-30 07:40:19.183271 | File > "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/fixtures/fixture.py", > line 197, in se
Re: [openstack-dev] [gnocchi] influxdb driver gate error
> On 30 Nov. 2016, at 6:23 pm, Mehdi Abaakouk wrote: > > > > Le 2016-11-30 08:06, Sam Morrison a écrit : >> 2016-11-30 06:50:14.969302 | + pifpaf -e GNOCCHI_STORAGE run influxdb >> -- pifpaf -e GNOCCHI_INDEXER run mysql -- ./tools/pretty_tox.sh >> 2016-11-30 06:50:17.399380 | ERROR: pifpaf: 'ascii' codec can't decode >> byte 0xc2 in position 165: ordinal not in range(128) >> 2016-11-30 06:50:17.415485 | ERROR: InvocationError: >> '/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/run-tests.sh’ > > You can temporary pass '--debug' to pifpaf to get the full backtrace. Good idea, thanks! Get this error. Don’t get it on the py3 job though Get further with the py3 job but get some other errors I don’t see in my env so trying to figure out what is different. 2016-11-30 07:40:17.209979 | + pifpaf --debug -e GNOCCHI_STORAGE run influxdb -- pifpaf -e GNOCCHI_INDEXER run mysql -- ./tools/pretty_tox.sh 2016-11-30 07:40:17.746304 | DEBUG: pifpaf.drivers: executing: ['influxd', '-config', '/tmp/tmp.7pq0EBpjgt/tmpikRcvn/config'] 2016-11-30 07:40:17.759236 | DEBUG: pifpaf.drivers: influxd[20435] output: 2016-11-30 07:40:17.759804 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 .d888 888 888b. 88b. 2016-11-30 07:40:17.759909 | DEBUG: pifpaf.drivers: influxd[20435] output: 888d88P" 888 888 "Y88b 888 "88b 2016-11-30 07:40:17.760003 | DEBUG: pifpaf.drivers: influxd[20435] output: 888888888 888888 888 .88P 2016-11-30 07:40:17.760094 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 8b. 88 888 888 888 888 888 888888 888K. 2016-11-30 07:40:17.760196 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 888 "88b 888888 888 888 Y8bd8P' 888888 888 "Y88b 2016-11-30 07:40:17.760296 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 888 888 888888 888 888 X88K 888888 888888 2016-11-30 07:40:17.760384 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 888 888 888888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 2016-11-30 07:40:17.760474 | DEBUG: pifpaf.drivers: influxd[20435] output: 888 888 888 888888 "Y8 888 888 888P" 888P" 2016-11-30 07:40:17.760516 | DEBUG: pifpaf.drivers: influxd[20435] output: 2016-11-30 07:40:17.760643 | DEBUG: pifpaf.drivers: influxd[20435] output: 2016/11/30 07:40:17 InfluxDB starting, version 0.10.0, branch unknown, commit unknown, built unknown 2016-11-30 07:40:17.760722 | DEBUG: pifpaf.drivers: influxd[20435] output: 2016/11/30 07:40:17 Go version go1.6rc1, GOMAXPROCS set to 8 2016-11-30 07:40:17.859524 | DEBUG: pifpaf.drivers: influxd[20435] output: 2016/11/30 07:40:17 Using configuration at: /tmp/tmp.7pq0EBpjgt/tmpikRcvn/config 2016-11-30 07:40:17.860852 | DEBUG: pifpaf.drivers: influxd[20435] output: [meta] 2016/11/30 07:40:17 Starting meta service 2016-11-30 07:40:17.861033 | DEBUG: pifpaf.drivers: influxd[20435] output: [meta] 2016/11/30 07:40:17 Listening on HTTP: 127.0.0.1:51232 2016-11-30 07:40:17.871362 | DEBUG: pifpaf.drivers: influxd[20435] output: [metastore] 2016/11/30 07:40:17 Using data dir: /tmp/tmp.7pq0EBpjgt/tmpikRcvn/meta 2016-11-30 07:40:17.878511 | DEBUG: pifpaf.drivers: influxd[20435] output: [metastore] 2016/11/30 07:40:17 Node at localhost:51233 [Follower] 2016-11-30 07:40:19.079831 | DEBUG: pifpaf.drivers: influxd[20435] output: [metastore] 2016/11/30 07:40:19 Node at localhost:51233 [Leader]. peers=[localhost:51233] 2016-11-30 07:40:19.180811 | Traceback (most recent call last): 2016-11-30 07:40:19.180865 | File "/usr/lib/python2.7/logging/__init__.py", line 884, in emit 2016-11-30 07:40:19.182121 | stream.write(fs % msg.encode("UTF-8")) 2016-11-30 07:40:19.182194 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 211: ordinal not in range(128) 2016-11-30 07:40:19.182225 | Logged from file __init__.py, line 80 2016-11-30 07:40:19.183188 | ERROR: pifpaf: Traceback (most recent call last): 2016-11-30 07:40:19.183271 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp 2016-11-30 07:40:19.183325 | self._setUp() 2016-11-30 07:40:19.183389 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pifpaf/drivers/influxdb.py", line 72, in _setUp 2016-11-30 07:40:19.183410 | path=["/opt/influxdb"]) 2016-11-30 07:40:19.183469 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pifpaf/drivers/__init__.py", line 140, in _exec 2016-11-30 07:40:19.183498 | if wait_for_line and re.search(wait_for_line, line.decode()): 2016-11-30 07:40:19.183536 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 165: o
Re: [openstack-dev] [gnocchi] influxdb driver gate error
Le 2016-11-30 08:06, Sam Morrison a écrit : 2016-11-30 06:50:14.969302 | + pifpaf -e GNOCCHI_STORAGE run influxdb -- pifpaf -e GNOCCHI_INDEXER run mysql -- ./tools/pretty_tox.sh 2016-11-30 06:50:17.399380 | ERROR: pifpaf: 'ascii' codec can't decode byte 0xc2 in position 165: ordinal not in range(128) 2016-11-30 06:50:17.415485 | ERROR: InvocationError: '/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/run-tests.sh’ You can temporary pass '--debug' to pifpaf to get the full backtrace. Cheers, -- Mehdi Abaakouk mail: sil...@sileht.net irc: sileht __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev