Skip to content

Commit

Permalink
revert-skip-external-update (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadiesa-abu authored Dec 7, 2023
1 parent e9f9757 commit 2b67e2f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 13 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2.20.14:
- Revert skip external resources update.
2.20.13:
- Remove RSA lib pin.
2.20.12:
Expand Down
2 changes: 1 addition & 1 deletion cloudify_vsphere/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.20.13'
version = '2.20.14'
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:
vsphere:
executor: central_deployment_agent
package_name: cloudify-vsphere-plugin
package_version: '2.20.13'
package_version: '2.20.14'

data_types:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:
vsphere:
executor: central_deployment_agent
package_name: cloudify-vsphere-plugin
package_version: '2.20.13'
package_version: '2.20.14'

data_types:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:
vsphere:
executor: central_deployment_agent
package_name: cloudify-vsphere-plugin
package_version: '2.20.13'
package_version: '2.20.14'
properties_description: |
Manage vSphere resources.
properties:
Expand Down
2 changes: 1 addition & 1 deletion v2_plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins:
vsphere:
executor: central_deployment_agent
package_name: cloudify-vsphere-plugin
package_version: '2.20.13'
package_version: '2.20.14'

data_types:

Expand Down
4 changes: 0 additions & 4 deletions vsphere_server_plugin/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,10 +1102,6 @@ def check_drift(server_client, **_):
resource_name=server_obj.name))
ctx.instance.refresh()

# if external we want to mark it as no drift , so we won't trigger upate
if ctx.node.properties.get('use_external_resource', False):
return False

expected_configuration = ctx.instance.runtime_properties.get(
'expected_configuration')
current_configuration = {}
Expand Down
4 changes: 0 additions & 4 deletions vsphere_storage_plugin/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ def check_drift(storage_client, **_):
'Checking drift state for {resource_name}.'.format(
resource_name=resource_name))

# if external we want to mark it as no drift , so we won't trigger upate
if ctx.node.properties.get('use_external_resource', False):
return False

# get new storage_size from update
storage_size = ctx.node.properties['storage'].get('storage_size')
current_size = ctx.instance.runtime_properties.get(VSPHERE_STORAGE_SIZE)
Expand Down

0 comments on commit 2b67e2f

Please sign in to comment.