Activity
From 08/02/2011 to 08/31/2011
08/31/2011
- 05:01 pm Revision 9cd534ab: Version bump for 2.5.0~beta3
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:58 pm Revision 25993e57: cmdlib: Support for CPU pinning
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:42 pm Revision 6499c5b8: Update design doc with cmd line description
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 11:42 am Revision ab5f0e96: Fix for auto parameters on import
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
08/30/2011
- 06:43 pm Revision 83ea5145: Fix standalone module import check
- Turns out my attempts to get it work nicely with “make distcheck” broke
the detection and of course I only notice aft... - 06:43 pm Revision 82888134: Makefile: Use $(LN_S) instead of “ln -s”
- Some platforms apparently don't support “ln -s”, otherwise Autoconf
wouldn't have AC_PROG_LN_S.
Signed-off-by: Micha... - 06:33 pm Revision f6cbcc06: Add check for standalone modules' imports
- This check will abort if one of the standalone modules (currently
lib/rapi/client.py and tools/ganeti-listrunner) imp... - 02:01 pm Revision 17385bd2: Fixes to errors/warnings raised by pylint 0.24
- Running pylint 0.24.0 revealed 2 errors and 1 warning. Here is how I
fixed them:
* jqueue.py: silenced E1101
* netut... - 02:00 pm Revision 21bf2e2e: PEP8 for QA
- - Makefile.am: added QA directory to the paths checked by pep8
- qa/: fixed the reported errors
- Makefile.am: also, ... - 12:34 pm Revision 6eedd356: listrunner: Allow passing of arguments to executable
- This wasn't possible until now.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ul... - 11:24 am Revision b459a848: DeprecationWarning fixes for pylint
- In version 0.21, pylint unified all the disable-* (and enable-*)
directives to disable (resp. enable). This leads to ...
08/29/2011
- 06:37 pm Revision 2c094917: listrunner: Replace str.split with library functions
- - str.split("/").pop() should be os.path.basename
- str.split("\n") should be str.splitlines()
Signed-off-by: Michae... - 12:20 pm Revision ccf5dcf5: Minor updates and fixes to CPU pinning design doc
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
08/26/2011
- 05:53 pm Revision 72ce3463: Merge branch 'devel-2.4' into devel-2.5
- Conflicts:
NEWS (trivial)
configure.ac (trivial)
daemons/ensure-dirs.in (deleted)
Signed-off-by: René Nussbaumer ... - 05:33 pm Revision fe00ccef: Merge branch 'devel-2.5'
- * devel-2.5:
Delete master IPs from mergee master nodes
Use pep8 utility in “make lint”
Two more PEP8 fixes
c... - 03:53 pm Revision e4a48c7b: utils: Fix UnescapeAndSplit parsing bug
- If a value passed to UnescapeAndSplit ended with a backslash an
exception would be raised:
$ gnt-instance modify -H ... - 03:03 pm Revision b972c223: Delete master IPs from mergee master nodes
- Added a step in cluster-merge that removes the cluster IP from the
master node of the mergee clusters.
Signed-off-by... - 02:57 pm Revision 08366664: Use pep8 utility in “make lint”
- This utility checks whether the code conforms to PEP8. Some checks had
to be disabled for Ganeti.
Signed-off-by: Mic... - 02:57 pm Revision 8e47b5da: Two more PEP8 fixes
- cmdlib: Avoid wrapping using backslash
gnt_group: Avoid ** magic using keyword arguments (the “pep8” tool
doesn't li...
08/25/2011
- 04:37 pm Revision 674711de: check-python-code: Give location(s) of lines longer than 80 chars
- Until now it would only say that there was a line longer than 80
characters, but not where.
Signed-off-by: Michael H... - 04:31 pm Revision c4708267: hv_xen: Support for CPU pinning
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ... - 02:13 pm Revision 8913ab40: Merge branch 'devel-2.5'
- * devel-2.5: (32 commits)
PEP8 style fixes
Wrap a few long lines
listrunner: Avoid exception if machine is rebo... - 01:53 pm Revision e687ec01: PEP8 style fixes
- Identified using the “pep8” utility.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <... - 01:50 pm Revision a7f884d3: hv_kvm: initial support for CPU pinning
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:49 pm Revision b9511385: hv_base: Support for multiple CPU mask
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:49 pm Revision 538ca33a: Added function for parsing multiple CPU pinning mask
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:49 pm Revision 7e7629c6: Adding CPU pinning constants
- Signed-off-by: Tsachy Shacham <tsachy@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
08/24/2011
- 05:34 pm Revision b7bf8b58: Wrap a few long lines
- Had to break it as well, today! ;)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselma... - 05:32 pm Revision e8448672: Allow importing instance with full auto parameters
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:12 pm Revision 45fe090b: Disk template is no longer required when importing instance
- … provided that disk_template value is set in the config.ini file.
Signed-off-by: Agata Murawska <agatamurawska@goog... - 01:04 pm Revision 3db199ea: bash completion: Shorten function names
- This saves another 5 kB from the generated script. An old debug comment
written to the generated output is also remov... - 12:16 pm Revision 6bc1c168: listrunner: Avoid exception if machine is rebooted
- Handle exceptions gracefully when trying to read the command's output.
Signed-off-by: Michael Hanselmann <hansmi@goo...
08/23/2011
- 02:39 pm Revision 7f4d4cf0: Remove wrong type declaration from option
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Andrea Spadaccini <spadaccio@google.com> - 02:22 pm Revision 006a51b3: Fix wrong method name in cluster-merge
- Fixed a wrong method name in the last patch.
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Mi... - 01:59 pm Revision c71d2178: Version bump 2.4.4
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:51 pm Revision b3f287c8: Fix --skip-stop-instances help message
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:46 pm Revision 1fb5f905: cluster-merge: Add the --skip-stop-instances opt
- This option allows to do a check for running instances on the mergee
clusters instead of stopping them.
Signed-off-b... - 12:27 pm Revision ac9b996d: Update NEWS file
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:12 pm Revision 82461fad: Documentation fix for importing with --src-dir option
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
(cherry ... - 12:08 pm Revision 8b046709: Adding missing test data for commit 7a380ddfc
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:01 pm Revision 7a380ddf: Fix a parsing issue with DRBD 8.3.11 in the Linux Kernel
- In the Linux kernel commit 4b0715f096 introduced a display bug into
/proc/drbd which broke our regex.
The bug was fi...
08/22/2011
- 06:46 pm Revision 5f01e6ad: watcher: Wait for child processes by default
- This patch retains the behaviour of ganeti-watcher in previous Ganeti
versions.
Signed-off-by: Michael Hanselmann <h... - 12:24 pm Revision ecaf0a9c: Update release date in NEWS for 2.5.0~beta2
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
08/21/2011
- 04:47 pm Revision 3e22caed: Offline node when adding it to a merged cluster
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:47 pm Revision d47319e2: Transform node readd exceptions into just errors
- We are after the point of no return, no point in failing everything
because a node failed to readd. Better to just re... - 04:47 pm Revision cc2cccfc: Add a TODO on the VerifyCluster option
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 04:47 pm Revision 07ff0a78: Allow retrying commands in cluster-merge
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-... - 04:47 pm Revision 503cc75f: Try 3 times before giving up on per-node commands
- When contacting lots of nodes some may fail. Give it a couple more
chances before giving up on them.
Possible future...
08/19/2011
- 05:56 pm Revision 669afd8a: Bump version to 2.5.0~beta2
- Also update NEWS file.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.... - 05:55 pm Revision b6d02fa9: sphinx_ext: workaround epydoc warning
- Similar to commit c29e35f, this works around epydoc breakage by
aliasing the module. Makes 'apidoc' pass again on my ... - 05:51 pm Revision c6b1c8ef: check-news: Show per-file line number
- … not the global line number.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn... - 05:51 pm Revision f299ca21: Unify some file headers
- Remove unnecessary commas, add empty lines where necessary to make them
consistent.
I'm working on a script to check... - 05:51 pm Revision 64ea845e: Makefile: Add design-ovf-support to list of doc files
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:25 pm Revision a95f19d7: ensure-dirs: Fix epydoc error
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 04:23 pm Revision b7d7876b: Documentation fix for importing with --src-dir option
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:14 pm Revision b33cad4a: bash completion: Group commands by arguments and options
- This grouping, which was a TODO for a long time, reduces the script size
by about 5kB.
Signed-off-by: Michael Hansel... - 03:14 pm Revision 49283373: Check option name format when building bash completion
- This is just a style check. Option names should be consistent. Since all
of them go through the “build-bash-completio... - 03:11 pm Revision c3f54085: ensure-dirs: Check mode and owner before changing
- This avoids many calls to chmod(2) and chown(2), and thereby ctime
updates.
Since I had to update the unittests anyw... - 03:11 pm Revision d00a730d: ensure-dirs: Refine error handling on stat(2)
- The “_stat_fn” function is renamed to “_lstat_fn” to reflect its
function. The try/except block just wraps calling ls... - 03:11 pm Revision 297657a2: ensure-dirs: Change wording of some messages
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:11 pm Revision 961226f6: ensure-dirs: Implement debug logging
- There was no logging at all.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@... - 03:11 pm Revision cb66225d: ensure-dirs: Set permissions on job files in queue
- This was a regression from 2.4.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <... - 02:36 pm Revision de5f8826: ensure-dirs: Fix a bug with queue/archive permissions
- While it sets the permission on all files in queue/archive accordingly
it doesn't do so for the created archive direc... - 11:28 am Revision 247ee81f: ensure-dirs: Set permissions on queue lock file
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
08/17/2011
- 05:57 pm Revision cd57bab6: ensure-dirs: Set correct permissions on ssconf files
- The files should be 0444, not 0400. This was a regression from 2.4.
Signed-off-by: Michael Hanselmann <hansmi@google... - 05:57 pm Revision 66a66fa7: cfgupgrade: Add confirmation message
- A message will be given instead of just dropping the user back to the
prompt in case of a successful upgrade.
[…]
do... - 04:27 pm Revision 562468d6: Get rid of {disk,nic}_count variables
- This also fixes an issue if "disk_template = diskless" and no
"disk_count" was specified, while doing an import of sa...
08/15/2011
- 06:46 pm Revision b845c8a1: Handle network interfaces without IPs
- If the user specified a network interface with no IPs, he would receive
an unhelpful "list index out of range" error.... - 06:46 pm Revision 11ae7a0a: Fixed potential unreferenced variable usage
- I noticed a path in the code that would use spice_ip_version even if
it was not initialized. This patch fixes it.
Si...
08/12/2011
- 06:26 pm Revision 3ef02bec: Added documentation for gnt-instance remove --force in the man page
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:08 pm Revision b1cb62bd: Added basic support for SPICE
- Implemented the following parameters:
- spice_bind
- spice_ip_version
Signed-off-by: Andrea Spadaccini <spadaccio@go... - 06:08 pm Revision c7570029: Added documentation for SPICE options in the gnt-instance man page
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:08 pm Revision 52b72e8e: NEWS: Add release date for 2.5.1~beta1
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:52 pm Revision ebe6cf38: Fix exit code of “gnt-cluster verify”
- With commit fcad7225e3fc4 LU-generated jobs are used, but the
exit code must still be backwards-compatible.
Signed-o... - 04:47 pm Revision 42539276: Update NEWS for 2.5
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 04:43 pm Revision 905108ab: Small improvements for cluster verify
- - Check if BGL is actually owned
- Show group name as feedback
Signed-off-by: Michael Hanselmann <hansmi@google.com>... - 03:52 pm Revision 5bfb1134: watcher: Use locks when querying for resource information
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:52 pm Revision ee13764f: Allow locking to be used via OpQuery
- The original design for query2 specifically excluded locking, but now
it's turned out that it would be a good thing t... - 03:49 pm Revision 7859261b: Document job results for RAPI where possible
- Some opcodes aren't documented yet.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaum... - 03:49 pm Revision 1456df62: opcodes: Add more result checks, add some comments
- Some of these will be used by the RAPI documentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed... - 03:49 pm Revision f96c51a0: sphinx_ext: Allow documenting opcode results
- Will be used by RAPI documentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaum... - 03:49 pm Revision 9eec6d67: ht: Allow adding comment to type descriptions
- This will be used to add some more details to type descriptions, e.g. on
opcode parameters or result values. The impl... - 03:12 pm Revision bdfd7802: Clarify job ID-related type checks, add unittests
- Instead of a rather complicated expression only “JobId” is output. Job
ID lists (like generated by “SubmitManyJobs”) ... - 03:12 pm Revision f7686867: Change OpClusterVerifyConfig's result, verify results
- This patch removes the list of node groups (not used anymore since
commit fcad7225e3fc) from OpClusterVerifyConfig's ... - 02:14 pm Revision e5d1d1b5: Fixed error in Makefile.am, changing spaces with tabs
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:39 pm Revision ca6b7e09: Added the test data files for netutils to Makefile.am
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:02 pm Revision fcad7225: Use LU-generated jobs for verifying cluster
- This patch moves the logic for verifying the various node groups in a
cluster into the master daemon. Job dependencie... - 12:02 pm Revision 57106b74: opcodes: Use variables for verification parameters
- Just some cleanup before the 2.5 release.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 12:01 pm Revision c7bb3095: mcpu: Specify actual received type on opcode issue
- This helped me debug an issue with opcodes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
08/11/2011
- 03:50 pm Revision e50d8412: Use resource kind as OpQuery*'s description
- This gives a hint as to what's queried. “QUERY(instance)” or
“QUERY(node)” are way better than just “QUERY”.
Signed-... - 03:18 pm Revision 37531236: Added helper functions in netutils and related constants
- Added the following functions to netutils:
- IsValidInterface
- GetInterfaceIpAddresses
- _GetIpAddressesFromIpOutput... - 03:11 pm Revision 140ff718: Fix epydoc error in rlib2.py
- I blindly assumed epydoc would use normal reST, but turns out it uses
its own “epytext” in our configuration. Since t...
08/10/2011
- 06:32 pm Revision d91a933f: Fix typo in rlib2's docstring
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Benjamin Lipton <benlipton@google.com>
Reviewed-by... - 06:26 pm Revision f3c1a70c: Documentation fixes and clarification
- - In README, refer to “install.rst”, not “install.html”
- In rapi.rst, wrap line longer than 72 characters
- In rlib2... - 06:23 pm Revision c20efaa8: gnt-instance: Rename _SHUTDOWN_* to _EXPAND_*
- Once upon a time these constants were only used for stopping instances,
but pretty soon they became more useful. Let'... - 02:47 pm Revision 682e2375: List returned fields in RAPI documentation
- Also replace console types with constants.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin... - 02:47 pm Revision bd7b2070: rlib2: Exclude oplog/opresult from bulk job list
- These fields can get rather large. Excluding them from the big bulk list
reduces the amount of data. They are still a...
08/09/2011
- 03:33 pm Revision f4e86448: rlib: Expose node group tags
- Commit 1ffd26739d3 added support for tagging node groups. Also add a
check for exposed fields.
Signed-off-by: Michae... - 03:33 pm Revision e987f166: rapi: Bulk support for jobs
- This was requested in issue 181.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer ... - 03:32 pm Revision d7e4a2b1: Fixed an error in the documentation of _GetKVMVersion
- Fixed an epydoc compilation error that I introduced with last commit.
Signed-off-by: Andrea Spadaccini <spadaccio@go... - 03:32 pm Revision 037c7b95: Mention globbing filters in ganeti(7) manpage
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 02:29 pm Revision 440351f8: Removed code duplication for calls to _GetKVMVersion
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
08/08/2011
- 07:18 pm Revision 0b0ca0c0: Fix epydoc breakage caused by f8638e288c7a
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:50 pm Revision e2d14329: Changed NET_PORT_CHECK to REQ_NET_PORT_CHECK, to improve consistency
- I originally made this change because I needed the OPT_NET_PORT_CHECK,
and I am committing it even if I don't need an... - 06:49 pm Revision c4dfb0b6: Added check for the ip command at configure time
- Also, corrected a few places where the ip command was hardcoded.
Signed-off-by: Andrea Spadaccini <spadaccio@google.... - 06:42 pm Revision f8638e28: Detect globbing patterns as query arguments
- Short: this patch enables the use of “gnt-instance list '*.site'”.
Detailed description: This patch changes the comm... - 03:22 pm Revision bb074298: cluster-merge: consider file storage enable state
- There's no point in checking whether the file storage dir in the two
clusters is the same if file storage is not even... - 03:22 pm Revision 1fcd3b81: cluster-merge: implement params delta mercifulness
- Sometimes it's good to tell the user about parameter differences but
then proceed anyway. Strictness is still enforce... - 01:30 pm Revision e3a19474: Allow fixing of split instances via relocate
- Currently, the IAllocator code requests strictly that the (set of) groups of
the nodes we're relocating from is equal... - 12:29 pm Revision 88df1fa9: Revert deprecation of evacuate mode in hail
- As discussed offline, the new node-change mode could be used for
evacuation, but it's not directly useful as it retur... - 12:12 pm Revision f5fab862: Further cleanup after multi-evacuate removal
- Commit f0edfcf6 removed the parsing of multi-evacuate result, but the
code went from:
if mode in (multi-evac, relo... - 12:11 pm Revision 2f41ea77: Fix bug in IAllocator parsing of Evacuate result
- Commit 342f9172 added stricter checks for the iallocator result in
evacuate mode, but it does this irrespective of th...
08/05/2011
- 05:16 pm Revision 16629d10: Implement globbing operator for filters
- The operators “=*” and “!*” do globbing in filters, e.g.:
$ gnt-instance list --no-headers -o name 'name =* "*.site"... - 04:57 pm Revision 18e4dee6: Zero DRBD metadata before creation
- The docstring of the DRBD8 class says:
… The meta device is checked for valid size and is zeroed on create.
which... - 04:48 pm Revision f0edfcf6: Remove iallocator's “multi-evacuate” mode
- It is no longer used and has been deprecated in 2.5.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-... - 04:41 pm Revision 58aa30d7: confd.querylib: Remove long-deprecated query mode
- This was never used by a stable version.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P... - 04:40 pm Revision ce4cd929: Add docstring to cmdlib.TLReplaceDisks._FindFaultyDisks
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:40 pm Revision 6f9e71bb: watcher: Fix breakage caused by 9bb69bb52fb9
- The first argument to str.split is the separator, not the maximum number
of splits.
Signed-off-by: Michael Hanselman... - 04:39 pm Revision ba98a8d1: Fix typo in NEWS
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 04:39 pm Revision 96514751: doc/admin: s/grub/GRUB/
- “GRUB” is an acronym for GRand Unified Bootloader.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by... - 02:58 pm Revision cb386168: LUGroupVerifyDisks: Use _CheckInstanceNodeGroups' result
- … instead of getting the list of instances once again from the
configuration.
Signed-off-by: Michael Hanselmann <han... - 02:58 pm Revision b9ff3e15: cmdlib: Factorize checking node groups' instances
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:11 pm Revision d5114fa1: Include hooks.rst in version check
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:11 pm Revision 9f604ab8: Bump version to 2.5.0~beta1
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:06 pm Revision 0e5084ee: utils.ReadFile: Add pre-read callback
- This will be used by the watcher to store the file's fstat(2). It must
be done from the filehandle.
Signed-off-by: M... - 02:06 pm Revision 9bb69bb5: watcher: Write per-group instance status, merge into global one
- Each per-group watcher process writes its own instance status file. Once
that's done it tries to acquire an exclusive... - 02:06 pm Revision 6890cf2e: cleaner: Remove watcher's instance status file after 21 days
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:48 pm Revision 2f1fe558: Merge branch 'stable-2.4'
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 11:02 am Revision 2f994ece: Bumping version to 2.4.3
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
08/04/2011
- 05:56 pm Revision eee68d57: Fixed a typo in utils/process.py
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: I... - 05:26 pm Revision e8906f7d: Fix unittest failure after list_owned changes
- We just need an object that has a list_owned method.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guid... - 05:01 pm Revision 12126847: Remove 15-second sleep from LUInstanceCreate
- Remove 15 second sleep when wait_for_sync is not set. LUInstanceCreate already
calls _WaitForSync with oneshot=True, ... - 05:01 pm Revision af993a2c: Add a readability alias
- lu.glm.list_owned becomes lu.owned_locks, which is clearer for the
reader.
Also rename three variables (which were b... - 04:19 pm Revision ce523de1: Fix broken object references in docstrings
- The module is called “objects”, not “object”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ius... - 04:18 pm Revision bd2a5569: Add “gnt-instance change-group” command
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:18 pm Revision 1aef3df8: Add opcode to change instance's group
- This is quite similar to evacuating a group, but the locking
is different.
Signed-off-by: Michael Hanselmann <hansmi... - 04:18 pm Revision eafa26af: Factorize checking instance's node groups
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:41 pm Revision e20832af: Update the NEWS file for 2.4.3
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:28 pm Revision 7b642c49: ganeti-cleaner: Remove old watcher state files
- Watcher state files can stay around if node groups are removed. With
this patch they're removed after 21 days.
Signe... - 01:28 pm Revision 173dbf05: Remove WATCHER_STATEFILE constant
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:28 pm Revision a292020f: cfgupgrade: Remove old watcher state file
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:28 pm Revision 16e0b9c9: ganeti-watcher: Split for node groups
- This patch brings a huge change to ganeti-watcher to make it aware of
node groups. Each node group is processed in it... - 01:27 pm Revision de9c12f7: Lock potential target nodes for group evacuation
- All potential target nodes should be locked while calculating
a group evacuation.
Signed-off-by: Michael Hanselmann ... - 01:27 pm Revision 6e80da8b: Small changes in group evacuation
- - Use OpPrereqError in CheckPrereq
- Clarify command synopsis
Signed-off-by: Michael Hanselmann <hansmi@google.com>
... - 01:26 pm Revision a14065ac: cmdlib: Factorize getting iallocator
- The same logic will be used for changing an instance's group.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
... - 01:26 pm Revision d774ce92: Add design document for Ganeti 2.5
- Including the designs which were actually implemented.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe...
08/03/2011
- 07:35 pm Revision 41e1e79e: Pause DRBD sync for OS install if not wait_for_sync
- When wait_for_sync is set to False in LUInstanceCreate, Ganeti lets DRBD sync
in the background while performing the ... - 07:21 pm Revision a6a3efe4: Fix documentation of gnt-instance failover
- Explain that we only start the instance on the new node if it was
originally running.
Signed-off-by: Iustin Pop <ius... - 06:28 pm Revision 78623223: Small doc patch for gnt-node evacuate
- Just explain a bit the relation between node evacuate and instance
commands.
Signed-off-by: Iustin Pop <iustin@googl... - 06:27 pm Revision d5fca545: Fix small typo in docstring
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:03 pm Revision b5ea70bf: Fix typo in NEWS
- “--dry-run” starts with two dashes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <i... - 05:42 pm Revision 6aa7a354: Change the backend.InstanceLogName signature
- This uses now the component for the transfer (if available), otherwise
(e.g. in installs/renames) nothing.
Signed-of... - 05:42 pm Revision 6613661a: Instance transfer: export component name to backend
- This modifies the RPC layer to export the component name too to the
backend, so that it can be used in log files and ... - 05:42 pm Revision 5e26c4d9: Instance transfer: add argument for the 'component'
- Currently, transfer data is done mainly with just the instance name,
but when we have instances with multiple disks t... - 05:41 pm Revision a4338da2: Fix lint errors
- It turns out that the only use of the operator module was for
itemgetter, so patch eb62069e should have removed that ... - 05:41 pm Revision f5eaa3c1: Optimise use of repeated/looping GetNodeInfo
- This adds a new ConfigWriter.GetMultiNodeInfo function and replaces
multiple/looping calls to GetNodeInfo with it.
S... - 05:41 pm Revision 71333cb9: Optimise use of repeated/looping GetInstanceInfo
- Similar to the previous patch, this adds a helper function to
eliminate repeated calls info ConfigWriter.
Signed-off... - 05:17 pm Revision 71ed8d22: gnt-node.rst: Fix a typo
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:37 pm Revision eb62069e: Add two more compat functions
- operator.itemgetter(0) → fst
operator.itemgetter(1) → snd
snd is not used yet, but it makes sense to add both.
Sign... - 11:50 am Revision d0ffa390: Add a flag to burnin to allow specifying VCPU count.
- Signed-off-by: Pedro Macedo <pmacedo@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Po...
08/02/2011
- 04:12 pm Revision 7c070961: Fix types passed to IAllocator
- Iallocator mode reloc, parameter reloc_from takes a list; half of the
code already forced this parameter to list, we ... - 04:12 pm Revision 7fa52acd: htools: change absolute to relative symlinks
- Currently we use absolute symlinks, but this doesn't work when we
install remotely (due to install first to local tem... - 12:56 pm Revision dfc8824a: jqueue: Add short delay before detecting job changes
- By sleeping for 100ms after receiving a notification for a changed job
file the job is given some additional time to ... - 12:08 pm Revision fab9573b: Add primary/second nodes' group as query fields
- These will be very useful for ganeti-watcher as it needs to retrieve
instances by group.
Signed-off-by: Michael Hans... - 11:20 am Revision d66bbe9f: Fix doclint failures
- Commit 54ca6e4b2 renamed some arguments, but didn't also renames them
in the docstrings.
Signed-off-by: Iustin Pop <...
Also available in: Atom