-
Notifications
You must be signed in to change notification settings - Fork 204
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
dependencies: unable to resolve related property #1142
Comments
@vita2: I merged dependencies to master. They are still considered experimental, but should work fine. The issue you've raised should no longer exist, as "single dependency objects" are currently not allowed, just apply rules. In case you're still experiencing related issues please let me know. |
Hi @Thomas-Gelf , the issue is still present for me in v1.4.3: Check applied to host by apply rule:
|
Hi, |
This has been moved to the v1.6.0 milestone some time ago, but unfortunately kept it's "closed" state. Is this still a thing? |
Thanks for testing this! |
Also in our Environment (master branch) it still exists. Dependencies from host to host works fine, but not with service-host-dependencies. |
The problem, that "is true" services are not shown, also exist for service that are assigne via a service set. |
@vita2: when using a Service name, I've been able to figure out the following behavior:
Can you confirm that those two are working for you? What specific scenario is failing? And apart from all this, the above error message is obviously wrong and confusing. It's triggered by a tree resolver. |
hello @Thomas-Gelf, sorry for the late response. i am able to configure the scenario from the initially post without any blocking messages. for me the issue is resolved. thank you! 🥇
both variants work. do you need more information for further investigation? |
Interesting. I want to apply a Dependency based on a parent Service which originates from a parent Host. However, the Dependency shall be assigned to completely different Hosts. So I created a Dependency with parent Host = "ParentHost" and parent Service = "ParentService". That resulted in different issues. It seems to depend on the way how "ParentService" has been applied to its "ParentHost". I tried several cases:
######################################################################
|
Same here. I can not add a service from a serviceset (case 3). |
This seems to only apply to single dependency objects that are created directly. It is still possible to try to add single dependency objects via a sync rule, but it seems to fail nevertheless. The options should probably be removed as well if it is not supported. |
Should have been fixed with #2669. As it affects only some special Dependencies, it would be great if you could test this in your setup and let me know, whether it now works as expected. |
i'm trying to create the dependencies examples from the icinga2 documentation (Dependencies for Network Reachability) but i can't choose the necessary service as parent service.
Current Behavior
currently my host
pfsense.home.lan
has two services:both services will be applied with help of assignment rules:
at the dependencies form i can only choose the service
http-cert
but i need theping4
-service as parent service. i think the field can't find services which was assigned by the new "is true/set" operator.when trying to input the
ping4
service manually i will get the error message:Steps to Reproduce (for bugs)
assign where host.address
)Your Environment
icinga2 --version
): r2.7.0-1The text was updated successfully, but these errors were encountered: