Get rid of node daemon password
With the new SSL client certificate stuff it's no longer needed.
Reviewed-by: iustinp
More updates to the documentation
This patch removes the client-api.txt document (since it's obsoleted bythe documentation inside the design-2.0.rst document) and adds manyupdates to the latter.
Reviewed-by: imsnah
Add a cluster architecture diagram
This adds a simple diagram for the cluster architecture and also adds adependency on graphviz (both doc and in configure).
Combine the 2.0 design documents into one
This patch combines all the design documents for 2.0 except thesecurity one into a single document, in order to ease reading and reduceduplication of information.
Future patches will start removing wrong pointers to old document names...
design-2.0-os-interface: update import/export
In the end we ended up taking a slightly different approach forimport/export than the one discussed in the design doc, aftertrying/talking about a few more alternatives. Document this in thedocument.
Fix whitespace-at-EOL
Please configure your editors to strip it, or enable your git hooks...
Reviewed-by: ultrotter
design-2.0-cluster-parameters: escape final _
In rst a final _ is used for linking. Escaping it prevents an error atcompile time on design-2.0-cluster-parameters.rst
OS Design: invert new and old name
Internally in ganeti we already have renamed the instance, so it'sbetter to pass the new name in INSTANCE_NAME and the old one inOLD_INSTANCE_NAME rather than the old name in INSTANCE_NAME and the newone in NEW_INSTANCE_NAME as this reflects what the cluster thinks....
Provide example for backend parameters
Update the design about cluster parameters and providesome example of backend parameters. By now this includesall supported parameters.
Reviewed-by: iustinp, ultrotter
Some small typos on design docs
Update the cluster parameters design doc
As discussed, we update the design doc with the three classes ofparameters and other changes.
Some updates on the job queue design doc
This clarifies the job storage and the reason for choosing it.
Update design-2.0-job-queue to reflect changes
With change 1773 a new status WAITLOCK was introduced if a job/opcode iswaiting for a lock. This change updates the document about the job-queueaccordingly.
Update documentation & man pages for changed hypervisor names.
Shorten variable names.
Also export OS_API to the OS scripts
The idea is that if the OSes will support multiple version (e.g. both1.2 and 2.0), then Ganeti should be able to talk to it using version2.0, but then the script needs to be told nicely what version Ganeti isusing....
Updates to the security document
This patch changes formatting and the DRBD shared secret details, andadds master daemon socket details to the security doc.
Move the SECURITY document to the doc/ dir
Fix formatting in design-2.0-os-interface
Small changes to the index design doc
This is just some additions of not-yet-mentioned docs.
Slightly change the hypervisor parameter example.
Ganeti 2.0 cluster parameters design doc
OS Interface design doc
Add .. contents:: marker to design docs
RAPI Desing Doc
Minor cleanups & typo fixes.
Small fixes for master daemon design document
It said CLI/RAPI will talk to master using HTTP, which isn't true. Adda reference to job queue design document. Small typos.
Import design doc for commandline arguments
locking design: code path and declarations
locking design: explain use of async mode
Before we were discussing this possible future feature, and itsdrawbacks, but not its usefulness. This patch corrects this.
locking design: talk about removing locks
Import (and update) granular locking design doc
Add job queue design document
Add an 'index' of design documents
This will be an overview document, enumerating the changes without goinginto details and pointing to the actual documents.
Add design doc for the disk changes
Design doc for the master daemon
It's not complete, but I hope it's up to date. It's restructured text,but no make rules or such for html output are needed, it's readableas-is.
doc/locking.txt: Job queue functions can be called from LUs
The previous description was unclear. Reported by Guido Trotter.
Add lock documentation for job queue and ganeti-noded
Also change title formatting to match client-api.txt.
Remove bom-byte
This is not nice, removing it :)
Please use 'set nobomb' in your vi init file.
Merge r1295 from branches/ganeti/ganeti-1.2
Clarify cluster IP requirement.
Add doc/locking.txt, documenting locking order
Another typo in the install doc
Update the module build section of install doc
Rework master startup/shutdown/failover
This (big) patch reworks the master startup/shutdown and the fixes themaster failover.
What does the patch do?
For master start/stop: - remove the old ganeti-master script and its associated man page - moves the ip start/stop directly into the backend.(Start|Stop)Master...
Use pidfiles in example init script
Rather than searching for the ganeti daemons by name we'll use thepidfile they create to stop them. This change also adds the --oknodooption to start-stop-daemon when stopping ganeti (which means it won'tgive an error if it wasn't started)....
Split RAPI resources to pieces
Fix rapi documentation
As a nice side-effect this also fixes "make distcheck".
The way used to include the generated rapi-resources.sgml file onlyworks if it's built in the same directory. That's not the case during"make distcheck". The patch changes the sed script used for variables...
Copy the rest of the Restful-API files to trunk
Use a single Makefile.am instead of many
This change allows us to use cleaner dependencies betweendirectories. The build system is basically rewritten in large partsand may contain bugs.
Forward-port: Small codestyle fixes for dumb-allocator
Forward-port: Remove output file if docbook failed
Forward-port: patch 4/4 extended HVM features for 1.2
This patch documents the extended HVM features.
Author: schreiberalReviewed-by: imsnah
Distribute dumb-allocator in examples
When creating the ganeti tarball the dumb allocator was left out.Shipping it alongside the other examples.
Export the number of cpus to iallocator scripts
Now that we have the number of cpus available from the hypervisors, wecan export this to the iallocator scripts.
Remove deprecated disk templates from doc
Since local_raid1 and remote_raid1 are deprecated they are removedfrom the docs. This patch removes some old documentation sectionsand bumps the documented version from 1.2 to 1.3.
hooks.sgml: Add cluster-verify hooks information
Add iallocator documentation
Generalize the replace_secondary mode in iallocator
Currently the replace_secondary mode is too restrictive. This patchchanges this to a general 'relocate' mode where the node(s) to bechanged are specified via a new key in the request dict ('nodes') so...
Implement replace_secondary in the dumb allocator
This patch allows the dumb allocator to perform the replace secondaryrequest type. This is done simply by not allowing the current instancesnodes as a valid selection, and using the existing instance data instead...
Send required_nodes field to the iallocator scripts
This patch adds the 'required_nodes' field in the request dict for theiallocator.
This means that the handmade-checks in the create instance can besimplified, and that the dumb allocator can be made simple. Therefore...
IAllocator part 3: LUCreateInstance changes
This (final) patch allows the instance's nodes to be selectedautomatically based on the passed allocator algorithm.
The patch changes the pnode opcode parameter from required to optional,now either the pnode or the iallocator must be passed....
Implement 'out' direction on allocator tests
This patch adds the paths for searching for instance allocators andmakes the LUTestAllocator code run the allocator and return the resultsif the direction specified is 'out'. 'out' means that the opcode will...
Make the init script start the master daemon too
Fix example scripts build dependencies
Currently, the example scripts (the init.d and the cron script) do notdepend on the Makefile, so if configure is rerun with differentparameters these scripts are not rebuild.
The patch adds Makefile as a dependency so changes to installation paths...
Make ganeti-noded create BDEV_CACHE_DIR automatically
Currently in order to deal with tmpfs /var/run, we create theBDEV_CACHE_DIR in the init script. However, that does not cover all thecases, and it's not a proper place to deal with it: for example, dealing...
Improve ganeti example cron file
The cron file in ganeti's example directory is now static, and executesganeti-watcher in /usr/local/sbin no matter where it's really installed. Withthis patch we generate it at build time substituting the right value of...
Replace version number in install.sgml during build time
Document the client API protocol, first version
This patch adds some documentation about the proposed client API. It'snot yet complete, but should be a usable draft for the initialimplementation.
Bump version numbers for the 1.2.2 release
Fix the init.d script
The script (which is geared towards Debian) is actually not fullycompliant, as lintian generates a warning on it - the S runlevel is nota valid one in the "Stop" stanza. This patch removes "S" from the stoplist.
Bump version numbers for the 1.2.1 release
This a merge to trunk of revision 494.
HVM proof-of-concept documentation
Update documentation to document the HVM proof-of-concept.
Make note about minimum version of drbd 8 required
Since 8.0.6 and lower have issues that break Ganeti's usage of drbd,this patch notes the required version of DRBD.
Bump version numbers for 1.2.0 release
Update version numbers for release 1.2b3
Update install.sgml with the name of the example OS
We want the name of the example OS to be nicer for packagers, so updatethe install documentation accordingly.
Also, put in a notice about using the latest release OS version, so ifwe forget to update this doc, we are not completely wrong....
Revert "Remove extra docdir variable from Makefile.am"
This reverts commit 397, as the support in autoconf for docdir ispresent since 2.59c, and this is too new for some distributions.
Create /var/run/ganeti before noded startup
The /var/run directory can be a tmpfs mount, so even if we make it atinstall time (or include it in the package) it can go away. Therefore,test for its existence and create it in the startup script.
Remove extra docdir variable from Makefile.am
The docdir variable is defined by autoconf, so we don't need to defineit ourselves. This way, the target documentation directory canbe changed via ./configure instead of patching Makefile.am.
In truth, we should install the pdf and html files using the pdf and...
Use spaces to indent and fix typo in tag.
Reviewed-by: schreiberal
Suggest disabling of automatic xen domain save
By default xen tries to save running virtual machines at system shutdown andrestore them at reboot. Make sure we suggest to disable this feature in theinstallation manual.
Complete the apt-get list in the install manual
The install manual was missing python-pyparsing and python-simplejson from theapt-get install list. Adding them.
Thanks to Henning Sprang for spotting this issue.
Bump version numbers.
Update documentation for drbd8 and beta2 release
This patch does: - add drbd8 information to the docs (the new disk template, examples, etc.) - fixes a section header to make it more clear - update the NEWS file by changing format (format taken by looking at...
Soften the requirements for hooks execution
Currently, an unreachable node (or one that return undetermined failure)in the hooks pre-phase will abort the curren operation. This is notgood, as a down node could prevent many operation on the cluster.
This patch changes a RPC-level failure (and not a hook execution...
Fix usage of wrong variable in doc/examples/Makefile.am.
This makes “make distcheck” work again.
Indentation fixes for docs.
Update docs for the removed --secondary-node option.
Add DRBD8 class for handling drbd version 8.x
This duplicates some code from the DRBDev class, but not very much, andit will be expanded with the new functionality available for the 8.xversion. Currently the code is not accessible outside the module.
This patch introduces a dependency on the pyparsing module....
Allow force removal of instances
This patch adds a new option to the instance removal command"--ignore-failures" that forces the removal of the instance from theconfiguration even if the removal process encounters errors.
In order to be able to do this when the remote node(s) is(are) down, we...
Remove fping as a dependency for Ganeti.
This patch completely gets rid of fping - replace all fping invocations with TcpPing calls - update documentation accordingly. - associated cleanups (use constant for localhost IP, use more sensible defaults for TcpPing and use those)...
Do not install init script in PREFIX/bin.
Change configuration storage format from Pickle to JSON.
- Add NEWS file with major changes between versions.- Bump RPC version number- No longer serialize in RPC, but just convert to dict
Old Pickle based configuration files can be converted using the cfgupgrade...
Integrate Leonardo's LSB init script patch
Reviewed-By: imsnah
Documentation fix for missing dependencies
I was getting into trouble with gnt-backup and discovered reading thecode of the debian-etch os image and the error logs that: 1 - Debian os image shipped by ganeti depends on the availabilityof dump and restore....
- Don't build .tar.bz2, we only distribute .tar.gz anyway.- Clean generated files on “make maintainer-clean”.- Build _autoconf.py and ganeti.initd on “make all”.
Use configure's paths in the init script example.
Now that we use configure's variables, add --sysconfdir to configure.
- Add Makefile in doc/examples/
- Rename docs/ to doc/- Add Makefile in doc/examples/