IP routing is enabled by default on the HPE 5120's so you don't need to explicitly enable routing.
This could be a configuration issue. Create IP interfaces for the two VLANs on the switch and try to do source pings.
<HP5120>ping -a <source ip> <dest ip>
If successful inter-VLAN routing is working. You ay want to focus on configuration.
Hope this helps.