Skip to content

Commit

Permalink
Merge pull request #24 from jrzeszutek/fix-retry-bad-request
Browse files Browse the repository at this point in the history
added fix for failing preconfigure_nic & bumped the version to 2.0.3
  • Loading branch information
EarthmanT authored Dec 15, 2021
2 parents 5266e4b + 90af778 commit 1d3405f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
- Attempt to decrease amount of superfluous API requests, however these calls are almost all inside of the client library.
2.0.2:
- Support some legacy types.
2.0.3:
- Fixed issue with RETRY BAD REQUEST in preconfigure_nic
3 changes: 0 additions & 3 deletions cloudify_vcd/legacy/compute/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ def preconfigure_nic(vm_client, ctx, server, **kwargs):
**kwargs)
last_task = get_last_task(result)
if not check_if_task_successful(resource, last_task):
port_ctx.target.instance.runtime_properties['__RETRY_BAD_'
'REQUEST'] = \
True
raise OperationRetry('Pending for operation completion.')
operation_name = ctx.operation.name.split('.')[-1]
expose_props(operation_name,
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins:
vcd: &plugin_mapping
executor: central_deployment_agent
package_name: cloudify-vcloud-plugin
package_version: '2.0.2'
package_version: '2.0.3'
# legacy
vcloud: *plugin_mapping

Expand Down

0 comments on commit 1d3405f

Please sign in to comment.