[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/684


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-8728:
-

Commit d3dc053b7d0da74b62121379dc7d4c9cf95dbf4e in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d3dc053 ]

Merge pull request #684 from 
pritisarap12/CLOUDSTACK-8728-Testcase-to-Verify-if-VRs-IP-changes-if-it-is-destroyed-and-re-created-in-Basic-Zone

CLOUDSTACK-8728: Testcase to Verify if VRs IP Testcase to check if VR's IP 
changes if it is destroyed and re-created in basic zone.

* pr/684:
  CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destroyed and 
re created in Basic Zone -Merging the testcase in exsiting testcase by 
adding support forbasic zone  -Merging two commits into single 
commit

Signed-off-by: sanjeev 


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-8728:
-

Commit 775ebc6ece557cc86ff11a8580a44d4d7cd17b9a in cloudstack's branch 
refs/heads/master from [~pritisarap12]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=775ebc6 ]

CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destroyed and re 
created in Basic Zone
-Merging the testcase in exsiting testcase by adding support for
basic zone
-Merging two commits into single commit


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-8728:
-

Commit d3dc053b7d0da74b62121379dc7d4c9cf95dbf4e in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d3dc053 ]

Merge pull request #684 from 
pritisarap12/CLOUDSTACK-8728-Testcase-to-Verify-if-VRs-IP-changes-if-it-is-destroyed-and-re-created-in-Basic-Zone

CLOUDSTACK-8728: Testcase to Verify if VRs IP Testcase to check if VR's IP 
changes if it is destroyed and re-created in basic zone.

* pr/684:
  CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destroyed and 
re created in Basic Zone -Merging the testcase in exsiting testcase by 
adding support forbasic zone  -Merging two commits into single 
commit

Signed-off-by: sanjeev 


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-8728:
-

Commit d3dc053b7d0da74b62121379dc7d4c9cf95dbf4e in cloudstack's branch 
refs/heads/master from sanjeev
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d3dc053 ]

Merge pull request #684 from 
pritisarap12/CLOUDSTACK-8728-Testcase-to-Verify-if-VRs-IP-changes-if-it-is-destroyed-and-re-created-in-Basic-Zone

CLOUDSTACK-8728: Testcase to Verify if VRs IP Testcase to check if VR's IP 
changes if it is destroyed and re-created in basic zone.

* pr/684:
  CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destroyed and 
re created in Basic Zone -Merging the testcase in exsiting testcase by 
adding support forbasic zone  -Merging two commits into single 
commit

Signed-off-by: sanjeev 


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2016-02-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-182751801
  
LGTM !!

Test router internal basic zone ... SKIP: Marvin configuration has no host 
credentials tocheck router services
Test router internal advanced zone ... SKIP: Marvin configuration has no 
host credentialsto check router services
Test restart network ... === TestName: test_03_restart_network_cleanup | 
Status : SUCCESS ===
ok
Test restart network without cleanup ... SKIP: Marvin configuration has no 
host credentialsto check router services
Test router basic setup ... === TestName: test_05_router_basic | Status : 
SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | 
Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS 
===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS 
===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : 
SUCCESS ===
ok

--
Ran 9 tests in 287.782s

OK (SKIP=3)




> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-10-15 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-148614442
  
@remibergsma:  I force pushed the commit and it is showing green signal now 
you can run the test.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-10-15 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-148344368
  
@prits09 Thanks! It seems Jenkins failed and I don't think it's you. Please 
force-push the commit again so the rests will re-run. After that, I'll run the 
test myself. 


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-10-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user prits09 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-147308519
  
squashed the commits into single commit.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-10-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-147172068
  
@pritisarap12 Please squash the commits, as there are now 2 merge commits 
and I cannot proceed like this. Make sure it has a single commit. Ping me if 
you need help with this.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-09-29 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-144003970
  
Merged the testcase in the existing testcase 
test_03_restart_network_cleanup by adding support for basic setup.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-09-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-143590546
  
@pritisarap12 Any update on this?


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-09-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-137535485
  
@miguelaferreira OK, check.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-09-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-137394628
  
@remibergsma `rebase -i` and deleting the line of the merge commit will get 
you what you want. I see that squashing would too, but then the problem is in 
the generalisation that tends to happen in the next PR someone makes. People 
might thing, let me squash everything before someone asks me to do it ;)


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135945903
  
