Implement tag support for cluster, nodes and instances.
This is only the backend part, from the command line the tags can't beread/modified yet.
Reviewed-by: imsnah
Don't bail out if node isn't there on “gnt-node volumes”.
Reviewed-by: iustinp
Prepare for the tags implementation: - add an Update method on the ConfigWriter class; - make the AddInstance method not log disks for diskless types (helps with testing) - implement limited testing for the ConfigWriter with focus on the new Update method
Import constants into gnt-cluster.
Re-stat the config file when we write it so that the next _OpenConfig()won't reread it if not modified by someone else.
Add instance name to LVM volume as a tag.
Implement a standard way of getting the cluster object from theconfiguration.
Change logival volume names to not be based on the instance's name, butinstead use an UUID prefix and a suffix denoting the disk iv_name(sda/sdb) and possibly it's type (data/meta).
Put synchronization speed into constant.
- Check for docbook2man and print warning if it's not there- Cleanup
Update svn:ignore.
Add disk template information to the admin manualAdd warning about avoiding xm commands for instance creationAlso fix a man page reference in installing.sgml to use the docbook format
Reviewed-By: iustinp
Implement --dry-run for cfgupgrade.
Put default bridge into constant.
Add configuration upgrade utility.
Implement setitem for ConfigObject to add container protocol compatibility.
Add the ganeti admin manualRefer to the glossary from the installing guide
Fix a function's doc string
Ganeti installation tutorial
Reviewed-By: iustinp, imsnah
Fix issues reported by pylint.
Use OutputTable for “gnt-os list”.
Unify environment variables for instance related hooks.
Check for instances on “gnt-cluster destroy”.
Remove defectiv comma.
- Implement “gnt-instance reinstall --os-type=…”- Add the command to gnt-instance.sgml
Fix the "gnt-cluster getmaster" command by making the LuQueryClusterInforunnable on non-master nodes (and remove the list of instances and nodesreturned by it, that information can be retrieved by other opcodes).
Also, remove the node/instance list from "gnt-cluster info" as it...
Move the cluster name from ConfigWriter to SimpleStore.
Reason: if left ConfigWriter, nodes don't know to which cluster they belong.This will bite us later when we'll revisit node join operation.
Cons: we lose the cluster name from the config file, which means a...
- Move --force option to cli.py- Implement “gnt-instance reinstall”- Fix two typos
Don't pass master_node
Comment formatting updates.
The master_node is no longer stored in the config file (but in sstore)and all users have been converted, let's remove it from the slots of thecluster object.
Also let's move the tcpudp_port_pool to the cluster object.
Get ports from configuration if there are some.
It seems the _CheckNodesDirs function is no longer used. Let's remove it.
Since the watcher can run on all nodes, let's get rid of the cron filehandling, as it can be static and outside of ganeti.
This also means we can get rid of a lot of infrastructure too: - the master/node config files checkers - one rpc function
Update for the new tests.
- Use new --master-netdev parameter on gnt-cluster init- Split up info tests and add more of them- Replace map() by [x for x in y]
Implement “cd /” and “cd” to get to the root directory.
Make the ganeti-watcher exit gracefully if it's not run on the master.
Add description, fix indentation.
Fix parameter formatting.
Add small security considerations file.
Use generic function to output tables.
Update the init script to start both the node daemon and the master.
- Implement “gnt-node volumes”- Create all --output options using a constant- Put node checking code from opcodes into a single function- Do the same for output fields
Big change/cleanup in relation to the master startup: - move the master node name from the ConfigWriter to SimpleStore (all nodes need this, and it was the only thing pulled in from the ConfigWriter on nodes) - fix mcpu.py and the testing w.r.t. this change; for testing, rename...
Do the secondary check and subsequently allocate the drive on all availablelogival volumes. This lets you use more than one when none of them can supportyour full drive size.
Fix a typo in an error message, and actually pass it its parameters.
Reviewed-By: imsnah
Output instance name in error message instead of object representation.
Fix small typo.
Add the gnt-backup script and man-pages.
Update svn:ignore
Fix calls to _GenerateMDDRBDBranch.
Allow default bridge to be configured.
- Describe b option for "gnt-cluster init" Fix typo
Check for memory size requirements before failing over an instance.
Rename the config dir to autotools
Implement space requirement checking before creating/importing an instance.
Ignore *.pyc.
Ignore automatically generated files.
Move files
Add new directories.
Replace tabs with spaces.
Fix burnin - when removed from cmdlib, it lost locking functionality.
Also improve the burnin by doing an optional replace-disks.
Fix casings of program names, add URLs, add info about PyYAML.
Add autogen.bash, move some files to config/
added drbd to list of requirements listed in INSTALL file
Initial commit.
Create ganeti dir under trunk