Activity
From 06/15/2009 to 07/14/2009
07/14/2009
- 07:17 pm Revision e52019f7: Remove ConfigWriter.InitConfig
- It's been replaced by a simpler bootstrap.InitConfig function, which
does the same job, and is currently unused.
Sig... - 07:17 pm ganeti-local Revision e52019f7: Remove ConfigWriter.InitConfig
- It's been replaced by a simpler bootstrap.InitConfig function, which
does the same job, and is currently unused.
Sig... - 06:18 pm Revision d393737d: Merge branch 'next' into branch-2.1
- * next:
Remove SimpleConfigWriter.SetMasterNode
_GenerateDiskTemplate: use base_index in the name
ganeti-master... - 06:18 pm ganeti-local Revision d393737d: Merge branch 'next' into branch-2.1
- * next:
Remove SimpleConfigWriter.SetMasterNode
_GenerateDiskTemplate: use base_index in the name
ganeti-master... - 06:07 pm Revision 48c8887b: Remove SimpleConfigWriter.SetMasterNode
- This function is not used.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hans... - 06:07 pm ganeti-local Revision 48c8887b: Remove SimpleConfigWriter.SetMasterNode
- This function is not used.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hans... - 06:07 pm Revision fb4b324b: _GenerateDiskTemplate: use base_index in the name
- Currently if a disk is added later the base_index is not considered, and
all the disks are called disk0. This patch f... - 06:07 pm ganeti-local Revision fb4b324b: _GenerateDiskTemplate: use base_index in the name
- Currently if a disk is added later the base_index is not considered, and
all the disks are called disk0. This patch f... - 05:17 pm Revision bd2f1465: Document the --vcpus option to hspace
- 05:17 pm ganeti-local Revision bd2f1465: Document the --vcpus option to hspace
- 05:15 pm Revision 2485487d: Fix a few hlint errors
- 05:15 pm ganeti-local Revision 2485487d: Fix a few hlint errors
- 05:01 pm Revision 848a9ac5: Man page updates
- This patch beautifies the man pages for hbal and hspace.
- 05:01 pm ganeti-local Revision 848a9ac5: Man page updates
- This patch beautifies the man pages for hbal and hspace.
- 05:00 pm ganeti-local Revision 26d47cf5: CLI: Prevent incompatible options to be selected
- This patch makes CLI abort if more than one backend is selected.
- 05:00 pm Revision 26d47cf5: CLI: Prevent incompatible options to be selected
- This patch makes CLI abort if more than one backend is selected.
- 04:17 pm Revision b9017fa7: Update documentation for the new luxi backend
- 04:17 pm ganeti-local Revision b9017fa7: Update documentation for the new luxi backend
- 04:06 pm Revision 8e445e6d: Add support for luxi backend in CLI/hspace/hbal
- This patch changes the backend selection method in CLI to prefer, in order:
- a RAPI specification
- a Luxi speci... - 04:06 pm ganeti-local Revision 8e445e6d: Add support for luxi backend in CLI/hspace/hbal
- This patch changes the backend selection method in CLI to prefer, in order:
- a RAPI specification
- a Luxi speci... - 03:56 pm Revision 53ec9022: Initial commit of the luxi backend
- This patch adds a luxi backend that allows direct query of the master
daemon on the local node. This patch doesn't en... - 03:56 pm ganeti-local Revision 53ec9022: Initial commit of the luxi backend
- This patch adds a luxi backend that allows direct query of the master
daemon on the local node. This patch doesn't en... - 03:56 pm ganeti-local Revision 135a6c6a: Introduce timeout in RAPI queries
- The patch adds two constants in Types.hs for connect and query timeout,
then modifies Rapi.hs to use them as the conn... - 03:56 pm Revision 135a6c6a: Introduce timeout in RAPI queries
- The patch adds two constants in Types.hs for connect and query timeout,
then modifies Rapi.hs to use them as the conn... - 03:13 pm Revision b2890442: ganeti-masterd: avoid SimpleConfigReader
- SimpleStore is a lot less heavyweight than SimpleConfigReader, and to
just get the master name we can use that. This ... - 03:13 pm ganeti-local Revision b2890442: ganeti-masterd: avoid SimpleConfigReader
- SimpleStore is a lot less heavyweight than SimpleConfigReader, and to
just get the master name we can use that. This ... - 01:35 pm Revision f4a2f532: HMAC authenticated json messages
- This patch includes HMAC authenticated json messages to the serializer.
The new interface works on any json-encodable... - 01:35 pm ganeti-local Revision f4a2f532: HMAC authenticated json messages
- This patch includes HMAC authenticated json messages to the serializer.
The new interface works on any json-encodable...
07/13/2009
- 05:59 pm Revision 64dae8fc: rapi: Implement /2/nodes/[node_name]/role resource
- This resource can be used to retrieve and set the role of a node.
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 05:59 pm ganeti-local Revision 64dae8fc: rapi: Implement /2/nodes/[node_name]/role resource
- This resource can be used to retrieve and set the role of a node.
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 05:58 pm ganeti-local Revision 3427d34f: rapi: Add generic “force” parameter
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:58 pm Revision 3427d34f: rapi: Add generic “force” parameter
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:01 pm ganeti-local Revision b8810fec: cmdlib: Fix typo in LUQueryClusterInfo
- This was broken by my pylint fixes patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 05:01 pm Revision b8810fec: cmdlib: Fix typo in LUQueryClusterInfo
- This was broken by my pylint fixes patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ... - 12:47 pm Revision e5b7c4ca: RAPI: implement instance reinstall
- This patch adds instance reinstall to RAPI, with two optional parameters:
- ‘os', in order to change the OS on rein... - 12:47 pm ganeti-local Revision e5b7c4ca: RAPI: implement instance reinstall
- This patch adds instance reinstall to RAPI, with two optional parameters:
- ‘os', in order to change the OS on rein...
07/09/2009
- 04:58 pm Revision d8de9112: Update NEWS file for the 0.1.5 release
- This is basically a hspace release, so the changelog is small.
- 04:58 pm Revision 7d11799b: Fix a haddoc issue
- 04:58 pm ganeti-local Revision d8de9112: Update NEWS file for the 0.1.5 release
- This is basically a hspace release, so the changelog is small.
- 04:58 pm ganeti-local Revision 7d11799b: Fix a haddoc issue
- 04:16 pm ganeti-local Revision 31e7ac17: hspace: fix failure handling of tryAlloc results
- Currently hspace doesn't handle failures from tryAlloc correctly; this
patch changes the iterateDepth function in hsp... - 04:16 pm Revision 31e7ac17: hspace: fix failure handling of tryAlloc results
- Currently hspace doesn't handle failures from tryAlloc correctly; this
patch changes the iterateDepth function in hsp... - 03:44 pm Revision 478df686: Change the tryAlloc/tryReloc workflow
- Currently, the tryAlloc and tryReloc function return a list with all the
results, both failures and successes. This i... - 03:44 pm ganeti-local Revision 478df686: Change the tryAlloc/tryReloc workflow
- Currently, the tryAlloc and tryReloc function return a list with all the
results, both failures and successes. This i...
07/08/2009
- 08:30 pm Revision 685935f7: Simplify the Cluster.tryAlloc structures
- Currently the tryAlloc function calls the
allocateOnSingle/allocateOnPair and the builds a new tuple with those
funct... - 08:30 pm ganeti-local Revision 685935f7: Simplify the Cluster.tryAlloc structures
- Currently the tryAlloc function calls the
allocateOnSingle/allocateOnPair and the builds a new tuple with those
funct... - 07:38 pm ganeti-local Revision 8880d889: Slight change to the internal allocation results
- Currently the Cluster.AllocSolution type is defined as a list of
‘(OpResult Node.list, …)’ and the results for applyM... - 07:38 pm Revision 8880d889: Slight change to the internal allocation results
- Currently the Cluster.AllocSolution type is defined as a list of
‘(OpResult Node.list, …)’ and the results for applyM... - 07:25 pm Revision 9ea446d2: Add a 'tags' makefile target
- This uses hasktags for building emacs TAGS.
- 07:25 pm ganeti-local Revision 9ea446d2: Add a 'tags' makefile target
- This uses hasktags for building emacs TAGS.
- 05:34 pm Revision 2bbf77cc: hspace: switch output to shell-script format
- This (big) patch changes the output of hspace from text-format
(separated by ‘: ’) to a shell-snippet, in ‘key=value’... - 05:34 pm ganeti-local Revision 2bbf77cc: hspace: switch output to shell-script format
- This (big) patch changes the output of hspace from text-format
(separated by ‘: ’) to a shell-snippet, in ‘key=value’... - 12:49 pm ganeti-local Revision de4ac2c2: hspace: move instance count and score into CStats
- Currently the instance count and cluster score are separated from the
other initial/final phase stats, even though th... - 12:49 pm Revision de4ac2c2: hspace: move instance count and score into CStats
- Currently the instance count and cluster score are separated from the
other initial/final phase stats, even though th... - 12:49 pm ganeti-local Revision 3583908a: Extend call_node_start_master rpc with no_voting
- When the parameter is set to True and start_daemons is also True,
ganeti-masterd will be started with the new --no-vo... - 12:49 pm Revision 3583908a: Extend call_node_start_master rpc with no_voting
- When the parameter is set to True and start_daemons is also True,
ganeti-masterd will be started with the new --no-vo... - 12:28 pm Revision 2f7140ba: Merge branch 'next' into branch-2.1
- * next:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting
Fi... - 12:28 pm ganeti-local Revision 2f7140ba: Merge branch 'next' into branch-2.1
- * next:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting
Fi... - 12:27 pm ganeti-local Revision fba15943: Merge branch 'master' into next
- * master:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting - 12:27 pm Revision fba15943: Merge branch 'master' into next
- * master:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting - 12:17 pm ganeti-local Revision 8e2524c3: Create a new --no-voting option for masterfailover
- This allows failing over in certain corner cases, such as a 2 node
cluster with one node down. The man page is also u... - 12:17 pm Revision 8e2524c3: Create a new --no-voting option for masterfailover
- This allows failing over in certain corner cases, such as a 2 node
cluster with one node down. The man page is also u... - 11:33 am Revision 5e96d216: ganeti-masterd: allow non-interactive --no-voting
- This will be used by ganeti-noded to start ganeti-masterd in a
--no-voting masterfailover.
Signed-off-by: Guido Trot... - 11:33 am ganeti-local Revision 5e96d216: ganeti-masterd: allow non-interactive --no-voting
- This will be used by ganeti-noded to start ganeti-masterd in a
--no-voting masterfailover.
Signed-off-by: Guido Trot...
07/07/2009
- 07:10 pm Revision 79a72ce7: Fix unittests
- The recent OpResult and CPU values additions broke unittests.
- 07:10 pm ganeti-local Revision 79a72ce7: Fix unittests
- The recent OpResult and CPU values additions broke unittests.
- 03:54 pm Revision 7c4d6c7b: Fix pylint warnings
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:54 pm ganeti-local Revision 7c4d6c7b: Fix pylint warnings
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:54 pm Revision 70c771f6: Add custom pylintrc
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:54 pm ganeti-local Revision 70c771f6: Add custom pylintrc
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:54 pm Revision 88828491: bootstrap: Don't leak file descriptor when generating SSL certificate
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:54 pm ganeti-local Revision 88828491: bootstrap: Don't leak file descriptor when generating SSL certificate
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:53 pm Revision 6096ee13: Fix problem with EAGAIN on socket connection in clients
- If a user used ^Z to stop the program, poll() in socket.recv would return
EAGAIN due to SIGSTOP. This patch changes l... - 03:53 pm ganeti-local Revision 6096ee13: Fix problem with EAGAIN on socket connection in clients
- If a user used ^Z to stop the program, poll() in socket.recv would return
EAGAIN due to SIGSTOP. This patch changes l... - 03:51 pm Revision 5bbd3f7f: Fix some typos
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:51 pm ganeti-local Revision 5bbd3f7f: Fix some typos
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:56 pm Revision 8c4c6a8a: Export more stats in hspace
- This patch changes Cluster.totalResources to compute more resources and
prints them in hspace. - 12:56 pm ganeti-local Revision 8c4c6a8a: Export more stats in hspace
- This patch changes Cluster.totalResources to compute more resources and
prints them in hspace. - 12:20 pm Revision 2795466b: Show errors on stderr instead of stdout
- Currently many of the exit and warning conditions mistakenly display error
messages on stdout, which makes parsing th... - 12:20 pm ganeti-local Revision 2795466b: Show errors on stderr instead of stdout
- Currently many of the exit and warning conditions mistakenly display error
messages on stdout, which makes parsing th... - 11:06 am Revision 16103319: Fix score calculation to work with empty clusters
- Currently the cluster score calculation includes an offline instance
percentage, expressed as “offline inst / (offlin... - 11:06 am ganeti-local Revision 16103319: Fix score calculation to work with empty clusters
- Currently the cluster score calculation includes an offline instance
percentage, expressed as “offline inst / (offlin... - 10:55 am Revision dca7f396: hspace: convert N1 error exit into FailN1 result
- Currently hspace exits with an error if the cluster is not N+1 compliant
at the beginning of the run. This patch chan... - 10:55 am ganeti-local Revision dca7f396: hspace: convert N1 error exit into FailN1 result
- Currently hspace exits with an error if the cluster is not N+1 compliant
at the beginning of the run. This patch chan... - 10:55 am ganeti-local Revision 58631b72: Some docstring updates
- 10:55 am Revision 58631b72: Some docstring updates
- 10:54 am Revision 7e74e7db: hspace: add display of instance spec
- This is mostly for user-friendliness in the default mode, when we don't
specify the instance parameters. - 10:54 am ganeti-local Revision 7e74e7db: hspace: add display of instance spec
- This is mostly for user-friendliness in the default mode, when we don't
specify the instance parameters. - 01:22 am Revision e6f4f05c: Optimize the Utils.stdDev function
- This patch optimizes the stdDev function in two respects:
- first, we don't do sum . map which builds an intermedia... - 01:22 am ganeti-local Revision e6f4f05c: Optimize the Utils.stdDev function
- This patch optimizes the stdDev function in two respects:
- first, we don't do sum . map which builds an intermedia... - 12:24 am Revision d71d0a1d: Take the foldl out of Loader.fixNodes
- Currently Loader.fixNodes is foldl' with a complicated function. It
makes more sense to take foldl' out of this funct... - 12:24 am ganeti-local Revision d71d0a1d: Take the foldl out of Loader.fixNodes
- Currently Loader.fixNodes is foldl' with a complicated function. It
makes more sense to take foldl' out of this funct... - 12:13 am Revision 41c3b292: Simplify Cluster.computeMoves
- This patch changes the function Cluster.computeMoves to use guards and a
couple of subexpressions in order to greatly... - 12:13 am ganeti-local Revision 41c3b292: Simplify Cluster.computeMoves
- This patch changes the function Cluster.computeMoves to use guards and a
couple of subexpressions in order to greatly...
07/06/2009
- 11:50 pm Revision 9f6dcdea: Fix hlint-generated warnings
- This big patch cleans up the code per hlint indications. Many removals
of extra parentheses, replacements of concat .... - 11:50 pm ganeti-local Revision 9f6dcdea: Fix hlint-generated warnings
- This big patch cleans up the code per hlint indications. Many removals
of extra parentheses, replacements of concat ....
07/05/2009
- 06:56 pm Revision 44763b51: Add computation of the failure reason in hspace
- This patch enhances hspace to report why the allocation sequence
stopped, both in absolute error count and for the to... - 06:56 pm ganeti-local Revision 44763b51: Add computation of the failure reason in hspace
- This patch enhances hspace to report why the allocation sequence
stopped, both in absolute error count and for the to... - 06:42 pm ganeti-local Revision c43c3354: Return correct failure data from Node.add*
- This patch alters the Node.addPri/addSec to return correct failure data.
It removes the computeFailN1 function from t... - 06:42 pm Revision c43c3354: Return correct failure data from Node.add*
- This patch alters the Node.addPri/addSec to return correct failure data.
It removes the computeFailN1 function from t... - 03:53 pm ganeti-local Revision f2280553: Introduce a new type for allocation results
- Currently the allocation/move operations workflow return ‘Maybe a’,
which is very convenient but loses all details ab... - 03:53 pm Revision f2280553: Introduce a new type for allocation results
- Currently the allocation/move operations workflow return ‘Maybe a’,
which is very convenient but loses all details ab... - 03:21 pm Revision 266aea94: Remove hn1 and related code
- hn1 was deprecated for a while and this patch removes it altogether. The
support code in Cluster.hs is also removed. - 03:21 pm ganeti-local Revision 266aea94: Remove hn1 and related code
- hn1 was deprecated for a while and this patch removes it altogether. The
support code in Cluster.hs is also removed.
07/03/2009
- 10:40 pm Revision 78ecfa8f: Display two more stats in hspace
- This adds two new stats - sum of reserved ram and disk.
- 10:40 pm ganeti-local Revision 78ecfa8f: Display two more stats in hspace
- This adds two new stats - sum of reserved ram and disk.
- 10:01 pm ganeti-local Revision 301789f4: Fix totalResources avail disk computation
- This uses the newly-added Node.availDisk to compute the actual available
disk correctl, and display the total allocat... - 10:01 pm Revision 301789f4: Fix totalResources avail disk computation
- This uses the newly-added Node.availDisk to compute the actual available
disk correctl, and display the total allocat... - 10:01 pm Revision fe3d6f02: Add an availDisk node function
- This function returns the amount of available disk, which depends on
whether a low disk limit has been configured or ... - 10:01 pm ganeti-local Revision fe3d6f02: Add an availDisk node function
- This function returns the amount of available disk, which depends on
whether a low disk limit has been configured or ... - 10:00 pm Revision 836533fa: Add two new autocomputed vars to Nodes
- Currently we track the max disk usage/max vcpus as percentages, however
sometimes it's easier to check against minimu... - 10:00 pm ganeti-local Revision 836533fa: Add two new autocomputed vars to Nodes
- Currently we track the max disk usage/max vcpus as percentages, however
sometimes it's easier to check against minimu... - 12:50 am Revision 1a7eff0e: Add a new type for cluster statistics
- Currently totalResources returns a 5-tuple of integers. This is not easy
to handle, as each change on the return type... - 12:50 am ganeti-local Revision 1a7eff0e: Add a new type for cluster statistics
- Currently totalResources returns a 5-tuple of integers. This is not easy
to handle, as each change on the return type...
07/02/2009
- 01:43 pm Revision 621de5b7: Enhance hspace resource display
- The display of cluster resources is extracted into a separate function
and enhanced to display more stats. - 01:43 pm ganeti-local Revision 621de5b7: Enhance hspace resource display
- The display of cluster resources is extracted into a separate function
and enhanced to display more stats. - 01:33 pm Revision e2af3156: Add display of more stats in hspace
- This patch changes Cluster.totalResources to compute more details about
the cluster status, and enhances hspace to di... - 01:33 pm ganeti-local Revision e2af3156: Add display of more stats in hspace
- This patch changes Cluster.totalResources to compute more details about
the cluster status, and enhances hspace to di...
07/01/2009
- 12:40 pm Revision 1dc10972: Increase maximum accepted size for a DRBD meta dev
- With the change to stripped LVs, the actual size of a meta device (which
is small) can be more than we expected (for ... - 12:40 pm ganeti-local Revision 1dc10972: Increase maximum accepted size for a DRBD meta dev
- With the change to stripped LVs, the actual size of a meta device (which
is small) can be more than we expected (for ...
06/30/2009
- 07:33 pm Revision dec0d9da: Cleanup config data when draining nodes
- Currently, when draining nodes we reset their master candidate flag, but
we don't instruct them to demote themselves.... - 07:33 pm Revision a8ae3eb5: Fix node readd issues
- This patch fixes a few node readd issues.
Currently, the node readd consists of two opcodes:
- OpSetNodeParms, whi... - 07:33 pm Revision 9a5cb537: backend.DemoteFromMC: don't fail for missing files
- If the config file is missing when the DemoteFromMC() function is
called, it will raise a ProgrammerError. Instead of... - 07:33 pm ganeti-local Revision 9a5cb537: backend.DemoteFromMC: don't fail for missing files
- If the config file is missing when the DemoteFromMC() function is
called, it will raise a ProgrammerError. Instead of... - 07:33 pm ganeti-local Revision a8ae3eb5: Fix node readd issues
- This patch fixes a few node readd issues.
Currently, the node readd consists of two opcodes:
- OpSetNodeParms, whi... - 07:33 pm ganeti-local Revision dec0d9da: Cleanup config data when draining nodes
- Currently, when draining nodes we reset their master candidate flag, but
we don't instruct them to demote themselves.... - 07:31 pm Revision 23f06b2b: Allow GetMasterCandidateStats to ignore some nodes
- This patch modifies ConfigWriter.GetMasterCandidateStats to allow it to
ignore some nodes in the calculation, so that... - 07:31 pm ganeti-local Revision 23f06b2b: Allow GetMasterCandidateStats to ignore some nodes
- This patch modifies ConfigWriter.GetMasterCandidateStats to allow it to
ignore some nodes in the calculation, so that... - 12:01 pm Revision e631cb25: Fix error message for extra files on non MC nodes
- Currently the message for extraneous files on non master candidates is
confusing, to say the least. This makes it hop... - 12:01 pm ganeti-local Revision e631cb25: Fix error message for extra files on non MC nodes
- Currently the message for extraneous files on non master candidates is
confusing, to say the least. This makes it hop...
06/29/2009
- 05:41 pm Revision cc208ed0: Merge branch 'master' into branch-2.1
- * master:
Fix adjustement of candidates in cluster modify
Add a new node list field
Fix HTTP server library han... - 05:41 pm ganeti-local Revision cc208ed0: Merge branch 'master' into branch-2.1
- * master:
Fix adjustement of candidates in cluster modify
Add a new node list field
Fix HTTP server library han... - 05:33 pm ganeti-local Revision b2a6ccd4: Rename the volume_list RPC call to lv_list
- There are volume-related rpc calls. This patch renames the ‘volume_list’
call to ‘lv_list’ to make more clear its pur... - 05:33 pm Revision b2a6ccd4: Rename the volume_list RPC call to lv_list
- There are volume-related rpc calls. This patch renames the ‘volume_list’
call to ‘lv_list’ to make more clear its pur... - 05:26 pm ganeti-local Revision 3126878d: GenericMain, handle ParameterError from _ParseArgs
- Before this case was not covered, and printed a stack trace.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 05:26 pm Revision 3126878d: GenericMain, handle ParameterError from _ParseArgs
- Before this case was not covered, and printed a stack trace.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 05:26 pm Revision 8b46606c: check_ident_key_val, handle no_ and - prefixes
- If an ident member of an IdentKeyVal relationship starts with no_ or -,
handle it the same way we do for a key. Some ... - 05:26 pm ganeti-local Revision 8b46606c: check_ident_key_val, handle no_ and - prefixes
- If an ident member of an IdentKeyVal relationship starts with no_ or -,
handle it the same way we do for a key. Some ... - 04:14 pm Revision 4f31882e: _SplitKeyVal with no data return an empty dict
- If an empty string is passed to _SplitKeyVal, we should return {},
rather than {'': True}. Also test for the correct ... - 04:14 pm ganeti-local Revision 4f31882e: _SplitKeyVal with no data return an empty dict
- If an empty string is passed to _SplitKeyVal, we should return {},
rather than {'': True}. Also test for the correct ... - 04:12 pm Revision d1a7d66f: Introduce OS api version 15
- Also, since Ganeti 2.1 will be compatible with both 10 and 15, change
the OS_API_VERSION constant to be an OS_API_VER... - 04:12 pm ganeti-local Revision d1a7d66f: Introduce OS api version 15
- Also, since Ganeti 2.1 will be compatible with both 10 and 15, change
the OS_API_VERSION constant to be an OS_API_VER... - 04:12 pm ganeti-local Revision 63b9b186: _OSOndiskAPIVersion: save a loop
- The api_versions list is first stripped and then converted to integer.
Combining the two operations.
Signed-off-by: ... - 04:12 pm Revision 63b9b186: _OSOndiskAPIVersion: save a loop
- The api_versions list is first stripped and then converted to integer.
Combining the two operations.
Signed-off-by: ... - 04:01 pm ganeti-local Revision 75e914fb: Fix adjustement of candidates in cluster modify
- The code for adjusting the candidate pool size was done after the config
update, and this means we triggered the save... - 04:01 pm Revision 75e914fb: Fix adjustement of candidates in cluster modify
- The code for adjusting the candidate pool size was done after the config
update, and this means we triggered the save... - 01:43 pm Revision c120ff34: Add a new node list field
- This patch adds a ‘role’ node list field, which shows a one-character
node status. This is a simpler way to see the n... - 01:43 pm ganeti-local Revision c120ff34: Add a new node list field
- This patch adds a ‘role’ node list field, which shows a one-character
node status. This is a simpler way to see the n...
06/26/2009
- 04:45 pm Revision 3374afa9: Use ReadFile.splitlines() rather than readlines
- A few places in the code open a file "manually" rather than using our
wrapper function, because they need an array wi... - 04:45 pm ganeti-local Revision 3374afa9: Use ReadFile.splitlines() rather than readlines
- A few places in the code open a file "manually" rather than using our
wrapper function, because they need an array wi... - 04:45 pm Revision 7ead9575: Rename _OSOndiskVersion to _OSOndiskAPIVersion
- This makes what versions we're talking about clearer.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-b... - 04:45 pm ganeti-local Revision 7ead9575: Rename _OSOndiskVersion to _OSOndiskAPIVersion
- This makes what versions we're talking about clearer.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-b...
06/24/2009
- 06:17 pm Revision 920b5878: Convert ssconf._ReadFile to utils.ReadFile
- Making ssconf._ReadFile a wrapper over utils.ReadFile
Signed-off-by: Guido Trotter <ultrotter@google.com> - 06:17 pm ganeti-local Revision 920b5878: Convert ssconf._ReadFile to utils.ReadFile
- Making ssconf._ReadFile a wrapper over utils.ReadFile
Signed-off-by: Guido Trotter <ultrotter@google.com>
06/23/2009
- 06:29 pm Revision 396b5733: backend.StartMaster: fix variable name
- As per comments for patch “Convert node_start_master to new style
result”, the ‘payload’ variable is renamed to ‘err_... - 06:29 pm ganeti-local Revision 396b5733: backend.StartMaster: fix variable name
- As per comments for patch “Convert node_start_master to new style
result”, the ‘payload’ variable is renamed to ‘err_... - 03:19 pm Revision 81b59aaf: Fix HTTP server library handling of credentials
- Currently the http library only checks credentials when authentication
is required. This means that any credentials a... - 03:19 pm ganeti-local Revision 81b59aaf: Fix HTTP server library handling of credentials
- Currently the http library only checks credentials when authentication
is required. This means that any credentials a... - 02:30 pm Revision 73e5a4f4: Fix a typo in backend.InstanceReboot docstring
- The documentation for the reboot was wrong. This patch fixes it and
updates the docstring with more details.
Signed-... - 02:30 pm ganeti-local Revision 73e5a4f4: Fix a typo in backend.InstanceReboot docstring
- The documentation for the reboot was wrong. This patch fixes it and
updates the docstring with more details.
Signed-...
06/19/2009
- 04:40 pm Revision 2cad4b91: Update RAPI docs for the dry-run mode
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:40 pm ganeti-local Revision 2cad4b91: Update RAPI docs for the dry-run mode
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 04:24 pm Revision 6f59b964: rapi: implement dry-run mode
- This patch implements dry-run mode for the operations which modify the
state of the cluster. Dry-run mode is enabled ... - 04:24 pm ganeti-local Revision 6f59b964: rapi: implement dry-run mode
- This patch implements dry-run mode for the operations which modify the
state of the cluster. Dry-run mode is enabled ... - 04:24 pm Revision 08896026: LUCreateInstance: the node list as return value
- Currently LUCreateInstance has no result; this patch changes it so that
both the normal result and the dry-run result... - 04:24 pm ganeti-local Revision 08896026: LUCreateInstance: the node list as return value
- Currently LUCreateInstance has no result; this patch changes it so that
both the normal result and the dry-run result... - 04:24 pm Revision 64c65a2a: Implement dry-run mode at cli level (partially)
- This patch adds support for the dry-run mode for all command line
operations, and also makes use of this for commands... - 04:24 pm ganeti-local Revision 64c65a2a: Implement dry-run mode at cli level (partially)
- This patch adds support for the dry-run mode for all command line
operations, and also makes use of this for commands... - 04:24 pm Revision 20777413: LU execution: implement dry-run framework
- This patch adds a new (global) opcode flag 'dry_run' which, when True,
causes early exit from the LU workflow, return... - 04:24 pm ganeti-local Revision 20777413: LU execution: implement dry-run framework
- This patch adds a new (global) opcode flag 'dry_run' which, when True,
causes early exit from the LU workflow, return... - 04:23 pm Revision 4f05fd3b: Introduce __slots__ deriving in opcodes.py
- This simple patch adds to all opcodes extension of the base opcode
__slots__. This way we can add slots across all op... - 04:23 pm ganeti-local Revision 4f05fd3b: Introduce __slots__ deriving in opcodes.py
- This simple patch adds to all opcodes extension of the base opcode
__slots__. This way we can add slots across all op... - 02:14 pm Revision f2fd87d7: Fix some small epydoc warnings
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:14 pm ganeti-local Revision f2fd87d7: Fix some small epydoc warnings
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
06/18/2009
- 04:50 pm Revision 0b063b42: gnt-instance(8) one more batch-create update
- Document the new nics list, as an alternative to the one nick which you
can create with the old mac, ip, mode, link/b... - 04:50 pm ganeti-local Revision 0b063b42: gnt-instance(8) one more batch-create update
- Document the new nics list, as an alternative to the one nick which you
can create with the old mac, ip, mode, link/b... - 04:50 pm ganeti-local Revision a379d9bd: Update gnt-instance batch-create for NIC params
- This is compatible with the previous version, but also allows specifying
more than one nic, by giving a "nics" list o... - 04:50 pm Revision a379d9bd: Update gnt-instance batch-create for NIC params
- This is compatible with the previous version, but also allows specifying
more than one nic, by giving a "nics" list o... - 01:49 pm ganeti-local Revision 29921401: Fix various pylint warnings
- There were multiple issues:
- copy-paste resulted in wrong indentation
- wrong function name
- missing spaces a... - 01:49 pm Revision 29921401: Fix various pylint warnings
- There were multiple issues:
- copy-paste resulted in wrong indentation
- wrong function name
- missing spaces a... - 12:51 pm Revision 3bd3d643: Document iallocator proposed improvements
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:51 pm ganeti-local Revision 3bd3d643: Document iallocator proposed improvements
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
06/17/2009
- 06:21 pm Revision c1ce76bb: Fix handling of 'vcpus' in instance list
- Currently running “gnt-instance list -o+vcpus” fails with a cryptic message:
Unhandled Ganeti error: vcpus
This is... - 06:21 pm ganeti-local Revision c1ce76bb: Fix handling of 'vcpus' in instance list
- Currently running “gnt-instance list -o+vcpus” fails with a cryptic message:
Unhandled Ganeti error: vcpus
This is... - 04:22 pm ganeti-local Revision 495cfdf0: RAPI: move to nic parameters
- In query we ask for nic.links, rather than nic.bridges
In create we accept both "link" and "bridge" and let the opcod... - 04:22 pm Revision 495cfdf0: RAPI: move to nic parameters
- In query we ask for nic.links, rather than nic.bridges
In create we accept both "link" and "bridge" and let the opcod... - 04:22 pm ganeti-local Revision 7d713344: Update manpages for NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:22 pm Revision 7d713344: Update manpages for NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:21 pm Revision 5e3d3eb3: Update a forgot docstring for nic parameters
- Properly document the expected nic format.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin P... - 04:21 pm ganeti-local Revision 5e3d3eb3: Update a forgot docstring for nic parameters
- Properly document the expected nic format.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin P... - 04:21 pm Revision 0b13832c: Fix QueryInstanceData for nic parameters
- This CL updates QueryInstanceData to return NICs in the new format (mac,
ip, mode, link) and fixes gnt-instance info ... - 04:21 pm ganeti-local Revision 0b13832c: Fix QueryInstanceData for nic parameters
- This CL updates QueryInstanceData to return NICs in the new format (mac,
ip, mode, link) and fixes gnt-instance info ... - 04:21 pm Revision 638c6349: Update instance query for NIC parameters
- Compatibility with the old parameters is maintained, by allowing to
query for "bridge" "nic.bridges" and "nic.bridge/... - 04:21 pm ganeti-local Revision 638c6349: Update instance query for NIC parameters
- Compatibility with the old parameters is maintained, by allowing to
query for "bridge" "nic.bridges" and "nic.bridge/... - 04:21 pm ganeti-local Revision f9b10246: Rename _PreBuildNICHooksList to _NICListToTuple
- We're going to use this helper function for more than just hooks, so
we'll give it a more generic name.
Signed-off-b... - 04:21 pm Revision f9b10246: Rename _PreBuildNICHooksList to _NICListToTuple
- We're going to use this helper function for more than just hooks, so
we'll give it a more generic name.
Signed-off-b... - 03:52 pm ganeti-local Revision 6dfad215: Fix checking for valid OS in instance create
- The current check in LUCreateInstance.CheckPrereq() is wrong - it only checks
if we got an OS, but not if we got a va... - 03:52 pm Revision 6dfad215: Fix checking for valid OS in instance create
- The current check in LUCreateInstance.CheckPrereq() is wrong - it only checks
if we got an OS, but not if we got a va... - 03:52 pm Revision c98162a7: Show disk size in instance info
- The size of the instance's disk was not shown in “gnt-instance info”.
This patch adds it and formats it nicely if pos... - 03:52 pm ganeti-local Revision c98162a7: Show disk size in instance info
- The size of the instance's disk was not shown in “gnt-instance info”.
This patch adds it and formats it nicely if pos...
06/16/2009
- 06:25 pm Revision 2b1ac224: Merge branch 'next' into branch-2.1
- * next:
gnt-cluster(8) fix --backend-parameters opt name
LUQueryInstances: fix querying for nic data
Specify th... - 06:25 pm ganeti-local Revision 2b1ac224: Merge branch 'next' into branch-2.1
- * next:
gnt-cluster(8) fix --backend-parameters opt name
LUQueryInstances: fix querying for nic data
Specify th... - 06:25 pm Revision 280b79b3: gnt-cluster(8) fix --backend-parameters opt name
- It was mistakenly called --backend
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iust... - 06:25 pm ganeti-local Revision 280b79b3: gnt-cluster(8) fix --backend-parameters opt name
- It was mistakenly called --backend
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iust... - 06:03 pm Revision 39a02558: LUQueryInstances: fix querying for nic data
- Currently we support querying for "mac" "ip" or "bridge", meaning "the
one of the first nic. We are not checking that... - 06:03 pm ganeti-local Revision 39a02558: LUQueryInstances: fix querying for nic data
- Currently we support querying for "mac" "ip" or "bridge", meaning "the
one of the first nic. We are not checking that... - 06:02 pm ganeti-local Revision a2a24f4c: Specify the object type in two docstring
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:02 pm Revision a2a24f4c: Specify the object type in two docstring
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:35 pm Revision 7b381438: KVMHypervisor, fix a bug in MigrateInstance
- This was introduced as a typo in commit
7e66c35b5685525538dd65dd3dff75b5346d30d7 while removing duplicate code
from t... - 03:35 pm ganeti-local Revision 7b381438: KVMHypervisor, fix a bug in MigrateInstance
- This was introduced as a typo in commit
7e66c35b5685525538dd65dd3dff75b5346d30d7 while removing duplicate code
from t... - 03:27 pm ganeti-local Revision 541741d3: Fix backend.{Start,Stop}Master
- Commit c26a6bd21c17641f718369caed88ae16947fa774 changed GetMasterInfo
not to return a tuple anymore, but didn't updat... - 03:27 pm Revision 541741d3: Fix backend.{Start,Stop}Master
- Commit c26a6bd21c17641f718369caed88ae16947fa774 changed GetMasterInfo
not to return a tuple anymore, but didn't updat... - 02:28 pm ganeti-local Revision af0413bb: Merge branch 'next' into branch-2.1
- * next: (22 commits)
Update NEWS and version for 2.0.1 release
gnt-{instance,backup}(8) --nic is actually --net
... - 02:28 pm Revision af0413bb: Merge branch 'next' into branch-2.1
- * next: (22 commits)
Update NEWS and version for 2.0.1 release
gnt-{instance,backup}(8) --nic is actually --net
... - 02:25 pm Revision c57f169e: Merge branch 'master' into next
- * master:
Update NEWS and version for 2.0.1 release
gnt-{instance,backup}(8) --nic is actually --net
Fix a wron... - 02:25 pm ganeti-local Revision c57f169e: Merge branch 'master' into next
- * master:
Update NEWS and version for 2.0.1 release
gnt-{instance,backup}(8) --nic is actually --net
Fix a wron... - 02:03 pm ganeti-local Revision 0dea942c: Update NEWS and version for 2.0.1 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:03 pm Revision 0dea942c: Update NEWS and version for 2.0.1 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:00 pm Revision 091c2c64: gnt-{instance,backup}(8) --nic is actually --net
- Fix a typo in the man pages that used the wrong option name.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 02:00 pm ganeti-local Revision 091c2c64: gnt-{instance,backup}(8) --nic is actually --net
- Fix a typo in the man pages that used the wrong option name.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 12:52 pm Revision c254061a: Update NEWS file for the 0.1.4 release
- 12:52 pm Revision 0c936d24: Fix a haddock/docstring issue
- 12:52 pm ganeti-local Revision 0c936d24: Fix a haddock/docstring issue
- 12:52 pm ganeti-local Revision c254061a: Update NEWS file for the 0.1.4 release
06/15/2009
- 08:30 pm Revision d019f8bd: Fix hooks unittests after RPC result changes
- Patch "Simplify the RPC result framework in backend.py" changed all
RPCs, and thus the hooks results where also chang... - 08:30 pm ganeti-local Revision d019f8bd: Fix hooks unittests after RPC result changes
- Patch "Simplify the RPC result framework in backend.py" changed all
RPCs, and thus the hooks results where also chang... - 08:13 pm Revision 6f7d4e75: Small whitespace change
- Some indentation was wrong, and pylint rightfully complained.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed... - 08:13 pm ganeti-local Revision 6f7d4e75: Small whitespace change
- Some indentation was wrong, and pylint rightfully complained.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed... - 08:13 pm Revision 4c4e4e1e: Simplify RPC call result check in cmdlib.py
- Now that all results are the same, we can even more simplify the
handling in cmdlib more. Almost all if result.Remote... - 08:13 pm ganeti-local Revision 4c4e4e1e: Simplify RPC call result check in cmdlib.py
- Now that all results are the same, we can even more simplify the
handling in cmdlib more. Almost all if result.Remote... - 08:08 pm Revision c26a6bd2: Simplify the RPC result framework in backend.py
- Since now all functions fail via _Fail, the return True, … is redundant
as all normal return paths have it, and thus ... - 08:08 pm Revision afdc3985: Convert all backend function to exception
- Instead of returning (False, msg) from rpc endpoints, we raise always
exceptions (the non-endpoint, internal function... - 08:08 pm Revision 5a533f8a: Simplify usage of backend._FindDisks
- Since all users of _FindDisks now return new-style results, we can
simply make it raise an exception and not deal wit... - 08:08 pm Revision d3c8b360: Pre-compute error status in RpcResult
- Since now all RPCs have the new style result type, we can pre-compute
the error message at RpcResult() init time and ... - 08:08 pm Revision 4dd42c9d: Implement result-type restriction in ganeti-noded
- Since all rpc calls were converted, we can now:
- enforce result type to (status, data)
- convert all unhandled e... - 08:08 pm ganeti-local Revision 4dd42c9d: Implement result-type restriction in ganeti-noded
- Since all rpc calls were converted, we can now:
- enforce result type to (status, data)
- convert all unhandled e... - 08:08 pm ganeti-local Revision d3c8b360: Pre-compute error status in RpcResult
- Since now all RPCs have the new style result type, we can pre-compute
the error message at RpcResult() init time and ... - 08:08 pm ganeti-local Revision 5a533f8a: Simplify usage of backend._FindDisks
- Since all users of _FindDisks now return new-style results, we can
simply make it raise an exception and not deal wit... - 08:08 pm ganeti-local Revision afdc3985: Convert all backend function to exception
- Instead of returning (False, msg) from rpc endpoints, we raise always
exceptions (the non-endpoint, internal function... - 08:08 pm ganeti-local Revision c26a6bd2: Simplify the RPC result framework in backend.py
- Since now all functions fail via _Fail, the return True, … is redundant
as all normal return paths have it, and thus ... - 08:08 pm Revision 8e70b181: Remove old invalid-os related functionality
- We no longer need OS objects to be able to represent invalid OSes. This
cleans up the code handling those cases.
Sig... - 08:08 pm Revision 255dcebd: Big rewrite of the OS-related functions
- Currently the OSes have a special, customized error handling: the OS
object can represent either a valid OS, or an in... - 08:08 pm Revision c8457ce7: Convert the jobqueue rpc to new style result
- This patch converts the job queue rpc calls to the new style result.
It's done in a single patch as there are helper ... - 08:08 pm Revision b2b8bcce: Convert the file storage rpcs to new style result
- This patch converts all three file-storage rpc (create, delete, rename)
to new style result. This is done in a single... - 08:08 pm Revision 38ea42a1: Convert test_delay rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 87f5c298: Convert iallocator_runner rpc to new result style
- This patch converts this rpc into the new style. Since the function
already had some error handling, we remove this c... - 08:08 pm Revision 3fb4f740: Convert hooks_runner rpc to new style result
- This also converts (and fixes) unittests and mock objects to deal with
this change, and the custom hook verifier in c... - 08:08 pm ganeti-local Revision 3fb4f740: Convert hooks_runner rpc to new style result
- This also converts (and fixes) unittests and mock objects to deal with
this change, and the custom hook verifier in c... - 08:08 pm ganeti-local Revision 87f5c298: Convert iallocator_runner rpc to new result style
- This patch converts this rpc into the new style. Since the function
already had some error handling, we remove this c... - 08:08 pm ganeti-local Revision 38ea42a1: Convert test_delay rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm ganeti-local Revision b2b8bcce: Convert the file storage rpcs to new style result
- This patch converts all three file-storage rpc (create, delete, rename)
to new style result. This is done in a single... - 08:08 pm ganeti-local Revision c8457ce7: Convert the jobqueue rpc to new style result
- This patch converts the job queue rpc calls to the new style result.
It's done in a single patch as there are helper ... - 08:08 pm ganeti-local Revision 255dcebd: Big rewrite of the OS-related functions
- Currently the OSes have a special, customized error handling: the OS
object can represent either a valid OS, or an in... - 08:08 pm ganeti-local Revision 8e70b181: Remove old invalid-os related functionality
- We no longer need OS objects to be able to represent invalid OSes. This
cleans up the code handling those cases.
Sig... - 08:08 pm Revision 83d92ad8: Convert os_diagnose rpc to new style result
- This also removes custom post-processing from rpc.py; since this call
has only one user, it was simple to move it bac... - 08:08 pm Revision 90b54c26: Convert call_version rpc to new style result
- This also cleans up its single use in cmdlib.py.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Tr... - 08:08 pm Revision e1e75d00: Convert write_ssconf_files to new style
- The patch also adds logging of errors from the ConfigWriter in case the
RPC fails (although today we don't have failu... - 08:08 pm Revision 2a52a064: Convert master_info rpc to new style result
- This was more tricky as the backend function is used by other function
in backend.py. As such, it must be handled spe... - 08:08 pm Revision 10bfe6cb: Convert node_volumes rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 0623d351: Conver node_leave_cluster rpc to new style result
- This patch converts this rpc call to the new style result, and also
changes in the process the meaning of the QuitGan... - 08:08 pm ganeti-local Revision 0623d351: Conver node_leave_cluster rpc to new style result
- This patch converts this rpc call to the new style result, and also
changes in the process the meaning of the QuitGan... - 08:08 pm ganeti-local Revision 10bfe6cb: Convert node_volumes rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm ganeti-local Revision 2a52a064: Convert master_info rpc to new style result
- This was more tricky as the backend function is used by other function
in backend.py. As such, it must be handled spe... - 08:08 pm ganeti-local Revision e1e75d00: Convert write_ssconf_files to new style
- The patch also adds logging of errors from the ConfigWriter in case the
RPC fails (although today we don't have failu... - 08:08 pm ganeti-local Revision 90b54c26: Convert call_version rpc to new style result
- This also cleans up its single use in cmdlib.py.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Tr... - 08:08 pm ganeti-local Revision 83d92ad8: Convert os_diagnose rpc to new style result
- This also removes custom post-processing from rpc.py; since this call
has only one user, it was simple to move it bac... - 08:08 pm Revision 6c00d19a: Convert node_stop_master rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision b726aff0: Convert node_start_master to new style result
- This is used in multiple places outside cmdlib.py, so it's a more
interesting patch.
Signed-off-by: Iustin Pop <iust... - 08:08 pm Revision 6f68a739: Convert node_verify rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 31e22135: Remove utils.CheckDict since it's no longer used
- Only the custom handling in rpc.py for call_node_info used this, so now
it can be removed.
Signed-off-by: Iustin Pop... - 08:08 pm Revision 070e998b: Convert node_info rpc to new style result
- This patch also does some cleanup and enforces valid results (with
proper type, i.e. int for memory/disk values) from... - 08:08 pm Revision c2fc8250: Convert node_has_ip_address rpc to new style
- This should actually have a function in backend, but it's fine for now.
Signed-off-by: Iustin Pop <iustin@google.com... - 08:08 pm Revision aca13712: Convert instance_list rpc to new style result
- Since backend.GetInstanceList() is used both as RPC endpoint and as
internal function, it can't return (status, value... - 08:08 pm ganeti-local Revision aca13712: Convert instance_list rpc to new style result
- Since backend.GetInstanceList() is used both as RPC endpoint and as
internal function, it can't return (status, value... - 08:08 pm ganeti-local Revision c2fc8250: Convert node_has_ip_address rpc to new style
- This should actually have a function in backend, but it's fine for now.
Signed-off-by: Iustin Pop <iustin@google.com... - 08:08 pm ganeti-local Revision 070e998b: Convert node_info rpc to new style result
- This patch also does some cleanup and enforces valid results (with
proper type, i.e. int for memory/disk values) from... - 08:08 pm ganeti-local Revision 31e22135: Remove utils.CheckDict since it's no longer used
- Only the custom handling in rpc.py for call_node_info used this, so now
it can be removed.
Signed-off-by: Iustin Pop... - 08:08 pm ganeti-local Revision 6f68a739: Convert node_verify rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm ganeti-local Revision b726aff0: Convert node_start_master to new style result
- This is used in multiple places outside cmdlib.py, so it's a more
interesting patch.
Signed-off-by: Iustin Pop <iust... - 08:08 pm ganeti-local Revision 6c00d19a: Convert node_stop_master rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 2fa74ef4: Convert all_instances_info rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 7ad1af4a: Convert instance_info rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 944bf548: Convert instance_os_import rpc to new style result
- This changes from a list of booleans to «status, error messages». This
means that instead knowing which disk has fail... - 08:08 pm ganeti-local Revision 944bf548: Convert instance_os_import rpc to new style result
- This changes from a list of booleans to «status, error messages». This
means that instead knowing which disk has fail... - 08:08 pm ganeti-local Revision 7ad1af4a: Convert instance_info rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm ganeti-local Revision 2fa74ef4: Convert all_instances_info rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 35c0c8da: Convert bridges_exist to new style result
- This was a very simple (boolean) RPC, so converting it to actually have
more value with the new style results was mor... - 08:08 pm ganeti-local Revision 35c0c8da: Convert bridges_exist to new style result
- This was a very simple (boolean) RPC, so converting it to actually have
more value with the new style results was mor... - 07:37 pm Revision e480923b: Convert vg_list rpc to new style result
- This doesn't have known failure modes but converting will help later.
We also now call directly utils.ListVolumeGrou... - 07:37 pm ganeti-local Revision e480923b: Convert vg_list rpc to new style result
- This doesn't have known failure modes but converting will help later.
We also now call directly utils.ListVolumeGrou... - 07:37 pm Revision 29d376ec: Convert volume_list rpc to new style result
- This is a big change, because we need to cleanup its users too.
The call and thus LUVerifyDisks LU used to different... - 07:37 pm ganeti-local Revision 29d376ec: Convert volume_list rpc to new style result
- This is a big change, because we need to cleanup its users too.
The call and thus LUVerifyDisks LU used to different... - 07:37 pm Revision 35fbcd11: Convert export_remove rpc to new style
- This converts the export_remove rpc to new style result and also fixes
and old TODO by adding exception handling (and... - 07:37 pm ganeti-local Revision 35fbcd11: Convert export_remove rpc to new style
- This converts the export_remove rpc to new style result and also fixes
and old TODO by adding exception handling (and... - 07:37 pm Revision 1b7bfbb7: Convert export_list rpc to new style result
- This is used in multiple places, so it has a little more changes than
the previous ones.
Signed-off-by: Iustin Pop <... - 07:37 pm ganeti-local Revision 1b7bfbb7: Convert export_list rpc to new style result
- This is used in multiple places, so it has a little more changes than
the previous ones.
Signed-off-by: Iustin Pop <... - 07:37 pm Revision 3eccac06: Convert export_info rpc to new style result
- This also removes some code from ganeti-noded and rpc.py, which should
not do such processing of data (and be simply ... - 07:37 pm ganeti-local Revision 3eccac06: Convert export_info rpc to new style result
- This also removes some code from ganeti-noded and rpc.py, which should
not do such processing of data (and be simply ... - 07:37 pm Revision 9b201a0d: Convert finalize_export rpc to new style results
- This rpc doesn't have explicit failure modes, but once all RPCs are
converted and we can catch and convert expception... - 07:37 pm ganeti-local Revision 9b201a0d: Convert finalize_export rpc to new style results
- This rpc doesn't have explicit failure modes, but once all RPCs are
converted and we can catch and convert expception... - 07:37 pm Revision ba55d062: Convert snapshot_export rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:37 pm ganeti-local Revision ba55d062: Convert snapshot_export rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:37 pm Revision 87812fd3: Convert blockdev_snapshot rpc to new result style
- This also slightly changes the code in cmdlib that uses it for more
clarity.
Signed-off-by: Iustin Pop <iustin@googl... - 07:37 pm ganeti-local Revision 87812fd3: Convert blockdev_snapshot rpc to new result style
- This also slightly changes the code in cmdlib that uses it for more
clarity.
Signed-off-by: Iustin Pop <iustin@googl... - 07:36 pm Revision 3efa9051: Convert blockdev_getmirrorstatus rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:36 pm ganeti-local Revision 3efa9051: Convert blockdev_getmirrorstatus rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:10 pm Revision c738375b: Fix a wrong function name in backend.DrbdAttachNet
- Commit cf8df3f30c2dcd0ab398d835fa9f64d61578a4f7 "bdev: forward-port
ReAttachNet/DisconnectNet" forward-ported 1.2's b... - 02:10 pm ganeti-local Revision c738375b: Fix a wrong function name in backend.DrbdAttachNet
- Commit cf8df3f30c2dcd0ab398d835fa9f64d61578a4f7 "bdev: forward-port
ReAttachNet/DisconnectNet" forward-ported 1.2's b... - 01:54 pm Revision a9fe7e8f: Iallocator: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm Revision 503b97a9: Xen: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm ganeti-local Revision 503b97a9: Xen: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm ganeti-local Revision a9fe7e8f: Iallocator: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm Revision bef9c750: KVM: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm ganeti-local Revision bef9c750: KVM: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 1ba9227f: OSEnvironment: convert to NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm ganeti-local Revision 1ba9227f: OSEnvironment: convert to NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision b848ce79: rpc: fill in NIC parameters in instances
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 9b31ca85: Remove bridge and default_bridge from objects
- These values are deprecated, and not used in 2.1 anymore.
The slots are still there to allow auto-upgrading from 2.0.... - 01:52 pm ganeti-local Revision 9b31ca85: Remove bridge and default_bridge from objects
- These values are deprecated, and not used in 2.1 anymore.
The slots are still there to allow auto-upgrading from 2.0.... - 01:52 pm ganeti-local Revision b848ce79: rpc: fill in NIC parameters in instances
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 62f0dd02: NIC Parameters: fix hooks environment generation
- In order to do that we change the way nics are espected to be passed to
the _BuildInstanceHookEnv function, from (ip,... - 01:52 pm ganeti-local Revision 62f0dd02: NIC Parameters: fix hooks environment generation
- In order to do that we change the way nics are espected to be passed to
the _BuildInstanceHookEnv function, from (ip,... - 01:52 pm Revision 8fcc0cb1: Remove config.GetDefBridge
- Default bridge is now handled with nic parameters, and this function is
unused.
Signed-off-by: Guido Trotter <ultrot... - 01:52 pm Revision 9ebe9556: QueryClusterInfo: don't show default_bridge
- Since default_bridge is deprecated, avoid displaying it when querying
for cluster information.
Signed-off-by: Guido ... - 01:52 pm Revision c66f21a4: config unittests: use nic params
- The target test cluster should have nic params, rather than a default
bridge.
Signed-off-by: Guido Trotter <ultrotte... - 01:52 pm Revision ec0652ad: InitCluster: don't set default_bridge
- And remove the -b option, as default nic parameters can be used instead.
We could support the option, but that would ... - 01:52 pm ganeti-local Revision ec0652ad: InitCluster: don't set default_bridge
- And remove the -b option, as default nic parameters can be used instead.
We could support the option, but that would ... - 01:52 pm ganeti-local Revision c66f21a4: config unittests: use nic params
- The target test cluster should have nic params, rather than a default
bridge.
Signed-off-by: Guido Trotter <ultrotte... - 01:52 pm ganeti-local Revision 9ebe9556: QueryClusterInfo: don't show default_bridge
- Since default_bridge is deprecated, avoid displaying it when querying
for cluster information.
Signed-off-by: Guido ... - 01:52 pm ganeti-local Revision 8fcc0cb1: Remove config.GetDefBridge
- Default bridge is now handled with nic parameters, and this function is
unused.
Signed-off-by: Guido Trotter <ultrot... - 01:52 pm Revision b165e77e: _CheckInstanceBridgesExist: move to NIC parameters
- Rather than checking all bridges, we check all links for bridged nics,
if any. Since this function is now slightly mo... - 01:52 pm ganeti-local Revision b165e77e: _CheckInstanceBridgesExist: move to NIC parameters
- Rather than checking all bridges, we check all links for bridged nics,
if any. Since this function is now slightly mo... - 01:51 pm Revision cd098c41: LUSetInstanceParams: nic parameters
- Hooks are dealt with in a later patch in the series.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 01:51 pm ganeti-local Revision cd098c41: LUSetInstanceParams: nic parameters
- Hooks are dealt with in a later patch in the series.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
Also available in: Atom