On 08.03.2014 14:33, Michael Friedrich wrote:


[2014-03-07 16:51:00 -0800] <WQ #3> critical/db_ido_mysql: Exception during database operation: /home/abuild/rpmbuild/BUILD/icinga2-abuild/components/db_ido_mysql/idomy sqlconnection.cpp(290): Throw in function icinga::IdoMysqlResult icinga::IdoMysqlConnection::Query(const icinga::String&) Dynamic exception type: N5boost16exception_detail10clone_implIN6icinga14database_errorEEE
std::exception::what: std::exception
[PN6icinga10StackTraceE] =
(0) libdb_ido_mysql.so: icinga::IdoMysqlConnection::Query(icinga::String const&) (+0x501) [0x7f052bcf4971] (??:0) (1) libdb_ido_mysql.so: icinga::IdoMysqlConnection::InternalExecuteQuery(icinga::DbQuery const&, icinga::DbQueryType*) (+0x60a) [0x7f052bcf715a] (??:0) (2) libbase.so: icinga::WorkQueue::WorkerThreadProc() (+0x56f) [0x7f052d30c9af] (??:0) (3) libboost_thread-mt.so.5: thread_proxy (+0x77) [0x3b99a0ad47] (??:0)
        (4) /lib64/libpthread.so.0() [0x307e0079d1]
        (5) libc.so.6: clone (+0x6d) [0x37c28e8b6d] (??:0)


[PN6icinga12ContextTraceE] =

[PN6icinga16errinfo_message_E] = Unknown column 'icinga_node' in 'field list' [PN6icinga23errinfo_database_query_E] = INSERT INTO icinga_notifications (contacts_notified, end_time, end_time_usec, escalated, icinga_node, instance_id, long_output, notification_reason, notification_type, object_id, output, start_time, start_time_usec, state) VALUES ('1', FROM_UNIXTIME(1394239860), '601969', '0', 'build-icinga', 1, '', '0', '1', 35, 'PROCS CRITICAL: 655 processes', FROM_UNIXTIME(1394239860), '601969', '2')

It appears that the icinga_node field was added since 0.0.7 (even though the dbversion has not changed), but it was not part of the 0.0.8 upgrade script that is present in the snapshot.

I'll open a bug and check into any other schema differences that may be present.

That's merely the problem that i am not able to merge feature/db-endpoints-5636 at this point as it's not finished. 'icinga_node' was temporarly available with 0.0.7 but has been reverted in favor of endpoint object ids. 0.x.y is a constant work in progress, keep that in mind.

I'm not sure whether I am able to finish that feature for 0.0.8 and it's ugly to keep 'next' broken. Therefore I've created https://dev.icinga.org/issues/5730 in order to solve the snapshot builds. I will rebase my working branch later on.






_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users




--
DI (FH) Michael Friedrich

[email protected]  || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
[email protected]       || https://www.icinga.org/team
irc.freenode.net/icinga      || dnsmichi

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to