- CheckMates
- :
- Products
- :
- Developers
- :
- Ansible
- :
- Re: Creating cluster interface via ansible
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating cluster interface via ansible
Hello,
I am trying to create a cluster interface via ansible, i am currently using cp_mgmt_simple_cluster module. I am running following code for the cluster interface creation and member IP addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What version of Check Point management are you running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
R81.10 and latest version of the mgmt module 4.0.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What JHF is installed?
Looks like JHF 79 and above may be required as that is where the necessary API support was added.
See: https://sc1.checkpoint.com/documents/latest/APIs/index.html#api_versions~v1.8.1%20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JHF 79 was released on 24 october when the 4.0.0 was released way earlier, and the module was released even before 4.0.0 right?
We have v1.8 right now, when i look in MGMT API it does not specify 1.8.1 as supported versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @SebastianB ,
Can you share the output of the following commands?
- mgmt_cli -r true show-api-versions
- cpinfo -y all
Thanks,
Omer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mgmt_cli -r true show-api-versions:
"current-version" : "1.8",
"supported-versions" : [ "1", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.6.1", "1.7", "1.7.1", "1.8" ]
cpinfo -y all:
This is Check Point CPinfo Build 914000227 for GAIA
[MGMT]
HOTFIX_R81_10_JUMBO_HF_MAIN Take: 66
[FW1]
HOTFIX_GOT_MGMT_AUTOUPDATE
HOTFIX_WEBCONSOLE_AUTOUPDATE
HOTFIX_GOT_TPCONF_MGMT_AUTOUPDATE
HOTFIX_PUBLIC_CLOUD_CA_BUNDLE_AUTOUPDATE
HOTFIX_NGM_DOCTOR_AUTOUPDATE
HOTFIX_R81_10_JUMBO_HF_MAIN Take: 66
I removed some of the results in cpinfo, if i removed something you want let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API version 1.8.1 was released in JHF take 79. Since you have JHF take 66 installed, the API version in that take is still 1.8.
Regarding the original problem, looks like there is an issue with updating the interfaces of a cluster via ansible.
To support it will require changes in the Management code (not in the ansible collection). I suggest to open a TAC case.
