Comment 5 for bug 1603436

Revision history for this message
Brian Murray (brian-murray) wrote :

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 ]