@miguelaferreira If I recall correctly, `rebase -i` (where you'd usually 
squash stuff together and such) and doing nothing, will remove the merge commit 
already. It's better to say to rebase I guess ;-) End goal is indeed to keep 
only the first commit. Cc @pritisarap12 


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135894663
  
@remi: do you mean squash to get rid of the merge commit? Wouldn't the 
resulting commit have 2 parents? If so, that's not the solution.

Or do you mean squash all but the merge commit?


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135887682
  
@pritisarap12 Please squash the commits (get rid of the merge commit). We 
cannot merge it like this. Thanks!


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135792733
  
Something strange with this PR. The second commit merges master into the PR

Was this an attempt to bring in new changes from master? If that was the 
case, then a rebase would have been the better option.

@pritisarap12 can you please remove the merge commit, and rebase instead?
Let me know if you would like me to help you with that.



> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/684#discussion_r37973579
  
--- Diff: test/integration/smoke/test_routers.py ---
@@ -796,3 +830,122 @@ def test_09_reboot_router(self):
 "Router response after reboot is either is invalid\
 or in stopped state")
 return
+
+def check_virtual_machine_accessibility(self, virtual_machine):
+response = virtual_machine.getState(
+self.userapiclient,
+VirtualMachine.RUNNING
+)
+self.assertEqual(response[0], PASS, "Virtual machine is not 
running")
+
+# Check VM Accessibility
+try:
+SshClient(host=virtual_machine.ssh_ip,
+  port=self.services['natrule']['publicport'],
+  user=virtual_machine.username,
+  passwd=virtual_machine.password)
+except Exception as e:
+raise Exception("Error while trying SSH to VM: %s" % e)
+
+def try_ssh_to_host(self):
+list_virtual_machine_response = list_virtual_machines(
+self.apiclient,
+listall=True)
+status = validateList(list_virtual_machine_response)
+self.assertEqual(
+status[0],
+PASS,
+"VM List Validation Failed due to %s" %
+status[2])
+
+host_id = list_virtual_machine_response[0].hostid
+list_host_response = list_hosts(self.apiclient, id=host_id)
+status = validateList(list_host_response)
+self.assertEqual(
+status[0],
+PASS,
+"Host List Validation Failed due to %s" %
+status[2])
+
+self.services['hosts'][self.hypervisor.lower()]['password'] = 
"xenroot"
+ssh_object = SshClient(
+host=list_host_response[0].ipaddress,
+port=self.services['natrule']['publicport'],
+
user=self.services['hosts'][self.hypervisor.lower()]['username'],
+
passwd=self.services['hosts'][self.hypervisor.lower()]['password']
+)
+hostname_from_host = ssh_object.execute("uname -n")
+ssh_object.execute("ssh-keygen -R %s" % hostname_from_host[0])
+ssh_object.execute("exit")
+return ssh_object
--- End diff --

What is the guarantee that  RouterVM and Guest vm will be on the same host? 
We have to the host id of the VR and  get the ssh object for that host.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/684#discussion_r37973474
  
--- Diff: test/integration/smoke/test_routers.py ---
@@ -796,3 +830,122 @@ def test_09_reboot_router(self):
 "Router response after reboot is either is invalid\
 or in stopped state")
 return
