-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zos3: support update of some of workloads #1425
Comments
RequirementsWas thinking about the cleanest way to implement this without sacrifice correctness of the operation. Came across this set of requirements
This all pushes toward a different persisted workload storage (currently deployments are stored as single files). Instead the abstract structure of storage need to reflect "transactions" where transactions can itself container 'data', 'state' and error. and the final state of the object is computed by scanning the transactions and compute the final state/data of the workload.
for example the previous workload state will still be ok, but with the data provided on install.
|
Get Deployment operation need to be backward compatible. A Get operation need to return the same data (current state) of the deployment. |
The provision engine need to handle the failure to update differently than an install update. The problem is a failed update does not mean that the reservation is gone.
For example, increase a disk size can fail, but doesn't mean the disk is gone so the disk state should still be okay but we need to report back that the operation of the resize has failed. This is currently is not possible, because a workload can only hold ONE error message that is associated with the workload state.
I suggest that a workload can have instead (State) which is basically the current disk state. And also a List of (states) that are associated with operations.
For example
The text was updated successfully, but these errors were encountered: