salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

Salt Extension Modules for VMware

Results 92 salt-ext-modules-vmware issues
Sort by recently updated
recently updated
newest added

`tests/integration/modules/test_datastore.py` and `tests/integration/states/test_datastore.py` both use `integration_test_config["datastores"]`. We should modify those tests to get a datastore name (cached using a pytest fixture?), then modify it/restore its state; something like: ``` @pytest.fixture(scope="session")...

good first issue

`utils/vmware.py::get_datastore` uses some fancy traversal to make finding datastores more efficient. Unfortunately, when searching "everywhere" it doesn't search nested folders. This should probably be made to work with nested folders....

We cut a bunch of pre-release/rc versions of this module, we need to go back and document what was added to each of those versions.

I tried to follow the installation instructions listed here on a vRealize Automation SaltStack Config 8.6.1 appliance: https://github.com/waynew/salt-ext-modules-vmware/blob/quickstart-docs/docs/quickstart.rst Installation went fine, but the command to successfully test it didn't find...

```   | TypeError: expected string or bytes-like object ``` ``` def test_present(vmware_datacenter): """ Test scenarios for datacenter.present state run """ # datacenter.present on an existing datacenter. No changes should be...

test-failure

``` def test_manage_service(service_instance): """ Test manage services on esxi host """ SSH_SERVICE = "TSM-SSH" ret = esxi.manage_service( service_name=SSH_SERVICE, service_instance=service_instance, state="start", datacenter_name="Datacenter", cluster_name="Cluster", ) assert ret ret = esxi.list_services( service_name=SSH_SERVICE, service_instance=service_instance,...

test-failure

These tests failed for me when running the full test suite (i.e. `python -m tests-3`) with a fresh vcenter.conf and vmc.conf for testing: - [ ] [`tests.integration.modules.test_datacenter : test_get`](https://github.com/saltstack/salt-ext-modules-vmware/issues/150) -...

test-failure

Fresh VMC_CONFIG file ``` def test_state_transport_zone_verify(nsxt_config, salt_call_cli): response_create = salt_call_cli.run( "state.single", "nsxt_transport_zone.present", name="create transport zone", hostname=nsxt_config["hostname"], username=nsxt_config["username"], password=nsxt_config["password"], host_switch_name="nsxDefaultHostSwitch", transport_type="OVERLAY", verify_ssl=False, display_name=_display_name, description=_description, ) result_create = dict(list(response_create.json.values())[0])["result"] comment_create = dict(list(response_create.json.values())[0])["comment"]...

test-failure

fresh VMC_CONFIG file ``` def test_state_transport_node_verify(nsxt_config, salt_call_cli): response_create = salt_call_cli.run( "state.single", "nsxt_transport_node.present", name="create transport node", hostname=nsxt_config["hostname"], username=nsxt_config["username"], password=nsxt_config["password"], verify_ssl=False, display_name=_display_name, description="Create-Transport-Node", node_deployment_info=_node_deployment_info, ) result_create = dict(list(response_create.json.values())[0])["result"] comment_create = dict(list(response_create.json.values())[0])["comment"] >...

test-failure

Fresh VMC_CONFIG file ``` @pytest.fixture(autouse=True) def setup(nsxt_config): hostname, username, password = _get_server_info(nsxt_config) > ip_block_from_nsxt = _get_ip_block_by_display_name_using_nsxt_api( hostname, username, password, "IP_Block_Salt_State_FT" ) hostname = 'nsxt-hostname/ip' nsxt_config = {'cert': 'path-to-nsxt-cert.pem', 'compute_manager_server': 'compute-manager-server-ip',...

test-failure