Activity
From 12/08/2010 to 01/06/2011
01/06/2011
- 06:52 pm Revision 678aa6d3: gnt-instance console: Improve error reporting
- If the SSH command fails, this will give a more detailed error
message than before.
Signed-off-by: Michael Hanselman... - 06:42 pm Revision eaf7d41d: Increase timeout for connection on remote import
- The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default... - 06:42 pm Revision bd275a93: import-export: Improve timeout error reporting
- When the source cluster takes too long to create a snapshot, the
destination would time out. Unfortunately no good er... - 05:19 pm Revision 016acd85: List recorded powered state in gnt-node info
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:19 pm Revision 52b5d286: Support query of node field 'powered'
- This field is based on OOB support and is only available if there's oob
support for that node.
Signed-off-by: René N... - 03:02 pm Revision 7ab8b7d7: qa_group.py: reimplement query tests with qa_utils
- Now that group queries use query2 infrastructure, update the QA tests to
use the generic functions in qa_utils.py.
S... - 03:02 pm Revision d8b7ff5f: ganeti.query_unittest.py: add tests for group queries
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:02 pm Revision ca4ac9c9: Convert “gnt-group list” to query2
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:02 pm Revision 31a5d995: cmdlib.py: convert LUQueryGroups to query2
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:01 pm Revision a0d64991: cmdlib.py: move _GetQueryImplementation to end of file
- _GetQueryImplementation() uses _QUERY_IMPL, which list all query type
implementations. By moving it to the end of the... - 03:01 pm Revision 8e21cfc0: query.py: add definitions for node group queries
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:01 pm Revision e070c663: constants.py: define QR_GROUP resource
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 03:01 pm Revision e571ee44: ganeti.query_unittest.py: test lock fields too
- Additionally, change TestQueryFields.testSomeFields() to handle lists of
fields shorter than 20 elements.
Signed-off... - 12:33 pm Revision b98bb41e: lvmstrap: also test sysfs holders
- If a device has entries in its holder directory
(/sys/block/$name/holders), it means that some kernel system "uses"
t... - 12:33 pm Revision 577d45d4: lvmstrap: add support for non-partitioned md disks
- This patch, originally written by Marc Schmitt <mschmitt@google.com>,
adds support for MD devices (used in a non-part... - 12:33 pm Revision d2cd6944: RPC: mark jobqueue functions as URGENT
- Recently, we've seen more and more cases of a specific breakage
pattern in Ganeti: master candidates which are semi-a... - 12:29 pm Revision 362c5845: Merge branch 'devel-2.3'
- * devel-2.3:
cfgupgrade: Remove unused “program” variable
cfgupgrade: Check master name, clarify question
Makef... - 12:27 pm Revision 9d199a65: cfgupgrade: Remove unused “program” variable
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 12:21 pm Revision 8abc36f1: QA: Remove 'oob_program=default' on gnt-cluster modify
- On cluster level there's no 'default' because it's the highest cascading
level. Due to this 'default' is a valid valu... - 12:08 pm Revision 24d16f76: Convert “gnt-debug locks” to query2
- Locks can now be queried using “Query(what="lock", …)” over LUXI.
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 12:06 pm Revision 011974df: cfgupgrade: Check master name, clarify question
- - Check hostname and abort if it doesn't match contents of
“ssconf_master_node”, can be overridden using “--ignore-... - 12:06 pm Revision e8deef56: Makefile: Merge build-time reST copying
- No need to copy this snippet around, “make” can work harder for us.
Signed-off-by: Michael Hanselmann <hansmi@google... - 12:06 pm Revision 7a03d293: Move doc/upgrade.rst to UPGRADE, copy at build-time
- This will allow distributions to install the file as text documentation.
Signed-off-by: Michael Hanselmann <hansmi@g...
01/05/2011
- 07:42 pm Revision 35dd762d: Import upgrade notes into documentation
- This patch formats the upgrade notes currently in the wiki[1] as reST
and adds them to the documentation.
[1] http:/... - 07:28 pm Revision f7c8f153: Fix OpSetInstanceParams.disk_template check
- When moving the opcode parameters I moved two or three checks from an
opcode's CheckArguments function to the type ch... - 06:14 pm Revision e23881ed: RAPI: Add resource to grow instance disk
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:57 pm Revision b714765a: Reword "one of hmgt" as "one of h/m/g/t" for clarity
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:41 pm Revision f55312bd: QA: Adding new cluster verify cases
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:41 pm Revision f5677ab3: out of band verification in gnt-cluster verify
- This adds the verify tests for out of band management
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Mi... - 02:41 pm Revision 16f41f24: Adding additional VerifyNode checks to backend
- This adds checks for out of band support. The helpers have to exist and
they have to be executable.
Signed-off-by: R... - 01:27 pm Revision 62e999a5: RAPI: Add resource to modify cluster
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:27 pm Revision cfaeaaf7: baserlib: Add function for filling opcodes
- This function makes use of the opcode parameters which now live
directly in the opcode. A number of RAPI resources ca... - 12:42 pm Revision 65ffb373: Improve opcode summary tests
- Test full summary instead of just format.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 12:42 pm Revision 1cbef6d8: Migrate code verifying opcode parameters to base class
- This allows the function to be used in other places as well.
An optional parameter is added to control whether defaul... - 12:40 pm Revision dbc96028: Improve tests for OP_ID
- … by detecting duplicates.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo... - 12:40 pm Revision 0bff0b12: cmdlib: Remove opcode parameters
- Remove the parameter definitions and use those from the opcode classes
instead. Small style changes are also made (em... - 12:40 pm Revision 65e183af: opcodes: Add opcode parameter definitions
- This is the first step for migrating them from cmdlib. A metaclass is
used to define “__slots__” upon class creation ... - 12:39 pm Revision a6070ef7: query2: Add new field status “offline”
- This allows “gnt-node list” to show the difference between modes marked
offline and nodes with e.g. RPC errors (“(nod...
01/04/2011
- 07:18 pm Revision ac63b093: QA: Fix out-of-band tests
- - Handle situations with no non-master node
- Expand node name to make test work when configuration just has short
... - 05:10 pm Revision ecdf0398: Add unittests for ht module
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:10 pm Revision 8568de9e: ht.TInt: Exclude boolean values
- See inline comment.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:42 pm Revision 72729d6e: Cleanup bootstrap.SetupNodeDaemon
- - Code formatting
- Use ShellQuote for one argument
- Remove variables no longer used after commit 9294514d
Signed-o...
12/31/2010
- 02:52 pm Revision cee32223: Merge branch 'devel-2.3'
- * devel-2.3:
Fix typo in gnt-instance manpage
jqueue: Fix cancelling while in waitlock in queue
cli: Extend mes... - 02:37 pm Revision 2a0f9372: Fix build errors with ganeti-listrunner
- - Remove non-ASCII character from manpage
- Reformat docstring for epydoc in script
These caused build breakage on s... - 02:37 pm Revision ab737f24: Fix typo in gnt-instance manpage
- s/os-name/os-type/. This was reported in issue 133.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
12/30/2010
- 07:51 pm Revision 2466c0fd: cli: Change “<…>” in query output to “(…)”
- This should reduce the amount of damage in case of accidential copy &
paste.
Signed-off-by: Michael Hanselmann <hans... - 07:51 pm Revision da7e44ee: Initial import of listrunner
- This tool was used and worked on internally for quite a long time. We
decided to include it in Ganeti.
Known issues:... - 03:56 pm Revision cb0c77ff: Container: remove fromAssocList
- Container.fromAssocList is just a re-export of IntMap.fromList; it
makes sense to remove it and simply export the ori... - 03:56 pm Revision a3eee4ad: Parallelize the balancing computations
- This small patch changes the balancing computation to work in
parallel, if possible.
While the normal linking is aga... - 03:46 pm Revision d5ccec02: Allocation routines: return list of resource stats
- Currently, the allocation routines (iterateAlloc and tieredAlloc)
return only the final state of the cluster and the ... - 03:43 pm Revision f52dadb2: Fix updating of available (V)CPUs in CStats
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 03:43 pm Revision fd3fe74d: RAPI: implement backwards compat with Ganeti 2.3
- This is a cheap way to get back compatibility with Ganeti 2.3 (and
lower) in the RAPI backend. It is however not very... - 03:42 pm Revision a083e855: Document Utils.tryFromObj
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 03:41 pm Revision 6bc39970: Add 'Read' instances for most objects
- This allows a cluster structure to be easily serialized via "read";
together with the already existing instances of S... - 11:51 am Revision 6eaa7bb8: hspace: abstract the listing of the allocation map
- Just another cleanup of duplicate code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <lecz... - 11:49 am Revision 33e44f0c: Add maybePrintInsts for the instance listing
- This again abstracts a bit the instance listing. Due to the fact that
I don't want to import Cluster.hs in CLI.hs, we... - 11:49 am Revision 417f6b50: Add maybePrintNodes for abstracting the node list
- Since this bit of code (including the “when (isJust …)” is used in
multiple places, let's abstract it in a function t... - 11:48 am Revision 4188449c: Add maybeSaveData for cluster state saving
- This functionality was replicated in multiple places (hbal & hspace),
so we abstract it for better clarity.
Addition... - 11:45 am Revision 86ea20e8: Simplify the codeflow in hscan.hs
- We change processData to just load the data, and return a simpler
type.
Signed-off-by: Iustin Pop <iustin@google.com... - 11:45 am Revision c0e31451: Convert Text.serializeCluster to ClusterData
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:44 am Revision f4f6eb0b: Convert the rest of the pipeline to ClusterData
- This patch converts the backends and mergeData to the new ClusterData
type.
Signed-off-by: Iustin Pop <iustin@google... - 11:44 am Revision 017a0c3d: Move part of the loader pipeline to ClusterData
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:40 am Revision 34c00528: Convert Loader.RqType to ClusterData
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:38 am Revision 7b6e99b3: Add a new type ClusterData
- This will be used to hold all the disparate uses of the cluster data:
we have either tuples with these four elements,... - 11:38 am Revision 45cb5963: Ajust hspace manpage for the new simulation syntax
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 11:38 am Revision 6c7448bb: Simulation backend: read the allocation policy too
- This patch moves the allocation policy from hardcoded to be read from
the given specification, and extends the error ... - 11:36 am Revision 9983063b: Simulation backend: allow multiple node groups
- This patch changes the behaviour of the --simulation option to be an
incremental option, where each new use defines a...
12/29/2010
- 05:48 pm Revision 30c945d0: jqueue: Fix cancelling while in waitlock in queue
- Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back i...
12/24/2010
- 12:16 pm Revision c4f10abb: LUInstanceRename: log result of name resolving
- While the LU does return the final name, it's useful to log the actual
DNS resolving process (input and output) in or...
12/23/2010
- 05:52 pm Revision 54cffd50: Merge branch 'stable-0.2'
- * stable-0.2:
Move man files to man/ subdirectory
Conflicts (all removed):
man/hail.1
man/hbal.1
... - 05:38 pm Revision ab0521f9: Move man files to man/ subdirectory
- This is just change on the 0.2 branch to synchronize with the master
branch. It allows automated builds to work bette... - 05:17 pm Revision 50211c86: Merge branch 'stable-0.2'
- * devel-0.2:
Update NEWS file for 0.2.8 release
hbal: return meaningful exit code for job failures
Change the b... - 04:16 pm Revision d7f18640: Update NEWS file for 0.2.8 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 02:26 pm Revision 23448f82: hbal: return meaningful exit code for job failures
- Currently, LUXI job failures only display a warning message, while
still returning a success exit code. We change hba... - 02:25 pm Revision 4715711d: Change the balancing function
- Currently the balancing function is a modified version of the standard
deviation (stddev divided by list length), due... - 11:16 am Revision 949397c8: Move some tiered spec functionality to Cluster.hs
- This splits out a bit of code from hspace.hs and moves it into its own
function in Cluster.hs.
Signed-off-by: Iustin...
12/21/2010
- 08:14 pm Revision c694367b: Fix QA for “list-fields” commands
- The list of fields is not only sorted, but sorted in a nice way.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 08:14 pm Revision 0f9294f7: Remove utils.FormatTimestampWithTZ
- Long story short: time.strftime("%Z", time.localtime()) doesn't work,
even though it's documented to be equivalent to... - 08:14 pm Revision 9e691184: Ensure temp files from RunCmd tests are removed
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:23 pm Revision 3536c792: Allow customisation of the disk index separator
- As per issue 124, some Xen versions (or packaging) don't deal nicely
with the colon being part of a disk name. Theref... - 03:18 pm Revision 9f37f689: utils: Timezone fixes and tests
- - Update docstrings to explicitely mention Epoch
- Fix timezone bug in FormatTimestampWithTZ, where it would
use GM... - 03:18 pm Revision b60fcb6f: query: Add wrapper for creating response object
- It'll be used for querying locks.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius... - 03:18 pm Revision aa29e95f: Move QueryFields to query module
- Also replace “sorted” with “utils.NiceSort” now that it supports a key
function.
Signed-off-by: Michael Hanselmann <...
12/20/2010
- 11:23 pm Revision cd4c86a8: cli: Extend message for LUXI timeouts
- Point out that jobs already submitted continue to run.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe... - 11:23 pm Revision 28e3e216: Fix timeout handling in LUXI client
- If the socket can't be read in time, it raises “socket.timeout”, for
which there is special handling code. Unfortunat... - 04:42 pm Revision 82d25bbb: Merge branch 'devel-2.3'
- * devel-2.3:
Prepare 2.3.1 release
Fix disk status verification in LUClusterVerify
Conflicts:
NEWS: Trivial
Si... - 04:33 pm Revision 43217ac7: Merge branch 'stable-2.3' into devel-2.3
- * stable-2.3:
Prepare 2.3.1 release
Fix disk status verification in LUClusterVerify
Signed-off-by: Michael Hanse... - 04:18 pm Revision a8c68e44: Add QA scripts to checked Python code
- pylint is not yet included as the code needs some work for that.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 04:18 pm Revision 930e77d1: ganeti-qa: Wrap lines longer than 80 chars
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:22 pm Revision bb2dc35a: Prepare 2.3.1 release
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:23 pm Revision aec636b9: hail: display group names in info messages
- This patch switches from the group index to the group name for the
informational messages in the hail results.
Signe... - 02:23 pm Revision e4d8071d: Text.hs: also save the group data when serialising
- This should have been in the previous patches, but sent separate for
clarity.
The live-test script is updated to rea... - 02:23 pm Revision e0c85e08: hbal: display the group name in the multi-group case
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 02:23 pm Revision 10ef6b4e: Change the Node.group attribute
- Currently, the Node.group attribute is the UUID of the group, as until
recently Ganeti didn't export the node group p... - 02:23 pm Revision 748d5d50: Generalise the sepSplit function
- Currently it works on splitting strings by individual chars, but we
can generalise it to split lists by list elements... - 02:23 pm Revision a604456d: Text.hs: change to use sepSplit
- The new sepSplit function can split based on empty lines, so we remove
the hackish text splitting from before and sim... - 02:23 pm Revision 73206d0a: IAllocator: respect the alloc_policy for groups
- This patch changes the allocate mode to respect the alloc_policy for
groups. It does this by changing the sort key fr... - 02:23 pm Revision 716c6be5: Text.hs: serialize cluster tags when writing data
- This is the complement to the reading part. Now the live-test works
correctly against clusters with configured exclus... - 02:23 pm Revision 1a3cc8ad: live-test: support multi-group clusters
- Since currently hbal can only work on single groups at a time, we need
to be able to specify the target group when ru... - 02:23 pm Revision b2ba4669: Implement a JSON instance for AllocPolicy
- This will allow reading this attribute via the Rapi/Luxi backends.
Signed-off-by: Iustin Pop <iustin@google.com>
Rev... - 02:23 pm Revision 2ddabf4f: Rapi: read the allocation policy from the cluster
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 02:23 pm Revision c4c37257: Luxi: read the allocation policy from the cluster
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 02:23 pm Revision f4c7d37a: Text: read/write the allocation policy
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com> - 02:23 pm Revision 01fec0a1: hail: allow overriding cluster data from requests
- Currently, it's not easy to generate “fake” IAllocator request files
for hail. As such, testing on simulated clusters... - 02:23 pm Revision afcd5a0b: Text.hs: also read cluster tags from the data file
- This means that a file with the correct information is as accurate as
the other backends (Luxi, Rapi). Serialization ... - 02:23 pm Revision a679e9dc: Rework the data loader pipelines to read groups
- This (invasive) patch changes all the loader pipelines to read the node
groups data from the cluster, via the various... - 02:22 pm Revision f4531f51: Add lookupGroup utility function
- This will be used in the various backends similar to the lookupNode
function.
Signed-off-by: Iustin Pop <iustin@goog... - 02:20 pm Revision 0dc1bf87: Add a new Group.hs module describing node groups
- This is not yet used by the rest of the code.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz... - 02:20 pm Revision edd0a48f: Add the new OpQueryGroups opcode definition
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
12/17/2010
- 06:51 pm Revision abb24834: Adapt QA for change in behaviour
- As we can't test this on master anymore (if we flag the node offline we
would change master role on master) we use th... - 06:51 pm Revision dd94e9f6: gnt-node modify: Adding --node-powered=yes|no
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:50 pm Revision 0ecef64c: LUSetNodeParams: Add support for powered state
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:50 pm Revision 78758f1e: LUSetNodeParams/LUOobCommand respect offline/powered
- This patch makes sure we cross verify the state the node is
in with our view:
power off -> Node has to be set offlin... - 06:50 pm Revision d363797e: gnt-node power: Mark also offline when powering off
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael... - 06:42 pm Revision 1ef6e776: Merge branch 'devel-2.3'
- * devel-2.3:
QA: Run cluster-verify as part of all instance tests
QA: Fix typo and add “not”
ensure-dirs: Speed... - 05:51 pm Revision 153533f3: utils.NiceSort: Use sorted(), add keyfunc, unittests
- This patch changes utils.NiceSort to use the built-in “sorted()” and
gets rid of the intermediate list. Instead of wr... - 05:47 pm Revision d27150a9: QA: Run cluster-verify as part of all instance tests
- “gnt-cluster verify” looks at some per-instance information as well, so
it should be run for each instance type QA te... - 05:45 pm Revision 65924a12: QA: Fix typo and add “not”
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:36 pm Revision 7c2e922e: ShutdownInstanceDisks: accept offline secondaries
- For secondary node that is offline, we should not consider that the
disk shutdown has failed, as it can never succeed... - 03:00 pm Revision 2c0f74f2: RpcResult: simplify some asserts
- data ≫ code, eom.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
12/16/2010
- 04:20 pm Revision 196d70fa: ensure-dirs: Speed up when using big queues
- The “ensure-dirs” script as included in Ganeti 2.3 is very slow when
working with big queues requiring a change of pe... - 03:59 pm Revision 4c3ac53a: LUAddNode: default ndparams to empty dict when not provided
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 09:57 am Revision a1de4b18: QA: Add some basic OOB tests
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 09:57 am Revision b9955569: QA: Allow upload of string data
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
12/15/2010
- 08:18 pm Revision 4f5c2533: Fix gnt-cluster verify with diskless instances
- `gnt-cluster verify` was failing with KeyError if there was any
diskless instance in the cluster. This was because _C... - 06:50 pm Revision 861a296e: Fix N+1 error message
- The error contained a typo and is slightly cumbersome. It changes from:
- ERROR: node a: not enough memory on to acc... - 05:35 pm Revision 792af3ad: Rename (Op|LU)OutOfBand to (Op|LU)OobCommand
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:30 pm Revision 50d54091: Merge branch 'devel-2.3'
- * devel-2.3:
jqueue: Keep jobs in “waitlock” while returning to queue
Improve jqueue unittests
Update manpages ... - 03:42 pm Revision 5fd6b694: jqueue: Keep jobs in “waitlock” while returning to queue
- Iustin Pop reported that a job's file is updated many times while it
waits for locks held by other thread(s). After a... - 03:42 pm Revision ebb2a2a3: Improve jqueue unittests
- - Verify job file updates
- Ensure queue lock is released while executing opcode
Signed-off-by: Michael Hanselmann <... - 12:54 pm Revision 133f1791: Update hscolour usage
- This patch fixes two issues related to coloured sources generation.
First, recent hscolour has changed the css file (... - 12:47 pm Revision abefdcff: Adding gnt-node power * commands
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:47 pm Revision 1b386c69: Do the expanding of the node name in ExpandNames
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
12/14/2010
- 05:21 pm Revision a36f605d: client.gnt_node: Remove unnecessary lambda
- Pylint complained that the “lambda may not be necessary”. Turns out it
was right.
Signed-off-by: Michael Hanselmann ... - 03:23 pm Revision 2214cf14: QA: Extend unittests for query operations, add tests for list-fields
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:23 pm Revision d7a08491: Update NEWS for new query infrastructure
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:23 pm Revision b82c5ff5: Convert “gnt-instance list” to query2
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:23 pm Revision 7f5443a0: Convert “gnt-node list” to query2
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 03:23 pm Revision ee3aedff: cli: Add infrastructure for query2
- A new function for formatting the query results is added,
``FormatTable``. This was determined to be easier and safer... - 01:54 pm Revision e7441f80: Update manpages to display version 2.3
- Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 01:51 pm Revision e61ae2cc: iallocator: Export node group allocation policy
- Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:32 pm Revision d2881c71: Adding --node-powered command line flag
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:32 pm Revision 4a19bdc0: Set powered to True for added nodes
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:32 pm Revision b528a12d: Set recorded powered state for OOB calls
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:32 pm Revision 25124d4a: Add new Node attribute powered
- This is just a state of record field and does not necessary
reflect the reality.
Signed-off-by: René Nussbaumer <rn@...
12/13/2010
- 09:27 pm Revision ccc6345b: Add ganeti-kvm-poweroff.initd to .gitignore
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:33 pm Revision 4b10fb65: More QA tests for group operations
- This adds QA tests for the SetGroupParams operation, both for CLI and
RAPI. Additionally, it adds tests for add/renam... - 06:33 pm Revision 2bac48c4: Add some unit tests for ConfigWriter.AddNodeGroup()
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:33 pm Revision f18fab7d: Expose OpSetGroupParams in RAPI and RAPI client
- This creates the /2/groups/<name>/modify resource; at the moment, only the
"alloc_policy" attribute can be modified.
... - 06:33 pm Revision 90e99856: Add the "alloc_policy" attribute to node groups
- This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups... - 06:33 pm Revision 4da7909a: Add modification of node groups (OpCode/LU/CLI)
- With this commit, only modification of the "ndparams" attribute is
supported.
Signed-off-by: Adeodato Simo <dato@goo... - 06:32 pm Revision 483be60d: Introduce OpAddGroup.ndparams and expose in CLI
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 06:32 pm Revision 907af698: Fix sorting bug in LUQueryGroups
- In LUQueryGroups.Exec(), NiceSort was being applied to group UUIDs, and
not to group names. We use a temporary name t... - 05:21 pm Revision bd92fca1: cmdlib: Sort list of fields for QueryFields
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 05:21 pm Revision 0538c375: objects: Add custom de-/serializing code for query responses
- … and use them in cmdlib.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@goo... - 05:19 pm Revision 28b71a76: LUXI: Add Query and QueryFields functions
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com> - 05:15 pm Revision 24d6d3e2: objects: Add definitions for query requests and responses
- Also update description of QueryFieldDefinition.name.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed... - 05:15 pm Revision 60cba7f8: qlang: Add function to build simple filter
- This will be used in clients to build the filters for query2.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
... - 05:15 pm Revision 145bea54: query: Handle items missing timestamps
- In upgraded configurations, some items might miss the “ctime” and/or
“mtime” values and need to be handled specially.... - 04:00 pm Revision 38f9d2cf: Add gnt-cluster modify --master-netdev
- Although this might be a dangerous operation, it's still better to allow
it rather than requiring a hand-edit of the ...
12/10/2010
- 07:28 pm Revision 46aae796: Rename “kind” to “what” for calls in query2 design
- “kind” is already used in the field definition. “what” seems to
be a better fit for the calls (“what should be querie... - 06:26 pm Revision 288d6440: QA: Improve tests for instance/node list
- - Query all known fields
- Random combinations (using a PRNG with a fixed seed) of fields
- Order of result names
Si... - 05:48 pm Revision fcdf575b: cmdlib: Convert instance query to new infrastructure
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:48 pm Revision 1c8addc6: query: Add definition for instance queries
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:13 pm Revision 5d9e167a: Script to gracefully power off KVM instances
- When a node is running KVM instances and that node is rebooted or
shutdown, the gnt-noded daemon is finished and leav...
12/09/2010
- 05:36 pm Revision d41d07d4: Fix disk status verification in LUClusterVerify
- Commit b8d26c6 added disk status verification, but it has two
(different) bugs for not healthy nodes.
For offline no... - 05:14 pm Revision 31ed0b58: Merge branch 'devel-2.3'
- * devel-2.3:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by:... - 05:13 pm Revision d1a0ab50: Merge branch 'devel-2.2' into devel-2.3
- * devel-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by:... - 05:12 pm Revision be9f4904: Merge branch 'stable-2.2' into devel-2.2
- * stable-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 05:11 pm Revision 5500ca1f: Merge branch 'stable-2.2' into stable-2.3
- * stable-2.2:
Fix rename for file-backed instances
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 05:09 pm Revision 3721d2fe: Fix rename for file-backed instances
- Currently the code wrongly changes the disk logical/physical id
component representing the path from "$storage_dir/$i... - 05:03 pm Revision d0b98288: Check payload of OOB execution
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:03 pm Revision 9d5198ad: Replace GetOobProgram by GetNdParams
- This was due to a older review which used GetOobProgram but then
changed to GetNdParams. Forgot to adjust this in the... - 05:03 pm Revision 1aa88d95: Ensure we just serialize JSON if there is data
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:03 pm Revision 0092d621: Adding missing timeout parameter to rpc interface
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:08 pm Revision dec88196: Improve error reporting for small clusters
- When doing a two-node allocation on a cluster/group in which only one
node is online, or a one-node allocation withou... - 04:08 pm Revision 9b1584fc: hail/allocate: implement multi-group support
- This is a bit hackish. We add a new function that takes the input data,
splits it into groups, runs the original tryA... - 04:08 pm Revision db4d9a9b: hail: remove the custom info message generation
- Since the solutions are "self-annotated", we can remove the custom code
from hail, and just keep a very small process... - 04:08 pm Revision 859fc11d: Add a 'log' attribute to allocation solutions
- And also a couple of functions for describing a given solution; these
will be used in the future instead of the ones ... - 04:08 pm Revision 85d0ddc3: Change AllocSolution from tuple to its own type
- Tuples are good for two, three, at most four elements. Beyond that, the
continuous pattern matching and construction/... - 02:38 pm Revision 46747143: qa: test same-name instance rename
- Use the simplified command and rapi version to perform an instance
rename to the same name. This is performed anytime... - 02:37 pm Revision e5c2accd: Simplify instance rename qa test
- The current instance rename qa testing function can only perform
back-and-forth renames, both for command line and ra... - 12:29 pm Revision 2db12a5a: Allow rename of instance to same name
- This basically is a no-op in ganeti, but forces the execution of the
os-specific rename scripts.
Signed-off-by: Guid...
12/08/2010
- 09:45 pm Revision 75cf411a: Introduce constant for the name of the initial node group
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 09:45 pm Revision 7407c2d5: constants.py: fix tiny grammar issue in comment
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 09:45 pm Revision e6e88de6: objects.py: fix minor error in NodeGroup.SimpleFillND docstring
- The defaults are filled in from the node group defaults, not cluster
defaults (presumably copy & paste error).
Signe... - 09:45 pm Revision 5c64fbc2: design-2.3.rst: fix whitespace
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 08:22 pm Revision 85661274: Node query: maintain order as requested
- If the client requests certain names, their order should be maintained.
This is already done for instance queries. Mo... - 08:00 pm Revision 89ce4acc: query: Improve error checking
- - Show only field definition, not callback when a result row is
inconsistent
- Show list of duplicate titles if the... - 08:00 pm Revision 70d8ccaf: constants: Clarify comment for QRFS_NODATA
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 08:00 pm Revision 949f5e86: cmdlib: Fix prototype for _QueryBase.DeclareLocks
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 04:59 pm Revision 66787da5: Group operations: add QA tests for add/remove/rename
- This is a single function that tests all of of the following:
- creating groups
- creating groups that exist fai... - 02:27 pm Revision a268af8d: Group operations: update ganeti.rapi.client with all node group operations
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision 0dbaa9ca: Group operations: expose add/remove/rename in RAPI
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision 66e884e1: Group operations: CLI code for add/remove/rename a group
- Also, minor update to the 2.3 design doc, which was indicating the remove
operation would be `gnt-group del` and not ... - 02:27 pm Revision 4fe5cf90: Group operations: OpCode and LU for renaming a group
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision 94bd652a: Group operations: OpCode and LU for removing a group
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision b1ee5610: Group operations: OpCode and LU for adding a group
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision 4edc512c: Expose new node group attributes in CLI and RAPI
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:27 pm Revision e11a1b77: config.py, objects.py: more node group support
- In particular:
- add AddNodeGroup and RemoveNodeGroup in config.py
- refactor _UpgradeConfig to make use of _Un...
Also available in: Atom