Activity

From 02/14/2013 to 03/15/2013

03/15/2013

03:41 pm Revision 6d2e1c12: Add design document for the "reason trail"
This commit adds the design document for introducing "reason trails",
tracing the reason why opcodes are executed, st...
Michele Tartara

03/13/2013

02:23 pm Revision f511082f: Add Mond to the list of possible daemons
Also, add its logfiles and extra log files.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin...
Michele Tartara
02:23 pm Revision a8828704: Add infrastructure for allowing additional logfiles
Some daemons will need more than the single logfile that is currently
allowed. This patch introduces the infrastructu...
Michele Tartara
12:49 pm Revision 14013e5d: Add user and group for the monitoring agent
This commit adds the user and group variables for the monitoring agent in all
the configuration files where they are ...
Michele Tartara

03/12/2013

07:19 pm Revision dc700f75: rapi client: add target_node to migrate instance
This allows migrating to any node, as it is already possible for
failover, when instances are externally mirrored.
S...
Daniel Krambrock
06:52 pm Revision d8f0b7c1: Make diskless instances externally mirrored
This addresses Issue 237.
Mirroring no disk is a no-op. As such we can treat them like mirrored
instances, since the...
Guido Trotter
06:29 pm Revision 7b3d70d4: Fix migrate/failover -n for ext mirror storage
This fixes issue 396.
- Fix a wrong comment that mentions drbd8 when actually the code acts
only on externally mir...
Guido Trotter
06:16 pm Revision ab9e48d1: Enable split queries for the network
Now that all fields are implemented, and (I think) behave equivalent
to the Python implementation, we can switch on t...
Iustin Pop
06:16 pm Revision 63fb3de0: Add a simple tool for checking split-query equivalence
This is not run automatically (although it could/should), but is very
useful during development.
Signed-off-by: Iust...
Iustin Pop
06:16 pm Revision 7c17db26: Fix gnt-backup list -o node via confd
Currently, the 'node' field is declared as a simple config field, so
when only selecting this fields, the runtime gat...
Iustin Pop
06:16 pm Revision 40b118d3: Introduce better item getter helper in query.py
And also use it for simple network fields. Currently the Python
library returns jsnull, which is formatted as 'None' ...
Iustin Pop
06:16 pm Revision 60a67263: Fix network query field types/names in the Haskell code
The headers/type/descriptions had some differences from the Python
code, when checked for exact equivalence.
Signed-...
Iustin Pop
06:16 pm Revision c81b97f2: Make gnt-node list -o(p|s)inst_list output stable
Currently, both the Python and Haskell code return the internal
instance list unsorted, which means the output can va...
Iustin Pop
06:16 pm Revision ce906289: Sort instance list in gnt-group list -opinst_list
The Python code currently sorts this, but the Haskell code not.
This should maybe have a test, but I'm not sure how ...
Iustin Pop
06:16 pm Revision bac48afe: Add missing external_reservations query field in confd
Based on the implemented Ip4Network/Address types, we can now compute
the (external) reservations.
Signed-off-by: Iu...
Iustin Pop
06:16 pm Revision 87f1a454: A few style fixes in Ganeti.Network
Side-effects of working on some other network-related stuff…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
06:16 pm Revision 147fd319: Expand TestHelper to allow non-underscore prefixes
HLint 1.8.28 requires us to always add "ignore CamelCase", which can
be problematic sometimes (e.g. when using Overlo...
Iustin Pop
06:16 pm Revision b1b4a26b: Change to CamelCase format in Test/Ganeti/Objects.hs
This is in preparation for using OverloadedString extensions in this
file, which conflicts with hlint 1.8.28's handli...
Iustin Pop
06:16 pm Revision 3a991f2d: Add simple Ip4Address/Ip4Network types
This patch adds some very simple IPv4 address/network types, and uses
them in the 'Network' config object.
We need t...
Iustin Pop
06:16 pm Revision 82953e9a: Change node disk/hv_state query in confd
Currently, the Python code returns either FS_UNAVAIL (if these
attributes are None) or the proper dicts. As we don't ...
Iustin Pop
05:21 pm Revision 74df4a99: Update design doc about free space reporting
This patch updates the design doc "Design correct reporting of storage
free space". The modifications were chosen to ...
Helga Velroyen
03:52 pm Revision ad658827: Fix QA: skip reinstall for diskless instances
Diskless instances cannot really be reinstalled, not even through RAPI.
Signed-off-by: Bernardo Dal Seno <bdalseno@g...
Bernardo Dal Seno
03:43 pm Revision 0e8d8384: Fix typo in the monitoring agent design doc
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michele Tartara
01:32 pm Revision 46d21495: Merge branch 'devel-2.7'
* devel-2.7
Add QA for instance creation with policy violation
Add QA for policy-instance interactions
Add QA f...
Bernardo Dal Seno
12:44 pm Revision 2eef8750: Fix style error in hconfd
The first line of a function should be blank, unless it is able to contain the
whole function.
Signed-off-by: Michel...
Michele Tartara

03/11/2013

08:57 pm Revision fa84c8a4: Add QA for instance creation with policy violation
When instance policy is violated, creation fails.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by...
Bernardo Dal Seno
08:57 pm Revision ab4832d1: Add QA for policy-instance interactions
Violations on policy changes are checked.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido ...
Bernardo Dal Seno
08:57 pm Revision b3f3aa3d: Add QA for cluster policies
qa_cluster.TestClusterSetISpecs() is exported as it will be used in future
tests.
Signed-off-by: Bernardo Dal Seno <...
Bernardo Dal Seno
08:57 pm Revision ba5c6c6b: Unit tests for objects.InstancePolicy + a fix
Tests for:
objects.InstancePolicy.CheckParameterSyntax()
objects.InstancePolicy.CheckDiskTemplates()
objects.In...
Bernardo Dal Seno
08:57 pm Revision e38bc4eb: Unit tests for objects.FillIPolicy() + small fix
IPOLICY_DEFAULTS is now a legal policy (the disk-templates entry was a set
instead of a list, before).
Signed-off-by...
Bernardo Dal Seno
08:57 pm Revision 4f7e5a1d: Fix upgrade of policy in objects.Cluster
Unknown elements were silently removed on startup. This means that a
software upgrade could result in lost configurat...
Bernardo Dal Seno
08:56 pm Revision 2477c1c5: Fix instance policy checks for default back-end parameters
Policy violations of back-end parameters that used the cluster default
value were not reported in cluster-verify.
Si...
Bernardo Dal Seno
08:56 pm Revision 6ea2bb8c: Fix restoring default instance specs in group policies
"default" was not accepted as a valid input value for instance specs in
group policies, due to a bug introduced in 2c...
Bernardo Dal Seno
08:56 pm Revision 5dd7d15b: Unit tests for cmdlib._GetUpdatedIPolicy()
Not 100% coverage, though.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Trotter <ultrot...
Bernardo Dal Seno
08:56 pm Revision cc4b2676: Fix policy check for disk templates
Instance disk template is checked against the policy, and diskless
instances aren't checked for the number of disks.
...
Bernardo Dal Seno
08:56 pm Revision 6a327093: Fix merge 8e09e801 that resulted in duplicated code
A fragment in LUInstanceCreate.CheckPrereq() removed in commit ba147ff8 was
reintroduced in merge 8e09e801 due to a c...
Bernardo Dal Seno
03:06 pm Revision 7db266bb: GanetiRapiClient: fix the no_remember option
There was a typo which prevented the correct option from being passed to
RAPI
Signed-off-by: Daniel Krambrock <danie...
Daniel Krambrock

03/08/2013

05:46 pm Revision 4f73cfc9: Merge branch 'devel-2.7'
* devel-2.7:
Change hbal behaviour in case of early exit
Fix build/sphinx_ext.py with tuple defaults for op param...
Iustin Pop
02:50 pm Revision 2d6bdcc5: Change hbal behaviour in case of early exit
Currently, hbal exits with status 1 if early exit is requested, even
when all jobs are successful. This is counter-in...
Iustin Pop

03/06/2013

05:31 pm Revision 777e8b6f: Fix "reason" opcode parameter description
The "reason" opcode parameter can now apply to multiple opcodes, not just the
one for rebooting instances.
Signed-of...
Michele Tartara
04:37 pm Revision c83c0410: Fix build/sphinx_ext.py with tuple defaults for op params
When an OpCode's parameter has a tuple as default value, this code
will break:
buf.write("defaults to ``%s``" % de...
Iustin Pop
04:37 pm Revision 67c15d8b: Fix bug in man build rule
Currently the man page build rule is run without ‘-e’, so the actual
checks in there are just warnings (check-man-war...
Iustin Pop
11:36 am Revision e61db4b2: Fix hscolour style sheet building
Currently we only symlink this into two hard-coded directories, which
breaks the source code viewing for all the othe...
Iustin Pop
11:16 am Revision 69c88fb1: Make "reason" a common opcode attribute
The "reason" attribute will be common to many opcodes.
This patch factors it out so that it will be possible for the ...
Michele Tartara

03/05/2013

06:15 pm Revision 9b154e2b: Merge branch 'devel-2.7'
* devel-2.7:
Update required pylint version
Constants.hs.in: improve Haddock markup in the template
convert-con...
Iustin Pop
05:53 pm Revision 099e9213: Update required pylint version
This should help a lot of users, since pylint 0.21.1 was quite an old
version…
The tree is "clean" w.r.t. the new py...
Iustin Pop
05:53 pm Revision 1498270e: Constants.hs.in: improve Haddock markup in the template
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Iustin Pop
05:53 pm Revision 25d7b289: convert-constants: generate better Haddock markup
Currently the Python source constants are used as-is, which is not
nice on the eyes (especially for unqualified names...
Iustin Pop
05:53 pm Revision 7ddd8e4c: Expand Haddock to run over test files as well
This patch does multiple enhancements to the way we build the Haddock
docs, motivated by the fact that if we don't ru...
Iustin Pop
01:56 pm Revision 491d02ca: Merge branch 'devel-2.7'
* devel-2.7: (23 commits)
Add export lists for files which didn't have them
Fix Haskell compatibility tests with ...
Iustin Pop
11:03 am Revision c56dd17b: Switch LispConfig double comparison to relative error
This further improves the comparison for "non-trivial"
numbers. Without this patch, there are still cases where the a...
Iustin Pop

03/04/2013

06:39 pm Revision 1fe0e999: Make the XmParser config test runtime more consistent
Currently, the test uses a frequency of 5 string/5 double/1 list for
generating Arbitrary instances of ListConfig. Ho...
Iustin Pop
06:39 pm Revision d58d44f3: Switch Attoparsec parser from double to rational
According to the documentation, “This function is almost ten times
faster than rational, but is slightly less accurat...
Iustin Pop
06:39 pm Revision a7e76dc3: Improve output of the XmParser config test
Currently, this tests and its helper function 'isAlmostEqual' uses
plain booleans to signify failures, which means yo...
Iustin Pop
06:10 pm Revision 91c1a265: Fix node partial name matching in Haskell code
This implements QffHostname and fixes the node listing (as well as
export listing when filtering on node name).
This...
Iustin Pop
06:09 pm Revision e7124835: Fix bug in group queries related to node/instance fields
Since we use the primitive string type for group UUIDs, the group
fields have a bug where we pass the group name as f...
Iustin Pop
06:09 pm Revision d5b2753a: Abstract the individual query functions
After implementing a few of the query executor functions, it turns out
that we have the same general pattern:
- comp...
Iustin Pop
06:08 pm Revision dce08ad3: Allow confd to serve network list-fields queries
The fields are not yet complete, but at least we can enable the
list-field query to see what is there already.
Signe...
Iustin Pop
06:08 pm Revision 36162faf: Rename/make uniform the other query entities
Following the new naming style introduced in Exports.hs, this patch
renames the other resources to export non-qualifi...
Iustin Pop
05:59 pm Revision dde85e1e: Add export lists for files which didn't have them
Two test helper files didn't have export lists (lost during the split
of tests). This patch finally reintroduces them...
Iustin Pop
05:18 pm Revision 3cbd5808: Fix Haskell compatibility tests with disabled file storage
When file storage is disabled at ./configure time, we shouldn't pass
opcodes containing DTFile/DTSharedFile/StorageFi...
Iustin Pop
05:18 pm Revision 3c87d614: Fix QA with disabled file storage
Currently QA tries to use “gnt-node list-storage” with all storage
types, but when file storage is disabled this will...
Iustin Pop
05:18 pm Revision 7b3cbe02: Fix convert-constants handling of booleans
It turns out that, in Python, booleans are also integers. So they fall
under the “isinstance(value, int)” case, resul...
Iustin Pop
05:18 pm Revision 1fbb19fa: Fix handling of disabled (shared) file storage
The vcluster changes broke the disabling of file storage; we can
workaround by (manually) skipping the virtualisation...
Iustin Pop
12:35 pm Revision b6322b3e: Fix LUTestAllocator with instance alloc
This is similar to commit 8775e62a; the addition of node_whitelist
broke this LU as well.
Signed-off-by: Iustin Pop ...
Iustin Pop
12:35 pm Revision bfa99f7a: Fix low verbosity levels in htools
In a few cases, we tested the verbosity level for (== 0), instead of
higher/lower than a certain value. If the user p...
Iustin Pop
12:35 pm Revision 36a566e8: Allow iallocator to work without LVM storage
Currently, the iallocator interface requires LVM storage, due to the
way it computes the node storage information.
B...
Iustin Pop
12:35 pm Revision 0e42ef67: Fix improperly formatted docstring
Change the docstring of chompPrefix to prevent the error
"doc comment parse failed" that was raised by some version o...
Michele Tartara
12:35 pm Revision 91c17910: Allow rpc.MakeLegacyNodeInfo to parse non-LVM results
'MakeLegacyNodeInfo' is not the best place for this, but we'd have to
duplicate it if we wanted a LVM-less version, s...
Iustin Pop
12:35 pm Revision 64b0309a: Fix confd issue regarding --no-lvm-storage
If cluster is initialized with --no-lvm-storage then volume_group_name
does not exist in config.data. Thus we must de...
Dimitris Aragiorgis

03/01/2013

06:54 pm Revision ac84befd: Fix networks in _PrepareNicModifications()
Passing --net 0:add,ip=5.5.5.5 failed due to a reference
of a non initialized variable (new_net_obj). Reorder the che...
Dimitris Aragiorgis

02/28/2013

06:40 pm Revision cd385f07: Fix sphinx label namespace
Thanks Michael for pointing out the error!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hansel...
Iustin Pop
05:48 pm Revision a09b0f16: Clarify use of move-instance with self-signed certificates
The document doesn't mention which certificates need to be passed as
ca-file, so let's try to clarify that.
Signed-o...
Iustin Pop
04:52 pm Revision 59c75517: QA: Support diskless instances
This is an initial implementation of diskless instances.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm Revision 00650761: QA: Compare ipolicy directly with None
If a value was set to numeric 0, the parameter wouldn't be passed to the
command.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
04:52 pm Revision 89d11332: QA: List all ipolicy options in example configuration
This makes it easier to know what options are available.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
04:52 pm Revision b296c810: QA: Update assertion for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm Revision a90636b2: QA: Disable reinstall test for diskless instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
04:52 pm Revision 1a6db3df: QA: Fix dictionary formatting
Make it match the style guide.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno ...
Michael Hanselmann
04:52 pm Revision 04b5f222: QA: Disable drbd-offline test if no DRBD instance is used
If “instance-add-drbd-disk” is not enabled it usually also means to not
use DRBD at all.
Signed-off-by: Michael Hans...
Michael Hanselmann
04:16 pm Revision ce35bdeb: Remove early returns in network LUs
Remove any early returns in LUNetworkDisconnect/LUNetworkConnect
and replace them with if-else statements.
Signed-of...
Dimitris Aragiorgis

02/27/2013

11:47 pm Revision 5c1ae836: Test AsyncStreamServer with abstract unix sockets
This was meant to be since "the beginning" but was never submitted as
somehow it failed with python 2.4. Now that the...
Guido Trotter
04:00 pm Revision 301adaae: QA: Disable RAPI tests for virtual clusters
The QA script connects to the RAPI daemon. In virtual cluster setups the
daemon is usually listening on a local inter...
Michael Hanselmann
04:00 pm Revision 2df92990: QA: Add virtual cluster support to queue drain test
The path to the queue drain file must use the virtual node path.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:00 pm Revision db41409c: QA: Disable copyfile test for virtual clusters
This test will need some more work for virtual clusters. Disable it in
the meantime.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
04:00 pm Revision c0464536: QA: Disable OOB tests for virtual clusters
They do not work properly at the moment.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo...
Michael Hanselmann
04:00 pm Revision 734fd6b4: QA: Update virtual node's RAPI users file
The file is located below the virtual node directory.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
04:00 pm Revision dcd85eef: QA: Read virtual node's RAPI certificate
The virtual node prefix must be added to the path.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
03:59 pm Revision c9cf3f1a: qa_os: Disable checks for virtual clusters
The OS definitions are not virtualized. Tests configuring different OS
definitions on different nodes don't work prop...
Michael Hanselmann
03:59 pm Revision e35c341e: qa_instance: Virtual cluster support for instance list
Use path of virtual node when retrieving ssconf's instance list.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
03:58 pm Revision ea0d8b70: qa_daemon: Virtual cluster support
Use virtual node path when removing the watcher status file.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
03:58 pm Revision 7160f14a: qa_utils: Support virtual cluster for backup files
“qa_utils.BackupFile” is always called with the path for a normal node.
In virtual clusters the node prefix path must...
Michael Hanselmann
03:58 pm Revision 50eaa5da: qa_utils: Virtual cluster support for SSH commands
In virtual clusters, all “gnt-*” and “ganeti-*” commands require
environment variables to be set for the virtual clus...
Michael Hanselmann
03:11 pm Revision c072e788: qa_config: Support callable test checks
Until now all tests depended on simple AND/OR conditions. With the
introduction of virtual cluster support, some test...
Michael Hanselmann
03:11 pm Revision 76fda900: QA: Add config entries for virtual cluster
If these new options are set, a virtual cluster is created and used.
Virtual clusters consist of 1..N virtual nodes o...
Michael Hanselmann
11:57 am Revision b3ab9a8a: Fix typo in docstring
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Reviewed-by: Michele Tartara <mtartara@google.com>
Christos Stavrakakis

02/26/2013

02:04 pm Revision 27d75ee0: rapi.rst: Replace manual method lists with directive
Many resources, but not all, list their supported methods. With a new
reST directive, this list is now automatically ...
Michael Hanselmann
03:53 am Revision e0519c34: Add networks to _AllIDs()
networks config objects have UUIDs and thus should be included
in _AllUUIDObjects().
Signed-off-by: Dimitris Aragior...
Dimitris Aragiorgis
03:53 am Revision 5a76adf7: Fix HooksDict() in case of no tags
In this method self.tags might be None and cannot be used
in join(). Use GetTags instead.
Signed-off-by: Dimitris Ar...
Dimitris Aragiorgis
03:53 am Revision 6d96f116: Fix locking in LUNetworkConnect()
Locks for group instances are aquired only if conflicts are checked.
To this end we must _CheckNodeGroupInstances() o...
Dimitris Aragiorgis
03:49 am Revision 076a2938: Fix networks in LUInstanceSetParams()
Params passed in _CreateNewNic() are not yet evaluated and include
the value passed by user for the network. A lookup...
Dimitris Aragiorgis

02/25/2013

08:05 pm Revision 777ea2c6: Officially require Python 2.6+
We have no way to test Python 2.4 compatibility anymore, and that
version is long deprecated. From version 2.8+ requi...
Guido Trotter
08:05 pm Revision 544029d3: HRoller: print only online nodes
To make the graphs work even when instances live on offline nodes (eg.
because we're offlining them just to exclude t...
Guido Trotter
08:05 pm Revision 2fce67b6: HRoller: allow filtering by node group
Accept the -G option, and if it's passed require that it matches a
nodegroup, then only output nodes belonging to tha...
Guido Trotter
05:54 pm Revision a5da38fa: bootstrap: Wait for SSH daemon to become reachable
In some situations after restarting the SSH daemon by
“prepare-node-join” it's not immediately reachable. Like with t...
Michael Hanselmann
05:53 pm Revision 25ba209e: TcpPing: Better error handling, logging
Log every attempt to reach a port on another node. Don't silently return
False if a target not recognized as an IP ad...
Michael Hanselmann
05:39 pm Revision 965e0e6a: Wipe disks added through "gnt-instance modify"
In issue 353 Sascha Lucas reported that disks are not wiped when added
through “gnt-instance modify”. This patch adds...
Michael Hanselmann
05:03 pm Revision 6bf7dad4: vcluster-setup: Create $vnode/etc/ganeti directory
This directory is required by “cfgupgrade” and some other tools.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
05:03 pm Revision d1ab11f2: constants: Use SSH constant for daemon ports
Moving the SSH/SCP constants around was necessary for this.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re...
Michael Hanselmann
02:52 pm Revision a82d9394: Fix style violations in commit 4a90bd4, small changes
- Commit 4a90bd4 contained a rather large number of style violations:
- Indentation/sequence formatting
- Wrappin...
Michael Hanselmann
02:13 pm Revision d59633a6: sphinx_ext: New directive for supported methods
Until now many resources, but not all and not consistently list their
supported methods (e.g. “Supports the following...
Michael Hanselmann
02:13 pm Revision aa82eb62: sphinx_ext: Factorize getting RAPI handlers
The list of resources and handlers will also be used for generating
a per-resource table.
Signed-off-by: Michael Han...
Michael Hanselmann
02:13 pm Revision 60b47261: sphinx_ext: Factorize handler methods/access
The factorized parts will be used to show a small table with methods and
required permissions for each resource.
Sig...
Michael Hanselmann
02:13 pm Revision 61c13f94: Use "none" instead of "everyone" in RAPI documentation
The list of required access permissions uses the word “everyone” to mean
“no special permissions are needed”. The wor...
Michael Hanselmann
02:11 pm Revision 0fd1fd29: .gitignore: Add test/hs/harep
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Dato Simó <dato@google.com>
Michael Hanselmann
11:37 am Revision 0c9d7319: Rewrap a comment in constants.py
As it was 80 chars, and you know that bothers me :)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Miche...
Iustin Pop
11:37 am Revision 5ba392f9: Enable split queries for export in CLI
Rapi doesn't seem to export backup lists, so we enable the split query
only in gnt-backup.
Signed-off-by: Iustin Pop...
Iustin Pop
11:37 am Revision b9b4f1bf: Improve the rpc-test program
This is an ugly patch, sorry. It adds the following features to
rpc-test, to help with (stress) testing the Haskell R...
Iustin Pop
11:37 am Revision c4bf507b: Implement Export queries in Haskell
This is a simple query as it has only two fields, however it's the
first query that doesn't have a clear 'base' objec...
Iustin Pop
11:37 am Revision 0b1c7a55: Fix exports query with failed RPCs
When the RPC to a node has failed (for whatever reason), we currently
return _FS_UNAVAIL, which means "this node does...
Iustin Pop
11:36 am Revision 842515dd: Add export_list RPC call definitions
This is straightforward, as the call has no parameters and a very simple return type.
Signed-off-by: Iustin Pop <ius...
Iustin Pop
11:36 am Revision 08f7d24d: Improve TemplateHaskell code to support empty objects
Currently, an empty objects will generate warnings as the arguments of
various functions are unused. By adding condit...
Iustin Pop

02/22/2013

02:09 pm Revision 466b7a39: Fix Curl/Internal.hs not being in gitignore
This is an autogenerated file, so it has to go into gitignore, thanks
Michael!
Signed-off-by: Iustin Pop <iustin@goo...
Iustin Pop
02:09 pm Revision 055d6ac0: Add option to redirect luxi socket for debugging
Currently, the choice between masterd and conf/queryd is made
statically, based on whether a query is converted or no...
Iustin Pop
02:07 pm Revision 2412bdea: Fix another docstring typo
… no comment :)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Review...
Iustin Pop
12:51 pm Revision 1302ce18: Improve RAPI documentation on users and options
- Document fields in “rapi/users” file in the order they appear
(username, password, options)
- Mention new “--requ...
Michael Hanselmann
12:51 pm Revision 27a8a190: RAPI: Add flag to require authentication
Most RAPI resources do not require authentication for the “GET” method.
In some setups it can be desirable to always ...
Michael Hanselmann
12:51 pm Revision 5d0b2888: sphinx_ext: Drop text map for RAPI permissions
Other parts of the documentation directly refer to the constants through
“pyeval”. There's no need for this map as it...
Michael Hanselmann

02/21/2013

11:05 am Revision ea322c27: Describe format of the monitoring agent HTTP queries
The previous patch was incomplete when erroneously pushed.
This patch, originally intended as part of the previous o...
Michele Tartara
10:39 am Revision b166dcfc: Describe format of the monitoring agent HTTP queries
Update the monitoring agent design document adding the format of the HTTP
queries that will have to be used to query ...
Michele Tartara

02/20/2013

07:12 pm Revision 0b08c8bf: Remove test of obsolete getNetworkUuid method
This will remove the tests for the getNetworkUuid method.
The method will be obsolete after the changes regarding
ide...
Helga Velroyen
06:47 pm Revision 1ca709c1: Switch the curl bindings from optional to required
Currently, we support curl being optional via some sporting exercises:
ifdefs in the code, data types that represent ...
Iustin Pop
06:47 pm Revision 85f6a869: Reduce duplication of curl options computation
Some curl option are request-specific, but not node specific: e.g. rpc
timeout, etc. The patch changes the HttpClient...
Iustin Pop
06:47 pm Revision 9c0a27d0: Simplify RPC error cases
This patch removes the node from the RPC error constructurs
CurlLayerError and OfflineNodeError. The rationale is tha...
Iustin Pop
06:47 pm Revision da9e2aff: Add two utility functions for handling Either lists
These two functions permit operating in bulk on only the Left or Right
values in the original list, then reassembling...
Iustin Pop
06:47 pm Revision 8920fa09: Switch the RPC module over to the multi interface
This replaces the very-basic parMap of IO actions (fully serialised,
as parMap won't work here), to the multi interfa...
Iustin Pop
06:47 pm Revision cc40185c: Add a Ganeti-specific implementation of Curl Multi
As we want to be able to run queries against multiple nodes in
parallel, and furthermore in parallel with other work,...
Iustin Pop
06:45 pm Revision 41be279f: qa_config.AcquireNode: Use sort key function
Use a sort key function instead of using a comparing function (“cmp=…”).
The latter is not supported in Python 3 and ...
Michael Hanselmann
06:45 pm Revision e80edd3b: qa_config: Add __repr__ for instance/node classes
Having a readable representation makes debugging easier.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
06:13 pm Revision 76eeabc7: Locking fixes regarding Issue 324
LUNetworkConnect/LUNetworkDisconnect, in case locking is used, might
lock instances that exist in the requested node ...
Dimitris Aragiorgis
05:40 pm Revision 1b9e1f42: Test "GetNodeInfo" for Xen hypervisor
This patch adds unit tests for success and failure of the “GetNodeInfo”
method for the Xen hypervisor abstractions.
...
Michael Hanselmann
05:26 pm Revision 5454737c: Fix small typo in a docstring
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Iustin Pop
03:38 pm Revision 47aa6ec9: QA: Add validation for cluster name
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Michael Hanselmann
03:38 pm Revision 2176724e: QA: Acquire instance via method
Also make “used” a property.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <b...
Michael Hanselmann
03:24 pm Revision 1657353c: check-news: Ensure release date is within three days
Commit b6ad806f contained a date a month in the future. With this patch
all release dates in NEWS may at most be thre...
Michael Hanselmann
03:20 pm Revision 3234695b: Merge branch 'devel-2.7'
* devel-2.7:
NEWS: Fix the fix in commit 82b6f9a
NEWS: Fix release date for 2.7.0 beta1
Minor fixes regarding n...
Michael Hanselmann
02:44 pm Revision b5a21c81: NEWS: Fix the fix in commit 82b6f9a
February 2, 2013 was a Wednesday, not a Thursday.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
01:51 pm Revision 82b6f9ac: NEWS: Fix release date for 2.7.0 beta1
Commit b6ad806f used a wrong date.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen...
Michael Hanselmann
01:28 pm Revision daff2f81: Build table with access permissions for RAPI resources
Sometimes it can be difficult to determine the access permissions needed
for a certain RAPI resource without looking ...
Michael Hanselmann
01:14 pm Revision 798f1ac9: Allow generating different RAPI resource lookup tables
Until now the RAPI resource table returned by
“rapi.connector.GetHandlers” always uses fixed strings or compiled
regu...
Michael Hanselmann

02/19/2013

09:36 pm Revision fb4b885a: HRoller design updates
- Specify that there will be options for selecting nodes by at least
nodegroups and tags, rather than just individu...
Guido Trotter
07:21 pm Revision 9394f4d1: Minor fixes regarding nic.network change
Make LookupNetwork() return None in case target is None. This fixes
Issue 380. Rapi passes network=None and the looku...
Dimitris Aragiorgis
06:57 pm Revision c3a5176f: baserlib: Make "_OPCODE_ATTRS" public
"_OPCODE_ATTRS" will also be used in the Sphinx extension.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
06:56 pm Revision d6ee0e41: Makefile: Add dependencies
The RAPI documentation now depends on “connector.py” (handler
registration) and “rlib2.py” (access permissions).
Sig...
Michael Hanselmann
06:55 pm Revision 180fdc32: RAPI documentation: Add link targets
A newly added table of RAPI access permissions will link to all
resources and their supported methods. For this reaso...
Michael Hanselmann
06:07 pm Revision c8f4e425: Fix issue 378
In case a NIC is not inside a network then netinfo None. Thus
netinfo["name"] fails.
Signed-off-by: Dimitris Aragior...
Dimitris Aragiorgis
04:29 pm Revision 5224c9bf: Helper to retrieve access permissions for RAPI resource
Merge similar code into a helper function.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido ...
Michael Hanselmann
04:29 pm Revision c6793656: Sphinx extension: Module-level constant for tab width
Use a module-level constant for the tab width.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Mi...
Michael Hanselmann
04:29 pm Revision 46ab58d4: RAPI documentation: Assertion for console fields
Assert that the documented fields are equal to those in the actual
object.
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
04:27 pm Revision 4a90bd4f: Status change reason support for Reboot
Add support to the Reboot command for specifying the reason for the last
status change.
Some features are implemente...
Michele Tartara
04:27 pm Revision a59d5fa1: Infrastructure for specifying instance status change reason
This patch introduces some infrastructural modifications that will be used by
the following commits to implement the ...
Michele Tartara
04:05 pm Revision 03be57a9: NEWS: Mention multi-alloc and fix typo
As far as I could see, the ability to allocate multiple instances via
RAPI was not mentioned at all. A superfluous wo...
Michael Hanselmann

02/18/2013

06:08 pm Revision 834bea99: Unit tests for Query/Network.hs
This patch adds a couple of unit tests for Query/Network.hs.
Note that they'll need to be adapted, once issue 362 is ...
Helga Velroyen
05:35 pm Revision 7dc27988: Make Confd client usable for testing
Allow the Confd client to be able to connect to an arbitrary server
instead of just the real one running on a cluster...
Michele Tartara
05:35 pm Revision c5a957c3: Add Haskell parser for "xm uptime"
In order to fetch precise information about the uptime of the VMs
running in Xen, we need to analyze the output of th...
Michele Tartara
05:35 pm Revision b8585908: Add Haskell parser for "xm list --long"
In order to fetch precise information about the status of the VMs running in
Xen, we need to analyze the output of th...
Michele Tartara
05:34 pm Revision 332a83ca: Add request type to Confd server for getting instance list
Add to Confd server a new request type (and its implementation) to ask for
the list of instances in a node.
Signed-o...
Michele Tartara
12:32 pm Revision 3301805f: Update monitoring agent report format
This commit expands the monitoring agent design document improving the
description of the general report file format....
Michele Tartara
12:16 pm Revision f032d55c: Add cfgupgrade for changing nic.network to uuid
This gets all network info from config_data and parses
all instances and their NICs and makes the substitution.
Sign...
Dimitris Aragiorgis
12:06 pm Revision aee9a8a0: Remove useless code in backend for network hooks
In backend NICs arrive with netinfo filled. If nic.network is not None
nic.netinfo is not too. Thus all the info is d...
Dimitris Aragiorgis
12:05 pm Revision 68c13560: Show network name and not uuid in instance info
This was before the case too. Now is bit trickier because nic.network
is uuid. Info must derive from nic.netinfo.
Si...
Dimitris Aragiorgis
12:05 pm Revision 1635eec0: Add IQ_NETWORKS in query tests
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Helga Velroyen <helgav@google.com>
Dimitris Aragiorgis
12:03 pm Revision 271fee18: Implement network locking in Instance queries
This is needed in case more info than each nic's network uuid is to
be returned. We need to lock networks to get vali...
Dimitris Aragiorgis
12:03 pm Revision f98e1175: Changes in query to support nic.network as uuid
Queries now return the network uuid as well as it's name. Here we
only use info provided be LUInstanceQueryData conte...
Dimitris Aragiorgis
12:03 pm Revision 434b96a2: Modify query LUs to supoprt nic.network as uuid
Make _InstanceQuery gather all network info related to instance's
NICs and in case of NETQ_INST in _NetworkQuery get ...
Dimitris Aragiorgis
12:03 pm Revision 922610c9: Add GetInstanceNetworks() config method
This will be needed for Instance Queries. It walks through the
instance's NICs and returns a list network uuids that ...
Dimitris Aragiorgis
12:03 pm Revision 5a292b36: cmdlib changes to support nic.network as uuid
Refactor Instance related LUs to support nic.network as
a uuid. This removes all the unnecessary invocations to
Looku...
Dimitris Aragiorgis
12:02 pm Revision 9ccacbc8: Make network config methods take uuid as argument
This will be needed in the following patches where nic.network
will refer to network's uuid and not name.
Signed-off...
Dimitris Aragiorgis

02/15/2013

05:01 pm Revision 18c3417b: Document possible hypervisor bug in serial_console
This is described in Issue 83.
Update both the install guide and the gnt-instance manpage.
In the install guide move...
Guido Trotter
04:36 pm Revision e19f7095: Update man pages wrt ExtStorage
* ganeti-extstorage-interface: add examples
* gnt-instance: document the “ext” template
* remove a few double space...
Constantinos Venetsanopoulos
03:06 pm Revision ab8747b7: Design correct reporting of storage free space
This is a long standing bug in Ganeti. Add a small design on how we plan
to fix this for Ganeti 2.7.
Signed-off-by: ...
Guido Trotter
03:04 pm Revision fe502d25: Merge branch 'devel-2.7'
* devel-2.7:
Rename lib/objectutils to outils.py
Fix typo in gnt-group manpage
Fix wrong type in a docstring of...
Iustin Pop
12:23 pm Revision d9a22528: Revert "Disable live-RPC queries under split query"
This reverts commit fb251c2c4c582ec0d6c00a6f6c5e134ed5196e03. On the
master branch we want to continue to have them e...
Iustin Pop
12:14 pm Revision 473d87a3: Rename lib/objectutils to outils.py
Back when this was introduced, I mentioned that it breaks heavily tab
completion (ob<TAB> doesn't work anymore), but ...
Iustin Pop
12:12 pm Revision 4b11adcc: Add hroller design to Makefile and design-drafts
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
11:29 am Revision 09208925: Hroller design doc
Hroller in 2.7 was implemented (as an experiment) but never explicitly
designed. This design mentions the current fun...
Guido Trotter

02/14/2013

12:00 pm Revision bfb1d750: Fix typo in gnt-group manpage
The --ipol-disk-templates parameter should actually be
--ipolicy-disk-templates.
Signed-off-by: Ben Lipton <ben.lipt...
Ben Lipton
« Previous
Next »
 

Also available in: Atom