Issue: When using MAM you may have problems getting Moab and MAM to talk to eachother.
Symptom: There will be no quotes, reservations or charges in MAM, and jobs will not be sent to a fallback account or QOS if there is one defined. There will be entries like the following in the gold logs:
2015-10-02 14:42:02.572 ERROR Gold::Exception::new Incoming MAC does not match calculated MAC at /opt/mam/lib/Gold/Chunk.pm line 1036
2015-10-02 14:42:02.573 ERROR Gold::Exception::new Failed authenticating message: (Incoming MAC does not match calculated MAC). at /opt/mam/lib/Gold/Message.pm line 835
Solution: The shared key between MAM and Moab got lost or changed at some point. There's a key value that's stored in /opt/mam/etc/site.conf (default location).
[root@support-benlincoln etc]# grep value /opt/mam/etc/site.conf
token.value = TOj7eIQDsYwSTT7QMtgneRlI
The token.value in that file should match the KEY value for the MAM entry in /opt/moab/etc/moab-private.cfg (again, default location).
[root@support-benlincoln etc]# grep mam /opt/moab/etc/moab-private.cfg
CLIENTCFG[AM:mam] KEY=TOj7eIQDsYwSTT7QMtgneRlI AUTHTYPE=HMAC64
When Moab tries to talk to MAM it will use that key to authenticate and if it doesn't match you'll get the error as described above.
Tags: key, MAC, MAM, match, token, value