UnivaCorporation / tortuga-kit-simple_policy_engine

Other
2 stars 5 forks source link

Policy version mismatch and add-rule command failing #16

Open thesystemninjaneer opened 4 years ago

thesystemninjaneer commented 4 years ago

All of the project docs say to install 6.3.1 (for example) but kit.json is set to 6.3.0. https://github.com/UnivaCorporation/tortuga-kit-simple_policy_engine/blob/55317025e7b31fce20f9514339d04e523e0aae22/kit.json#L3

Building the kit results in kit-simple_policy_engine-6.3.0-0.tar.bz2.

After installing the kit, git-kit-list shows simple_policy_engine-6.3.0-0.

Following the manual install procedures errors when trying to run add-rule.

# add-rule --desc-file basic_burst.xml
'AddRuleCli' object has no attribute 'getOptions'
# add-rule -V
add-rule version: Tortuga 7.1.0+rev3df532c
# get-rule-list
'GetRuleListCli' object has no attribute 'getUsername'

No log entries show up under /var/log/tortuga* so having trouble figuring out why python is failing to add the rule. Are there other debug options that will help track down the issue?

thesystemninjaneer commented 4 years ago

ping

dtougas commented 4 years ago

This kit is most likely not compatible with the latest versions of Tortuga. It is probably compatible with Tortuga 7.0 (when this kit was originally brought over to GitHub), though it hasn't been tested in a long time. We have an in-house kit that we have developed and currently use for running rules/automations, and thus have not kept up with the development of this one.