Comments (12)
If a local volume is deleted what happens to volumes on remote nodes?
My opinion is that remote copies of volumes should aim to track the masters - so that if the master is deleted all remote copies are deleted as well. This would avoid confusing conflicts when a volume is deleted and created again with the same name.
from flocker.
That makes sense. On the other hand: imagine a host gets taken over by an attacker. You don't want data to be automatically destroyed on other hosts if one host is compromised. Maybe when master deletes it the remotes should rename it? Or maybe ZFS-level names should be UUIDs, and then just because name chosen by human is reused there's still no conflicts (but that may result in confusing UI).
In any case this is out of scope for this issue, which is just the low-level single node delete operation.
from flocker.
I would be in favour of renames. One of the lessons I'd like to take away from HybridCluster is that having opaque data structures does not make administration easy. I'm referring here to the unix timestamp snapshot names. It's easy to say that the tools should be able to perform all the tasks you would want to perform but that isn't realistic for a constrained developer team.
Either way I'll make a story.
from flocker.
Actually, probably not strictly necessary for first release.
from flocker.
Or, might turn out to be when we do push back and forth between two nodes, but not sure yet so not going to start on this.
from flocker.
Jean-Paul had some vague notion of a flocker-clean
command...
from flocker.
The basic logic for deleting a ZFS IFilesystem
instance would be:
- Delete all snapshots that do not have clones off of them.
- If the filesystem has an origin snapshot, and that snapshot has no other clones, delete the snapshot.
- Delete the filesystem.
This will result in both clones and non-clones cleaning up all references that they own. Clone logic may be something to spin off into different issue.
from flocker.
The logic above would probably be exposed via flocker-volume
only, for now:
$ flocker-volume delete <owner uuid> <name>
from flocker.
is this for user-facing functionality? We don't really have docs for flocker-volume
yet - so we also need to add some if we're going to expose user-facing functionality this way.
from flocker.
Quite possibly, it's not clear to me yet how deletion would work on level of flocker-deploy
(merely doing a handoff shouldn't necessarily delete origin, e.g.).
from flocker.
I guess probably not user facing now; will file issue for the the user-facing command separately.
from flocker.
We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-14. You are welcome to file additional issues in GitHub if that's easier for you.
from flocker.
Related Issues (20)
- Can't start flocker-control - CentOS 7 HOT 1
- Error looking up volume plugin flocker: legacy plugin: plugin not found HOT 1
- Flocker tests are failing HOT 1
- How to use flocker with docker swarm mode HOT 1
- pkg_resources.DistributionNotFound: The 'eliot' distribution was not found and is required by Flocker HOT 1
- Linux mint 18.1 Install Flocker Node Service Error
- Error: flocker: plugin not found
- Flocker: Control service is not getting up
- Issue with Cloudformation Template HOT 2
- Cannnot install Flocker node on Centos7 HOT 3
- Download page is not reachable HOT 1
- HTTP Error 404: Not Found for URL https://clusterhq-archive.s3.amazonaws.com/python/Flocker-1.15.0-py2-none-any.whl HOT 2
- The New site need to be Right Url HOT 7
- Flocker Shutdown HOT 1
- flocker apt repo failed on ubuntu16.04 HOT 9
- Regarding kubernete with flocker, Is this mandate to intstall the flocker on kubernetes Nodes or can I install flocker on separate nodes from kubernete and then integrate together
- Unable to access the below URL HOT 1
- Can't install flocker-node on RHEL/CentOS 7
- FYI: referenced issue is fixed
- Flocker abandoned? HOT 11
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 flocker.