+
+def check_virtual_machine_accessibility(self, virtual_machine):
+response = virtual_machine.getState(
+self.userapiclient,
+VirtualMachine.RUNNING
+)
+self.assertEqual(response[0], PASS, "Virtual machine is not 
running")
+
+# Check VM Accessibility
+try:
+SshClient(host=virtual_machine.ssh_ip,
+  port=self.services['natrule']['publicport'],
+  user=virtual_machine.username,
+  passwd=virtual_machine.password)
+except Exception as e:
+raise Exception("Error while trying SSH to VM: %s" % e)
+
+def try_ssh_to_host(self):
+list_virtual_machine_response = list_virtual_machines(
+self.apiclient,
+listall=True)
+status = validateList(list_virtual_machine_response)
+self.assertEqual(
+status[0],
+PASS,
+"VM List Validation Failed due to %s" %
+status[2])
+
+host_id = list_virtual_machine_response[0].hostid
+list_host_response = list_hosts(self.apiclient, id=host_id)
+status = validateList(list_host_response)
+self.assertEqual(
+status[0],
+PASS,
+"Host List Validation Failed due to %s" %
+status[2])
+
+self.services['hosts'][self.hypervisor.lower()]['password'] = 
"xenroot"
+ssh_object = SshClient(
+host=list_host_response[0].ipaddress,
+port=self.services['natrule']['publicport'],
+
user=self.services['hosts'][self.hypervisor.lower()]['username'],
+
passwd=self.services['hosts'][self.hypervisor.lower()]['password']
+)
+hostname_from_host = ssh_object.execute("uname -n")
+ssh_object.execute("ssh-keygen -R %s" % hostname_from_host[0])
+ssh_object.execute("exit")
+return ssh_object
+
+def get_inet_address(self, ssh_object):
+list_ssvm_response = list_ssvms(
+self.apiclient,
+systemvmtype='secondarystoragevm'
+)
+status = validateList(list_ssvm_response)
+self.assertEqual(
+status[0],
+PASS,
+"SSVM List Validation Failed due to %s" %
+status[2])
+
+command = "ssh  -o StrictHostKeyChecking=no -i 
/root/.ssh/id_rsa.cloud %s -p 3922 'ifconfig eth0'" \
+% list_ssvm_response[0].linklocalip
+ssh_response = ssh_object.execute(command)
--- End diff --

What are we trying to get here? linklocalip and "ifconfig eth0" would be 
same on SSVM. You may have to check this for Router VM. Please modify this 
method implementation.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/684#discussion_r37973271
  
--- Diff: test/integration/smoke/test_routers.py ---
@@ -796,3 +830,122 @@ def test_09_reboot_router(self):
 "Router response after reboot is either is invalid\
 or in stopped state")
 return
