Closed (fixed)
Project:
Cloud
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Nov 2018 at 06:47 UTC
Updated:
12 Dec 2018 at 05:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
xiaohua guan commentedIf elastic ip is created as standard type, the domain of the new elastic IP entity will be standard, but US region don't support standard type, the vpc one will be created.
When deleting the entity, the ip address will be passed as parameter, but because the real type is vpc, allocation id is needed. Therefore, the elastic ip can't be deleted.
Comment #3
xiaohua guan commentedComment #4
xiaohua guan commented@yas
Please review.
Comment #5
xiaohua guan commentedComment #6
yas@xiaohua-guan Thank you for providing the patch including the test code.
@baldwinlouie Could you please review the patch?
Comment #7
baldwinlouie commented@xiaohua-guan, I looked at this patch. Instead of directly calling this:
Can you please add a helper method to ElasticIp.php such as setDomain(). Then in ElasticIpCreateForm.php's save() method, use the helper method instead of calling
This will make it consistent with how the other attributes are set.
Comment #8
xiaohua guan commentedComment #9
xiaohua guan commentedComment #10
xiaohua guan commentedComment #11
xiaohua guan commented@baldwinlouie
Thanks for your review. I changed code as you said. Please review it again.
Comment #12
baldwinlouie commentedMarking RTBC
Comment #14
yas@xiaohua-guan
@baldwinlouie
Thank you for your contributions. I merged that patch successfully.