what is the version of the switch software?
The "ib sm allow-both-pkeys" configuration option was added to MLNX-OS 3.4.1120 and above.
On my switch there is an old MLNX_OS version (SX_3.3.3500):
I'm still waiting for "MyMellanox" credentials in order to download a newer firmware.
In the meantime, I'm trying to solve another blocking issue related to the Mellanox Plugin for Mirantis Fuel
which breaks my (working) test environment whenever I add a third controller.
Anyway, thank you for your kind advice. I'll update my status ASAP.