[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115236#comment-14115236
 ] 

Alex Brett commented on CLOUDSTACK-7448:
----------------------------------------

I think I understand what's happened here - the code in test_lb_secondary_ip.py 
is using the testdata['natrule'] settings even though it has created a rule 
using the testdata['lbrule'] settings. As such in the previous configuration it 
created a rule for port 2222, then tried to SSH to port 22. The fix in the 
commit from CLOUDSTACK-4840 changed lbrule to use the same port as natrule, but 
this has other side effects.

I've got a patch prepared which changes lbrule back to use 2222, and alters 
test_lb_secondary_ip.py to use lbrule where necessary - running the tests now 
to make sure the changes work correctly, then will post it for review...

> [Automation] test_delete_account and test_releaseIP failing in advanced zone
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7448
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7448
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.5.0
>            Reporter: Alex Brett
>            Assignee: Alex Brett
>             Fix For: 4.5.0
>
>
> Advanced zone BVTs are currently seeing two test failures:
> integration.smoke.test_network.TestDeleteAccount.test_delete_account
> integration.smoke.test_network.TestReleaseIP.test_releaseIP
> In both cases the failure is:
> {noformat}
> Execute cmd: createloadbalancerrule failed, due to: errorCode: 537, 
> errorText:The range specified, 22-22, conflicts with rule 55 which has 22-22
> {noformat}
> This appears to be due to this commit from CLOUDSTACK-4840, which changed 
> test_data.py to specify the publicport for the lbrule as 22 and not 2222: 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=134a868



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to