You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/05/20 20:49:17 UTC
[jira] [Commented] (CLOUDSTACK-2589) [Automation] Failed to ssh to
LB enabled VM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662268#comment-13662268 ]
Rayees Namathponnan commented on CLOUDSTACK-2589:
-------------------------------------------------
When creating LB rule using a different private port and public port , results in the both public port and private port to be saved as public port.
2013-05-20 14:43:07,244 INFO [cloud.api.ApiServer] (catalina-exec-12:null) (userId=2 accountId=2 sessionId=32AB19FB4
A4CD8DF66D8241FE82E302A) 10.216.132.84 -- GET command=createLoadBalancerRule&response=json&sessionkey=GhixshNIsB6oSli
kZNrrvWwLwec%3D&algorithm=roundrobin&name=LBs&privateport=22&publicport=2222&openfirewall=false&networkid=556d45d3-4a
fb-44e5-9e3c-1386fc41f01f&publicipid=e83cd0b1-2c22-48a0-9d32-43d545c5097d&_=1369075294821 200 { "createloadbalancerru
leresponse" : {"id":"99a56e3b-1145-4570-a569-53971d55c879","jobid":"0e523a52-ebe2-4288-8c0a-6b9f0c39e278"} }
mysql> select * from load_balancing_rules;
+-----+------+-------------+--------------------+------------------+------------+-------------------+------------------------------+--------+
| id | name | description | default_port_start | default_port_end | algorithm | source_ip_address | source_ip_address_network_id | scheme |
+-----+------+-------------+--------------------+------------------+------------+-------------------+------------------------------+--------+
| 156 | LBs | NULL | 2222 | 2222 | roundrobin | NULL | NULL | Public |
+-----+------+-------------+--------------------+------------------+------------+-------------------+------------------------------+--------+
1 row in set (0.00 sec)
2013-05-20 14:43:07,186 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===START=== 10.216.132.84 -- GET comma
nd=createLoadBalancerRule&response=json&sessionkey=GhixshNIsB6oSlikZNrrvWwLwec%3D&algorithm=roundrobin&name=LBs&priva
teport=22&publicport=2222&openfirewall=false&networkid=556d45d3-4afb-44e5-9e3c-1386fc41f01f&publicipid=e83cd0b1-2c22-
48a0-9d32-43d545c5097d&_=1369075294821
2013-05-20 14:43:07,211 INFO [cloud.network.NetworkManagerImpl] (catalina-exec-12:null) Let VirtualRouter handle Lb
in network 371
2013-05-20 14:43:07,223 DEBUG [network.firewall.FirewallManagerImpl] (catalina-exec-12:null) No network rule conflict
s detected for Rule[156-LoadBalancing-Staged] against 1 existing rules
2013-05-20 14:43:07,224 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-12:null) Load balancer 156 fo
r Ip address id=26, public port 2222, private port 22 is added successfully.
2013-05-20 14:43:07,243 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-12:null) submit async job-1025, detail
s: AsyncJobVO {id:1025, userId: 2, accountId: 2, sessionKey: null, instanceType: FirewallRule, instanceId: 156, cmd:
org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRuleCmd, cmdOriginator: null, cmdInfo: {"sessio
nkey":"GhixshNIsB6oSlikZNrrvWwLwec\u003d","ctxUserId":"2","httpmethod":"GET","openfirewall":"false","publicipid":"e83
cd0b1-2c22-48a0-9d32-43d545c5097d","algorithm":"roundrobin","response":"json","privateport":"22","id":"156","name":"L
Bs","publicport":"2222","_":"1369075294821","ctxAccountId":"2","networkid":"556d45d3-4afb-44e5-9e3c-1386fc41f01f","ct
xStartEventId":"4921"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCod
e: 0, result: null, initMsid: 29066118877352, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-05-20 14:43:07,244 DEBUG [cloud.api.ApiServlet] (catalina-exec-12:null) ===END=== 10.216.132.84 -- GET command
=createLoadBalancerRule&response=json&sessionkey=GhixshNIsB6oSlikZNrrvWwLwec%3D&algorithm=roundrobin&name=LBs&private
port=22&publicport=2222&openfirewall=false&networkid=556d45d3-4afb-44e5-9e3c-1386fc41f01f&publicipid=e83cd0b1-2c22-48
a0-9d32-43d545c5097d&_=1369075294821
> [Automation] Failed to ssh to LB enabled VM
> --------------------------------------------
>
> Key: CLOUDSTACK-2589
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2589
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Network Controller
> Affects Versions: 4.0.2
> Environment: Master commit 776921a5f7d7cb944e5cc47766c264480cc9fb9f
> KVM , VM ware and Xen automation runs
> Reporter: Rayees Namathponnan
> Priority: Blocker
> Fix For: 4.2.0
>
>
> Automation test cases
> /test/integration/smoke/test_network.py
> Steps to reproduce
> Run BVT test test_network.py:TestLoadBalancingRule
> or
> Step 1 : Create advance zone, create VM and new Network
> Step 2 : Create LB rule Private port 22, pubic port 2222
> Step 3 : Create Firewall, start port : 2222 and end port : 2222
> Step 4 : login into the VM trough SSH
> Actual Result
> Failed to login to the VM
> While create LB, if you set Private port to 22, its storing as 2222
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira