Activity
From 09/27/2012 to 10/26/2012
10/26/2012
- 06:05 pm Revision 7adb7dff: Convert Luxi results to Ganeti errors
- This a bit too complex patch converts the result of Luxi calls
(submitJob, query*, etc.) from Result to ErrorResult. ... - 05:35 pm Revision 7939f60c: cfgupgrade: Write file for file storage paths
- When file storage is used this file is now mandatory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed... - 05:35 pm Revision 5e09a309: backend: Switch to new file storage directory verification
- The configuration is no longer used for verifying file storage paths.
Signed-off-by: Michael Hanselmann <hansmi@goog... - 05:35 pm Revision 72b35807: Check allowed file storage paths during cluster-verify
- Some paths, such as /bin or /usr/lib, should not be used for file
storage. This patch implements a check during clust... - 05:33 pm Revision 78062de9: Make Paramiko an optional dependency for listrunner
- With the move away from “setup-ssh”, Paramiko is no longer necessary to
configure SSH on nodes.
Signed-off-by: Micha... - 05:27 pm Revision 8a670753: Remove setup-ssh
- It has been superseeded by “prepare-node-join”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I... - 05:27 pm Revision 224ff0f7: gnt-node add: Use prepare-node-join
- This patch changes “gnt-node add” to use the newly added
“prepare-node-join” tool. Hereby Paramiko is no longer a har... - 05:27 pm Revision f712208d: prepare-node-join: Use ssh.GetAllUserFiles
- Instead of building the dictionary locally, the global version in
“ssh.py” can be used.
Signed-off-by: Michael Hanse... - 05:27 pm Revision 5484cda5: ssh: Add function to get all of user's SSH files
- This new function returns the file paths for all of a user's SSH-related
files (RSA, DSA and authorized_keys).
Signe... - 05:27 pm Revision d5d76ab2: RunCmd: Support standard input file descriptor
- This patch changes “utils.RunCmd” to accept a file-like object or a
numeric file descriptor which will be used as the... - 03:37 pm Revision feec4cc5: Factorize job selection in “gnt-job cancel”
- This will also be used for changing jobs' priorities. All parameters to
the common function are non-optional.
Signed... - 03:37 pm Revision 6b96df59: utils.x509: Factorize code to extract X509 certificate
- This will be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop... - 03:37 pm Revision ebae9e37: prepare_node_join: Move daemon SSH files to constants
- This dictionary will also be useful in “gnt-node add”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe... - 03:37 pm Revision 340ae7da: prepare-node-join: Swap private and public keys
- Other places, such as “ssh.GetUserFiles”, use a structure where the
private key comes before the private key. Until n... - 03:37 pm Revision 910ef222: prepare-node-join: Use public key directly for auth…_keys
- A public key already includes the necessary prefix (“ssh-rsa” or
“ssh-dss”), so there is no need to add it again.
Si... - 03:35 pm Revision 7bd70e6b: ssh.GetUserFiles: Parameter to disable directory check
- Without this parameter, either an error would be raised or “.ssh” would
have to be created. Now it is possible to ret... - 03:05 pm Revision 879d9290: Move htools backends to a separate directory
- Five modules under the HTools/ directories are backend
implementations, so let's move them to a separate directory, t... - 02:49 pm Revision 5c03bcea: Fix lint issue in Test/…/THH.hs
- Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:23 pm Revision bca39f5c: Fix X509CertError definition in Haskell codebase
- Thanks Dato for catching this.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi... - 02:22 pm Revision 66ad857a: Fix a few issues found by newer hlint
- Testing with a newer hlint found a few minor issues; but all are real,
valid recommendations:
- don't use "if cond t... - 02:22 pm Revision f51eacf3: Add a simple unittest for THH code
- This is very THH specific, and applies to all serialisations generated
by THH, so I'm adding it in its own module.
P... - 02:22 pm Revision 9b156883: Add support for optional fields with null serialised
- This follows a conversation we had for how to deal with
optional-but-required fields in JSON serialisations: fields w... - 11:06 am Revision d976957d: Update instance modify message
- Currently the message does not say explicitly that instance-initiated
reboots are useless to trigger the use of new p... - 10:22 am Revision 2081f0bd: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
- Conflicts:
lib/config.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
10/25/2012
- 11:03 pm Revision c1bfc2eb: Hotplug: rpc only if instance is running
- Intruduce new function _InstanceRunning().
Fix *PCIInfo config methods to hold exclusively _config_lock and
take inst... - 08:57 pm Revision 86a24969: Errors.hs: improve field names for ConfigVersionMismatch
- Change {exp,act}Code to {exp,act}Ver, which gives a better idea that
the integer fields represent version numbers.
A... - 06:47 pm Revision cd93a0ec: Remove unused cache implementation
- Note that this commit has no Makefile.am changes, as the files were
not actually used. So it's better to actually rem... - 06:43 pm Revision dce5d027: THH.hs: delete isOptional, no longer used
- The isOptional function is no longer used after a150585 (“Convert
opcode TH code to the use of Field type”).
Signed-... - 04:46 pm Revision 5e360222: Fix two typos in Ganeti administrator's guide
- Fix a verb tense and add a missing verb.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Adeodato ... - 04:10 pm Revision 15c118a4: bdev: Remove unused import of itertools
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 03:18 pm Revision 23e3c9b7: bdev: Add verification for file storage paths
- An earlier version of this patch series verified all paths in cmdlib in
the master daemon. With this change all that ... - 03:16 pm Revision aebd0e4e: jqueue: Factorize code to modify job
- A new function will be added to change a job's priority.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie... - 03:16 pm Revision 552328b8: cli: Use callback for --priority
- If the option is used elsewhere, the numeric value is directly
available.
Signed-off-by: Michael Hanselmann <hansmi@... - 03:16 pm Revision bb921668: jqueue: Add docstring for _DetermineJobDirectories
- Somehow this was missed in commit 0422250e.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga... - 03:16 pm Revision 42d49574: jqueue: Fix comments in _SubmitJobUnlocked
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 03:16 pm Revision c87440f5: Drop SSHS_FORCE constant
- It is not actually used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@g... - 02:32 pm Revision 7a07475f: Add a default `.ghci' file
- This options file for ghci preseeds the correct include paths, so that
interactive sessions don't need to always pass... - 01:20 pm Revision fa45c478: Force tap's MAC prefix to "fe"
- Setting a high prefix discourages the bridge from adopting the tap's
MAC. Xen is not affected by this since the MAC i... - 01:05 pm Revision f56fc1a6: Add exception utility functions
- In Python, formatError also returns the exit code, but I find that
splitting them leads to clearer code.
Signed-off-... - 01:05 pm Revision 5183e8be: Convert query path from string errors to GanetiException
- This patch converts all the call paths from 'Result' (which contains
just string errors) to 'ErrorResult', which hold... - 12:38 pm Revision ef3ad027: Add an Errors module mirroring the Python one
- As described in the module doc string, while writing this it dawned
upon me that we're mixing all errors together int... - 12:38 pm Revision 185b5b0d: Abstract Luxi template functionality
- These are almost generic, so let's change the signatures a bit a make
them fully so.
Signed-off-by: Iustin Pop <iust... - 12:38 pm Revision 2e202a9b: Abstract a few types in THH.hs
- This 'simple' way of defining objects will be used also for errors, so
let's make it less Luxi-specific.
Signed-off-... - 12:03 pm Revision 9e995e4f: Add missing empty line
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Reviewed-by: I... - 11:54 am Revision 61b9b9c6: Remove dumb-allocator code from devel/upload
- The 'dumb-allocator' has been removed almost two years ago (commit
6f547f96, “Remove dumb-allocator”), let's remove t... - 11:54 am Revision 23294fb0: Fix devel/upload restart of daemons
- While running with a wrong --prefix/--sysconfdir, I saw that
devel/upload actually uses a hardcoded path for the init...
10/24/2012
- 04:57 pm Revision df3fc286: Merge branch 'stable-2.6-grnet' into debian-2.6-grnet
- 04:30 pm Revision 1b2ebbc0: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
- 04:29 pm Revision 6233a7b9: Merge branch 'stable-2.6-ippool' into stable-2.6-grnet
- 04:27 pm Revision 8f4a22e3: Fix a bug in LUNetworkAdd concering needed_locks
- Fix network client to pass conflicts_check to the opcode.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 03:01 pm Revision d55b80b0: Add small design for Linux HA integration
- This documents the status (or wanted status) of some example ocf modules
I've written for Ganeti. They are far from p... - 10:43 am Revision 335ba60d: Replace @LIBDIR@ in .in files
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
10/23/2012
- 07:28 pm Revision 68e2ed87: Improve devel/upload command line handling
- To people not used to it, it was completely non-obvious why
"./devel/upload" didn't do anything.
Signed-off-by: Iust... - 07:09 pm Revision b183c4a8: Improve logging of AssertionErrors
- Currently, when we have an assertion error raised from cmdlib, it looks like this:
[cluster] root@node4:~# gnt-ins... - 07:08 pm Revision 1facaf11: tools.prepare_node_join: Fix pep8 errors
- Pep8 didn't agree with the indentation.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Tro... - 06:32 pm Revision d12b9f66: Add initial implementation of prepare-node-join
- This is a new tool as per the design document “design-ssh-setup”. It
receives a JSON data structure on its standard i... - 03:59 pm Revision 8a3c9e8a: ssh.GetUserFiles: RSA support, unit tests
- This patch changes “ssh.GetUserFiles” to support two different kinds of
SSH keys, RSA and DSA. Before it would always... - 11:32 am Revision 986efb78: Fix typo in walkthrough document
- Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
10/22/2012
- 06:42 pm Revision 141c8421: Find coverage during configure, issue with Debian package
- - Debian Squeeze and up have a package named “python-coverage”, but it
doesn't use the same binary name as upstream... - 06:19 pm Revision 942a9a6a: Remove multiple uses of '.&&.' with conjoin
- This is just a bit of cleanup. The (.&&.) operator is internally just:
a .&& b = conjoin [a, b]
so let's replace ... - 06:19 pm Revision 41eb900e: Improve message for (==?) operator
- After seeing how nice HUnit formats the error message on failed
'assertEqual', I think we can do better with ==?. Cur... - 06:19 pm Revision 37519c09: Add a new 'really-all' make target
- This is used when one wants to build all binaries, including those
that are used only for testing. A handy shortcut t... - 06:04 pm Revision 559f9895: Use bitarray 0.8 interface
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 04:37 pm Revision 7cb4cb8a: Change version to 2.6.1+grnet1-1
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 03:18 pm Revision b3c70abf: Merge branch 'stable-2.6-grnet' into debian-2.6-grnet
- 02:20 pm Revision dddb2bc9: Annotated inequality operator for unit test properties
- This includes:
* The operator (/=?), which checks for inequality and prints
an error message if it encounters equ... - 12:31 pm Revision 77ffd663: Fix setting of 'failN1' flag for corner case
- This patch includes:
* The 'failN1' flag is now only set if there is strictly less
memory available than required ... - 12:29 pm Revision dd77da99: A few unittests improvements
- Small simplifications of other unit tests using the (==?)
operator when possible, and typo fixes.
Signed-off-by: Hel...
10/19/2012
- 07:38 pm Revision b02330cb: Merge branch 'stable-2.6' into stable-grnet
- 07:37 pm Revision c8a7c1e5: Merge branch 'stable-2.6-hotplug' into stable-grnet
- Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 07:27 pm Revision 24bdf090: Merge branch 'stable-2.6-ippool' into stable-grnet
- 06:04 pm Revision 651c1c3e: Corrected some commandlines in walkthrough
- Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:04 pm Revision 98508e7f: BasicTypes.hs: fix docstring for eitherToResult
- eitherToResult now converts from `Either a b` to `GenericResult`, not
necessarily from `Either String` only. Also, fi... - 05:55 pm Revision b07afbb3: Add a small QA check in instance renames for tags update
- We also need to change the signature for _GetInstanceInfo, since we
don't have access to the instance dictionary in t... - 05:55 pm Revision 06c9a9d6: Add note about running individual test cases
- This was asked a few times offline, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:... - 05:55 pm Revision 48e175a2: Update blockdev's "info" at instance rename
- Currently, we set "info" metadata on block devices at device creation
time, but we never update it, leading to stale ... - 05:55 pm Revision ded769c1: Add a small note about tab completion and generated files
- This can indeed be annoying, so let's document it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeoda... - 05:55 pm Revision e398546b: Add a small bdev helper function
- I wanted to write that snippet the third time, which is too much :)
Signed-off-by: Iustin Pop <iustin@google.com>
Re... - 05:55 pm Revision a1556cfa: LVM: remove old tags when adding new ones
- This patch adds a small helper function to clear an LV's tags, and
calls it at SetInfo time. We need this to be able ... - 05:31 pm Revision f4afc16e: Update for SSH design: Cluster name, ignore node daemon
- While writing the initial version of this design I misunderstood what
“setup-ssh” does. It doesn't actually start the... - 04:57 pm Revision ba147ff8: Fix disk adoption interaction with ipolicy checks
- In Ganeti 2.6, disk adoption is broken due to the ipolicy checks being
done before we read volume size from remote no... - 03:38 pm Revision e6d2a198: Merge branch 'stable-2.6' into stable-2.6-ippool-hotplug-esi
- 02:43 pm Revision 0232b768: Compare significant fields only for simple SSH keys
- For simple SSH keys, that is those without options such as
“command="…"”, only the first two parts need to be compare... - 10:02 am Revision 9805aa82: Add instance uptime to monitoring info
- This can be used to detect a reboot between two checks.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed...
10/18/2012
- 07:58 pm Revision 2f96c43c: test/*.py: Replace '' with ""
- There might be more, but at least replace all these low-hanging fruits.
Signed-off-by: Michael Hanselmann <hansmi@go... - 02:38 pm Revision 109e07c2: Add cluster monitoring agent design document
- This design addresses the lack of a uniform way to query ganeti nodes
for real time information that can be used by m... - 01:55 pm Revision a8038349: Remove custom OpResult type/monad
- Since we now have the GeneralResult as a multi-purpose monad, we can
remove the custom OpResult monad, and just use '... - 01:52 pm Revision a4b247f0: Merge branch 'devel-2.6'
- * devel-2.6:
ensure-dirs: Don't accept arguments
ensure-dirs: Fix program name on usage screen
cli: Fix small t... - 01:43 pm Revision fca74633: ensure-dirs: Don't accept arguments
- Before they would just be silently ignored.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti... - 01:43 pm Revision 8d77ac10: ensure-dirs: Fix program name on usage screen
- No string replacements are used, so doubling of the percent sign is not
necessary.
Before: Usage: %ensure-dirs [--fu... - 12:14 pm Revision 29fbe62e: Convert man page highlighting to standard RST
- Instead of using the sphinx-specific highlight extension, which is not
parsed by Pandoc, let's switch to the standard... - 12:14 pm Revision e1ff0de1: Convert two more 'sh' highlight styles to 'shell-example'
- This is straightforward; only one shell example remained, but as we
process the man pages via pandoc and not sphinx, ... - 12:11 pm Revision 1bf1ce3f: Small improvements to the move-instance doc
- While reading the docs, I saw that this is not converted to the shell
lexer, and that a few other small improvements ... - 12:11 pm Revision 707cd3d7: Use exitErr instead of explicit error message and exitWith
- Furthermore, a few messages have their capitalisation changed (fixed).
Signed-off-by: Helga Velroyen <helgav@google.... - 11:04 am Revision f9a51a21: Fix running of Haskell tests
- Commit 21a5e56c forgot to rename a variable used in a conditional (of
course shell didn't complain about unused vars)...
10/17/2012
- 07:53 pm Revision 93be1ced: Generalise the Result type
- Currently, our error monad—Result—has a plain string error type. This
is not good, as we don't have structured errors... - 07:45 pm Revision 659d769d: Merge branch 'devel-2.6' into master
- * devel-2.6:
htools-excl.test: add test case for exclusion tags in hbal
Instance.hs: rename 'tags' to 'exclTags',... - 06:44 pm Revision 90efd920: cli: Fix small typo
- s/it/if/
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Dato Simó <dato@google.com>
Reviewed-by:... - 06:30 pm Revision b898de8f: Add hbal-excl-tags.data to Makefile.am, missed in 0397694
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:51 pm Revision 312620ad: Better NEWS file for 2.6.1
- Better formatting of text, past tense used when appropriate.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
... - 04:13 pm Revision 6b6e335b: Group.hs: add 'allTags'; adjust loaders and test data for it
- This commit adds a Group.allTags field to store the tags of node groups,
and teaches each loader backend in HTools to... - 04:13 pm Revision 2f907bad: Instance.hs: rename 'tags' to 'exclTags', provide 'allTags'
- The mergeData function in Loader.hs included a step to filter an instance's
tags to include only the exclusion tags (... - 04:13 pm Revision 0397694e: htools-excl.test: add test case for exclusion tags in hbal
- In preparation for future modifications in the exclusion tags field, add a
test that verifies that exclusion tags are... - 03:27 pm Revision 18ccdced: Fix small typo in NEWS file
- Sorry, I didn't see this before pushing 5a7cb9d3…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodat... - 02:56 pm Revision a7862455: Remove support for PUT in noded
- This takes care of a FIXME; 2.6 already uses the new method, so we're
good during upgrades.
Signed-off-by: Iustin Po... - 02:12 pm Revision 5a7cb9d3: Ignore empty/comment lines in OS variants file
- Per a conversation on ganeti@googlegroups.com:
- gnt-os diagnose ; gnt-os list take in consideration blank lines i... - 02:12 pm Revision e1c701e7: gnt-job cancel: Confirmation and selection of jobs
- New parameters, “--pending”, “--queued” and “--waiting”, are added to
select all jobs in the respective state. If one... - 01:12 pm Revision a57b2bb7: Update NEWS for file storage paths
- Mention that the file is something new and should be written by
cfgupgrade.
Signed-off-by: Michael Hanselmann <hansm...
10/16/2012
- 06:13 pm Revision 7bb6e137: Replace custom algorithm in constants unittest
- There is no need for the “_IsUniqueSequence” function anymore, it can
easily be replaced by utils.FindDuplicates. Als... - 06:13 pm Revision 2ff01d78: Design for remote command execution via RPC
- This is a first design for executing commands via RPC.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe... - 06:13 pm Revision 04c998a5: Makefile: Verify version of security.rst document
- This document should be kept up-to-date.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P... - 06:05 pm Revision 1eaddbc6: Add new constant for pending job status
- This constant contains the job status' “queued”, “waiting” and
“cancelled”.
Signed-off-by: Michael Hanselmann <hansm... - 05:43 pm Revision 11f53fdb: Merge branch 'devel-2.6'
- * devel-2.6:
ensure-dirs: Fix permissions on master socket
Update security document for version 2.6
Update NEWS... - 05:38 pm Revision 48e3db76: ensure-dirs: Fix permissions on master socket
- A socket shouldn't have its executable bit set.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I... - 05:38 pm Revision 3397d13e: Update security document for version 2.6
- Quite some things were out of date. Some formatting was also updated.
Signed-off-by: Michael Hanselmann <hansmi@goog... - 04:54 pm Revision 781d828b: Fix OP_RESULT for OP_NETWORK_QUERY
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 03:53 pm Revision d27606cd: Allow passing 'none' for network_type option
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 03:14 pm Revision 19e21a6c: Add a very simple test rpc program
- This only supports test delay for now, is not built by default (only
on demand), and is also not installed anywhere.
... - 03:14 pm Revision 4ab40ed5: Add htools program code to hlint call
- Currently only the libraries are added, but not the actual main binary
(usually short) code.
Signed-off-by: Iustin P... - 03:14 pm Revision de2a5704: confd: add the test_delay RPC call
- Also add some more haddock structure to the module. The RPC call
itself is rather trivial.
Signed-off-by: Iustin Pop... - 02:11 pm Revision f2ee5004: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
- 02:01 pm Revision da1168c5: Fixes to pass unittests (make check)
- Conflicts:
doc/rapi.rst
lib/ovf.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 01:06 pm Revision f98efa98: Add design for changing node SSH setup
- The goal is to remove the dependency on Paramiko.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:... - 12:47 pm Revision ff8f0049: confd: fix RpcVersion call
- By accident, we sent the node object as call data in this rpc call,
instead the version request (i.e. nothing). This ... - 11:59 am Revision 162e70ed: Merge branch 'stable-2.6-hotplug' into stable-2.6-ippool-hotplug-esi
- Conflicts:
lib/cmdlib.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 11:57 am Revision 664249e9: Merge branch 'stable-2.6-ippool' into stable-2.6-ippool-hotplug-esi
- 09:04 am Revision 59a5de9e: Fixes to pass pylint (make lint)
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 09:00 am Revision 9650d658: Fix _GetPCIInfo() to pass unittests
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 08:56 am Revision 29cf7871: Add HOTPLUG_OPT in gnt-backup import client
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 08:51 am Revision 143214f6: Export nic.network during gnt-backup export
- Modify FinalizeExport() in backend.py to export nic.network as well.
Signed-off-by: Dimitris Aragiorgis <dimara@grne... - 12:40 am Revision 0048236f: Fix CIDR opcode checks to accept 'none' value
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 12:28 am Revision 1111f3e3: Export serial_no of networks/instances in hooks
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 12:28 am Revision 8a50b7c1: Export serial_no and uuid in network queries
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 12:28 am Revision 870c9855: Fix locks in network LUs
- Acquire corresponding instance locks if conflicts_check is True.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
10/15/2012
- 07:56 pm Revision 01e52493: Cleanup HTools.Types/BasicTypes imports
- Before we reorganised the source tree, the 'Result' type was exported
from HTools/Types.hs. This changed during the r... - 05:50 pm Revision a251afa8: ExtStorage support in htools
- Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
- 05:50 pm Revision 26ede877: Add external storage interface related man pages
- * ganeti-extstorage-interface man page
* gnt-storage man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grn... - 05:50 pm Revision 19930d75: Add the gnt-storage client
- Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-o... - 05:50 pm Revision 3ff5bdfa: Add --allow-arbit-params to 'gnt-instance modify'
- The option is added to allow us the passing of arbitrary ext-params
during disk addition (gnt-instance modify --disk ... - 05:50 pm Revision 1058522e: Multiple ExtStorage Providers and ext-params
- Add support for passing parameters to the ext template (ext-params).
Take advantage of disk-params, that don't seem t... - 05:50 pm Revision 8237d5eb: Implement the SetInfo method for ExtStorage
- Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
- 05:16 pm Revision 0f247c10: Minor fixes for ExtStorage inside bdev.py
- Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
- 05:03 pm Revision 4b945e1e: Merge branch 'stable-2.6' into devel-2.6
- * stable-2.6:
Update NEWS and bump version to 2.6.1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
10/13/2012
- 06:15 pm Revision f1d0869b: Fixes to pass py-apidoc (make commit-check)
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
10/12/2012
- 09:12 pm Revision bba43ba6: Fixes to pass pep8 (make lint)
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 09:12 pm Revision 23b0a9e0: Fixes to pass pylint (make lint)
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 09:12 pm Revision fdaacd25: Fixes to pass unittests (make check)
- Signed-off-by: Iustin Pop <iustin@google.com>
- 09:09 pm Revision 32279a07: Check for existing networks/groups in Network LUs
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 07:17 pm Revision 27e15be0: Update NEWS and bump version to 2.6.1
- This is a small bug-fix only release.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trot... - 01:37 pm Revision 300e5450: errors: Document arguments to QueryFilterParseError
- Also fix one small mistake in the docstring for QuitGanetiException.
Signed-off-by: Michael Hanselmann <hansmi@googl... - 12:37 pm Revision fc07a14e: Fix distcheck after commit 7a962ec
- I only ran “make check” and forgot about “distcheck”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed... - 11:37 am Revision 7a962ecc: Makefile/check-local: Ensure design document exists
- This way a missing design document is detected.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I... - 11:37 am Revision 97aac894: Add design document for version 2.7
- - Move design document for batch instance creation into it
- Sort list of hidden files in index.rst
Signed-off-by: M...
10/11/2012
- 04:49 pm Revision 479197d5: QA: TestAssignNodesIncludingSplit can be disabled
- The test can now be enabled/disabled with the "group-rwops" flag.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.... - 04:49 pm Revision 6f058bf2: QA: never put a master node offline
- Before, it could happen that the master node was chosen to be set offline
in the "instance-remove-drbd-offline" test.... - 04:48 pm Revision e85be22a: Add option to disable iallocator use in QA
- By default some QA tests use iallocators. It is now possible to disable
iallocators in QA, so that QA doesn't force h... - 04:15 pm Revision 5b27366d: Use network's mac prefix
- Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _Ge... - 04:15 pm Revision 4ab97ef7: Include networks in Makefile and bash completion
- Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 04:15 pm Revision 5a52117f: cfgupgrade for networks
- Add networks slot in config data.
Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 04:15 pm Revision 269eb7eb: Add tags in network objects
- Support:
- gnt-network add --tags.
- gnt-network list-tags/add-tags/remove-tags/.
- gnt-network list -o +tags
Sig... - 04:15 pm Revision fca7218a: Pass detailed network info in hooks
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 04:15 pm Revision f71d1807: Change default fields for network listing
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 04:15 pm Revision 0b95ab93: Pass netinfo in rpcs
- If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass ... - 04:00 pm Revision b95d2054: Introduce client support for networks
- gnt-network is used to manipulate and handle networks that
currently provides the following operations:
* Add a new... - 04:00 pm Revision ebdc436b: Add gnt-network man page
- Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 04:00 pm Revision a7f860c1: Rapi support for networks
- Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork
Signed-off-by: Di... - 04:00 pm Revision 09b9a917: ss_conf support for networks
- Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 04:00 pm Revision b2bbccc6: Modify instance client to support networks
- Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.
Signed-off-by: Apollon ... - 04:00 pm Revision e75d9a84: Implement LUNetworkQuery
- Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List in... - 04:00 pm Revision df968b4b: Implement LUNetworkSetParams
- Support modifying all network parameters except for network (ip range)
Cannot modify gateway and reserved ips at the ... - 04:00 pm Revision b35374d3: Implement network/nodegroup mappings
- LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically:
* Chec... - 04:00 pm Revision 6edb2627: Config methods for reserving/releasing IPs
- Use TemporaryReservationManager for IP handling to ensure
config data consistency.
Implement:
- methods for reservi... - 04:00 pm Revision 7cd72916: Modify LUInstanceCreate to support networks
- Implement backend support, to export the IP pool management
functionality to the clients. When the new NIC parameter ... - 04:00 pm Revision e01365a8: Modify RemoveInstance() to support networks
- Release any IPs held the instance before actually removing.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> - 04:00 pm Revision 4b8ec2a1: Modify LUInstanceSetParams() to support networks
- Keep backwards compatibility just like LUInstanceCreate() and
support network parameter for NIC object.
Add ec_id ar... - 04:00 pm Revision 7e03a8cc: Peripheral changes for networks
- Specifically:
* export a new environment variable for the gnt-os-interface
* export a new environment variable for ... - 04:00 pm Revision b246cea8: Basic IP pool management logic
- Implement LUs for corresponding opcodes:
* LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
... - 04:00 pm Revision aebdaa73: IP pool related objects, opcodes and constants
- Config objects:
* Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gatew... - 04:00 pm Revision 488e1849: Introduce new module for IP pool management
- Add new library module lib/network.py.
Introduce new class: AddressPool.
AddressPool implements all operations neede... - 03:34 pm Revision 8bd977e9: Add support for cpu_cap and cpu_weight Xen params
- This patch adds support for Xen's CPU scheduler 'cpu_cap' and
'cpu_weight' parameters.
Ganeti default values (cap: 0... - 03:21 pm Revision b0b8337a: Text.hs: update field lists in parseData comments
- The comments in parseData had become out of date with the implementations
of load{Group,Node,Inst}. This commit updat... - 01:53 pm Revision d5cc16d7: Enable conversion of errors constants
- These will be needed for the serialisation of errors.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mic... - 01:05 pm Revision 47130d50: LUClusterVerifyGroup: Localize virtual file paths
- The check for file consistency didn't properly handle virtual paths
in case of a virtual cluster. This didn't cause a... - 01:03 pm Revision a2ae14e9: Add a helper for query field checks
- … and also use it to simplify 'needsLiveData'. Additionally, add an
explicit export list to Ganeti.Query.Types, since... - 01:03 pm Revision 2d52359b: Cleanup/expand the filter/query tests
- This patch cleans up duplicate code in Test.Ganeti.Query.Filter and
then adds a test for names consistency with Pytho... - 01:03 pm Revision 4cd79ca8: Cleanup network timeouts and htools imports
- This patch removes the last HTools module imports from non-htools code
(the HTools.Types module), but it requires an ... - 01:03 pm Revision 18049dad: Cleanup haddock documentation a bit
- While grepping for htools imports in the non-htools subdirectory, I
saw that our haddock prologue and title are very ... - 01:03 pm Revision 1fc3812c: Switch ordering of names on query to niceSort
- This makes the "all" names queries consistent with the Python
results. The change requires updating the unittests, at... - 01:03 pm Revision a41c337e: Use the new name filtering behaviour in query
- We do this not quite generically, which means we have to add
another layer in the call chain, and rename the current ... - 01:03 pm Revision bc4cdeef: Add functionality for checking validity of names
- This replicates in the Haskell Query2 implementation the behaviour of
the Python code: if a "simple" filter is passed... - 01:03 pm Revision 9fbf0098: Enable query socket usage in gnt-node/gnt-group
- This switches gnt-node/gnt-group (and their equivalent RAPI resources)
to go over the query socket.
Signed-off-by: I... - 01:03 pm Revision b04dc242: Simplify a bit queryFields
- We don't add a type class for fully-generic handling, but we do
abstract the duplicate part.
Signed-off-by: Iustin P... - 01:03 pm Revision 5227de56: Fix the node powered field
- When initially implementing the node query, I thought the 'powered'
field is a representation of the run-time powered... - 01:03 pm Revision b3d17f52: Add a makeSimpleFilter function
- And associated unittests. This will be needed for classic-style
queries.
Signed-off-by: Iustin Pop <iustin@google.co... - 01:03 pm Revision cd67e337: Add support for classic queries
- This patch adds support for classic-style queries (before query2) to
the query socket server. The patch is rather tri... - 01:03 pm Revision 90d033ef: Add function for getting a group's merged disk params
- … and use it in the Query implementation, removing the last
non-correct query field for Groups.
Signed-off-by: Iusti... - 12:56 pm Revision fe4f6dca: vcluster: Don't virtualize /etc/hosts path
- /etc/hosts is a bit special as it's a system-wide file and the virtual
cluster/node root doesn't apply. The modificat... - 12:56 pm Revision 36683bad: vcluster-setup: Stop hardcoding /etc/hosts
- … use a constant instead.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goog... - 12:56 pm Revision 48967eb0: qa_utils: Stop hardcoding path to /etc/hosts
- - Simplified shell command for adding hosts, too
- The exception handling is also improved by re-raising any exceptio... - 12:56 pm Revision 72043dac: cli: Stop hardcoding /etc/hosts path
- There is a constant for this purpose.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop ... - 12:56 pm Revision ee045466: Move constant for /etc/hosts to pathutils
- Needed for coming patches.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo... - 12:55 pm Revision 7ca67731: bash_completion: Fix mistake introduced in merge 6a74f58
- This part of the code was duplicated by accident.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:... - 12:38 pm Revision 6a74f584: Merge branch 'devel-2.6'
- * devel-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in v... - 12:24 pm Revision c44356fd: Merge branch 'stable-2.6' into devel-2.6
- * stable-2.6:
verify-disks: Explicitely state nothing has to be done
Add list of design documents implemented in ... - 12:23 pm Revision 0422250e: gnt-job: List archived jobs if requested
- If requested via a filter or by including the “archived” output,
archived jobs will be loaded and shown. This is sign... - 12:23 pm Revision 43d51ef2: gnt-job list: Add option to include archived jobs
- This provides a convenience option to include archived jobs in the
output list. It's equivalent to using “-o +archive... - 12:23 pm Revision 4c27b231: jqueue: Correct docstring
- The description was not accurate.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 12:23 pm Revision 8a3cd185: jqueue: Add new in-memory attribute for archived jobs
- This attribute is set to True for jobs which were restored from an
archived file. A new filter will act on this field... - 12:23 pm Revision 52aa1efa: query: Report data type for unary operators
- All data kinds (used to restrict the data collected) referenced in a
filter can be requested once it's been “compiled... - 12:19 pm Revision 9c5b9957: Add htools/ganeti-confd to .gitignore
- Sorry, this should have went in b0dcdc10, but I forgot it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by... - 12:15 pm Revision 9b99be28: verify-disks: Explicitely state nothing has to be done
- Example output:
$ gnt-cluster verify-disks
Submitted jobs 4327
Waiting for job 4327 ...
No disks need to be activated... - 12:11 pm Revision 1ca7b773: Add basic unit tests for "gnt-cluster epo"
- This patch adds some unit tests for “gnt-cluster epo”. Not everything is
covered, but at least the bug fixed in the p...
10/10/2012
- 07:12 pm Revision 318853ab: Fixup node disk free/total queries
- The disk free/total values are optional ones, wrapped in a Maybe, so
we shouldn't directly serialise them. In order t... - 06:28 pm Revision 235a0fa5: (htest) Text.hs: fix typo in comment
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:37 pm Revision 3008f56c: Fix pylint breakage due to unused var in gnt_cluster
- The usage of that variable was removed in 45a36f36, but accidentally
the enumerate() was left in.
Signed-off-by: Ius... - 03:03 pm Revision 0ec87781: Fixup hypervisor queries in node query
- We need to only query the default (first enabled) hypervisor, not all
hypervisors. For this, we need to add a manual ... - 02:43 pm Revision edb3f937: Fixup node live field names
- The String parameter to 'nodeLiveFieldExtract' is the query2 field
name, not the RPC-layer field name. Grrr for not h... - 02:43 pm Revision 21a5e56c: Improve Haskell configure options and detection
- This patch cleans up the Haskell library detection and defaults.
First, it makes the base compiler/libraries requir... - 02:43 pm Revision 7ae97c33: Make regex-pcre an optional dependency
- This patch makes regex-pcre optional, allowing its disable via a
preprocessor define NO_REGEX_PCRE. This define will ... - 02:27 pm Revision 45a36f36: cluster epo: Fix bug where IndexError is raised
- Updating the “node_query_list” variable would fail if no arguments were
passed and the “--all” option wasn't specifie... - 02:22 pm Revision 40309ed7: Add list of design documents implemented in version 2.6
- Each version should have its dedicated list.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust...
10/09/2012
- 04:58 pm Revision 55837756: Try to auto-enable htools-rapi and split query
- We try to automatically enable the htools-rapi and split query (if
confd and htools-rapi are enabled) options. This i... - 01:46 pm Revision 39d1744a: Fix usage of errors.ResolverError
- This exception is documented to have three arguments, but in one case
we raise it with a simple string argument. Let'... - 11:16 am Revision 012f9bc3: Remove unused/deprecated error classes
- It seems a few of the error classes are no longer used:
- LVMError, deprecated in 8c5533a5 (before ganeti 1.2.2!)
- ...
10/08/2012
- 06:50 pm Revision 7e2f08ba: Typos and grammar fixes
- Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:36 pm Revision 04edfc99: Add an Utils.NiceSort() equivalent
- This patch adds a NiceSort equivalent and the corresponding unittest
(partially copied from Python unittest). The dif... - 02:39 pm Revision b3589802: backend: Use utils.IsBelowDir instead of local code
- utils.IsBelowDir is actually tested and doesn't allow writes to
“…/queue*”, like the old code here did.
Signed-off-b... - 02:39 pm Revision 4fdedd09: jstore: Nicer error message on non-numeric file content
- An error like “invalid literal for int() with base 10” can be quite
confusing.
Signed-off-by: Michael Hanselmann <ha... - 02:20 pm Revision 946e553b: Fixed QA for replace-disks
- Bug introduced in commit cc4b14f07: Part of a statement was missing. This
makes pylint-qa fail.
Signed-off-by: Berna... - 02:09 pm Revision 46118ed2: Merge ganeti-master-cleaner back into ganeti-cleaner
- As I wrote during/after the review on commit 2958c56, “ganeti-cleaner:
Separate queue cleaning code”, while I appreci... - 02:07 pm Revision 416eba57: Improve the confd man page
- This was a very very thin man page; this patch expands it a bit, but
it could use more help still.
Signed-off-by: Iu... - 02:07 pm Revision ecebe9f6: Split the OptComplNumeric into integer/float ones
- This allows the command completion to treat them as separate option
types; this is not useful in build-bash-completio... - 02:06 pm Revision f8d01158: Enable bash completion for Haskell daemons too
- This requires a few tiny changes to build-bash-completion and to
Makefile rules, but is straightforward.
Signed-off-... - 02:06 pm Revision 22278fa7: Define the actual arguments that are supported by programs
- This defines the arguments supported and then modifies the
--help-completion output to include them too.
Signed-off-... - 02:01 pm Revision fad06963: Support the new option types in build-bash-completion
- Beside parsing the arguments as well, we also change the serialisation
format for choices/suggests, to make the Pytho... - 02:01 pm Revision a6cdfdcc: Add support for arguments in --help-completion
- This extends the current option-only support with support for
arguments too. They are serialised without a without th... - 12:52 pm Revision dad26941: A few cleanups in Makefile.am
- A lot of the lists in Makefile.am were not sorted properly (or at
all); let's sort them for more sanity.
Additionall... - 12:41 pm Revision db154319: Add missing ipolicy field
- This was missing so far…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@googl... - 12:39 pm Revision 6b84f036: Fixup TAGS generation with newer GHC
- Newer GHC refuses to allow "-O" with interactive mode, so let's filter
that out. Furthermore, sometimes you don't hav... - 12:38 pm Revision a5b270c5: Remove qualified import of Utils.hs into its test module
- This is a leftover from the times when we had a single, huge test
module; nowadays it's only an annoyance.
Signed-of... - 12:35 pm Revision 26d62e4c: Rename Ganeti/HTools/Utils.hs to Ganeti/Utils.hs
- This is, I believe, the last non-htools specific file that still lived
in the htools directory; it's already widely u...
10/05/2012
- 11:34 pm Revision 8a6dbce8: bdev: Remove unnecessary empty line
- My local pylint didn't complain.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Sen... - 07:32 pm Revision 50c1e351: Better list of replace-disks arguments + typos fixed
- The man page and the bultin-in help for gnt-instance replace-disks were
inconsistent. Also fixed some typos in man pa... - 07:27 pm Revision 3439fd6b: Check fingerprint of file with allowed file storage paths
- This makes differences show up in “gnt-cluster verify”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 07:23 pm Revision 43a8f36a: Explicitly ask for the default iallocator in commands
- Now "gnt-instance recreate-disks" uses the default iallocator when "." is
specified as the iallocator. For uniformity... - 07:23 pm Revision 1a770ce5: Document the support for default iallocator
- Updated the man pages for the commands that accept an iallocator: "." means
the default iallocator.
Signed-off-by: B... - 07:23 pm Revision cc4b14f0: Instance QA uses default iallocator
- QA for recreate-disk and replace-disks now run also with the default
iallocator.
Signed-off-by: Bernardo Dal Seno <b... - 07:23 pm Revision 52ecc063: Support for the default iallocator in replace-disks
- "gnt-instance replace-disks" now behaves like the other commands, and uses
the default iallocator when "." is passed ... - 07:22 pm Revision fbdac0d9: bdev: Add functions to verify file storage paths
- - LoadAllowedFileStoragePaths: Loads a list of allowed file storage
paths from a file
- CheckFileStoragePath: Check... - 07:14 pm Revision e4cf42d4: jqueue: Look at archived jobs when watching
- First: This enables the use of “gnt-job watch $id” for archived jobs.
Now, the reason for actually making this work ... - 06:46 pm Revision 04569469: jqueue: Look at archived jobs when watching
- First: This enables the use of “gnt-job watch $id” for archived jobs.
Now, the reason for actually making this work ... - 03:16 pm Revision 4ff32a35: Design doc for partitioned Ganeti
- Partitioned Ganeti allows to assign node resources in an exclusive manner,
in order to limit interference between ins... - 05:17 am Revision 63a3d8f7: backend: Check for shared storage also
- If normal file storage was disabled but shared storage enabled,
“_TransformFileStorageDir” would still throw an excep... - 04:52 am Revision 6a9b9778: utils.FilterEmptyLinesAndComments: Return list
- We don't use generators often and lists are easier to re-use.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
... - 04:50 am Revision 555b6cb1: Improve disk wipe unit test
- - Don't hardcode node name in some places
- Don't define functions inside functions
- Simplify code for testing with ... - 04:50 am Revision fa8ef9d6: Wipe added space when growing disks
- This patch adds code to wipe newly added disk space when growing disks
using “gnt-instance grow-disk”. “New disk spac... - 04:50 am Revision 129cce69: Add unit tests for cmdlib._WipeDisks
- This is in preparation for adding disk wipe on growing disks.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
10/04/2012
- 06:00 pm Revision 1be3e86c: Add unit test for FilterEmptyLinesAndComments
- I somehow forgot this in the previous patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bern... - 05:58 pm Revision 461eb201: cmdlib._WipeDisks: Code formatting
- - LogInfo takes *args, no need to replace values right away
- Don't overwrite wipe_chunk_size right after it's been s... - 04:42 pm Revision 2cbe9af3: Factorize removing comments and empty lines from string
- This will also be used for verifying the file storage directory.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 04:58 am Revision 5506d7a9: ssconf: Fix mistake made in commit ee501db
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:38 am Revision ee501db1: Move a function from backend to ssconf
- The “WriteSsconfFiles” function is used to write ssconf files. By moving
it we can avoid importing backend into boots... - 02:58 am Revision f0f8d060: Show old primary/secondary node on disk replacement
- People unfamiliar with Ganeti's internals might be confused with the
different hostnames showing up later in the proc...
10/03/2012
- 08:00 pm Revision 33e26038: cmdlib: Change wording of messages during disk wipe
- Error messages don't need to say “please” and it's already obvious some
investigation is needed. LogWarning already l... - 06:35 pm Revision c31b2676: Check for existing networks/groups in Network LUs
- Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
- 06:03 pm Revision 0188611b: Remove constant for disk wipe block size
- It is dangerous to have this block size as a global constant as that
could give the impression of it being easily cha... - 06:00 pm Revision 64be07b1: gnt-instance reinstall: Don't always exit with success
- If one or more jobs failed the exit status should be set accordingly.
Signed-off-by: Michael Hanselmann <hansmi@goog... - 05:58 pm Revision 2ef3383e: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
- This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at... - 03:06 am Revision 3d8ae327: LUClusterVerify: Ignore /proc/drbd if DRBD is disabled
- This fixes issue 190. The problem was that the check for DRBD was
enabled if LVM storage is used and didn't depend at...
10/02/2012
- 10:35 pm Revision d971402f: cli: Exit with status 0 for --help
- This patch is somewhat longer than was anticipated. Before, commands like
“gnt-instance --help” would exit with the s... - 08:44 pm Revision 04520998: Remove option to select the Python version of confd
- This will need some more configure.ac checks for required libraries,
which will come later with the Haskell dependenc... - 08:44 pm Revision b0dcdc10: Remove the python confd server side code
- In 2.7 we will only support the Haskell version, if enabled.
Since the original hconfd enabling was a bit hack-ish (... - 08:41 pm Revision ab171697: Add first version of virtual cluster documentation
- - Add document describing virtual clusters
- Non-root clusters are not yet described, will be done in another
p... - 07:18 pm Revision d04d998b: INSTALL: Typo, missing dependency
- libghc-utf8-string-dev was missing.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal ... - 01:34 pm Revision 7ebadeb3: Always distribute ganeti.utils.io_unittest-runasroot.py
- Tests that depend on fakeroot were not distributed in the tarball created
by "make dist" when fakeroot was missing. N... - 06:12 am Revision a6d3644b: vcluster-setup: Watcher, init script
- - Generate a wrapper script for ganeti-watcher
- Provide command line option to specify init script
Signed-off-by: M...
10/01/2012
- 09:23 am Revision 77865fb4: Fixed typos in devnotes.rst
- Signed-off-by: Gintautas Miliauskas <gintas@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
09/28/2012
- 06:29 pm Revision 1266a29b: vcluster-setup: Add more parameters to "gnt-cluster init"
- This patch also adds two new parameters to the vcluster-setup script to
not configure /etc/hosts and networking. Buil... - 06:11 pm Revision 3779121c: Pylint cleanup
- The previous commits introduced some pylint errors.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iust... - 04:30 pm Revision 2f441f72: Add support for GANETI_ROOTDIR in Haskell code
- unsafePerformIO is required to go from the IO monad to pure code.
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 04:05 pm Revision b0a8e8c2: Modify batch-create to use MultiAlloc
- This is the CLI part of the OpInstanceMultiAlloc change. There is some
room for improvement especially with user hand... - 04:05 pm Revision 68b2e985: Make validation error message more useful
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:05 pm Revision 9bc5ac44: Provide a custom Validate for OpInstanceMultiAlloc
- This is needed, as we're not strictly separating validation from
populating the defaults. We do this all in one funct... - 03:16 pm Revision 2958c56e: ganeti-cleaner: Separate queue cleaning code
- This code does not need to run as root, therefore it's better to split
it out. It is now run with the same permission... - 03:14 pm Revision 052783ff: Stop hardcoding root user
- Some parts of the code still use a hardcoded user name: root. This patch
replaces all with a constant specified at bu... - 12:27 pm Revision 3d3f562b: Remove explicit recursion from sanitizeDictResults
- Since ERpcError is still not a monad, a simple foldr will have to
do for now.
Signed-off-by: Agata Murawska <agatamu... - 12:27 pm Revision 70c2362e: Pretty printing JSValue
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:27 pm Revision 0ae9ddc4: Merge parseHttpResponse with rpcResultParse
- parseHttpResponse is such a simple function that we can actually
do the entire unpacking in rpcResultParse.
Signed-o... - 12:27 pm Revision 7328a28c: Simplify and generalize rpcResultFill
- For now ERpcError is still not a monad, but we can still simplify
rpcResultFill implementation for different calls si... - 12:27 pm Revision a93b711b: Remove monadic results wherever possible
- There is no need (at least right now) for some of the resulting
types to be in additional monad, so let us just have ... - 12:27 pm Revision 274366e5: Realign instances of typeclasses
- As per Iustin's suggestion, this patch aligns parts of typeclass
instance on "=".
Signed-off-by: Agata Murawska <aga... - 12:27 pm Revision 60443f61: Rename RpcError -> String function
- As per Iustin's suggestion, show is not a good solution - so instead
the name is now explainRpcError.
Signed-off-by:...
09/27/2012
- 07:10 pm Revision 6e3bf290: Cleanup of build-time shell variable replacements
- Instead of having a different set in (almost) every shell script, this
inserts the most commonly used variables at bu... - 07:10 pm Revision 6a5e841d: ensure-dirs: Don't hardcode ssconf file group
- Otherwise chown(2) will fail when noded doesn't run as root.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R... - 07:09 pm Revision e5afb848: Fix distcheck after commit 29386d3ee
- Missing backslash.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:36 pm Revision ec944cc0: InstanceRecreateDisks: new assertion for node locks
- Make sure that all the nodes where a disk operation is peformed are locked.
Signed-off-by: Bernardo Dal Seno <bdalse... - 06:36 pm Revision cf8adf26: Fix missing locks in InstanceRecreateDisks
- In case of in-place recreate-disks operation, all node locks were released
before starting the actual execution.
Sig... - 06:26 pm Revision 29386d3e: Add vcluster-setup utility
- This utility can be used to configure an environment for a virtual
cluster. It sets up entries in /etc/hosts, creates... - 05:46 pm Revision 39b8cd94: ensure-dirs: Don't convert list to tuple
- Tuples are data structures, not containers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René ... - 05:43 pm Revision bb514a22: daemon-util: Use function to determine if confd is enabled
- … instead of comparing with two different values in two placse.
Signed-off-by: Michael Hanselmann <hansmi@google.com... - 05:41 pm Revision 320a5dae: Always_failover doesn't require --allow-failover anymore
- If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover in... - 04:02 pm Revision 370f2768: cfgshell: Remove pylint disable line
- Commit 326830963 removed the use of a private member function. Also
replace '' with "" in one place.
Signed-off-by: ... - 02:42 pm Revision e5ff1a47: Populate the instance dict with opcode infos
- This is needed so we can load it as an opcode. However, this information
should not be available on the client, so we... - 02:42 pm Revision 915faf72: Adding RAPI client for instance multi allocation
- It was very easy to refactor CreateInstance to repurpose some part of it
for the instance multi allocation request. S... - 01:52 pm Revision d163abf9: bash_completion: Enable extglob while parsing file
- In older versions of GNU Bash extended patterns, such as “@(…)”, are only
available with the “extglob” shell option. ... - 01:46 pm Revision 3a6a89d7: Revert unintentional change of daemon log file names
- Commit 3329f4dea6 unintentionally changed the filenames of all daemon
log files. This patch reverts part of those cha... - 01:06 pm Revision e8ae48e2: Fix bad wording in 2.3 design document
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Also available in: Atom