With the version of python-cassandra from xenial-proposed I no longer receive the Traceback.
[ 8:22AM 10135 ] [ bdmurray@impulse:~/source-trees/daisy/trunk ]
$ ./tools/cql-check-oopses-for-arches.py
Traceback (most recent call last):
File "./tools/cql-check-oopses-for-arches.py", line 33, in <module>
session = cluster.connect(config.cassandra_keyspace)
File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 755, in connect
self.control_connection.connect()
File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1868, in connect
self._set_new_connection(self._reconnect_internal())
File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1903, in _reconnect_internal
raise NoHostAvailable("Unable to connect to any servers", errors)
cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'192.168.10.2': TypeError('ref() does not take keyword arguments',)})
[ 8:22AM 10136 ] [ bdmurray@impulse:~/source-trees/daisy/trunk ]
$ sudo apt-get install python-cassandra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-snappy python-lz4 python-blist
The following packages will be upgraded:
python-cassandra
1 upgraded, 0 newly installed, 0 to remove and 143 not upgraded.
Need to get 0 B/122 kB of archives.
After this operation, 2,048 B disk space will be freed.
Sorry, your system lacks support for the snapshot feature
Reading changelogs... Done
(Reading database ... 887629 files and directories currently installed.)
Preparing to unpack .../python-cassandra_2.5.1-1ubuntu0.1_all.deb ...
Unpacking python-cassandra (2.5.1-1ubuntu0.1) over (2.5.1-1) ...
Setting up python-cassandra (2.5.1-1ubuntu0.1) ...
[ 8:23AM 10137 ] [ bdmurray@impulse:~/source-trees/daisy/trunk ]
$ ./tools/cql-check-oopses-for-arches.py
[ 8:23AM 10138 ] [ bdmurray@impulse:~/source-trees/daisy/trunk ]
With the version of python-cassandra from xenial-proposed I no longer receive the Traceback.
[ 8:22AM 10135 ] [ bdmurray@ impulse: ~/source- trees/daisy/ trunk ] cql-check- oopses- for-arches. py cql-check- oopses- for-arches. py", line 33, in <module> connect( config. cassandra_ keyspace) python2. 7/dist- packages/ cassandra/ cluster. py", line 755, in connect control_ connection. connect( ) python2. 7/dist- packages/ cassandra/ cluster. py", line 1868, in connect _set_new_ connection( self._reconnect _internal( )) python2. 7/dist- packages/ cassandra/ cluster. py", line 1903, in _reconnect_internal ("Unable to connect to any servers", errors) cluster. NoHostAvailable : ('Unable to connect to any servers', {'192.168.10.2': TypeError('ref() does not take keyword arguments',)}) impulse: ~/source- trees/daisy/ trunk ] cassandra_ 2.5.1-1ubuntu0. 1_all.deb ... impulse: ~/source- trees/daisy/ trunk ] cql-check- oopses- for-arches. py impulse: ~/source- trees/daisy/ trunk ]
$ ./tools/
Traceback (most recent call last):
File "./tools/
session = cluster.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise NoHostAvailable
cassandra.
[ 8:22AM 10136 ] [ bdmurray@
$ sudo apt-get install python-cassandra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-snappy python-lz4 python-blist
The following packages will be upgraded:
python-cassandra
1 upgraded, 0 newly installed, 0 to remove and 143 not upgraded.
Need to get 0 B/122 kB of archives.
After this operation, 2,048 B disk space will be freed.
Sorry, your system lacks support for the snapshot feature
Reading changelogs... Done
(Reading database ... 887629 files and directories currently installed.)
Preparing to unpack .../python-
Unpacking python-cassandra (2.5.1-1ubuntu0.1) over (2.5.1-1) ...
Setting up python-cassandra (2.5.1-1ubuntu0.1) ...
[ 8:23AM 10137 ] [ bdmurray@
$ ./tools/
[ 8:23AM 10138 ] [ bdmurray@