+
+def check_virtual_machine_accessibility(self, virtual_machine):
+response = virtual_machine.getState(
+self.userapiclient,
+VirtualMachine.RUNNING
+)
+self.assertEqual(response[0], PASS, "Virtual machine is not 
running")
+
+# Check VM Accessibility
+try:
+SshClient(host=virtual_machine.ssh_ip,
+  port=self.services['natrule']['publicport'],
+  user=virtual_machine.username,
+  passwd=virtual_machine.password)
+except Exception as e:
+raise Exception("Error while trying SSH to VM: %s" % e)
+
+def try_ssh_to_host(self):
+list_virtual_machine_response = list_virtual_machines(
+self.apiclient,
+listall=True)
+status = validateList(list_virtual_machine_response)
+self.assertEqual(
+status[0],
+PASS,
+"VM List Validation Failed due to %s" %
+status[2])
+
+host_id = list_virtual_machine_response[0].hostid
+list_host_response = list_hosts(self.apiclient, id=host_id)
+status = validateList(list_host_response)
+self.assertEqual(
+status[0],
+PASS,
+"Host List Validation Failed due to %s" %
+status[2])
+
+self.services['hosts'][self.hypervisor.lower()]['password'] = 
"xenroot"
+ssh_object = SshClient(
+host=list_host_response[0].ipaddress,
+port=self.services['natrule']['publicport'],
+
user=self.services['hosts'][self.hypervisor.lower()]['username'],
+
passwd=self.services['hosts'][self.hypervisor.lower()]['password']
+)
+hostname_from_host = ssh_object.execute("uname -n")
+ssh_object.execute("ssh-keygen -R %s" % hostname_from_host[0])
+ssh_object.execute("exit")
+return ssh_object
+
+def get_inet_address(self, ssh_object):
+list_ssvm_response = list_ssvms(
+self.apiclient,
+systemvmtype='secondarystoragevm'
+)
+status = validateList(list_ssvm_response)
+self.assertEqual(
+status[0],
+PASS,
+"SSVM List Validation Failed due to %s" %
+status[2])
+
+command = "ssh  -o StrictHostKeyChecking=no -i 
/root/.ssh/id_rsa.cloud %s -p 3922 'ifconfig eth0'" \
+% list_ssvm_response[0].linklocalip
+ssh_response = ssh_object.execute(command)
+return ssh_response[1]
+
+@attr(tags=['basic'], required_hardware="true")
+def test_10_vr_has_same_ip(self):
+""" Check if Virtual Router has same IP after network restart or 
not.
+1. Deploy VM and check it's accessibility
+2. Try SSH to host
+3. Get link local IP and inet address of SSVM
+4. Restart network with cleanup option true
+5. Deploy another VM and check it's Inet address
+"""
+
+# Step 1: Deploy VM and check it's accessibility
+self.check_virtual_machine_accessibility(self.vm_1)
+
+# Step 2: Try SSH to host
+ssh_object = self.try_ssh_to_host()
+
+# Step 3: Get local IP and inet address of SSVM
+inet_address_before_restart = self.get_inet_address(ssh_object)
+
+# Step 4: Restart network with cleanup option true
+network_details = list_networks(
+self.apiclient,
+account=self.account.name
+)
+status = validateList(network_details)
+self.assertEqual(
+status[0],
+PASS,
+"Network List Validation Failed due to %s" %
+status[2])
+
+cmd = restartNetwork.restartNetworkCmd()
+cmd.id = network_details[0].id
+cmd.cleanup = True
+self.apiclient.restartNetwork(cmd)
+
+# Step 5: Depl

[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/684#discussion_r37972977
  
--- Diff: test/integration/smoke/test_routers.py ---
@@ -796,3 +830,122 @@ def test_09_reboot_router(self):
 "Router response after reboot is either is invalid\
 or in stopped state")
 return
+
+def check_virtual_machine_accessibility(self, virtual_machine):
+response = virtual_machine.getState(
+self.userapiclient,
+VirtualMachine.RUNNING
+)
+self.assertEqual(response[0], PASS, "Virtual machine is not 
running")
+
+# Check VM Accessibility
+try:
+SshClient(host=virtual_machine.ssh_ip,
+  port=self.services['natrule']['publicport'],
+  user=virtual_machine.username,
+  passwd=virtual_machine.password)
+except Exception as e:
+raise Exception("Error while trying SSH to VM: %s" % e)
+
+def try_ssh_to_host(self):
+list_virtual_machine_response = list_virtual_machines(
+self.apiclient,
+listall=True)
+status = validateList(list_virtual_machine_response)
+self.assertEqual(
+status[0],
+PASS,
+"VM List Validation Failed due to %s" %
+status[2])
+
+host_id = list_virtual_machine_response[0].hostid
+list_host_response = list_hosts(self.apiclient, id=host_id)
+status = validateList(list_host_response)
+self.assertEqual(
+status[0],
+PASS,
+"Host List Validation Failed due to %s" %
+status[2])
+
+self.services['hosts'][self.hypervisor.lower()]['password'] = 
"xenroot"
--- End diff --

Can you please remove the hardcoded password for the host and see if you 
can get from the config file?


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-134919215
  
LGTM


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-134489114
  
Testcase result:

Check if Virtual Router has same IP after network restart or not. ... === 
TestName: test_10_vr_has_same_ip | Status : SUCCESS ===
ok

--
Ran 1 test in 294.769s

OK


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-134488914
  
Merged the testcase in test_routers.py file.


> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-130273467
  
Testcase result:

Check if Virtual Router has same IP after network restart or not. ... === 
TestName: test_01_vr_has_same_ip | Status : SUCCESS ===
ok

--
Ran 1 test in 245.730s

OK



> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8728) Testcase to Verify if VRs IP changes if it is destroyed and re-created in Basic Zone

2015-08-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8728:


GitHub user pritisarap12 opened a pull request:

https://github.com/apache/cloudstack/pull/684

CLOUDSTACK-8728: Testcase to Verify if VRs IP 

Testcase to check if VR's IP changes if it is destroyed and re-created in 
basic zone.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pritisarap12/cloudstack 
CLOUDSTACK-8728-Testcase-to-Verify-if-VRs-IP-changes-if-it-is-destroyed-and-re-created-in-Basic-Zone

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/684.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #684


commit ea0d5ca141c3b73f212be37953b96b823b179600
Author: Priti Sarap 
Date:   2015-08-12T11:58:04Z

CLOUDSTACK:8728-Testcase to Verify if VRs IP changes if it is destroyed and 
re created in Basic Zone




> Testcase to Verify if VRs IP changes if it is destroyed and re-created in 
> Basic Zone
> 
>
> Key: CLOUDSTACK-8728
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8728
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.1
>Reporter: Priti Sarap
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)