If you see this error the loadtests are trying to set a configuration setting but can't because HA mode is enabled. You will need to manually update your configuration. The required settings are:
EnableOpenServer
: trueMaxUsersPerTeam
: 50000 (or more)MaxChannelsPerTeam
: 50000 (or more)EnableIncomingWebhooks
: trueEnableAdminOnlyIntegrations
: false
Check that your SSH fields are set correctly in the loadtest config and try again. Find more detail on the config settings here.
You can manually generate and load the test users into the Mattermost server manually.
- Run
loadtest genbulkload
. A file calledloadtestbulkload.json
should be created. - Upload this file to the Mattermost app server.
- On the Mattermost app server run
./bin/mattermost import bulk --workers 64 --apply loadtestbulkload.json
- Make sure you set the configuration setting "SkipBulkLoad" to true.