merge r1542, r1543, r1573 from branches/ganeti/ganeti-1.2
Implement interactive instance OS reinstall.
Reviewed-by: ultrotter
Merge r1534 from branches/ganeti/ganeti-1.2
Add HVM device type flag 4/4
Merge r1296 from branches/ganeti/ganeti-1.2
doc fix: Describe default values for HVM instance options & cleanup.
Reviewed-by: iustinp
Merge r1295 from branches/ganeti/ganeti-1.2
Clarify cluster IP requirement.
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...
Add a ‘tags’ field to instance and node listing
Currently there isn't any easy way to list all nodes or instance andtheir tags; you have to query each node in turn, or list all the tagsvia something like “gnt-cluster search-tags '.*'”. Of course, this is...
Small typo in gnt-instance manpage
Reviewed-by: manuel.franceschini
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.
Manpage updates for the new grow-disk command
The patch documents the steps needed to complete a user-visible grow(i.e. not only grow-disk, but also filesystem resize is needed, etc.)
Reviewed-by: imsnah
Forward-port: Update gnt-instance and gnt-backup manpages
- Add --iallocator options- Small text fixes
Forward-port: Fix wrong filename in ganeti-watcher manpage
Add line-breaks to gnt-instance manpage
Forward-port: patch 4/4 extended HVM features for 1.2
This patch documents the extended HVM features.
Author: schreiberalReviewed-by: imsnah
Documentation: cleanup of local/remote_raid1
Since we have removed support for local and remote raid1, update the manpages and guides to reflect the new situation.
Update command line help and manpages with mandatory options
document cluster verify --no-nsplus1-mem option
Add this recently added option to the gnt-cluster man page beforereleasing 1.2.4.
Minor doc/help update
This shortens the help output in gnt-node so that the output looksnicer, and improves the manual page for gnt-instance with the new'status' field.
Improve the gnt-* list field selection
This patch allows the '-o' option to the list subcommands to add morefields to the default list instead of replacing the default list byprefixing the fields list with '+'.
The patch also moves the listing (in the help output) of the default...
Add file-based options to gnt-instance man-page
Add --readd option to “gnt-node add”
This allows us to readd a node after it failed and required areinstallation or replacement.
Add lvm storage option to gnt-cluster man page
This patch adds the previously introduced lvm storage togglinginfo to the gnt-cluster man page. It adds some info the thegnt-cluster init -g option and adds the gnt-cluster modify command.
Change the 'gnt-cluster command' execution order
This patch makes the command execute last on the master (if the masteris selected). The order for the other nodes is unchanged.
The patch also updates the man page with some explanations and anexample....
Add --print parameter to “gnt-instance console”
This enables us to run automated tests on “gnt-instance console”, at leastto some degree.
Remove the option to create md/drbd7 instances
This patch removes the options that allow to create local_raid1 orremote_raid1 instances. It also modifies the documentation and removesthese disk templates from burnin and from qa.
Remove the add/remove mirror operations
These two operations are related to md/drbd7 code (remote_raid1). Removethem as part of the md/drbd7 removal.
Specify better gnt-instance(8) replace-disks
The -s option when changing secondary node on a drbd template is implied, andthus optional. Specify this in the manpage.
Fix the gnt-cluster init man page
Some options were missing in the gnt-cluster init man page. This patch addsthem, removes an empty line, and clarifies a bit more some requirements.
Reviewed-by: schreiberal
Update online help and manpage to include drbd disk type.
Modify the default output of gnt-instance list
This patch adds a new field available for selection in gnt-instance listnames "status" which represents the combined value of "admin_state" and"oper_state". Since this is much easier to parse (e.g. gnt-instance list...
Improve the documentation of query output fields
The gnt-node and gnt-instance list commands have a customizable list ofoutput fields, but the list is not up to date (in the man page) and noteasily understandable from the ‘--help’ output.
This patch updates the man pages and adds the available fields and...
Support selecting the boot device order for HVM.
This patch adds support for specifying and changing the boot device order forHVM instances. The boot device order specification is ignored for non HVMinstances.
Complete --node description for gnt-backup(8)
The second paramenter of --node was not described in gnt-backup. Addinformation about it.
Update gnt-backup(8) -m option explanation
Copy it from gnt-instance(8) for uniformity
Add the --swap-size option gnt-backup(8)
gnt-backup import doesn't allow to chose the os
Since it's an import the os is implied to be the one which performed theexport. No -o option is accepted. Reflect this in the manpage.
Fix gnt-backup import -s option
Update gnt-backup import to be in line with gnt-instance add about the os disksize option. Thanks to Gunnar Wagenknecht for spotting the issue.
Update manpages with the kernel/initrd options
This patch modifes the ‘gnt-instance’ instance manpage with the new‘--kernel’ and ‘--initrd’ options.
Fix a typo in the ‘gnt-instance’ manpage
Document variable MAC support to gnt-instance.
Document the ability to set and change the MAC address for instances.
HVM proof-of-concept documentation
Update documentation to document the HVM proof-of-concept.
Update the man page for ‘gnt-cluster’
This adds some information about the new ‘verify-disks’ command.
Remove orphaned closing tag.
Fix the ganeti-os-interface manpage
lexgrog cannot parse the current ganeti-os-interface.7 manpage, which in turnleads to a lintian warning. In order to fix this the NAME section must have thestandard format which doesn't allow multiple words in the first field....
Add man page for the ganeti-master script
This patch adds a simple man page for the master startup script andmodifies the footer.sgml fragment to include it.
Add description of “gnt-instance startup --force” to manpage.
This was reported by Henning Sprang in issue #14. Also add a missing wordin the description of “gnt-instance reboot”.
Change --nodes to --node
The --nodes option in gnt-backup really accepts only one node at a time.Change it to --node, for added clarity and consistency with a similaroption in gnt-cluster. This patch also updates the relevant man page.
Reviewed-By: iustinp
Fix gnt-instance man page for replace-disks
This patch documents the new syntax for disk changes with the drbd disktemplate.
Improve the man pages
This patch does some small fixes to the man pages and adds descriptionsfor a few missing options.
Update docs for the removed --secondary-node option.
Implement tag searching
This patch adds a search command for locating tags on all objects of thecluster using a regex pattern.
Reviewed-by: aat
Revert "Implement multi-failover options"
This reverts commit 289, as the node failover functionality was alreadyimplemented in gnt-node (as opposed to gnt-instance). My mistake.
Small improvements to multi-instance selections
This patch fixes the documentation in a few cases and adds handling ofthe situation where no instance is selected due to too restrictiveoptions given.
Implement multi-failover options
This patch adds the same style of multi-instance selection as inshutdown/startup to the failover subcommand, with the exception that wecannot failover with --node or --all (it doesn't make sense).
More sane handling of errors during failover
Currently we ignore errors on instance shutdown (on the source node)during instance failover. We should do this only if the user gave acommand line options allowing this, as it's a dangerous thing to do.
This patch fixes this by using the same "--ignore-consistency" option...
Patch series for reboot feature, part 3
This patch series implements the reboot command for gnt-instance. Itsupports three types of reboot: soft (hypervisor reboot), hard (instanceconfig rebuild and reboot) and full (full instance shutdown and startupagain)....
tiny typing fixup
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...
Implement gnt-node evacuate
This patch adds a new 'evacuate' subcommand to gnt-node. The commandwill do a replace disks for all instances having that node as secondarywith the new target being the new node given.
The syntax is: gnt-node evacuate src_node target_node...
Implement node failover
This patch implements a simple failover command for failing over allprimary instances. This is just a batched form of gnt-instance failover.
Add source file option for {add,remove}-tags
This patch adds a '--from' option to the {add,remove}-tags commands thatallows the command to read from a file or from stdin (when passing adash for the filename).
Update man pages for the tags operations
This adds documentation on the {list,add,remove}-tags commands to thegnt-{cluster,node,instance} man pages.
Change gnt-cluster.sgml to use refsect2
This brings this man page in conformity to gnt-node and (partially) tognt-instance.
Don't remove Makefile.in when doing maintainer-clean.
Remove mkdir from man/Makefile.am because mktemp creates the directory before.
Thanks to Christoph Rauch for reporting the problem.
Replace paths in ganeti-watcher.sgml.
Implement cluster rename operation
This patch adds a new OpCode (and corresponding LU) that implements thecluster rename functionality.
This is done by shutting down the master role, making the needed sstoremodifications and distributing the changed files to all nodes, and then...
Implement instance rename operation
This patch adds support for instance rename operation at all remaininglayers: RPC, OpCode/LU and CLI.
Add support for rename operation in the OS API
This patch adds support for renaming at OS level. Because of this, weneed to bump up the version of the OS api from 4 to 5.
The patch also documents the new script interface in theganeti-os-interface(7) man page and adds a section on upgrading the OS...
Allow start/stop of multiple instances at once
This is an initial version of the multi-instance start/stop, whichallows the gnt-instance startup and shutdown subcommands to work onmultiple instances at once.
The available selections are: - "gnt-instance startup --instance name..." which is the default, and...
- 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”.
Fix two errors in man page
Combine rules for manpages.
Fix the manpage gnt-instance w.r.t. units
The manpage wrongly states that the default unit for disk sizes isgibibytes, whereas currently it's mebibytes. Fix that and also updatethe '--help' output to display the default unit.
Reviewed-by: roman.marxer
- Implement “gnt-instance reinstall --os-type=…”- Add the command to gnt-instance.sgml
- 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
Add the gnt-backup script and man-pages.
- Describe b option for "gnt-cluster init" Fix typo
Initial commit.