[
https://issues.apache.org/jira/browse/CLOUDSTACK-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956931#comment-14956931
]
ASF GitHub Bot commented on CLOUDSTACK-8947:
--------------------------------------------
Github user karuturi commented on the pull request:
https://github.com/apache/cloudstack/pull/931#issuecomment-148048131
Hi @wilderrodrigues
I ran all the tests in smoke folder(BVT) on a setup with 2 xenserver 6.5
hosts in advanced zone.
All the tests passed except the below (which I think are not related)
```
2015-10-14 11:09:04,319 - CRITICAL - EXCEPTION: None: ['Traceback (most
recent call last):\n', ' File
"/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 209, in run\n
self.setUp()\n', ' File
"/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 292, in setUp\n
self.setupContext(ancestor)\n', ' File
"/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 315, in
setupContext\n try_run(context, names)\n', ' File
"/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run\n
return func()\n', ' File
"/root/cloudstack/test/integration/smoke/test_nicira_controller.py", line 46,
in setUpClass\n cls.nicira_hosts = cls.config.niciraNvp.hosts\n',
"AttributeError: 'NoneType' object has no attribute 'hosts'\n"]
```
```
2015-10-14 11:15:19,578 - CRITICAL - EXCEPTION:
test_02_scale_vm_without_hypervisor_specifics: ['Traceback (most recent call
last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n
testMethod()\n', ' File
"/root/cloudstack/test/integration/smoke/test_scale_vm.py", line 234, in
test_02_scale_vm_without_hypervisor_specifics\n
self.apiclient.scaleVirtualMachine(cmd)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 797, in scaleVirtualMachine\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', "Exception: Job failed: {jobprocstatus :
0, created : u'2015-10-14T11:15:14+0000', cmd :
u'org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin', userid :
u'120b6414-725c-11e5-9244-7278fd1d2943', jobstatus : 2, jobid :
u'3c667f1b-14b7-42cd-bdff-9bf1283561f2', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 431, errortext : u'Not upgrading vm
VM[User|i-33-66-VM] since it already has the requested service offering
(BigInstance)'}, accountid : u'120b521c-725c-11e5-9244-7278fd1d2943'}\n"]
```
```
2015-10-14 12:23:09,955 - CRITICAL - FAILED:
test_network_rules_acquired_public_ip_1_static_nat_rule: ['Traceback (most
recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 329,
in run\n testMethod()\n', ' File
"/usr/local/lib/python2.7/dist-packages/ddt.py", line 114, in wrapper\n
return func(self, *args, **kwargs)\n', ' File
"/root/cloudstack/test/integration/smoke/test_network.py", line 1245, in
test_network_rules_acquired_public_ip\n not removed from VR even after
disabling statin NAT")\n', ' File "/usr/lib/python2.7/unittest/case.py", line
416, in assertFalse\n raise self.failureException(msg)\n', 'AssertionError:
IP address is not removed from VR even after disabling statin
NAT\n']
2015-10-14 12:23:41,446 - CRITICAL - FAILED:
test_network_rules_acquired_public_ip_2_nat_rule: ['Traceback (most recent call
last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n
testMethod()\n', ' File "/usr/local/lib/python2.7/dist-packages/ddt.py", line
114, in wrapper\n return func(self, *args, **kwargs)\n', ' File
"/root/cloudstack/test/integration/smoke/test_network.py", line 1245, in
test_network_rules_acquired_public_ip\n not removed from VR even after
disabling statin NAT")\n', ' File "/usr/lib/python2.7/unittest/case.py", line
416, in assertFalse\n raise self.failureException(msg)\n', 'AssertionError:
IP address is not removed from VR even after disabling statin
NAT\n']
2015-10-14 12:24:23,283 - CRITICAL - FAILED:
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule: ['Traceback (most
recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 329,
in run\n testMethod()\n', ' File
"/usr/local/lib/python2.7/dist-packages/ddt.py", line 114, in wrapper\n
return func(self, *args, **kwargs)\n', ' File
"/root/cloudstack/test/integration/smoke/test_network.py", line 1245, in
test_network_rules_acquired_public_ip\n not removed from VR even after
disabling statin NAT")\n', ' File "/usr/lib/python2.7/unittest/case.py", line
416, in assertFalse\n raise self.failureException(msg)\n', 'AssertionError:
IP address is not removed from VR even after disabling statin
NAT\n']
```
I also manually tested and it works fine. I am able to ssh to the vm after
adding LB rule and firewall rule.
:+1:
Thanks for fixing it.
> Load Balancer not working with Isolated Networks
> ------------------------------------------------
>
> Key: CLOUDSTACK-8947
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8947
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router
> Affects Versions: 4.6.0
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
> Priority: Blocker
> Fix For: 4.6.0
>
>
> 1. acquire IP in an isolated network
> 2. go to ipaddress -> configuration -> firewall
> 3. add firewall exception for port 22
> 4. then add LB rule for port 22 to a user VM
> 5. try sshing to the new acquired ip(in step 1) --- ssh fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)