OS Name/Version: Ubuntu 20.04
Product Name/Version: 2.3.2.12
Problem Description:
I’m running AMP in a VM with Ubuntu 20.04 as the guest. I lost the VM configuration definition during a server upgrade. I recreated the VM definition, reusing the original block device for storage. This of course regenerated the virtual network MAC address, which I know is one key used for the license validation.
The log for the instance indicates “No valid AMP license was found. Please run ‘ampinstmgr reactivate test’ to reactivate this instance.” (‘test’ is the name of the instance.)
I run the command as instructed, after shutting down ADS01 first, enter the license. The console log output looks fine. I restart ADS01, but I am still not able to start the instance. The same message appears in the instance log again.
I also have “Automatically reactivate instances” enabled, but this still doesn’t help.
How can I fix this and reactivate the instance?
Update:
As a last-ditch attempt, I rebooted the Ubuntu guest, and this time the instance started successfully, but I could not connect to it for management.
I restarted the instance, and now have the same instance log error again about the activation.
Update 2:
I just rolled back the server config, grabbed the old MAC address from the VM definition, rolled forward the server config, updated the new VM definition with the old MAC address, rolled back the VM’s block device to the last snapshot, and I’m back in business.
It does seem like reactivating the license is fragile for me, though. I am not sure why my earlier attempt to reactivate with a different MAC address wasn’t working.