Skip Menu |
 

This queue is for tickets about the VM-EC2 CPAN distribution.

Report information
The Basics
Id: 95840
Status: new
Priority: 0/
Queue: VM-EC2

People
Owner: Nobody in particular
Requestors: a.antonov [...] worldproltd.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: associate_address doesn't work for VPC IPs
Date: Wed, 21 May 2014 23:42:43 +0400
To: <bug-VM-EC2 [...] rt.cpan.org>
From: Andrey Antonov <a.antonov [...] worldproltd.com>
Download (untitled) / with headers
text/plain 624b
Hello, I use VM::EC2 1.25 on my VPC EC2 instance. How to reproduce bug: use VM::EC2; use VM::EC2::Instance::Metadata; my $meta = VM::EC2::Instance::Metadata->new(); my $ec2 = VM::EC2->new( '-access_key' => '...', '-secret_key' => '...', '-raise_error' => 1, ); my ($instance) = $ec2->describe_instances('-instance_id' => [$meta->instanceId]); $instance->associate_address('my_vpc_public_ip_address'); Script crashes with the following error: [InvalidParameterCombination] You must specify an allocation id when mapping an address to a VPC instance, at API call 'AssociateAddress' -- Best regards, Andrey Antonov
Subject: Re: [rt.cpan.org #95840] AutoReply: associate_address doesn't work for VPC IPs
Date: Wed, 21 May 2014 23:54:24 +0400
To: <bug-VM-EC2 [...] rt.cpan.org>
From: Andrey Antonov <a.antonov [...] worldproltd.com>
Download (untitled) / with headers
text/plain 170b
Sorry for this ticket, this is my mistake, the correct code for VPC is my ($addr) = $ec2->describe_addresses('my_vpc_publick_ip'); $instance->associate_address($addr);


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.