The subordinate metadata server from which you run the setmaster command must be in either the joining or forming state.
Connect to a subordinate metadata server that is in an appropriate state and run the command again.
Parent topic: Administrative messages