[Kea-users] Cassandra broken in latest?

Dajka Tamás viper at vipernet.hu
Mon Jan 6 08:15:02 UTC 2020


Hi all,

 

I've built latest KEA from source (github), but connecting to Cassandra
seems to be broken. Error message:

 

2020-01-06 08:57:17.544 ERROR [kea-dhcp6.dhcp6/28607] DHCP6_CONFIG_LOAD_FAIL
configuration error using file: /etc/kea/kea-dhcp6.conf, reason: Unable to
open database: Statement GET_VERSION failed, Kea error:
CqlExchange::executeSelect(): cass_session_execute() != CASS_OK, Cassandra
error code: Read timeout, Cassandra future error: Operation timed out -
received only 1 responses.

2020-01-06 08:57:17.545 ERROR [kea-dhcp6.dhcp6/28607] DHCP6_INIT_FAIL failed
to initialize Kea server: configuration error using file
'/etc/kea/kea-dhcp6.conf': Unable to open database: Statement GET_VERSION
failed, Kea error: CqlExchange::executeSelect(): cass_session_execute() !=
CASS_OK, Cassandra error code: Read timeout, Cassandra future error:
Operation timed out - received only 1 responses.

 

Keyspace is there, I've initialized/upgraded tables with kea-admin; cqlsh
from KEA host to remote Cassandra host works:

 

[cqlsh 5.0.1 | Cassandra 3.11.5 | CQL spec 3.4.4 | Native protocol v4]

Use HELP for help.

cqlsh> use keadhcpv6;

cqlsh:keadhcpv6> SELECT version, minor FROM schema_version;

 

version | minor

---------+-------

       5 |     0

 

(1 rows)

cqlsh:keadhcpv6>

 

DataStax driver used 2.14.1.

 

After doing some tcpdump, it seems that the statement "SELECT version, minor
FROM schema_version;" is sent to Cassandra, but only PREPARED (and not
executed afterwards). (Cassandra responses prepared (4) to query, but only
noop is sent by KEA afterwards)

 

Did I miss something or just misconfigured?

 

Thanks,

 

              Tom

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200106/3a05537b/attachment.htm>


More information about the Kea-users mailing list