New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Salt Cloud fixes #59374
Salt Cloud fixes #59374
Conversation
f8fca46
to
3e76290
Compare
d663d28
to
14bf8bb
Compare
14bf8bb
to
cc8f7ad
Compare
cc8f7ad
to
1c1e0a9
Compare
@s0undt3ch do we need to update libcloud then? That's going to be a bit of work, most oses provide 2.2 I think. |
The libcloud requirent stays at 1.5.0, however, to use GCE, 2.5.0 is required. |
1c1e0a9
to
7d9c90a
Compare
256e9fe
to
f90d419
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think we are running joyent integration tests anymore. If so can we get some test coverage for that cloud provider since there was multiple changes.
Yes, unit tests. There is joyent unit tests currently but would be good to add one for the new change with node state (for example this method: joyent_node_state). I'm fine adding the tests in a separate PR. |
FYI, no new functionality was added to joyent. It was relying on a function from libcloud which no longer makes sense, but since we don't run integration tests against joyent, I just copied that function to joyent in order not to break it, that was it. |
80bb35e
fd6bf50
to
550e597
Compare
550e597
to
1959a42
Compare
```python Traceback (most recent call last): File "/tmp/kitchen/testing/salt/cloud/__init__.py", line 2349, in run_parallel_map_providers_query salt.utils.data.simple_types_filter(cloud.clouds[data["fun"]]()), File "/tmp/kitchen/testing/salt/loader.py", line 1182, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/tmp/kitchen/testing/salt/loader.py", line 2204, in run return self._last_context.run(self._run_as, method, *args, **kwargs) File "/tmp/kitchen/testing/.nox/pytest-cloud-3-coverage-false/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run return callable(*args, **kwargs) File "/tmp/kitchen/testing/salt/loader.py", line 2219, in _run_as return method(*args, **kwargs) File "/tmp/kitchen/testing/salt/cloud/clouds/vultrpy.py", line 163, in list_nodes nodes = list_nodes_full() File "/tmp/kitchen/testing/salt/cloud/clouds/vultrpy.py", line 176, in list_nodes_full nodes = _query("server/list") File "/tmp/kitchen/testing/salt/cloud/clouds/vultrpy.py", line 530, in _query opts=__opts__, File "/tmp/kitchen/testing/salt/loader.py", line 1182, in __call__ return self.loader.run(run_func, *args, **kwargs) TypeError: run() got multiple values for argument 'method' ```
1959a42
to
41a670c
Compare
What does this PR do?
See title
salt-cloud
failing to list nodes for recent versions ofapache-libcloud
#56589salt-cloud
Failed to get the output of 'gce.avail_images()' #56862