Customer has a pair of SRX chassis cluster, they failed to activate license on Secondary node.
root@hk-rse-p-fw001# commit
[edit system license keys]
'key "JUNOS000000 aeaqia qminmt inbrgz aummbs guzaqb qcdxib rundbq pveqkl kvkekt rakncu gvksjf kesrkt ebee6t shebfu 6tsheb gfibzi xl7x74 uxevxd fouagi 7fiq3h 5rg6du 6iaxjp gswkkc owmcbx dg6t3u yppg3w xyzngi iq"'
JUNOS0000000: license is for device: [CY4416AF0000], serial number of device is: [CY4916AF0000]
error: configuration check-out failed
Customer use "set" command in configuration mode to add license key
root0# set system license keys key "JUNOS000000 aeaqia qm
root0# ... key "JUNOS000000 aeaqia qmi nmt inbrgz aummbs g
root0# ... aeaqia qminmt inbrgz aummbs gu zaqb qcdxib rundbq
root02# ...z aummbs guzaqb qcdxib rundbq p veqkl kvkekt rakncu
root0# ...ib rundbq pveqkl kvkekt rakncu gvksjf kesrkt ebee6
root0# ...ekt rakncu gvksjf kesrkt ebee6t shebfu 6tsheb gfib
root0# ...srkt ebee6t shebfu 6tsheb gfibz i wvwcx5 5454rv v57
root0# ...tsheb gfibzi wvwcx5 5454rv v57c go o5nbmm jb3ku4 be
root0# ...5454rv v57cgo o5nbmm jb3ku4 bez cup fnhaua a4hjjo 5
root02# ... jb3ku4 bezcup fnhaua a4hjjo 5w 7ubu r3zdco ufqo4s
root0# ...a a4hjjo 5w7ubu r3zdco ufqo4s c q"
{secondary:node1}[edit]
root0# show |compare
[edit system license]
+ keys {
+ key "JUNOS000000 aeaqia qminmt inbrgz aummbs guzaqb qcdxib rundbq pveqkl kvkekt rakncu gvksjf kesrkt ebee6t shebfu 6tsheb gfibzi wvwcx5 5454rv v57cgo o5nbmm jb3ku4 bezcup fnhaua a4hjjo 5w7ubu r3zdco ufqo4s cq";
+ }
root@hk-rse-p-fw002# commit
node1:
configuration check succeeds
[edit system license keys] 'key "JUNOS000000 aeaqia qminmt inbrgz aummbs guzaqb qcdxib rundbq pveqkl kvkekt rakncu gvksjf kesrkt ebee6t shebfu 6tsheb gfibzi wvwcx5 5454rv v57cgo o5nbmm jb3ku4 bezcup fnhaua a4hjjo 5w7ubu r3zdco ufqo4s cq"' JUNOS000000: license is for device: [CY4416AF0000], serial number of device is: [CY4916AF0000]
node0:
error: remote commit-configuration failed on node0
error: commit failed
The error message was because the device was in cluster status. When you use the "set" command to add the license key then commit the configuration, this set command need to commit on both nodes. However, when commit on node 0, the serial number of node0 cannot match with license's device serial number. So it will check-out fail as serial number mismatch.
So you can use "request system licence add terminal" to resolve this issue
https://supportportal.juniper.net/s/article/Junos-How-to-add-a-software-license-key