Comments (3)
Need more details here
- Are there common actions to be taken before and after any volume op?
- Are there specific actions to be taken for any volume op?
- Do the outcome of these pre/post actions change the atomicity of the volume op atom
- Do these pre/post actions cause changes to other cluster objects?
- Do these pre/post actions trigger any Notifications/Alerts/Flows/Atoms?
from gluster-integration.
Are there common actions to be taken before and after any volume op?
At the moment I dont any common action which are required before and after volume operation. Actions on existing volume like start rebalance etc need to have pre-check to make sure volume exists already. And post check to figure out if the said action was actually a success by checking the rebalance status for the volume. Check to find pre-existance of volume is common code which could be invoked from different flows.
Are there specific actions to be taken for any volume op?
This could be the case in some cases and should be ideally implemented as an atom and linked in the flow.
Do the outcome of these pre/post actions change the atomicity of the volume op atom
So currently the logic is such a way that if some pre-run fails, we dont continue to the actual atoms execution. Yes say during main atoms execution if it fails at certain stage, it might affect the atomicity of the volume. But detailed logging from the individual atoms and updation of the task with proper details might help end user to debug and revert the consequences. I dont think enough thought is given at the moment for ordering the atom's executions in a flow. The final solution to this is fore sure TaskFlow framework only I feel.
Do these pre/post actions cause changes to other cluster objects?
Few of the flows like rebalance, snapshots etc might affect other cluster objects as well. Mostly its like e.g. if rebalance started the cluster should not allow other actions. Even brick operation like delete etc should be disabled. This scenario in oVirt is handled with different levels of locking. Say for certain volume operation we hold lock at cluster level and no actions can be performed on any objects of the cluster. The hierarchy is cluster -> volume -> brick
Do these pre/post actions trigger any Notifications/Alerts/Flows/Atoms?
Again it depends on the specific flows and might be the case.
@r0h4n this PR is specific to create and delete volume flows only which are existing at the moment. May be I should change the description of the issue here :)
from gluster-integration.
Taken care as part of #154. Closing now.
from gluster-integration.
Related Issues (20)
- tendrl UI not showing volume details after sometime HOT 2
- Memory utilization on storage nodes goes high due to tendrl-gluster-integration HOT 1
- Fix the geo replication session reference in sds_sync HOT 1
- Based on GeoReplicationSession object in common need to add integration_id in gluster_integration GeoReplicationSession object also HOT 1
- Fix cluster object race condition issue HOT 1
- Unmanage Cluster results in error HOT 1
- Svc connected and disconnected alerts are raised only one node, other nodes alerts are not displayed in UI HOT 1
- Volume Capacity Utilization not working on RHEL 7.6. Beta HOT 1
- Profiling during import flow should be moved to a separate post import job HOT 1
- Remove blivet dependency from gluster-integration module HOT 1
- Volume Utilization calculation not happening for all volumes when all bricks of any one volume are down HOT 1
- Profiling disable option does not work during import. HOT 1
- During import flow volume enable and disable logic in gluster_integration sync took huge time HOT 1
- Profiling disabled after checking 'enable profiling' on import screen HOT 1
- Cluster import is failing when no block device have LVM type
- Import cluster is failing when one or more storage nodes does not have at least one lvm HOT 1
- Gluster volume option no longer use in RHSWA
- simple single node gluster server
- When down storage comes up before import cluster then is dumping ETCD with cluster data
- Excessive AFR messages from gluster showing in RHGSWA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluster-integration.