Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #13275] Icinga tries to delete Downtime objects that were statically configured #4802

Closed
icinga-migration opened this issue Nov 22, 2016 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13275

Created by gbeutner on 2016-11-22 13:46:14 00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-11-22 14:15:02 00:00)
Target Version: 2.6.0
Last Update: 2016-11-22 14:15:02 00:00 (in Redmine)

Icinga Version: 2.6.0
Backport?: Not yet backported
Include in Changelog: 1

[2016-11-22 14:43:48  0100] critical/Downtime: Object cannot be deleted because it was not created using the API.
[2016-11-22 14:43:48  0100] critical/ThreadPool: Exception thrown in event handler:
Error: Could not remove downtime.

   (0) 2   libbase.2.5.4.dylib                 0x0000000103114497 __cxa_throw   263
   (1) 3   libicinga.2.5.4.dylib               0x000000010570acee _ZN5boost15throw_exceptionINS_16exception_detail19error_info_injectorISt13runtime_errorEEEEvRKT_   110
   (2) 4   libicinga.2.5.4.dylib               0x0000000105709479 _ZN5boost16exception_detail16throw_exception_ISt13runtime_errorEEvRKT_PKcS7_i   185
   (3) 5   libicinga.2.5.4.dylib               0x00000001058e4164 _ZN6icinga8Downtime14RemoveDowntimeERKNS_6StringEbbRKN5boost13intrusive_ptrINS_13MessageOriginEEE   2324
   (4) 6   libicinga.2.5.4.dylib               0x00000001058dfe36 _ZN6icinga8Downtime27DowntimesExpireTimerHandlerEv   1814
   (5) 7   libicinga.2.5.4.dylib               0x000000010584e80a _ZN5boost3_bi5list0clIPFvvENS0_5list1IRKNS_13intrusive_ptrIN6icinga5TimerEEEEEEEvNS0_4typeIvEERT_RT0_i   42
   (6) 8   libicinga.2.5.4.dylib               0x000000010584e78d _ZN5boost3_bi6bind_tIvPFvvENS0_5list0EEclIRKNS_13intrusive_ptrIN6icinga5TimerEEEEEvOT_   77
   (7) 9   libicinga.2.5.4.dylib               0x000000010584e588 _ZN5boost6detail8function26void_function_obj_invoker1INS_3_bi6bind_tIvPFvvENS3_5list0EEEvRKNS_13intrusive_ptrIN6icinga5TimerEEEE6invokeERNS1_15function_bufferESE_   56
   (8) 10  libbase.2.5.4.dylib                 0x000000010323de28 _ZNK5boost9function1IvRKNS_13intrusive_ptrIN6icinga5TimerEEEEclES6_   152
   (9) 11  libbase.2.5.4.dylib                 0x000000010323dd7b _ZNK5boost8signals26detail20call_with_tuple_argsINS1_9void_typeEE8m_invokeINS_8functionIFvRKNS_13intrusive_ptrIN6icinga5TimerEEEEEEJLj0EEJSC_EEES3_RT_NS1_19unsigned_meta_arrayIJXspT0_EEEENSt3__15tupleIJDpT1_EEEPNS_9enable_ifINS_7is_voidINSF_11result_typeEEEvE4typeE   59
   (10) 12  libbase.2.5.4.dylib                 0x000000010323dd0a _ZNK5boost8signals26detail20call_with_tuple_argsINS1_9void_typeEEclINS_8functionIFvRKNS_13intrusive_ptrIN6icinga5TimerEEEEEEJSC_ELm1EEES3_RT_NSt3__15tupleIJDpT0_EEEN4mpl_6size_tIXT1_EEE   202
   (11) 13  libbase.2.5.4.dylib                 0x000000010323dc2c _ZNK5boost8signals26detail21variadic_slot_invokerINS1_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEclINS_10shared_ptrINS1_15connection_bodyINSt3__14pairINS1_15slot_meta_groupENS_8optionalIiEEEENS0_4slotIFvS9_ENS_8functionISL_EEEENS0_5mutexEEEEEEES3_RKT_   76
   (12) 14  libbase.2.5.4.dylib                 0x000000010323dada _ZNK5boost8signals26detail20slot_call_iterator_tINS1_21variadic_slot_invokerINS1_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEENSt3__115__list_iteratorINS_10shared_ptrINS1_15connection_bodyINSC_4pairINS1_15slot_meta_groupENS_8optionalIiEEEENS0_4slotIFvSA_ENS_8functionISM_EEEENS0_5mutexEEEEEPvEESR_E11dereferenceEv   154
   (13) 15  libbase.2.5.4.dylib                 0x000000010323da15 _ZN5boost9iterators20iterator_core_access11dereferenceINS_8signals26detail20slot_call_iterator_tINS4_21variadic_slot_invokerINS4_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEENSt3__115__list_iteratorINS_10shared_ptrINS4_15connection_bodyINSF_4pairINS4_15slot_meta_groupENS_8optionalIiEEEENS3_4slotIFvSD_ENS_8functionISP_EEEENS3_5mutexEEEEEPvEESU_EEEENT_9referenceERKSZ_   21
   (14) 16  libbase.2.5.4.dylib                 0x000000010323d94d _ZNK5boost9iterators6detail20iterator_facade_baseINS_8signals26detail20slot_call_iterator_tINS4_21variadic_slot_invokerINS4_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEENSt3__115__list_iteratorINS_10shared_ptrINS4_15connection_bodyINSF_4pairINS4_15slot_meta_groupENS_8optionalIiEEEENS3_4slotIFvSD_ENS_8functionISP_EEEENS3_5mutexEEEEEPvEESU_EES7_NS0_25single_pass_traversal_tagERS7_lLb0ELb0EEdeEv   29
   (15) 17  libbase.2.5.4.dylib                 0x000000010323d8a5 _ZNK5boost8signals219optional_last_valueIvEclINS0_6detail20slot_call_iterator_tINS4_21variadic_slot_invokerINS4_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEENSt3__115__list_iteratorINS_10shared_ptrINS4_15connection_bodyINSF_4pairINS4_15slot_meta_groupENS_8optionalIiEEEENS0_4slotIFvSD_ENS_8functionISP_EEEENS0_5mutexEEEEEPvEESU_EEEEvT_SZ_   69
   (16) 18  libbase.2.5.4.dylib                 0x000000010323d59f _ZNK5boost8signals26detail16combiner_invokerIvEclINS0_19optional_last_valueIvEENS1_20slot_call_iterator_tINS1_21variadic_slot_invokerINS1_9void_typeEJRKNS_13intrusive_ptrIN6icinga5TimerEEEEEENSt3__115__list_iteratorINS_10shared_ptrINS1_15connection_bodyINSH_4pairINS1_15slot_meta_groupENS_8optionalIiEEEENS0_4slotIFvSF_ENS_8functionISR_EEEENS0_5mutexEEEEEPvEESW_EEEEvRT_T0_S13_   175
   (17) 19  libbase.2.5.4.dylib                 0x000000010323d32e _ZN5boost8signals26detail11signal_implIFvRKNS_13intrusive_ptrIN6icinga5TimerEEEENS0_19optional_last_valueIvEEiNSt3__14lessIiEENS_8functionIS9_EENSF_IFvRKNS0_10connectionES8_EEENS0_5mutexEEclES8_   1006
   (18) 20  libbase.2.5.4.dylib                 0x0000000103239aec _ZN5boost8signals26signalIFvRKNS_13intrusive_ptrIN6icinga5TimerEEEENS0_19optional_last_valueIvEEiNSt3__14lessIiEENS_8functionIS8_EENSE_IFvRKNS0_10connectionES7_EEENS0_5mutexEEclES7_   44
   (19) 21  libbase.2.5.4.dylib                 0x0000000103239a02 _ZN6icinga5Timer4CallEv   82
   (20) 22  libbase.2.5.4.dylib                 0x0000000103243e9b _ZNK5boost4_mfi3mf0IvN6icinga5TimerEE4callINS_13intrusive_ptrIS3_EEEEvRT_PKv   123
   (21) 23  libbase.2.5.4.dylib                 0x0000000103243dec _ZNK5boost4_mfi3mf0IvN6icinga5TimerEEclINS_13intrusive_ptrIS3_EEEEvRT_   44
   (22) 24  libbase.2.5.4.dylib                 0x0000000103243d90 _ZN5boost3_bi5list1INS0_5valueINS_13intrusive_ptrIN6icinga5TimerEEEEEEclINS_4_mfi3mf0IvS5_EENS0_5list0EEEvNS0_4typeIvEERT_RT0_i   80
   (23) 25  libbase.2.5.4.dylib                 0x0000000103243d3a _ZN5boost3_bi6bind_tIvNS_4_mfi3mf0IvN6icinga5TimerEEENS0_5list1INS0_5valueINS_13intrusive_ptrIS5_EEEEEEEclEv   58
   (24) 26  libbase.2.5.4.dylib                 0x0000000103243aed _ZN5boost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tIvNS_4_mfi3mf0IvN6icinga5TimerEEENS3_5list1INS3_5valueINS_13intrusive_ptrIS8_EEEEEEEEvE6invokeERNS1_15function_bufferE   29
   (25) 27  libbase.2.5.4.dylib                 0x0000000103036ee8 _ZNK5boost9function0IvEclEv   120
   (26) 28  libbase.2.5.4.dylib                 0x000000010322f9c2 _ZN6icinga10ThreadPool12WorkerThread10ThreadProcERNS0_5QueueE   2338
   (27) 29  libbase.2.5.4.dylib                 0x0000000103238a61 _ZNK5boost4_mfi3mf1IvN6icinga10ThreadPool12WorkerThreadERNS3_5QueueEEclERS4_S6_   113
   (28) 30  libbase.2.5.4.dylib                 0x00000001032389bc _ZN5boost3_bi5list2INS_17reference_wrapperIN6icinga10ThreadPool12WorkerThreadEEENS2_INS4_5QueueEEEEclINS_4_mfi3mf1IvS5_RS7_EENS0_5list0EEEvNS0_4typeIvEERT_RT0_i   108
   (29) 31  libbase.2.5.4.dylib                 0x000000010323894a _ZN5boost3_bi6bind_tIvNS_4_mfi3mf1IvN6icinga10ThreadPool12WorkerThreadERNS5_5QueueEEENS0_5list2INS_17reference_wrapperIS6_EENSB_IS7_EEEEEclEv   58
   (30) 32  libbase.2.5.4.dylib                 0x00000001032388dc _ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN6icinga10ThreadPool12WorkerThreadERNS7_5QueueEEENS2_5list2INS_17reference_wrapperIS8_EENSD_IS9_EEEEEEE3runEv   28
   (31) 33  libboost_thread-mt.dylib            0x0000000102021ab5 _ZN5boost12_GLOBAL__N_112thread_proxyEPv   53
   (32) 34  libsystem_pthread.dylib             0x00007fff8a7bfaab _pthread_body   180
   (33) 35  libsystem_pthread.dylib             0x00007fff8a7bf9f7 _pthread_body   0
   (34) 36  libsystem_pthread.dylib             0x00007fff8a7bf221 thread_start   13

Changesets

2016-11-22 14:13:43 00:00 by gbeutner 56e9a23

Don't try to delete Downtime objects that were statically configured

fixes #13275
@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-11-22 14:14:03 00:00

  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.6.0

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-11-22 14:15:02 00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 56e9a23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant