Cloud Bursting Amazon EC2 - Elastic IP

Hi,
I have an EC2 node on my OpenNebula 5.2.0
I am trying to run a VM with an Elastic IP.
I allocated an IP on EC2 and added it to the template in Hybrid->Elastic IP address field.
The VM is in running state but It doesn’t take the ip I associated.
Looking in the VM logs I see the following:

Tue Apr 18 07:23:13 2017 [Z0][VM][I]: New state is ACTIVE
Tue Apr 18 07:23:13 2017 [Z0][VM][I]: New LCM state is PROLOG
Tue Apr 18 07:23:13 2017 [Z0][VM][I]: New LCM state is BOOT
Tue Apr 18 07:23:13 2017 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/1567/deployment.0
Tue Apr 18 07:23:13 2017 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Apr 18 07:23:36 2017 [Z0][LCM][I]: VM reported RUNNING by the drivers
Tue Apr 18 07:23:36 2017 [Z0][VM][I]: New LCM state is RUNNING
Tue Apr 18 07:28:14 2017 [Z0][VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/ec2/deploy ‘/var/lib/one/vms/1567/deployment.0’ ‘eu-central-1’ 1567 eu-central-1
Tue Apr 18 07:28:14 2017 [Z0][VMM][I]: undefined method `associate_elastic_ip’ for #
Tue Apr 18 07:28:14 2017 [Z0][VMM][I]: Deploy of VM 1567 on host eu-central-1 with /var/lib/one/vms/1567/deployment.0 failed due to "exit"
Tue Apr 18 07:28:14 2017 [Z0][VMM][I]: ExitCode: 255
Tue Apr 18 07:28:14 2017 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Apr 18 07:28:14 2017 [Z0][VMM][E]: Error deploying virtual machine
Tue Apr 18 07:28:14 2017 [Z0][LCM][E]: deploy_failure_action, VM in a wrong state

What may cause this problem?

Thanks,
Valentina