[
https://issues.apache.org/jira/browse/CLOUDSTACK-8758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711747#comment-14711747
]
ASF GitHub Bot commented on CLOUDSTACK-8758:
--------------------------------------------
Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/737#issuecomment-134695303
LGTM - Deployed a full stack Nicira environment: 3 controllers, a manager,
a service node and 2 KVM hypervisors, all inside my development VM:
```
# virsh list
Id Name State
----------------------------------------------------
42 nsxmgr1 running
43 nsxcon1 running
44 nsxsvc1 running
48 kvm1 running
49 nsxcon2 running
50 nsxcon3 running
52 kvm2 running
54 cs1 running
```
Then I ran the Marvin tests:
```
# nosetests --with-marvin
--marvin-config=/data/shared/marvin/mct-zone1-kvm1-NVP.cfg -s -a
tags=advanced,required_hardware=true
test/integration/smoke/test_nicira_controller.py
test_01_nicira_controller
(integration.smoke.test_nicira_controller.TestNiciraContoller) ... ===
TestName: test_01_nicira_controller | Status : SUCCESS ===
ok
Nicira clusters will redirect clients (in this case ACS) to the master
node. ... === TestName: test_02_nicira_controller_redirect | Status : SUCCESS
===
ok
----------------------------------------------------------------------
Ran 2 tests in 766.910s
OK
```
BTW: The Marvin data center config file is available here:
https://github.com/schubergphilis/MCT-shared/blob/master/marvin/mct-zone1-kvm1-NVP.cfg
> Handle redirects in communication with NXS controller (a.k.a. Nicira NVP)
> -------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8758
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8758
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Devices
> Reporter: Miguel Ferreira
> Priority: Minor
> Fix For: 4.6.0
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> When setup in a cluster, NSX controllers will redirect calls to the cluster
> master. However, the NiciraNvp plugin does not handle those redirects
> correctly. The underlying HTTP client will transparently redirect calls, but
> the plugin will aways override the target host to the initial value.
> The underlying HTTP library being used at the moment is Apache HTTP Commons,
> which has been superseded by Apache HTTP Components which introduces a new
> architecture. This library should be upgraded to the new architecture since
> this will make it easier to transparently handle redirects,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)