Noah Hilverling
2cb682f13d
Merge pull request #8518 from Icinga/feature/opensuse150
...
GitHub actions: drop openSUSE 15.0
2020-12-02 08:49:51 +01:00
Alexander Aleksandrovič Klimov
87d468e257
Merge pull request #8520 from Icinga/feature/centos6
...
GitHub actions: drop CentOS 6
2020-12-01 15:23:19 +01:00
Alexander A. Klimov
acb90a47bd
GitHub actions: drop CentOS 6
2020-12-01 13:41:26 +01:00
Alexander A. Klimov
9eb20c3e2a
GitHub actions: drop openSUSE 15.0
2020-12-01 12:08:05 +01:00
Alexander Aleksandrovič Klimov
653c6f4596
Merge pull request #8517 from Icinga/feature/sles150
...
GitHub actions: drop SLES 15.0
2020-12-01 11:07:15 +01:00
Alexander A. Klimov
d2d8fa6a47
GitHub actions: drop SLES 15.0
2020-12-01 10:37:10 +01:00
Alexander Aleksandrovič Klimov
a147a19153
Merge pull request #8516 from Icinga/feature/sles124
...
GitHub actions: drop SLES 12.4
2020-12-01 10:18:14 +01:00
Alexander A. Klimov
41c5769789
GitHub actions: drop SLES 12.4
2020-11-30 18:36:50 +01:00
Alexander Aleksandrovič Klimov
3f4b09f01c
Merge pull request #8488 from Icinga/feature/improve-config-sync-locking
...
Improve config sync locking
2020-11-27 17:55:15 +01:00
Julian Brost
48ec484cc4
Merge pull request #8074 from Icinga/bugfix/doc-use-S-parameter-8065
...
Add -S and -i parameters to the api queries
2020-11-26 14:56:58 +01:00
Alexander Aleksandrovič Klimov
54344d669b
Merge pull request #8494 from andygrunwald/feature/remove-old-issue-template
...
Remove old and unused issue template from GitHub
2020-11-25 18:10:10 +01:00
Alexander Aleksandrovič Klimov
81ed8d5629
Merge pull request #8321 from Icinga/bugfix/cant-create-api-user-w-password-8164
...
Allow to create API User w/ password
2020-11-25 15:40:07 +01:00
Julian Brost
8c5e17a799
Merge pull request #8222 from Icinga/bugfix/typo
...
Fix typo
2020-11-25 14:55:42 +01:00
Yonas Habteab
f4011eac26
Add -S and -i parameters to the api queries
2020-11-25 14:53:33 +01:00
Julian Brost
97b59dc6cf
Merge pull request #8504 from Icinga/bugfix/replay-log-blocks
...
Start ApiListener#SyncClient() in the thread pool
2020-11-25 08:58:29 +01:00
Julian Brost
06a07bbeb2
Merge pull request #8149 from Icinga/bugfix/release-sed
...
RELEASE.md: use perl, not sed
2020-11-25 08:36:49 +01:00
Alexander A. Klimov
0e36564f1d
RELEASE.md: use perl, not sed
...
Rationale:
sed: 1: "VERSION": invalid command code V
2020-11-24 18:43:26 +01:00
Alexander A. Klimov
1343fd538d
Start ApiListener#SyncClient() in the thread pool
...
... not hosting the coroutines not to block them.
Otherwise a large replay log would block messages sending
until the peer disconnects us.
2020-11-24 17:25:43 +01:00
Alexander Aleksandrovič Klimov
3dcc6c32f3
Merge pull request #8479 from Icinga/bugfix/close-anonymous-connections
...
Close anonymous connections after 10 seconds
2020-11-24 16:44:09 +01:00
Julian Brost
2a2924855f
Merge pull request #7922 from Icinga/feature/http-status-codes-in-icinga-mainlog-7053
...
Include HTTP status codes in log
2020-11-24 16:35:58 +01:00
Julian Brost
da407660f2
Merge pull request #8500 from Icinga/bugfix/config-sync-only-remove-files-if-timestamp-changed
...
Config sync: Only remove files, if timestamp changed
2020-11-24 16:34:12 +01:00
Julian Brost
c154d4d50e
Merge pull request #8466 from Icinga/feature/one-connection
...
ApiListener#NewClientHandlerInternal(): reject connections from already connected endpoints
2020-11-24 16:33:15 +01:00
Noah Hilverling
83b4d8e69d
Config sync: Only remove files, if timestamp changed
2020-11-24 10:44:38 +01:00
Alexander Aleksandrovič Klimov
39bc1590f6
Merge pull request #8440 from Icinga/bugfix/message-routing-for-global-zones
...
Fix cluster message routing for global zones
2020-11-24 10:41:17 +01:00
Alexander Aleksandrovič Klimov
e84a4a290d
Merge pull request #8450 from Icinga/bugfix/do-not-accept-api-updates-for-unknown-zone
...
API: Don't accept object updates for unknown global zone
2020-11-24 10:40:20 +01:00
Andy Grunwald
a90513bf0d
Remove old and unused issue template from GitHub
...
In 4c51a64e
the new version of GitHub issue templates were introduced
to the Icinga2 repository. The former issue template was not removed
in this commit.
2020-11-22 12:29:57 +01:00
Julian Brost
3f15963651
Remove SpinLock
...
No longer needed as its only user now uses std::mutex.
2020-11-17 09:40:34 +01:00
Julian Brost
70c9d49ebc
ApiListener: merge new config validation and actication functions
...
Merge AsyncTryActivateZonesStage and TryActivateZonesStageCallback and
name the result TryActivateZonesStage. The old split was a leftover from
the one being a callback function with no actual meaningful separation.
2020-11-17 09:37:13 +01:00
Noah Hilverling
2d1980c10d
Merge pull request #8476 from Icinga/docs/api-action-api-function
...
Clarify difference between API actions and functions in their docstrings
2020-11-17 08:17:05 +01:00
Julian Brost
e4610e7dbd
Use std::mutex instead of Spinlock
2020-11-16 17:38:03 +01:00
Julian Brost
74b65f1642
API filesync: wait for validation process to exit
...
This avoid having to pass a lock implictly using the captured variables
of a lambda.
2020-11-16 17:10:57 +01:00
Julian Brost
4c8c4c75ec
Add Process::WaitForResult to allow waiting for the process to finish
2020-11-16 17:10:26 +01:00
Alexander Aleksandrovič Klimov
2d5e244127
Merge pull request #8232 from Icinga/bugfix/windows-version
...
Fix Windows .exe version v2.12.0 -> 2.12.0
2020-11-13 17:09:58 +01:00
Alexander Aleksandrovič Klimov
5f3b5934fa
Merge pull request #8195 from Icinga/feature/terminate-pretty-json-output-w-n-8194
...
JsonEncode(): suffix pretty JSON w/ \n
2020-11-13 17:08:46 +01:00
Alexander Aleksandrovič Klimov
66c4dc35a8
Merge pull request #7931 from Icinga/feature/program_version-livestatus-7895
...
Livestatus: append app name to program_version
2020-11-13 17:08:11 +01:00
Alexander Aleksandrovič Klimov
12fd687e1a
Merge pull request #7915 from Icinga/bugfix/scripts-sh
...
etc/icinga2/scripts/*.sh: explicitly specify shell
2020-11-13 17:02:30 +01:00
Alexander Aleksandrovič Klimov
baaa5ffc13
Merge pull request #7892 from Icinga/bugfix/check_dns-q-flag-7556
...
ITL: fix check_dns -q docs
2020-11-13 16:51:06 +01:00
Julian Brost
d1edcb909c
Close anonymous connections after 10 seconds
...
Anonymous connections are normally only used for requesting a
certificate and are closed after this request is received. However, the
request is only sent if the child has successfully verified the
certificate of its parent so that it is an authenticated connection from
its perspective. In case this verification fails, both ends view it as
an anonymous connection and never actually use it but attempt a
reconnect after 10 seconds leaking the connection. Therefore close it
after a timeout.
2020-11-12 18:01:11 +01:00
Alexander Aleksandrovič Klimov
8ca765d730
Merge pull request #8455 from Icinga/bugfix/replay-object-deletion
...
Log config object deletions to replay log
2020-11-12 15:08:55 +01:00
Julian Brost
01a278bb5e
Clarify difference between API actions and functions in their docstrings
2020-11-12 14:23:41 +01:00
Alexander Aleksandrovič Klimov
fb6f618f82
Merge pull request #8460 from Icinga/bugfix/configobjectutility-typo
...
Fix 'emoving' typo
2020-11-10 14:36:25 +01:00
Alexander Aleksandrovič Klimov
48e47234b8
Merge pull request #8456 from sysadt/patch-2
...
Unnecessary letter removed
2020-11-10 14:35:34 +01:00
Alexander Aleksandrovič Klimov
a6120a2246
Merge pull request #8446 from Icinga/feature/support-ido-7957
...
Add info about ongoing support for IDO
2020-11-10 11:25:32 +01:00
Alexander Aleksandrovič Klimov
a0c483081b
Merge pull request #8400 from Icinga/feature/doc-win-dev
...
Docs: provide shorter and batch-ier instructions on how to setup a Windows dev env
2020-11-09 17:20:07 +01:00
Noah Hilverling
5f6042d92f
Fix 'emoving' typo
2020-11-09 16:35:16 +01:00
Julian Brost
cb476172ec
Fix cluster message routing for global zones
...
RelayMessageOne used to relay the message only to one other endpoint for
other zones, which is fine, as long as the target zone is a child/parent
zone but breaks if the target zone is a global one. In this case, the
message has to be forwarded within the local zone as well as to one node
in each child zone.
2020-11-09 15:43:43 +01:00
sysadt
084dde298e
Unnecessary letter
2020-11-09 14:19:35 +01:00
Julian Brost
be53b0af9e
Log config object deletions to replay log
...
The initial config object sync for each new connection (in
`ApiListener::SendRuntimeConfigObjects()`) only considers currently
existing objects and has no way to pass the information that objects
were deleted in the meantime.
This commit logs config object deletions to the replay log if required
so that there is a chance that it will be propagated to nodes that were
offline when the deletion happened.
Note that this can only be considered a workaround as the replay log
might be pruned or could even be completely disabled. Also, there still
seems to be a race-condition between the config sync and replay log of
multiple new connections at the same time.
2020-11-09 14:09:44 +01:00
Alexander A. Klimov
29e5d7def7
Include HTTP status codes in log
...
refs #7053
2020-11-09 10:20:13 +01:00
Noah Hilverling
8ba5f72533
API: Don't accept object updates for unknown zone
2020-11-06 17:27:10 +01:00