Skip to content

Commit 1d3405f

Browse files
authored
Merge pull request #24 from jrzeszutek/fix-retry-bad-request
added fix for failing preconfigure_nic & bumped the version to 2.0.3
2 parents 5266e4b + 90af778 commit 1d3405f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
- Attempt to decrease amount of superfluous API requests, however these calls are almost all inside of the client library.
55
2.0.2:
66
- Support some legacy types.
7+
2.0.3:
8+
- Fixed issue with RETRY BAD REQUEST in preconfigure_nic

cloudify_vcd/legacy/compute/tasks.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ def preconfigure_nic(vm_client, ctx, server, **kwargs):
194194
**kwargs)
195195
last_task = get_last_task(result)
196196
if not check_if_task_successful(resource, last_task):
197-
port_ctx.target.instance.runtime_properties['__RETRY_BAD_'
198-
'REQUEST'] = \
199-
True
200197
raise OperationRetry('Pending for operation completion.')
201198
operation_name = ctx.operation.name.split('.')[-1]
202199
expose_props(operation_name,

plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins:
33
vcd: &plugin_mapping
44
executor: central_deployment_agent
55
package_name: cloudify-vcloud-plugin
6-
package_version: '2.0.2'
6+
package_version: '2.0.3'
77
# legacy
88
vcloud: *plugin_mapping
99

0 commit comments

Comments
 (0)