Skip to content

[skip ci] Add test for no-DRS VCH create with RP options#7881

Merged
anchal-agrawal merged 1 commit intovmware:masterfrom
anchal-agrawal:7275-tests
May 4, 2018
Merged

[skip ci] Add test for no-DRS VCH create with RP options#7881
anchal-agrawal merged 1 commit intovmware:masterfrom
anchal-agrawal:7275-tests

Conversation

@anchal-agrawal
Copy link
Contributor

This commit adds an integration test in Group19-DRS-Disabled to
verify that during a VCH create, vic-machine checks for the DRS
setting in the targeted cluster and also warns if any command
options specific to resource pools are supplied, since they will
be ignored as they are not applicable in a DRS-disabled env.

Towards #7275

@codecov-io
Copy link

codecov-io commented May 2, 2018

Codecov Report

Merging #7881 into master will decrease coverage by 4.71%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7881      +/-   ##
==========================================
- Coverage   31.05%   26.34%   -4.72%     
==========================================
  Files         295       37     -258     
  Lines       43709     5189   -38520     
==========================================
- Hits        13576     1367   -12209     
+ Misses      28951     3715   -25236     
+ Partials     1182      107    -1075
Impacted Files Coverage Δ
lib/portlayer/network/link_linux.go
lib/config/dynamic/merger.go
lib/apiservers/service/restapi/handlers/vch_get.go
lib/imagec/storage.go
lib/portlayer/exec/commit.go
pkg/vsphere/performance/vm_subscription.go
lib/apiservers/engine/proxy/system_proxy.go
pkg/trace/operation.go
lib/portlayer/exec/container.go
pkg/vsphere/diag/diag.go
... and 248 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34ee4ac...bf08dd8. Read the comment docs.

@anchal-agrawal anchal-agrawal changed the title Add test for no-DRS VCH create with RP options [skip ci] Add test for no-DRS VCH create with RP options May 2, 2018
Copy link
Contributor

@mhagen-vmware mhagen-vmware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, however it looks like to me that the robo manual test jenkins job is still not setup. We should not continue to add much more tests without getting that finished.

This test requires access to VMware Nimbus cluster for dynamic ESXi and vCenter creation. This test should be executed in the following topologies and should have vSAN enabled.
* 1 vCenter host with 3 clusters, where 1 cluster has 1 ESXi host and the other 2 clusters have 3 ESXi hosts each
* 2 vCenter hosts connected with ELM, where each vCenter host has a cluster/host/datacenter topology that emulates a customer environment (exact topology TBD)
* 1 PSC linking 2 VCs, each containing a 3-host cluster with VSAN enabled and DRS disabled, and a single host cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why this test needs any of these features other than a simple cluster with DRS disabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

This commit adds an integration test in Group19-DRS-Disabled to
verify that during a VCH create, vic-machine checks for the DRS
setting in the targeted cluster and also warns if any command
options specific to resource pools are supplied, since they will
be ignored as they are not applicable in a DRS-disabled env.

Towards vmware#7275
@anchal-agrawal anchal-agrawal merged commit e3991c1 into vmware:master May 4, 2018
zjs pushed a commit to zjs/vic that referenced this pull request Jul 19, 2018
This commit adds an integration test in Group19-DRS-Disabled to
verify that during a VCH create, vic-machine checks for the DRS
setting in the targeted cluster and also warns if any command
options specific to resource pools are supplied, since they will
be ignored as they are not applicable in a DRS-disabled env.

Towards vmware#7275

(cherry picked from commit e3991c1)
zjs pushed a commit to zjs/vic that referenced this pull request Jul 27, 2018
…8151)

This commit adds an integration test in Group19-DRS-Disabled to
verify that during a VCH create, vic-machine checks for the DRS
setting in the targeted cluster and also warns if any command
options specific to resource pools are supplied, since they will
be ignored as they are not applicable in a DRS-disabled env.

Towards vmware#7275

(cherry picked from commit e3991c1)
zjs pushed a commit that referenced this pull request Jul 27, 2018
This commit adds an integration test in Group19-DRS-Disabled to
verify that during a VCH create, vic-machine checks for the DRS
setting in the targeted cluster and also warns if any command
options specific to resource pools are supplied, since they will
be ignored as they are not applicable in a DRS-disabled env.

Towards #7275

(cherry picked from commit e3991c1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants