Skip to content

Conversation

@Hamdy-khader
Copy link
Collaborator

No description provided.

Copy link
Contributor

@schmidt-scaled schmidt-scaled left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am still not sure this is right:
nodes = db_controller.get_primary_storage_nodes_by_secondary_node_id(node.get_id())
if nodes:
sec_node = nodes[0]
ret, err = node.rpc_client().jc_suspend_compression(jm_vuid=sec_node.jm_vuid, suspend=False)

you are getting the PRIMARIES by the secondary node id. So in nodes, you have a primary node and thus the sec_node.jm_vuid also contains the PRIMARY lvolstore vuid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants