Activity
From 12/06/2011 to 01/04/2012
01/04/2012
- 03:21 pm Revision 995736c6: Update the resource model DD with current state
- On my work for instance policies we decided not to overload --force
more, instead we go with a new flag --ignore-ipol...
12/22/2011
- 09:09 pm Revision df69e0a0: Fix failure in distcheck and coverage tests
- autotools/testrunner was missing in distcheck. Now some changes from
7004106119c5c56c93085ccfb1250b3561b5b6ad have b... - 08:34 pm Revision 96a7481d: Makefile: Fix parallel distcheck
- Running “make -jN distcheck” for any N > 1 would reliably break when
building the RPC client wrappers. This was due t... - 07:19 pm Revision 89907375: doc/admin: Clarify archived jobs
- Also mention that archived jobs can be viewed using “gnt-job info”.
Signed-off-by: Michael Hanselmann <hansmi@google... - 07:16 pm Revision aa66c183: Merge branch 'devel-2.5'
- * devel-2.5:
jqueue: Factorize checking job processor's result
jqueue unittest: Rename simple fake-job class
jq... - 06:41 pm Revision 4f44e311: Merge branch 'stable-2.5' into devel-2.5
- * stable-2.5:
jqueue: Fix epylint errors introduced in 37d76f1e4
jqueue: Fix deadlock between job queue and depen... - 05:04 pm Revision fc4498e9: test/lockperf: Use a list of integers, not booleans
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:25 pm Revision e4d452b4: Add lock performance utility
- I had an idea for improving locking performance. To see if it worked I
wrote this tool. Unfortunately the idea didn't... - 03:19 pm Revision df5a5730: jqueue: Factorize checking job processor's result
- This allows for more unittesting.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 03:19 pm Revision 1b5150ab: jqueue unittest: Rename simple fake-job class
- Also add a parameter for priority, to be used in an upcoming
patch.
Signed-off-by: Michael Hanselmann <hansmi@google... - 03:12 pm Revision fd6eaa09: unit tests: Add tests for file mode handling in utils.WriteFile
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:12 pm Revision 0d20cc42: unit tests: Add tests for uid and gid handling in utils.WriteFile
- These tests need fakeroot. If it's not present, they are not run (they
don't fail).
Signed-off-by: Bernardo Dal Sen... - 03:12 pm Revision eea3b572: noded: Fix /etc/hosts group ownership
- When Ganeti was compiled with the option of running as a different
user/group, the group ownership of /etc/hosts was ... - 03:12 pm Revision 70041061: unit tests: added fakeroot support
- Tests ending in "-runasroot" or "-runasroot.py" are run through fakeroot,
so activity that needs root privileges can ... - 03:12 pm Revision c47eddb8: utils.WriteFile: Add new parameter to preserve file permissions
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Micha...
12/21/2011
- 06:04 pm Revision 1316ebc2: jqueue: Fix epylint errors introduced in 37d76f1e4
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:02 pm Revision 60154921: Extend RPC definition change with another parameter
- This will be used in a later patch for parameter pre-processing. For
now we just add the parameter as 'None' and add ... - 06:02 pm Revision 5449685e: Switch blockdev_getmirrorstatus_multi to per-node bodies
- Even for a small 4-node node-group, this reduces the payload of this
RPC call by half for each node; for a big node g... - 06:02 pm Revision d9de612c: Change internal RPC client body values
- Currently, all RPC payloads sent by the client to the remote node
daemons must be identical, due to how the data is p... - 06:01 pm Revision 527c0cf7: hv_kvm: Make string containing regex a raw string
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:25 pm Revision 65107a2f: hv_kvm: Style fixes
- Change a few lines to match rest of code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 05:25 pm Revision 51129a7f: test/hv_kvm: Code style, additional tests
- Change code style to match rest of Ganeti code and add
two tests checking for single-line messages.
Signed-off-by: M... - 05:25 pm Revision 9b87c2cf: hv_kvm.QmpMessage: Use dict.get
- No need to look up the key twice.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 04:55 pm Revision a182a3ed: serializer: Remove JSON indentation and dict key sorting
- Serializing to JSON using “simplejson” is significantly slower when
indentation and/or sorting of dictionary keys is ... - 04:35 pm Revision 37d76f1e: jqueue: Fix deadlock between job queue and dependency manager
- When an opcode is about to be processed its dependencies are
evaluated using “_JobDependencyManager.CheckAndRegister”... - 12:04 pm Revision 0f63f1f9: Fix unittests for daemon_util with disabled confd
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
12/20/2011
- 12:07 pm Revision 519fafa1: Fix parameters for QueryJob in JobExecutor
- When gnt-job submit is used with the --each option, it sends as
parameters for QueryJobs a list of lists, each contai...
12/19/2011
- 05:37 pm Revision 20699809: locking: Add “__repr__” to SharedLock and PipeCondition
- These help when debugging.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Andrea Spadaccini <spa... - 04:07 pm Revision 73e6cf8d: Fix cluster destroy failure
- Cluster destroy would fail if there were errors while deactivating the
master IP address. This patch demotes such err...
12/17/2011
- 12:46 am Revision b0943462: Add docs for missing option in gnt-debug man page
- Document the --each option of gnt-debug submit-job.
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed...
12/16/2011
- 10:30 am Revision 085e0d9f: gnt-node: Add hv/disk state to add
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:30 am Revision e4c03256: gnt-group: Add hv/disk state to add
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:30 am Revision c4929a8b: gnt-cluster: Add hv/disk state to init
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
12/13/2011
- 02:00 pm Revision 57d8e228: RAPI client: Replace body value assignments with helper
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:00 pm Revision 6396dc04: RAPI client: Export feature constants
- Users of the RAPI client may want to use feature strings too, therefore
they should be explicitely public.
Signed-of... - 02:00 pm Revision a19a6326: sphinx_ext: No longer exclude “depends” parameter by default
- By default parameters existing for all opcodes (e.g. “debug_level”) are
not listed in the RAPI documentation. With th... - 02:00 pm Revision 4c864b55: RAPI client: Use utilities for building query parameters
- Instead of repeating a “if cond: query.append(…)” pattern, utility
functions are added and used.
Signed-off-by: Mich... - 02:00 pm Revision 822a50c4: opcodes: Extend description of “depends” parameter
- The documentation string is used in the RAPI description and
having more details is good.
Signed-off-by: Michael Han... - 12:11 pm Revision 5a1e31b4: Add infrastructure for, and two extra hlint rules
- This will allow us to easily use add new lint rules that we
standardise on, if any.
Signed-off-by: Iustin Pop <iusti...
12/12/2011
- 04:04 pm Revision 9475189d: Document DRBD dynamic resync params in man pages
- Also, remove some spurious spaces in the documentation of other options
and uniform the style of the disk parameters ... - 04:04 pm Revision 8584e922: Add the remaining DRBD dynamic sync disk params
- Add the c-plan-ahead, c-fill-target, c-delay-target, c-max-rate,
c-min-rate parameters; report errors while setting t... - 04:04 pm Revision f2f57b6e: Add the dynamic-resync DRBD disk parameter
- constants.py, cmdlib.py:
- add the dynamic-resync parameter, both at DT and LD levels;
lib/bdev.py:
- change SetSync... - 04:04 pm Revision 5e83282b: Describe the dynamic-resync par. in the design doc
- Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:23 pm Revision cc120286: Makefile.am: fix permissions for Python scripts on install
- Some Python scripts in /usr/lib/ganeti/ were getting the wrong permissions
(their 'x' bit was cleared). This patch f... - 12:22 pm Revision 0f796800: devel/upload: Fix permissions for installed directories
- Permissions for the directories created during install depended on the
umask of the user running the script. Now uma...
12/09/2011
- 05:48 pm Revision 04b8aebf: QA: init cluster changes ispecs
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:48 pm Revision 195f90bf: Empty ipolicy fix
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:47 pm Revision d6033c14: Man page for gnt-group
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 05:47 pm Revision e37c5129: Man page for gnt-cluster
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 05:47 pm Revision bf8647a3: Resource model design update
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 05:47 pm Revision 6b9ff5e2: SimpleFillIpolicy corrected
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:47 pm Revision 4f725341: Change constants: ISPECS suffixes to prefixes
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:44 pm Revision 5959f75d: mem_count is now mem_size everywhere
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
12/08/2011
- 07:24 pm Revision fb644e77: GroupSetParam supports instance policy changes
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:24 pm Revision 1f5d9bf8: AddGroup supports instance policy
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:24 pm Revision edd49f9b: Group query now calculates ipolicy
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:24 pm Revision 38c37a51: Verification of instance policy for gnt-cluster verify
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:24 pm Revision 81e3ab4f: Introduce instance policy on nodegroup level
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:24 pm Revision be499e31: Cluster-level instance policy - other
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:23 pm Revision e1a6850f: SetClusterParams supports instance policy changes
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:23 pm Revision 18bb6d28: InitCluster supports instance policy
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:23 pm Revision 32017174: Instance policy command line support
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:23 pm Revision 918eb80b: Introduce instance policy on cluster level
- Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:21 pm Revision 4958b41e: daemon.GenericMain: Don't generate backtrace on conflicting daemons
- Instead, print a nicer error message. This should fix issue 200.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 06:21 pm Revision b6522276: utils.io.WritePidFile: Improve error reporting
- If the PID file is already locked by another process, try to read
the content and report it as part of the error mess... - 06:03 pm Revision fcf5b670: Add a balloon device to all kvm instances
- This can be used to resize their memory (for now only manually, as
ganeti doesn't do the job yet)
Signed-off-by: Gui... - 06:03 pm Revision 89da2ff3: kvm: get more accurate info from qmp, if possible
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:03 pm Revision fc84cd5d: kvm: make qmp connections more robust
- Currently qmp fails at connect() time if there are socket errors. (eg.
if the instance was started without qmp). Add ... - 06:03 pm Revision eb93b673: Move ErrnoOnStr backend function to utils
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:36 pm Revision a46b1883: Add documentation for disk parameters to man pages
- Document the stripes parameter for the plain template and the
resync-rate, datastripes, metastripes, disk-barriers, m... - 01:36 pm Revision ad1dd4c7: Add net-custom and disk-custom DRBD parameters
- Those parameters can be used to pass options directly to drbdsetup disk
and drbdsetup net.
Signed-off-by: Andrea Spa... - 01:36 pm Revision 8002e46b: Add the metavg DRBD disk parameter
- This parameter represents the default metadata volume group for DRBD
disks. It can be overridden at instance creation... - 01:36 pm Revision ac00bf1b: Move LD parameters constants to the LDP_ namespace
- Add the LDP_ prefix to the LD parameters-related constants, in order to
avoid pollution in the global constants names... - 01:32 pm Revision 23805716: Restore diskparams in the gnt-group options check
- Commit a82823 accidentally removed opts.diskparameters from the list of
parameters that are checked for presence in g... - 12:42 pm Revision 2dbc6857: utils.ListVisibleFiles: Hide “lost+found” directories
- If a “lost+found” directory is found at a filesystem's root path it is
ignored. In all other cases directory entries ... - 12:03 pm Revision ba1260ba: Some small test simplifications
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 11:53 am Revision 42a769f9: Add tests for parameter "always_failover"
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Ius... - 11:51 am Revision 11dc66f3: Add new back-end parameter "always_failover"
- Instances that have this parameter is set to True are never migrated, but
instead they can only fail over. There are... - 11:40 am Revision 1cdc9dbb: manpages: Fix small errors in documentation
- Mostly typos, except for the output of "gnt-instance migrate" in an
example, which has been updated to the current ve... - 10:48 am Revision 2da9f556: gnt-cluster: Allow modify disk/hv state
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:48 am Revision a8282327: gnt-group: Allow modify disk/hv state
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:48 am Revision 0ec2ce46: gnt-node: Allow modify disk/hv state
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:48 am Revision 0ba177e2: cmdlib: Adding hv/disk state dict helper functions
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:48 am Revision 38f29a36: cli: Add common command flags for hv/disk state
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 10:48 am Revision 784cd737: cmdlib: Adding _UpdateAndVerifySubDict helper
- This helps with 2 dimensional dicts.
For example the hv_state and the disk_state dicts.
Signed-off-by: René Nussbaum... - 10:00 am Revision 3603605a: Cleanup hlint errors
- First, we update the recommended hlint version to what I used to get a
clean output (1.8.15). Most of the changes are... - 10:00 am Revision 2f9198be: Abstract some common hspace code into a function
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com> - 10:00 am Revision 255f55a9: Abstract some common Cluster.hs code into a function
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>
12/07/2011
- 10:57 pm Revision c12adead: Add DRBD dynamic resync speed params to design doc
- * Expand the Name column of the table (for c-delay-target)
* Add the c-* DRBDparameters to the table containing the d... - 12:00 pm Revision a1505857: Convert opcode TH code to the use of Field type
- This makes more explicit the field behaviour - previously an optional
field was detected via a "Maybe" constructor, a... - 12:00 pm Revision 656a7fdf: Unify some file lists in Makefile.am
- These were repeated needlessly; I hope I grouped them correctly.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
12/06/2011
- 06:34 pm Revision 8a69b3a8: Add DRBD barriers disk parameters
- Add the disk-barriers and meta-barriers parameters described in the
design doc.
constants.py:
* add the needed LD an... - 02:12 pm Revision 8bec868e: Style fixes on confd-client
- Oops, forgot to check this before initial commit, sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ... - 12:01 pm Revision a591e210: NEWS: Add missing space
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 11:38 am Revision 6bd26f00: htools: small change in error message in THH.hs
- We should also display the value we can't parse, otherwise debugging
is very hard.
Signed-off-by: Iustin Pop <iustin... - 11:38 am Revision 706f7f51: htools: improvements to JSON deserialisation
- This fixes two problems:
- first, when we deserialise a big object, showing its value is not
useful, as it will hi... - 11:37 am Revision 879273e3: htools: add new template haskell system
- This system based on explicit types instead of ad-hoc rules
(e.g. instead of deducing from "Maybe Int" an optional fi... - 10:48 am Revision 4ef0399b: Add a small confd client
- This can be used to test live servers; currently there's not direct
way to interact with a confd server, except for b... - 10:48 am Revision 530b64e6: A few updates to the confd design (2.1)
- While the 2.1 design is old and should be “immutable”, I can't find
documentation about the confd protocol anywhere e...
Also available in: Atom