Activity
From 11/18/2008 to 12/17/2008
12/17/2008
- 04:30 pm Revision f30ca1e6: Add simple unittests for ganeti.http
- More complex unittests will need some refactoring in the HTTP code.
Reviewed-by: amishchenko - 04:30 pm ganeti-local Revision f30ca1e6: Add simple unittests for ganeti.http
- More complex unittests will need some refactoring in the HTTP code.
Reviewed-by: amishchenko - 04:09 pm ganeti-local Revision e38220e4: ganeti.bootstrap: Whitespace fix
- Reviewed-by: iustinp
- 04:09 pm Revision e38220e4: ganeti.bootstrap: Whitespace fix
- Reviewed-by: iustinp
- 03:18 pm ganeti-local Revision f87b405e: Add job queue size limit
- A job queue with too many jobs can increase memory usage and/or make
the master daemon slow. The current limit is jus... - 03:18 pm Revision f87b405e: Add job queue size limit
- A job queue with too many jobs can increase memory usage and/or make
the master daemon slow. The current limit is jus... - 01:24 pm Revision 7167159a: utils.KillProcess: Use waitpid() to wait for child processes
- Sometimes the proc filesystem doesn't reflect the current status of
a process. By calling waitpid(), we make sure to ... - 01:24 pm ganeti-local Revision 7167159a: utils.KillProcess: Use waitpid() to wait for child processes
- Sometimes the proc filesystem doesn't reflect the current status of
a process. By calling waitpid(), we make sure to ...
12/16/2008
- 06:24 pm Revision 26de0cf1: Release ganeti 2.0~alpha1
- Reviewed-by: iustinp
- 06:24 pm ganeti-local Revision 26de0cf1: Release ganeti 2.0~alpha1
- Reviewed-by: iustinp
- 06:24 pm ganeti-local Revision 513e896d: LUConnectConsole: fix primary_node online check
- The primary node is part of the instance, not of the opcode.
Reviewed-by: iustinp - 06:24 pm Revision 513e896d: LUConnectConsole: fix primary_node online check
- The primary node is part of the instance, not of the opcode.
Reviewed-by: iustinp - 06:24 pm Revision bf988c29: _RunCmdPipe: handle EINTR in poller.poll()
- poll() can be interrupted. rather than failing we retry until it
returns.
Reviewed-by: iustinp - 06:24 pm ganeti-local Revision bf988c29: _RunCmdPipe: handle EINTR in poller.poll()
- poll() can be interrupted. rather than failing we retry until it
returns.
Reviewed-by: iustinp - 06:24 pm Revision 14aa53cb: KVM: improve socat interface
- Call socat with a full path specified at configure time, rather than
just by its name, and check for the binary to ex... - 06:24 pm ganeti-local Revision 14aa53cb: KVM: improve socat interface
- Call socat with a full path specified at configure time, rather than
just by its name, and check for the binary to ex... - 06:23 pm Revision dd71f05b: KVM: use a different default kernel path
- It makes sense for the default kvm kernel not to be called "xenU".
Reviewed-by: iustinp - 06:23 pm ganeti-local Revision dd71f05b: KVM: use a different default kernel path
- It makes sense for the default kvm kernel not to be called "xenU".
Reviewed-by: iustinp
12/15/2008
- 12:06 pm Revision f088165d: ganeti.http: Add three TODOs for improvements
- Reviewed-by: iustinp
- 12:06 pm ganeti-local Revision f088165d: ganeti.http: Add three TODOs for improvements
- Reviewed-by: iustinp
- 11:48 am ganeti-local Revision f2e13d55: ganeti.http: Explicitly initiate handshake
- Otherwise it would be done on the first read/write operation, making
error handling more difficult (such as EOF durin... - 11:48 am Revision f2e13d55: ganeti.http: Explicitly initiate handshake
- Otherwise it would be done on the first read/write operation, making
error handling more difficult (such as EOF durin... - 11:40 am ganeti-local Revision d7fa9982: ganeti.http: Implement handshake socket operation
- Reviewed-by: iustinp
- 11:40 am Revision d7fa9982: ganeti.http: Implement handshake socket operation
- Reviewed-by: iustinp
- 11:40 am Revision 39cfc25b: ganeti.http: Handle SSL_ERROR_ZERO_RETURN
- Also add a comment next to the place where the SSL connection is shut
down.
Reviewed-by: iustinp - 11:40 am ganeti-local Revision 39cfc25b: ganeti.http: Handle SSL_ERROR_ZERO_RETURN
- Also add a comment next to the place where the SSL connection is shut
down.
Reviewed-by: iustinp
12/14/2008
- 02:05 pm Revision 3c7f6c44: cleanup: ConfigWriter, initialize all attributes
- We should initialized the _last_cluster_serial in the constructor too (just to
be consistent).
Reviewed-by: amishchenko - 02:05 pm ganeti-local Revision 3c7f6c44: cleanup: ConfigWriter, initialize all attributes
- We should initialized the _last_cluster_serial in the constructor too (just to
be consistent).
Reviewed-by: amishchenko - 02:05 pm Revision f6f91001: cleanup: rapi v2 instance tags wrong attribute
- This was changed in the past, but it seems this class was forgotten.
Reviewed-by: amishchenko - 02:05 pm ganeti-local Revision f6f91001: cleanup: rapi v2 instance tags wrong attribute
- This was changed in the past, but it seems this class was forgotten.
Reviewed-by: amishchenko - 02:05 pm Revision 3f3dfc15: cleanup: http server, line too long
- Reviewed-by: amishchenko
- 02:05 pm ganeti-local Revision 3f3dfc15: cleanup: http server, line too long
- Reviewed-by: amishchenko
- 02:05 pm ganeti-local Revision 5a9c3f46: cleanup: http client, line too long
- Reviewed-by: amishchenko
- 02:05 pm Revision 5a9c3f46: cleanup: http client, line too long
- Reviewed-by: amishchenko
- 02:04 pm Revision 5661b908: cleanup: xen hypervisor
- Wrong indentation and uniformize one method signature.
Reviewed-by: amishchenko - 02:04 pm ganeti-local Revision 5661b908: cleanup: xen hypervisor
- Wrong indentation and uniformize one method signature.
Reviewed-by: amishchenko - 02:04 pm ganeti-local Revision 08137f9e: cleanup: kvm code likes to redefine names
- Reviewed-by: amishchenko
- 02:04 pm Revision 08137f9e: cleanup: kvm code likes to redefine names
- Reviewed-by: amishchenko
- 02:04 pm Revision 9c034cbe: lib/ssh.py: import the logging module
- This only means most of our error paths in this module were not working
(and generating exceptions).
Reviewed-by: am... - 02:04 pm ganeti-local Revision 9c034cbe: lib/ssh.py: import the logging module
- This only means most of our error paths in this module were not working
(and generating exceptions).
Reviewed-by: am... - 02:04 pm Revision bf75f132: SshRunner: add docstring for _BuildSshOptions
- Reviewed-by: amishchenko
- 02:04 pm ganeti-local Revision bf75f132: SshRunner: add docstring for _BuildSshOptions
- Reviewed-by: amishchenko
- 02:04 pm Revision 67047322: Improve _autoconf.py comments
- This adds a docstring to the _autoconf.py file detailing how it's
generated (the other comment it's not visible in py... - 02:04 pm ganeti-local Revision 67047322: Improve _autoconf.py comments
- This adds a docstring to the _autoconf.py file detailing how it's
generated (the other comment it's not visible in py... - 02:04 pm Revision ad1bf20c: cleanup: use _ for unused loop counter
- Reviewed-by: amishchenko
- 02:04 pm ganeti-local Revision ad1bf20c: cleanup: use _ for unused loop counter
- Reviewed-by: amishchenko
- 02:04 pm ganeti-local Revision 805f0c07: cleanup: WorkerPool, wrong variable name
- Quoting Michael: "why is this even working?"
Reviewed-by: imsnah,amishchenko - 02:04 pm Revision 805f0c07: cleanup: WorkerPool, wrong variable name
- Quoting Michael: "why is this even working?"
Reviewed-by: imsnah,amishchenko - 02:03 pm Revision 0b5ad33e: cleanup: TcpPing, wrong variable name
- The default value of 'False' wasn't initialized properly. It doesn't
require initialization, but it's cleaner this wa... - 02:03 pm ganeti-local Revision 0b5ad33e: cleanup: TcpPing, wrong variable name
- The default value of 'False' wasn't initialized properly. It doesn't
require initialization, but it's cleaner this wa... - 02:03 pm ganeti-local Revision cd34e7bf: cleanup: SetEtcHostsEntry unused var
- Reviewed-by: amishchenko
- 02:03 pm Revision cd34e7bf: cleanup: SetEtcHostsEntry unused var
- Reviewed-by: amishchenko
- 02:03 pm Revision a0add446: cleanup: fix IAllocator hypervisor usage
- Two problems: the iallocator.hypervisor wasn't initialized to None in
the constructor, so pylint doesn't realize it's... - 02:03 pm ganeti-local Revision a0add446: cleanup: fix IAllocator hypervisor usage
- Two problems: the iallocator.hypervisor wasn't initialized to None in
the constructor, so pylint doesn't realize it's... - 02:03 pm Revision 4504c3d6: cleanup: LUReplaceDisks unused vars
- And a small whitespace fix.
Reviewed-by: amishchenko - 02:03 pm ganeti-local Revision 4504c3d6: cleanup: LUReplaceDisks unused vars
- And a small whitespace fix.
Reviewed-by: amishchenko - 02:03 pm Revision 9ca87a96: cleanup: do not hide upper-scope name
- hypervisor is a module, so we shouldn't use it as an argument.
Reviewed-by: amishchenko - 02:03 pm ganeti-local Revision 9ca87a96: cleanup: do not hide upper-scope name
- hypervisor is a module, so we shouldn't use it as an argument.
Reviewed-by: amishchenko - 02:03 pm Revision 43017d26: cleanup: fix use of _CheckNodeOnline
- A few cases of wrong variable name.
Reviewed-by: amishchenko - 02:03 pm ganeti-local Revision 43017d26: cleanup: fix use of _CheckNodeOnline
- A few cases of wrong variable name.
Reviewed-by: amishchenko - 02:03 pm ganeti-local Revision 8153e7e3: cleanup: LUAddNode, LUSetNodeParams unused variable
- This is a leftover from the abstraction of AdjustCandidatePool, and it
also requires the config lock, so it's better ... - 02:03 pm Revision 8153e7e3: cleanup: LUAddNode, LUSetNodeParams unused variable
- This is a leftover from the abstraction of AdjustCandidatePool, and it
also requires the config lock, so it's better ... - 02:02 pm Revision d1dc3548: cleanup: LURenameCluster wrong variable name
- Reviewed-by: amishchenko
- 02:02 pm ganeti-local Revision d1dc3548: cleanup: LURenameCluster wrong variable name
- Reviewed-by: amishchenko
- 02:02 pm ganeti-local Revision 95268cc3: cleanup: fix export NIC count the same way as disk
- For safety, we use the same algorithm as in disk count.
Reviewed-by: amishchenko - 02:02 pm Revision 95268cc3: cleanup: fix export NIC count the same way as disk
- For safety, we use the same algorithm as in disk count.
Reviewed-by: amishchenko - 02:02 pm Revision bca2e7f4: cleanup: fix backend._RecursiveFindBD
- _RecursiveFindBD takes a parameter that isn't used; moreover, nowhere in
the SVN history can I find a case that it ha... - 02:02 pm ganeti-local Revision bca2e7f4: cleanup: fix backend._RecursiveFindBD
- _RecursiveFindBD takes a parameter that isn't used; moreover, nowhere in
the SVN history can I find a case that it ha... - 02:02 pm Revision 9a4e6f41: cleanup: more unused vars
- Reviewed-by: amishchenko
- 02:02 pm ganeti-local Revision 9a4e6f41: cleanup: more unused vars
- Reviewed-by: amishchenko
- 02:02 pm Revision 3bc6be5c: cleanup: sanitize a default parameter
- Instead of relying that the usage of the parameter is ok with mutable
default parameters, let's just make it safer..
... - 02:02 pm ganeti-local Revision 3bc6be5c: cleanup: sanitize a default parameter
- Instead of relying that the usage of the parameter is ok with mutable
default parameters, let's just make it safer..
... - 02:02 pm Revision 9728ae5d: cleanup: exceptions should derive from Exception
- Reviewed-by: amishchenko
- 02:02 pm ganeti-local Revision 9728ae5d: cleanup: exceptions should derive from Exception
- Reviewed-by: amishchenko
- 02:02 pm ganeti-local Revision 7bc9e58f: cleanup: fix GatherMasterVotes
- Remove unused vars
Reviewed-by: amishchenko - 02:02 pm Revision 7bc9e58f: cleanup: fix GatherMasterVotes
- Remove unused vars
Reviewed-by: amishchenko - 02:01 pm Revision 531baf8e: cleanup: _InitSSHSetup doesn't need its argument
- Reviewed-by: imsnah
- 02:01 pm ganeti-local Revision 531baf8e: cleanup: _InitSSHSetup doesn't need its argument
- Reviewed-by: imsnah
- 02:01 pm Revision fab1e3a4: cleanup: fix 'variable unused' warning
- In the iteration we don't care about the node names, so we change the
for loop to be over the values (and not iterval... - 02:01 pm ganeti-local Revision fab1e3a4: cleanup: fix 'variable unused' warning
- In the iteration we don't care about the node names, so we change the
for loop to be over the values (and not iterval...
12/12/2008
- 06:50 pm Revision 22692e48: ganeti.http: Rename HttpBase._using_ssl to HttpBase.using_ssl
- It'll be queried from other classes.
Reviewed-by: iustinp - 06:50 pm ganeti-local Revision 22692e48: ganeti.http: Rename HttpBase._using_ssl to HttpBase.using_ssl
- It'll be queried from other classes.
Reviewed-by: iustinp - 06:50 pm Revision f4322a1e: ganeti.http: Rename HttpSocketBase to HttpBase
- It's more appropriate.
Reviewed-by: iustinp - 06:50 pm ganeti-local Revision f4322a1e: ganeti.http: Rename HttpSocketBase to HttpBase
- It's more appropriate.
Reviewed-by: iustinp
12/11/2008
- 07:13 pm Revision c41eea6e: Fix epydoc format warnings
- This patch should fix all outstanding epydoc parsing errors; as such, we
switch epydoc into verbose mode so that any ... - 07:13 pm ganeti-local Revision c41eea6e: Fix epydoc format warnings
- This patch should fix all outstanding epydoc parsing errors; as such, we
switch epydoc into verbose mode so that any ... - 04:58 pm Revision 16f323ce: Switch epydoc to parse only
- epydoc seems to be mightily confused by decorators and how they change
functions (it starts mixing the parameters of ... - 04:58 pm ganeti-local Revision 16f323ce: Switch epydoc to parse only
- epydoc seems to be mightily confused by decorators and how they change
functions (it starts mixing the parameters of ...
12/10/2008
- 02:11 pm Revision 52e2f66e: ganeti.backend: Improve compression check
- Reviewed-by: iustinp
- 02:11 pm ganeti-local Revision 52e2f66e: ganeti.backend: Improve compression check
- Reviewed-by: iustinp
- 02:06 pm Revision 358a8811: ganeti.http: Docstring updates
- Reviewed-by: iustinp
- 02:06 pm ganeti-local Revision 358a8811: ganeti.http: Docstring updates
- Reviewed-by: iustinp
12/09/2008
- 08:42 pm Revision 13b63666: ganeti.http: Remove _HttpClientError
- This is a leftover from old code.
Reviewed-by: iustinp - 08:42 pm ganeti-local Revision 13b63666: ganeti.http: Remove _HttpClientError
- This is a leftover from old code.
Reviewed-by: iustinp - 07:35 pm ganeti-local Revision 59305197: ganeti.http.server: Increase connection backlog to 1024
- This solves a problem with many concurrent requests. By default, 1024
is the maximum backlog on Linux kernels. We lim... - 07:35 pm Revision 59305197: ganeti.http.server: Increase connection backlog to 1024
- This solves a problem with many concurrent requests. By default, 1024
is the maximum backlog on Linux kernels. We lim... - 03:24 pm ganeti-local Revision 12bce260: RPC: Compress file upload data
- Adding compression to larger amounts of data is more efficient than
transferring it (len(nodes) - 1) times over the n... - 03:24 pm Revision 12bce260: RPC: Compress file upload data
- Adding compression to larger amounts of data is more efficient than
transferring it (len(nodes) - 1) times over the n... - 11:33 am Revision 832261fd: Warn for instances living on offline nodes
- The patch also changes the result to error for non-reachable secondary nodes
(as for primary nodes).
Reviewed-by: ul... - 11:33 am ganeti-local Revision 832261fd: Warn for instances living on offline nodes
- The patch also changes the result to error for non-reachable secondary nodes
(as for primary nodes).
Reviewed-by: ul...
12/08/2008
- 07:45 pm Revision ee513a66: Fix _AdjustCandidatePool
- Currently the ConfigWriter.MaintainCandidatePool returns node names, and
_AdjustCandidatePool uses them as such, but ... - 07:45 pm ganeti-local Revision ee513a66: Fix _AdjustCandidatePool
- Currently the ConfigWriter.MaintainCandidatePool returns node names, and
_AdjustCandidatePool uses them as such, but ... - 01:46 pm Revision 3a5ba66a: gnt-node modify: add the offline attribute
- This patch changes gnt-node modify and the associated opcode/lu to allow
modification of the node offline attribute.
... - 01:46 pm ganeti-local Revision 3a5ba66a: gnt-node modify: add the offline attribute
- This patch changes gnt-node modify and the associated opcode/lu to allow
modification of the node offline attribute.
... - 11:10 am Revision ed83f5cc: RPC: do not make calls to offline nodes
- This patch changes the _MultNodeCall and _SingleNodeCall helpers to not
actually make calls to offline nodes, but ins... - 11:10 am ganeti-local Revision ed83f5cc: RPC: do not make calls to offline nodes
- This patch changes the _MultNodeCall and _SingleNodeCall helpers to not
actually make calls to offline nodes, but ins...
12/07/2008
- 01:01 pm Revision c6286afc: chmod ganeti.initd before uploading it
- When an upload is done to a node which doesn't have any version of
ganeti installed, this prevents a non-executable-i... - 01:01 pm ganeti-local Revision c6286afc: chmod ganeti.initd before uploading it
- When an upload is done to a node which doesn't have any version of
ganeti installed, this prevents a non-executable-i...
12/05/2008
- 01:41 pm Revision 0a66c968: Make cluster verify understand offline nodes
- This patch changes cluster verify to not alert on offline nodes, but
instead just show a note at the end with the num... - 01:41 pm ganeti-local Revision 0a66c968: Make cluster verify understand offline nodes
- This patch changes cluster verify to not alert on offline nodes, but
instead just show a note at the end with the num... - 01:32 pm ganeti-local Revision 7527a8a4: cmdlib: check node stats in prereqs
- This patch adds checks for offline nodes in most instance LUs so that we
can work with offline secondaries, but not w... - 01:32 pm Revision 7527a8a4: cmdlib: check node stats in prereqs
- This patch adds checks for offline nodes in most instance LUs so that we
can work with offline secondaries, but not w... - 01:20 pm Revision a5961235: Add two utility functions to cmdlib
- These will be used for parameter checking and node status checking.
Reviewed-by: ultrotter - 01:20 pm ganeti-local Revision a5961235: Add two utility functions to cmdlib
- These will be used for parameter checking and node status checking.
Reviewed-by: ultrotter - 01:14 pm Revision ec0292f1: Add function to compute the master candidates
- Since some nodes can be offline, we can't just take the length of the
node list as the maximum possible number of mas... - 01:14 pm ganeti-local Revision ec0292f1: Add function to compute the master candidates
- Since some nodes can be offline, we can't just take the length of the
node list as the maximum possible number of mas... - 12:12 pm ganeti-local Revision b18dd019: http: use slicing instead of string modification
- The combination of the current buffer splitting method and (4KB) buffer
size is very inefficient when writing big amo... - 12:12 pm Revision b18dd019: http: use slicing instead of string modification
- The combination of the current buffer splitting method and (4KB) buffer
size is very inefficient when writing big amo... - 12:12 pm Revision a3316e4a: Add the offline node list to ssconf
- The patch also changes the various node list generation to be more
consistent.
Reviewed-by: imsnah - 12:12 pm ganeti-local Revision a3316e4a: Add the offline node list to ssconf
- The patch also changes the various node list generation to be more
consistent.
Reviewed-by: imsnah - 05:01 am Revision 56aa9fd5: Cleanup the config file on demotion from candidate
- This patch adds a simple rpc which makes a backup of the config file and
then removes it. This is done so that cluste... - 05:01 am ganeti-local Revision 56aa9fd5: Cleanup the config file on demotion from candidate
- This patch adds a simple rpc which makes a backup of the config file and
then removes it. This is done so that cluste... - 04:58 am ganeti-local Revision cbfc4681: watcher: handle offline nodes better
- This patch changes the LUQueryInstances to show a different state for
offline nodes and also modifies the watcher to ... - 04:58 am Revision cbfc4681: watcher: handle offline nodes better
- This patch changes the LUQueryInstances to show a different state for
offline nodes and also modifies the watcher to ... - 04:53 am Revision 9ddb5e45: node list: add the offline field
- Reviewed-by: ultrotter
- 04:53 am ganeti-local Revision 9ddb5e45: node list: add the offline field
- Reviewed-by: ultrotter
- 04:53 am Revision fc0fe88c: Add a new node parameter 'offline'
- This patch adds a new node parameter called offline that will be used to
mark nodes which should be touched by comman... - 04:53 am ganeti-local Revision fc0fe88c: Add a new node parameter 'offline'
- This patch adds a new node parameter called offline that will be used to
mark nodes which should be touched by comman... - 04:42 am Revision 02b31f32: ssconf: empty files should not add a newline
- Currently we add a newline in the ssconf writeout process, even if the
file is empty. We chage this case so that list... - 04:42 am ganeti-local Revision 02b31f32: ssconf: empty files should not add a newline
- Currently we add a newline in the ssconf writeout process, even if the
file is empty. We chage this case so that list...
12/04/2008
- 05:25 pm Revision 99b5ef90: ganeti.http: Add constant for DELETE
- Reviewed-by: amishchenko
- 05:25 pm ganeti-local Revision 99b5ef90: ganeti.http: Add constant for DELETE
- Reviewed-by: amishchenko
- 05:25 pm ganeti-local Revision 9501323b: Remove old HTTP code
- Reviewed-by: amishchenko
- 05:25 pm Revision 9501323b: Remove old HTTP code
- Reviewed-by: amishchenko
- 05:24 pm Revision ae88ef45: ganeti.rpc: Convert to new HTTP server
- Reviewed-by: amishchenko
- 05:24 pm ganeti-local Revision ae88ef45: ganeti.rpc: Convert to new HTTP server
- Reviewed-by: amishchenko
- 05:24 pm Revision bc2929fc: ganeti-rapi: Convert to new HTTP server
- Reviewed-by: amishchenko
- 05:24 pm ganeti-local Revision bc2929fc: ganeti-rapi: Convert to new HTTP server
- Reviewed-by: amishchenko
- 05:23 pm ganeti-local Revision 19205c39: ganeti-noded: Migrate to new HTTP server
- Reviewed-by: amishchenko
- 05:23 pm Revision 19205c39: ganeti-noded: Migrate to new HTTP server
- Reviewed-by: amishchenko
- 05:23 pm ganeti-local Revision 02cab3e7: ganeti.http: Split HTTP server and client into separate files
- This includes a large rewrite of the HTTP server code. The handling of
OpenSSL errors had some problems that were har... - 05:23 pm Revision 02cab3e7: ganeti.http: Split HTTP server and client into separate files
- This includes a large rewrite of the HTTP server code. The handling of
OpenSSL errors had some problems that were har... - 05:23 pm Revision 84f2756e: Rename all HTTP classes to camel case
- It should be consistent.
Reviewed-by: amishchenko - 05:23 pm ganeti-local Revision 84f2756e: Rename all HTTP classes to camel case
- It should be consistent.
Reviewed-by: amishchenko - 05:22 pm ganeti-local Revision c9d0fa8a: ganeti.http: Remove underline from two classes
- This is a preparation step for splitting the HTTP client and server code
into two separate modules.
Reviewed-by: ami... - 05:22 pm Revision c9d0fa8a: ganeti.http: Remove underline from two classes
- This is a preparation step for splitting the HTTP client and server code
into two separate modules.
Reviewed-by: ami... - 05:22 pm ganeti-local Revision ff9efc03: Move HTTP code to subpackage
- This is a preparation step for splitting the HTTP client and server code
into two separate modules.
Reviewed-by: ami... - 05:22 pm Revision ff9efc03: Move HTTP code to subpackage
- This is a preparation step for splitting the HTTP client and server code
into two separate modules.
Reviewed-by: ami... - 04:52 pm Revision eb1742d5: LURemoveNode, promote nodes to master candidates
- If after the remove node there are not enough master candidates, we'll
try to promote them.
Reviewed-by: imsnah - 04:52 pm ganeti-local Revision eb1742d5: LURemoveNode, promote nodes to master candidates
- If after the remove node there are not enough master candidates, we'll
try to promote them.
Reviewed-by: imsnah
12/03/2008
- 07:23 pm Revision b04285f2: LUQueryExports: fix rpcresult handling
- call_export_list is a multi node call, so we need to go through the
results, extrapolate the good ones, and return a ... - 07:23 pm ganeti-local Revision b04285f2: LUQueryExports: fix rpcresult handling
- call_export_list is a multi node call, so we need to go through the
results, extrapolate the good ones, and return a ... - 07:23 pm ganeti-local Revision 0fff97e9: LUAddNode: Auto-make master candidates
- When a node is added, if there are not enough master candidates, we'll
automatically promote it.
Reviewed-by: imsnah - 07:23 pm Revision 0fff97e9: LUAddNode: Auto-make master candidates
- When a node is added, if there are not enough master candidates, we'll
automatically promote it.
Reviewed-by: imsnah - 07:22 pm ganeti-local Revision f08ce603: LUAddNode: Check the correct result
- This is a typo in the conversion to RpcResult
Reviewed-by: imsnah - 07:22 pm Revision f08ce603: LUAddNode: Check the correct result
- This is a typo in the conversion to RpcResult
Reviewed-by: imsnah - 06:09 pm Revision 4ce6007f: ganeti.http: Fix copyright header
- Reviewed-by: ultrotter
- 06:09 pm ganeti-local Revision 4ce6007f: ganeti.http: Fix copyright header
- Reviewed-by: ultrotter
- 06:09 pm ganeti-local Revision 6192c9b7: ganeti.http: Remove unused attribute "should_fork"
- This is a leftover from removed code.
Reviewed-by: ultrotter - 06:09 pm Revision 6192c9b7: ganeti.http: Remove unused attribute "should_fork"
- This is a leftover from removed code.
Reviewed-by: ultrotter - 06:09 pm Revision b1d979cf: ganeti.http: Move request handling logic from server to handler class
- Reviewed-by: ultrotter
- 06:09 pm ganeti-local Revision b1d979cf: ganeti.http: Move request handling logic from server to handler class
- Reviewed-by: ultrotter
- 06:09 pm Revision 73a59d9e: ganeti.http: Move _SocketOperation to module-level function
- This is a preparation step to move the HTTP server class to the
same model as the HTTP client (polling, non-blocking ... - 06:09 pm ganeti-local Revision 73a59d9e: ganeti.http: Move _SocketOperation to module-level function
- This is a preparation step to move the HTTP server class to the
same model as the HTTP client (polling, non-blocking ... - 06:08 pm Revision f22c1cea: ganeti.http: Move _WaitForCondition into module-level function
- Reviewed-by: ultrotter
- 06:08 pm ganeti-local Revision f22c1cea: ganeti.http: Move _WaitForCondition into module-level function
- Reviewed-by: ultrotter
- 06:08 pm Revision e820685c: ganeti.http: Remove ApacheLogfile class
- We don't need it anymore and it wouldn't work as it is, anyway.
Reviewed-by: ultrotter - 06:08 pm ganeti-local Revision e820685c: ganeti.http: Remove ApacheLogfile class
- We don't need it anymore and it wouldn't work as it is, anyway.
Reviewed-by: ultrotter - 01:12 pm Revision 05cc153f: InitCluster force a config file update
- After the cluster is ready we'll load the ConfigWriter and force a
writeout of all config files.
Reviewed-by: imsnah - 01:12 pm ganeti-local Revision 05cc153f: InitCluster force a config file update
- After the cluster is ready we'll load the ConfigWriter and force a
writeout of all config files.
Reviewed-by: imsnah - 01:12 pm ganeti-local Revision c044f32c: Make sure the initial node is a master candidate
- Reviewed-by: imsnah
- 01:12 pm Revision c044f32c: Make sure the initial node is a master candidate
- Reviewed-by: imsnah
- 01:12 pm ganeti-local Revision ce735215: gnt-cluster init, handle candidate_pool_size
- - Add a new command line option, defaulting to the constant value
- Pass the value to bootstrap.InitCluster
- Use it ... - 01:12 pm Revision ce735215: gnt-cluster init, handle candidate_pool_size
- - Add a new command line option, defaulting to the constant value
- Pass the value to bootstrap.InitCluster
- Use it ... - 01:12 pm Revision c3e618cc: Add the MASTER_POOL_SIZE_DEFAULT constant
- This constant will be used at cluster init time.
Reviewed-by: imsnah - 01:12 pm ganeti-local Revision c3e618cc: Add the MASTER_POOL_SIZE_DEFAULT constant
- This constant will be used at cluster init time.
Reviewed-by: imsnah - 01:12 pm ganeti-local Revision 90eb468c: CheckBEParams handle a bool BE_AUTO_BALANCE
- This only happens at cluster init, if the value is not user-specified.
Reviewed-by: imsnah - 01:12 pm Revision 90eb468c: CheckBEParams handle a bool BE_AUTO_BALANCE
- This only happens at cluster init, if the value is not user-specified.
Reviewed-by: imsnah - 12:28 pm Revision cc3bcec8: Extract the ListNodes headers and use them in help
- Currently we have to update both the ListNodes headers and the online
help for the full field list. This patch uses t... - 12:28 pm ganeti-local Revision cc3bcec8: Extract the ListNodes headers and use them in help
- Currently we have to update both the ListNodes headers and the online
help for the full field list. This patch uses t... - 11:57 am Revision 3a26773f: A few fixes related to master candidates
- This patch:
- fixes cluster verify when all nodes are master candidates, but the
candidate_pool_size is higher
... - 11:57 am ganeti-local Revision 3a26773f: A few fixes related to master candidates
- This patch:
- fixes cluster verify when all nodes are master candidates, but the
candidate_pool_size is higher
... - 11:55 am Revision ec85e3d5: Fix cluster rename and known_hosts
- This patch rewrites and distributes ganeti's known_hosts file in case of
a cluster rename.
We also fix a problem in ... - 11:55 am ganeti-local Revision ec85e3d5: Fix cluster rename and known_hosts
- This patch rewrites and distributes ganeti's known_hosts file in case of
a cluster rename.
We also fix a problem in ...
12/02/2008
- 04:49 pm Revision 7ccb3074: Fix hooks_unittest with new rpc call structure
- Reviewed-by: iustinp
- 04:49 pm ganeti-local Revision 7ccb3074: Fix hooks_unittest with new rpc call structure
- Reviewed-by: iustinp
- 04:35 pm Revision 25361b9a: Fix gnt-cluster verify w.r.t. rpc changes
- This partially reorganizes the cluster verify LU:
- introduce constants for the node verify rpc call
- move from ... - 04:35 pm ganeti-local Revision 25361b9a: Fix gnt-cluster verify w.r.t. rpc changes
- This partially reorganizes the cluster verify LU:
- introduce constants for the node verify rpc call
- move from ... - 02:58 pm Revision 55cf7d83: Fix cluster rename
- With the recent configwriter/ssconf changes, cluster rename becomes
trivial. This patch gets rids of the code and jus... - 02:58 pm ganeti-local Revision 55cf7d83: Fix cluster rename
- With the recent configwriter/ssconf changes, cluster rename becomes
trivial. This patch gets rids of the code and jus... - 02:58 pm Revision 781de953: Convert rpc results to a custom type
- For a long time we had the problem that both RPC-layer errors and
results from the remote node share the same "values... - 02:58 pm ganeti-local Revision 781de953: Convert rpc results to a custom type
- For a long time we had the problem that both RPC-layer errors and
results from the remote node share the same "values... - 02:58 pm Revision 00f91f29: burnin: add instance reinstall and reboot
- These two operations were missing from burnin. The reboot is done with
all valid modes (a new constant is added), and... - 02:58 pm ganeti-local Revision 00f91f29: burnin: add instance reinstall and reboot
- These two operations were missing from burnin. The reboot is done with
all valid modes (a new constant is added), and... - 02:58 pm Revision a5e7be6b: burnin: don't do export/import for file storage
- This is currently not supported, so don't try to do export/import in
this case.
Reviewed-by: imsnah - 02:58 pm ganeti-local Revision a5e7be6b: burnin: don't do export/import for file storage
- This is currently not supported, so don't try to do export/import in
this case.
Reviewed-by: imsnah - 12:54 pm Revision 8a74a9b9: KVMHypervisor add two missing 'constants.'
- Some calls to the HV parameters were missing them.
Reviewed-by: imsnah - 12:54 pm ganeti-local Revision 8a74a9b9: KVMHypervisor add two missing 'constants.'
- Some calls to the HV parameters were missing them.
Reviewed-by: imsnah - 12:54 pm Revision 47387b1e: KVMHypervisor fix to case misspellings
- Reviewed-by: imsnah
- 12:54 pm ganeti-local Revision 47387b1e: KVMHypervisor fix to case misspellings
- Reviewed-by: imsnah
- 12:54 pm Revision 8f348e36: cluster init: don't discard the hypervisor
- On cluster init if the user specifies a default hypervisor (with -t)
which is not in the default list of enabled hype... - 12:54 pm ganeti-local Revision 8f348e36: cluster init: don't discard the hypervisor
- On cluster init if the user specifies a default hypervisor (with -t)
which is not in the default list of enabled hype... - 12:53 pm Revision d4b72030: Use the new utils.CheckBEParams function
- Where we used/forgot to validate beparams we now use the new common function.
Reviewed-by: imsnah - 12:53 pm ganeti-local Revision d4b72030: Use the new utils.CheckBEParams function
- Where we used/forgot to validate beparams we now use the new common function.
Reviewed-by: imsnah - 12:53 pm Revision 42ce2e13: Add utils.CheckBEParams
- This function will be used in LUCreateInstance, LUSetInstanceParams,
LUSetClusterParams and InitCluster to check the ... - 12:53 pm ganeti-local Revision 42ce2e13: Add utils.CheckBEParams
- This function will be used in LUCreateInstance, LUSetInstanceParams,
LUSetClusterParams and InitCluster to check the ... - 12:53 pm Revision 1817f49b: Add constants.VALUE_TRUE and VALUE_FALSE
- Reviewed-by: imsnah
- 12:53 pm ganeti-local Revision 1817f49b: Add constants.VALUE_TRUE and VALUE_FALSE
- Reviewed-by: imsnah
- 12:25 pm Revision 8edcd611: Handle default/none values in hv/be params
- When a value is set to constants.VALUE_DEFAULT we have to remove it from
the specific instance dict, as this way it w... - 12:25 pm ganeti-local Revision 8edcd611: Handle default/none values in hv/be params
- When a value is set to constants.VALUE_DEFAULT we have to remove it from
the specific instance dict, as this way it w... - 12:25 pm Revision 467ae11e: SetInstanceParams: handle default/none values
- If the hv/be parameter lowercase value is set to "default" we'll pass
constants.VALUE_DEFAULT, if it's set to "none" ... - 12:25 pm ganeti-local Revision 467ae11e: SetInstanceParams: handle default/none values
- If the hv/be parameter lowercase value is set to "default" we'll pass
constants.VALUE_DEFAULT, if it's set to "none" ... - 12:19 pm Revision 021f5d6f: Update gnt-backup online help
- --src-node and --src-dir are not mandatory anymore
Reviewed-by: iustinp - 12:19 pm ganeti-local Revision 021f5d6f: Update gnt-backup online help
- --src-node and --src-dir are not mandatory anymore
Reviewed-by: iustinp - 12:19 pm Revision b9322a9f: ImportExport: make src_node and src_path optional
- If src_node is not there we'll default to using the currently exported
instance name as src_path. Also, if src_path i... - 12:19 pm ganeti-local Revision b9322a9f: ImportExport: make src_node and src_path optional
- If src_node is not there we'll default to using the currently exported
instance name as src_path. Also, if src_path i... - 12:19 pm Revision c0cbdc67: LUCreateInstance: handle import without src_node
- If we get called with no source node we'll thread src_path as an
instance name exported in EXPORT_DIR in one of the n... - 12:19 pm ganeti-local Revision c0cbdc67: LUCreateInstance: handle import without src_node
- If we get called with no source node we'll thread src_path as an
instance name exported in EXPORT_DIR in one of the n... - 12:19 pm Revision 9c8971d7: LUCreateInstance: keep src node lock on import
- Currently the node lock also guards against removing the import at the
wrong time, so if we're importing an instance ... - 12:19 pm ganeti-local Revision 9c8971d7: LUCreateInstance: keep src node lock on import
- Currently the node lock also guards against removing the import at the
wrong time, so if we're importing an instance ... - 07:07 am Revision bbe19c17: Fix master failover
- The ssconf files were not updated by the master failover. We need to
push them, and since we already have RPC initial... - 07:07 am ganeti-local Revision bbe19c17: Fix master failover
- The ssconf files were not updated by the master failover. We need to
push them, and since we already have RPC initial... - 07:06 am Revision 112f18a5: Adjust cluster-verify to check for candidate role
- Currently cluster verify checks all nodes for the same set of files,
even if the nodes are not master candidates.
Th... - 07:06 am ganeti-local Revision 112f18a5: Adjust cluster-verify to check for candidate role
- Currently cluster verify checks all nodes for the same set of files,
even if the nodes are not master candidates.
Th... - 07:06 am Revision a8efbb40: Add candidate pool size checks in verify
- Reviewed-by: imsnah
- 07:06 am ganeti-local Revision a8efbb40: Add candidate pool size checks in verify
- Reviewed-by: imsnah
- 07:06 am Revision 3e83dd48: Prevent demotion from candidate based on pool size
- In gnt-cluster modify we prevent demotion from the candidate role if
there are not enough master candidates left.
Re... - 07:06 am ganeti-local Revision 3e83dd48: Prevent demotion from candidate based on pool size
- In gnt-cluster modify we prevent demotion from the candidate role if
there are not enough master candidates left.
Re... - 07:06 am Revision 4b7735f9: Add cluster candidate pool size parameter
- This patch adds a new cluster paramater "candidate_pool_size" which
tracks the desired size of the list of nodes with... - 07:06 am ganeti-local Revision 4b7735f9: Add cluster candidate pool size parameter
- This patch adds a new cluster paramater "candidate_pool_size" which
tracks the desired size of the list of nodes with... - 07:05 am Revision 8135a2db: Prevent master failover to a non candidate node
- Reviewed-by: imsnah
- 07:05 am ganeti-local Revision 8135a2db: Prevent master failover to a non candidate node
- Reviewed-by: imsnah
- 07:05 am Revision f56618e0: Add the list of master candidates to ssconf
- Reviewed-by: imsnah
- 07:05 am ganeti-local Revision f56618e0: Add the list of master candidates to ssconf
- Reviewed-by: imsnah
- 07:05 am Revision 59303563: Restrict job propagation to master candidates only
- This patch restricts the job propagation to master candidates only, by
not registering non-candidates in the job queu... - 07:05 am ganeti-local Revision 59303563: Restrict job propagation to master candidates only
- This patch restricts the job propagation to master candidates only, by
not registering non-candidates in the job queu... - 07:05 am Revision 6a5b8b4b: Restrict config replication to master candidates
- This patch restricts the config data replication to master candidates
only.
Reviewed-by: imsnah - 07:05 am ganeti-local Revision 6a5b8b4b: Restrict config replication to master candidates
- This patch restricts the config data replication to master candidates
only.
Reviewed-by: imsnah - 07:05 am Revision b31c8676: Add a gnt-node modify operation
- This patch adds the OpCode, LogicalUnit and gnt-node command for
modifying node parameters, more specifically the mas... - 07:05 am ganeti-local Revision b31c8676: Add a gnt-node modify operation
- This patch adds the OpCode, LogicalUnit and gnt-node command for
modifying node parameters, more specifically the mas... - 07:04 am Revision 0e67cdbe: Add master/master_candidate fields to node list
- This patch adds listing of the master_candidate field (as Y/N) and of
the master role (again Y/N) for nodes.
Reviewe... - 07:04 am ganeti-local Revision 0e67cdbe: Add master/master_candidate fields to node list
- This patch adds listing of the master_candidate field (as Y/N) and of
the master role (again Y/N) for nodes.
Reviewe... - 07:04 am Revision 8b8b8b81: Introduce a new 'master_candidate' node attribute
- The field is not yet used.
Reviewed-by: imsnah - 07:04 am ganeti-local Revision 8b8b8b81: Introduce a new 'master_candidate' node attribute
- The field is not yet used.
Reviewed-by: imsnah - 07:04 am Revision 89b14f05: Simplify a little the ssconf update
- We have (again) the KeyToFilename function, so we move the writing of
the files to a method under SimpleStore.
Revie... - 07:04 am ganeti-local Revision 89b14f05: Simplify a little the ssconf update
- We have (again) the KeyToFilename function, so we move the writing of
the files to a method under SimpleStore.
Revie... - 07:04 am Revision 054596f0: Replicate the node list in ssconf
- This patch adds node_list in the list of replicated values from
ConfigWriter.
Reviewed-by: imsnah - 07:04 am ganeti-local Revision 054596f0: Replicate the node list in ssconf
- This patch adds node_list in the list of replicated values from
ConfigWriter.
Reviewed-by: imsnah - 07:03 am Revision 93384844: Revert "Get rid of ssconf"
- This partially reverts the "Get rid of ssconf" patch.
It adds back a simpler version of the SimpleStore class, and d... - 07:03 am ganeti-local Revision 93384844: Revert "Get rid of ssconf"
- This partially reverts the "Get rid of ssconf" patch.
It adds back a simpler version of the SimpleStore class, and d... - 03:41 am Revision b518a14a: burnin: fix usage of diskless template
- This allows burnin to work with diskless instances (since we cannot pass
right now no disks to it).
Reviewed-by: imsnah - 03:41 am ganeti-local Revision b518a14a: burnin: fix usage of diskless template
- This allows burnin to work with diskless instances (since we cannot pass
right now no disks to it).
Reviewed-by: imsnah
12/01/2008
- 10:52 pm Revision 1d693311: Update QA scripts to new cluster parameters
- There are still issues, especially with "gnt-instance modify" and
resetting values. However, this is a start.
Review... - 10:52 pm ganeti-local Revision 1d693311: Update QA scripts to new cluster parameters
- There are still issues, especially with "gnt-instance modify" and
resetting values. However, this is a start.
Review... - 10:52 pm ganeti-local Revision dfecf310: gnt-instance add: Remove "--os-size" and "--swap-size"
- They're not used anymore.
Reviewed-by: ultrotter - 10:52 pm Revision dfecf310: gnt-instance add: Remove "--os-size" and "--swap-size"
- They're not used anymore.
Reviewed-by: ultrotter - 10:52 pm Revision 3097c858: Fix RpcRunner._StaticSingleNodeCall
- Unfortunately, a rpc.Client object was passed as the first parameter,
causing the function to always fail.
Found dur... - 10:52 pm ganeti-local Revision 3097c858: Fix RpcRunner._StaticSingleNodeCall
- Unfortunately, a rpc.Client object was passed as the first parameter,
causing the function to always fail.
Found dur... - 05:47 pm Revision b9222f32: InitCluster: initialize master node serial_no
- Currently it was left alone, and thus its value was "null".
Reviewed-by: imsnah - 05:47 pm ganeti-local Revision b9222f32: InitCluster: initialize master node serial_no
- Currently it was left alone, and thus its value was "null".
Reviewed-by: imsnah - 08:02 am Revision d599d686: Fix errors when the node info RPC is incomplete
- [Forward-port from the 1.2 branch]
If ganeti starts before xend, the node information will not have all the
fields f... - 08:02 am ganeti-local Revision d599d686: Fix errors when the node info RPC is incomplete
- [Forward-port from the 1.2 branch]
If ganeti starts before xend, the node information will not have all the
fields f...
11/28/2008
- 03:58 pm Revision 028c6b76: RAPI:Fix root list and unittest for it.
- Reviewed-by: imsnah
- 03:58 pm ganeti-local Revision 028c6b76: RAPI:Fix root list and unittest for it.
- Reviewed-by: imsnah
- 02:02 pm ganeti-local Revision a0dcf7c2: RAPI: Switch from opcodes to no native 2.0 queries.
- Reviewed-by: imsnah
- 02:02 pm Revision a0dcf7c2: RAPI: Switch from opcodes to no native 2.0 queries.
- Reviewed-by: imsnah
- 12:29 pm Revision b7cb9024: jqueue: Always print message for 100% when inspecting queue
- Reviewed-by: iustinp
- 12:29 pm ganeti-local Revision b7cb9024: jqueue: Always print message for 100% when inspecting queue
- Reviewed-by: iustinp
- 12:28 pm Revision b28a3e8b: gnt-job: Print message from CancelJob to standard output
- Reviewed-by: iustinp
- 12:28 pm ganeti-local Revision b28a3e8b: gnt-job: Print message from CancelJob to standard output
- Reviewed-by: iustinp
- 12:28 pm Revision fbf0262f: jqueue: Allow jobs waiting for locks to be canceled
- - Add new "canceling" status
- Notify clients when job is canceled
- Give a return value from CancelJob
- Handle it i... - 12:28 pm ganeti-local Revision fbf0262f: jqueue: Allow jobs waiting for locks to be canceled
- - Add new "canceling" status
- Notify clients when job is canceled
- Give a return value from CancelJob
- Handle it i...
11/27/2008
- 12:38 pm Revision 87622829: Improve the node add operation
- Currently, the node add operation uses a job to query the node name and
the bootstrap function directly reads the con... - 12:38 pm ganeti-local Revision 87622829: Improve the node add operation
- Currently, the node add operation uses a job to query the node name and
the bootstrap function directly reads the con... - 12:21 pm Revision f34901f8: Fix logic bug in rev 2072
- In revision 2072 "ConfigWriter: change cluster serial meaning" I misread
the serial_no update logic: it was about upd... - 12:21 pm ganeti-local Revision f34901f8: Fix logic bug in rev 2072
- In revision 2072 "ConfigWriter: change cluster serial meaning" I misread
the serial_no update logic: it was about upd... - 05:13 am Revision 33987705: jqueue: fix a bug in an error path
- Dictionaries raise KeyError, and not ValueError when invalid keys are
passes to del.
Reviewed-by: imsnah - 05:13 am ganeti-local Revision 33987705: jqueue: fix a bug in an error path
- Dictionaries raise KeyError, and not ValueError when invalid keys are
passes to del.
Reviewed-by: imsnah - 05:13 am ganeti-local Revision cff4c037: ConfigWriter: change cluster serial meaning
- Currently, we increase the cluster serial number for instance additions,
removals and renames. This is conforming wit... - 05:13 am Revision cff4c037: ConfigWriter: change cluster serial meaning
- Currently, we increase the cluster serial number for instance additions,
removals and renames. This is conforming wit... - 05:13 am Revision 50a707fa: instance import: adapt to multi-disk/nic world
- This is mostly a copy from gnt-instance add; import works, but it's not
optimal - device count/parametrs should be ab... - 05:13 am ganeti-local Revision 50a707fa: instance import: adapt to multi-disk/nic world
- This is mostly a copy from gnt-instance add; import works, but it's not
optimal - device count/parametrs should be ab... - 05:13 am ganeti-local Revision 726d7d68: Fix gnt-backup export
- This patch fixes a bug in disk calculation for gnt-backup export, which
completely broke one-disk instance export.
T... - 05:13 am Revision 726d7d68: Fix gnt-backup export
- This patch fixes a bug in disk calculation for gnt-backup export, which
completely broke one-disk instance export.
T... - 05:13 am ganeti-local Revision 268b8e42: Fix a message in LUExportInstance
- We never verified the node name before, so this is most likely not a
non-retrieve but a wrong name case.
Reviewed-by... - 05:13 am Revision 268b8e42: Fix a message in LUExportInstance
- We never verified the node name before, so this is most likely not a
non-retrieve but a wrong name case.
Reviewed-by... - 05:12 am Revision e0e31530: Allow network-less instances
- Currently there's no way to specify no NICs for an instance, even though
this is a supported configuration.
The patc... - 05:12 am ganeti-local Revision e0e31530: Allow network-less instances
- Currently there's no way to specify no NICs for an instance, even though
this is a supported configuration.
The patc... - 05:12 am ganeti-local Revision 9d5ba39a: Fix gnt-job submit
- The submit function was using a very old API. This patch brings it up to
date.
Reviewed-by: imsnah - 05:12 am Revision 9d5ba39a: Fix gnt-job submit
- The submit function was using a very old API. This patch brings it up to
date.
Reviewed-by: imsnah - 05:12 am Revision 0e050889: Small change to job failure output
- Currently, job failures are done by raising OpExecError(job result). For
a one-opcode job that failed, this is very n... - 05:12 am ganeti-local Revision 0e050889: Small change to job failure output
- Currently, job failures are done by raising OpExecError(job result). For
a one-opcode job that failed, this is very n... - 05:12 am Revision ecb091e3: Fix file-based block devices
- We changed a while ago the protocol for opening block devices, but
FileStorage was not changed. This patch makes it w... - 05:12 am ganeti-local Revision ecb091e3: Fix file-based block devices
- We changed a while ago the protocol for opening block devices, but
FileStorage was not changed. This patch makes it w... - 05:12 am Revision 112050d9: Fix instance creation
- This patch fixes the diskless and drbd/file based instances. Sorry :(
Reviewed-by: ultrotter - 05:12 am ganeti-local Revision 112050d9: Fix instance creation
- This patch fixes the diskless and drbd/file based instances. Sorry :(
Reviewed-by: ultrotter
11/26/2008
- 06:49 pm Revision 1cb8d376: ganeti-masterd: create RUN_GANETI_DIR as well
- Since we're not sure ganeti-noded has started yet, we need to create
RUN_GANETI_DIR before SOCKET_DIR as well, with t... - 06:49 pm ganeti-local Revision 1cb8d376: ganeti-masterd: create RUN_GANETI_DIR as well
- Since we're not sure ganeti-noded has started yet, we need to create
RUN_GANETI_DIR before SOCKET_DIR as well, with t... - 06:49 pm Revision 817a030d: convert run dir mode to constant
- ganeti-noded used to create all directories under /var/run with an
hard-coded mode. convert it to a constant.
Review... - 06:49 pm ganeti-local Revision 817a030d: convert run dir mode to constant
- ganeti-noded used to create all directories under /var/run with an
hard-coded mode. convert it to a constant.
Review... - 06:16 pm Revision 711b5124: jqueue: Log progress and load jobs one by one
- By logging more information, a user can see how far it is in inspecting
the queue. This can be useful with a large nu... - 06:16 pm ganeti-local Revision 711b5124: jqueue: Log progress and load jobs one by one
- By logging more information, a user can see how far it is in inspecting
the queue. This can be useful with a large nu... - 06:15 pm ganeti-local Revision 16714921: jqueue: Shutdown workerpool in case of a problem
- Reviewed-by: ultrotter
- 06:15 pm Revision 16714921: jqueue: Shutdown workerpool in case of a problem
- Reviewed-by: ultrotter
- 01:25 pm Revision 21f04e5e: RAPI: Make calls safier
- Reviewed-by: imsnah
- 01:25 pm ganeti-local Revision 21f04e5e: RAPI: Make calls safier
- Reviewed-by: imsnah
- 03:23 am Revision 160e2921: Reduce duplication of work in rpc.Client
- This patch removes the duplicate serialization and calls to
utils.GetNodeDaemonPort in rpc.Client, and instead moves ... - 03:23 am ganeti-local Revision 160e2921: Reduce duplication of work in rpc.Client
- This patch removes the duplicate serialization and calls to
utils.GetNodeDaemonPort in rpc.Client, and instead moves ...
11/25/2008
- 07:11 pm Revision 227647ac: Move the MASTER_SOCKET to SOCKET_DIR
- Before it was in the abstract linux namespace, where unfortunately we
couldn't easily check from python the credentia... - 07:11 pm ganeti-local Revision 227647ac: Move the MASTER_SOCKET to SOCKET_DIR
- Before it was in the abstract linux namespace, where unfortunately we
couldn't easily check from python the credentia... - 07:11 pm Revision d823660a: ganeti-masterd: create SOCKET_DIR
- If SOCKET_DIR doesn't exist we create it in the master daemon, before
trying to put a socket inside it.
Reviewed-by:... - 07:11 pm ganeti-local Revision d823660a: ganeti-masterd: create SOCKET_DIR
- If SOCKET_DIR doesn't exist we create it in the master daemon, before
trying to put a socket inside it.
Reviewed-by:... - 07:10 pm Revision 5ecb7e48: Add SOCKET_DIR_MODE constant
- We want the socket dir to have a restricted permission.
Reviewed-by: imsnah - 07:10 pm ganeti-local Revision 5ecb7e48: Add SOCKET_DIR_MODE constant
- We want the socket dir to have a restricted permission.
Reviewed-by: imsnah - 07:10 pm ganeti-local Revision b4442fd9: Add SOCKET_DIR constant
- This new directory under /var/run will be used for file based unix
sockets.
Reviewed-by: imsnah - 07:10 pm Revision b4442fd9: Add SOCKET_DIR constant
- This new directory under /var/run will be used for file based unix
sockets.
Reviewed-by: imsnah - 07:10 pm Revision 68a5b97a: Add very basic online help to devel/upload
- Reviewed-by: imsnah
- 07:10 pm ganeti-local Revision 68a5b97a: Add very basic online help to devel/upload
- Reviewed-by: imsnah
- 02:57 pm ganeti-local Revision 24991749: Implement support for multi devices changes
- This big patch adds support for:
- changing NIC/disks in the multi-device model
- adding/removing NICs
- adding... - 02:57 pm Revision 24991749: Implement support for multi devices changes
- This big patch adds support for:
- changing NIC/disks in the multi-device model
- adding/removing NICs
- adding... - 02:57 pm Revision 4be4691d: Slight change to the LU initialization code
- This patch adds support for a separate LU.CheckArguments() method which
should do syntactic checks without holding lo... - 02:57 pm ganeti-local Revision 4be4691d: Slight change to the LU initialization code
- This patch adds support for a separate LU.CheckArguments() method which
should do syntactic checks without holding lo... - 02:51 pm Revision b637ae4d: Fix a bug in LUSetInstanceParams
- The wrong names were reused in a copy-paste.
Reviewed-by: imsnah - 02:51 pm ganeti-local Revision b637ae4d: Fix a bug in LUSetInstanceParams
- The wrong names were reused in a copy-paste.
Reviewed-by: imsnah - 02:50 pm Revision b6fdf8b8: Show disk access mode in gnt-instance info
- The mode parameter needs to be exported and shown in the info output.
Reviewed-by: imsnah - 02:50 pm ganeti-local Revision b6fdf8b8: Show disk access mode in gnt-instance info
- The mode parameter needs to be exported and shown in the info output.
Reviewed-by: imsnah - 02:50 pm Revision e2a65344: Change _GenerateDiskTemplate iv_name generation
- Currently the _GenerateDiskTemplate assumes it does initial creation of
disks (i.e. it starts with index 0).
For dyn... - 02:50 pm ganeti-local Revision e2a65344: Change _GenerateDiskTemplate iv_name generation
- Currently the _GenerateDiskTemplate assumes it does initial creation of
disks (i.e. it starts with index 0).
For dyn... - 02:50 pm ganeti-local Revision d2acfe27: Slighly improve multi-nic in gnt-instance info
- Previously we had only one nic, so the NIC information was all on one
line. This patch changes it to:
- NICs:
... - 02:50 pm Revision d2acfe27: Slighly improve multi-nic in gnt-instance info
- Previously we had only one nic, so the NIC information was all on one
line. This patch changes it to:
- NICs:
... - 02:37 pm Revision 03d1dba2: Pass ssconf values from master to node
- Instead of parsing the configuration on the node, we pass the ssconf
values from the master.
Reviewed-by: iustinp - 02:37 pm ganeti-local Revision 03d1dba2: Pass ssconf values from master to node
- Instead of parsing the configuration on the node, we pass the ssconf
values from the master.
Reviewed-by: iustinp - 01:18 pm Revision 65c6b8e0: ganeti.http: Don't reuse key and cert objects
- Reusing the private key and certificate objects gave us problems. This
patch changes the code to only cache the PEM d... - 01:18 pm ganeti-local Revision 65c6b8e0: ganeti.http: Don't reuse key and cert objects
- Reusing the private key and certificate objects gave us problems. This
patch changes the code to only cache the PEM d...
11/24/2008
- 05:39 pm Revision d9a855f1: Fix unittests broken by rev 2015
- Ssconf files shouldn't be updated when running unittests.
Reviewed-by: ultrotter - 05:39 pm ganeti-local Revision d9a855f1: Fix unittests broken by rev 2015
- Ssconf files shouldn't be updated when running unittests.
Reviewed-by: ultrotter - 03:38 pm Revision d57ae7f7: ganeti.rpc: Read SSL certificate and key only once per request
- There's no need to read the SSL certificate and key for every node
in a request. Also add a TODO for better error rep... - 03:38 pm ganeti-local Revision d57ae7f7: ganeti.rpc: Read SSL certificate and key only once per request
- There's no need to read the SSL certificate and key for every node
in a request. Also add a TODO for better error rep... - 01:01 pm Revision 8dca23a3: Documentation updates for mcpu.py
- This is the only change needed to make mcpu epydoc-compliant.
Reviewed-by: ultrotter - 01:01 pm ganeti-local Revision 8dca23a3: Documentation updates for mcpu.py
- This is the only change needed to make mcpu epydoc-compliant.
Reviewed-by: ultrotter - 11:48 am ganeti-local Revision b4364a6b: LUCreateInstance: Fix import mac AUTO mode
- Previously on import LUCreateInstance used to recycle the mac if the instance
name was the same than the one used at ... - 11:48 am Revision b4364a6b: LUCreateInstance: Fix import mac AUTO mode
- Previously on import LUCreateInstance used to recycle the mac if the instance
name was the same than the one used at ... - 11:47 am Revision 0ca35d45: Burner: fix ImportExport
- Update the call to CreateInstance used in ImportExport to the new API for
multidisk/nic.
Reviewed-by: iustinp - 11:47 am ganeti-local Revision 0ca35d45: Burner: fix ImportExport
- Update the call to CreateInstance used in ImportExport to the new API for
multidisk/nic.
Reviewed-by: iustinp - 11:47 am ganeti-local Revision e36e96b4: LUCreateInstance unlock all nodes mid-way
- When creating a new instance, after saving the instance data to the config file
and creating the disks, but before wa... - 11:47 am Revision e36e96b4: LUCreateInstance unlock all nodes mid-way
- When creating a new instance, after saving the instance data to the config file
and creating the disks, but before wa... - 11:47 am ganeti-local Revision 18640d69: IAllocator: subtract down instances from free mem
- Currently free_memory just reports the amount of free ram, as seen by the
hypervisor. We adjust this amount by subtra... - 11:47 am Revision 18640d69: IAllocator: subtract down instances from free mem
- Currently free_memory just reports the amount of free ram, as seen by the
hypervisor. We adjust this amount by subtra... - 11:46 am Revision 955db481: Correct GetAllInstancesInfo rtype
- GetAllInstancesInfo, in the backend, returns just a dict, not a dict of dicts.
Reviewed-by: iustinp - 11:46 am ganeti-local Revision 955db481: Correct GetAllInstancesInfo rtype
- GetAllInstancesInfo, in the backend, returns just a dict, not a dict of dicts.
Reviewed-by: iustinp - 11:46 am ganeti-local Revision 8cc7e742: IAllocator: use the right hypervisor
- Since the hypervisor is instance dependent we'll get one on instance creation,
and use the one in the instance config... - 11:46 am Revision 8cc7e742: IAllocator: use the right hypervisor
- Since the hypervisor is instance dependent we'll get one on instance creation,
and use the one in the instance config... - 11:46 am Revision b57e9819: IAllocator: fill i_list in a more proper way
- - reuse the previously called cluster_info, rather than calling it again
- get all the instances from the config atom... - 11:46 am ganeti-local Revision b57e9819: IAllocator: fill i_list in a more proper way
- - reuse the previously called cluster_info, rather than calling it again
- get all the instances from the config atom... - 11:45 am Revision 90a7547a: Parallelize instance operations on the same node
- With static minors we don't have a race condition anymore when
starting/stopping/rebooting/reinstalling more than one... - 11:45 am ganeti-local Revision 90a7547a: Parallelize instance operations on the same node
- With static minors we don't have a race condition anymore when
starting/stopping/rebooting/reinstalling more than one... - 11:44 am Revision dafc7302: Convert iallocator to the new _ComputeDiskSize
- _ComputeDiskSize's API was changed for multidisk support in r2010, but
iallocator's call to it were not fixed. Conver... - 11:44 am ganeti-local Revision dafc7302: Convert iallocator to the new _ComputeDiskSize
- _ComputeDiskSize's API was changed for multidisk support in r2010, but
iallocator's call to it were not fixed. Conver...
11/23/2008
- 05:35 pm Revision e4376078: Documentation updates for cmdlib.py
- This makes cmdlib.py not throw epydoc errors anymore.
Reviewed-by: ultrotter - 05:35 pm ganeti-local Revision e4376078: Documentation updates for cmdlib.py
- This makes cmdlib.py not throw epydoc errors anymore.
Reviewed-by: ultrotter - 05:35 pm ganeti-local Revision 975e07c6: Slight change to the apidoc build
- Currently the temporary directory used for modules is under the current
directory; this patch changes it so a temp di... - 05:35 pm Revision 975e07c6: Slight change to the apidoc build
- Currently the temporary directory used for modules is under the current
directory; this patch changes it so a temp di... - 05:35 pm Revision 0779e3aa: Only update ssconf on cluster serial change
- There is no need to update ssconf if the cluster serial number has not
changed.
Reviewed-by: ultrotter - 05:35 pm ganeti-local Revision 0779e3aa: Only update ssconf on cluster serial change
- There is no need to update ssconf if the cluster serial number has not
changed.
Reviewed-by: ultrotter - 05:34 pm Revision 9fbfbb7b: Enable auto-unit formatting in script output
- This patch enables by default the old 'human-readable' option, but in a
slightly different model.
The option is now ... - 05:34 pm ganeti-local Revision 9fbfbb7b: Enable auto-unit formatting in script output
- This patch enables by default the old 'human-readable' option, but in a
slightly different model.
The option is now ... - 05:34 pm Revision 23b8c8d6: Improvements to CLI output
- This patch adds nicer formatting for some gnt-instance list operations.
Reviewed-by: ultrotter - 05:34 pm ganeti-local Revision 23b8c8d6: Improvements to CLI output
- This patch adds nicer formatting for some gnt-instance list operations.
Reviewed-by: ultrotter
11/21/2008
- 05:55 pm Revision c7f5f338: RAPI: Cancel a job
- Reviewed-by: imsnah
- 05:55 pm ganeti-local Revision c7f5f338: RAPI: Cancel a job
- Reviewed-by: imsnah
- 05:36 pm Revision 00430f8e: Make cli.py use FieldSet for matching fields
- This changes cli.py to FieldSet usage so that gnt-instance list will
format nicely the disk.size/*, and the count of ... - 05:36 pm ganeti-local Revision 00430f8e: Make cli.py use FieldSet for matching fields
- This changes cli.py to FieldSet usage so that gnt-instance list will
format nicely the disk.size/*, and the count of ... - 05:35 pm Revision a2d2e1a7: Move FieldSet class to utils.py
- Since we can use the FieldSet class in cli.py to nicely format disk
sizes and such, we move it to utils.py and also m... - 05:35 pm ganeti-local Revision a2d2e1a7: Move FieldSet class to utils.py
- Since we can use the FieldSet class in cli.py to nicely format disk
sizes and such, we move it to utils.py and also m... - 05:35 pm Revision 084a9f22: Small burnin info message change
- This looks beter than '0 disk'.
Reviewed-by: ultrotter - 05:35 pm ganeti-local Revision 084a9f22: Small burnin info message change
- This looks beter than '0 disk'.
Reviewed-by: ultrotter - 05:35 pm Revision f768530c: burnin: fix default growth parameter
- Reviewed-by: ultrotter
- 05:35 pm ganeti-local Revision f768530c: burnin: fix default growth parameter
- Reviewed-by: ultrotter
- 05:35 pm Revision 3e0cea06: Change disk index validation to FindDisk
- This patch replaces the hand validation of the disk index with the
instance.FindDisk method (actually reverting to pr... - 05:35 pm ganeti-local Revision 3e0cea06: Change disk index validation to FindDisk
- This patch replaces the hand validation of the disk index with the
instance.FindDisk method (actually reverting to pr... - 05:34 pm Revision ad24e046: Change GrowDisk to work with multi-disk
- This patch changes the instance.FindDisk method to take index arguments
(instead of iv_names), and changes GrowDisk a... - 05:34 pm ganeti-local Revision ad24e046: Change GrowDisk to work with multi-disk
- This patch changes the instance.FindDisk method to take index arguments
(instead of iv_names), and changes GrowDisk a... - 12:47 pm Revision eafd8762: Use SSL for master/node RPC
- This patch enables SSL between masterd and noded.
Reviewed-by: iustinp - 12:47 pm ganeti-local Revision eafd8762: Use SSL for master/node RPC
- This patch enables SSL between masterd and noded.
Reviewed-by: iustinp - 12:46 pm Revision ec17d09c: Get rid of node daemon password
- With the new SSL client certificate stuff it's no longer needed.
Reviewed-by: iustinp - 12:46 pm ganeti-local Revision ec17d09c: Get rid of node daemon password
- With the new SSL client certificate stuff it's no longer needed.
Reviewed-by: iustinp - 12:46 pm Revision f20cbea2: ganeti.http: Add another class to contain SSL key and certificate
- Otherwise we would read them for every request the HTTP client
makes against a server and this is not needed.
Review... - 12:46 pm ganeti-local Revision f20cbea2: ganeti.http: Add another class to contain SSL key and certificate
- Otherwise we would read them for every request the HTTP client
makes against a server and this is not needed.
Review... - 12:46 pm Revision 15486fa7: ganeti-masterd: Remove PID file at the end
- Removing the PID file should be the last thing done. This patch makes
sure it's also removed when master.server_clean... - 12:46 pm ganeti-local Revision 15486fa7: ganeti-masterd: Remove PID file at the end
- Removing the PID file should be the last thing done. This patch makes
sure it's also removed when master.server_clean... - 12:45 pm Revision 4331f6cd: Reuse HTTP client pool for RPC
- ganeti-masterd: Add initialization and shutdown of RPC pool. It needs
to be shutdown before forking.
ganeti.cli: Add... - 12:45 pm ganeti-local Revision 4331f6cd: Reuse HTTP client pool for RPC
- ganeti-masterd: Add initialization and shutdown of RPC pool. It needs
to be shutdown before forking.
ganeti.cli: Add... - 12:42 pm Revision 54d1a06e: Write ssconf files when updating configuration
- Reviewed-by: ultrotter
- 12:42 pm ganeti-local Revision 54d1a06e: Write ssconf files when updating configuration
- Reviewed-by: ultrotter
- 12:42 pm Revision 6ddc95ec: Add RPC call to update ssconf files
- Reviewed-by: iustinp
- 12:42 pm ganeti-local Revision 6ddc95ec: Add RPC call to update ssconf files
- Reviewed-by: iustinp
- 08:22 am Revision d418ebfb: Change replace secondary to work with multi-disk
- Also fix an error in the CheckPrereq.
Reviewed-by: imsnah - 08:22 am ganeti-local Revision d418ebfb: Change replace secondary to work with multi-disk
- Also fix an error in the CheckPrereq.
Reviewed-by: imsnah
11/20/2008
- 02:50 pm Revision 0c223ea9: ganeti.ssconf: Add function to write ssconf files
- This function will be used to write ssconf files from the node daemon.
By creating a lock file, we synchronize differ... - 02:50 pm ganeti-local Revision 0c223ea9: ganeti.ssconf: Add function to write ssconf files
- This function will be used to write ssconf files from the node daemon.
By creating a lock file, we synchronize differ... - 08:22 am ganeti-local Revision 54155f52: Convert replace-disks (same nodes) to multi-disk
- This patch changes the drbd8 replace disk only (no secondary change) to
work in with multi-disk. This mode of replace... - 08:22 am Revision 54155f52: Convert replace-disks (same nodes) to multi-disk
- This patch changes the drbd8 replace disk only (no secondary change) to
work in with multi-disk. This mode of replace... - 08:22 am Revision 08db7c5c: Initial multi-disk/multi-nic support
- This patch adds support for mult-disk/multi-nic in:
- instance add
- burnin
The start/stop/failover/cluster veri... - 08:22 am ganeti-local Revision 08db7c5c: Initial multi-disk/multi-nic support
- This patch adds support for mult-disk/multi-nic in:
- instance add
- burnin
The start/stop/failover/cluster veri... - 08:19 am Revision 41a776da: Add more disk/nic listing options in gnt-instance
- This adds some more listing cases (useful for scripting/rapi):
- disk.sizes for a list of all sizes
- nic.(ips|ma... - 08:19 am ganeti-local Revision 41a776da: Add more disk/nic listing options in gnt-instance
- This adds some more listing cases (useful for scripting/rapi):
- disk.sizes for a list of all sizes
- nic.(ips|ma... - 08:18 am Revision 2864f2d9: Change Xen hypervisor to not use iv_name
- Currently the iv_name is very linux-specific, and will break with the
multi-disk changes.
The patch changes this to ... - 08:18 am ganeti-local Revision 2864f2d9: Change Xen hypervisor to not use iv_name
- Currently the iv_name is very linux-specific, and will break with the
multi-disk changes.
The patch changes this to ...
11/19/2008
- 03:18 pm Revision 9a525d83: ganeti.rpc: Use central functions for actual RPC calls
- Before we had lots, lots and lots of code duplication. This patch
changes the code to use four central functions.
Re... - 03:18 pm ganeti-local Revision 9a525d83: ganeti.rpc: Use central functions for actual RPC calls
- Before we had lots, lots and lots of code duplication. This patch
changes the code to use four central functions.
Re... - 03:18 pm ganeti-local Revision 33bbdbec: Make HttpClientManager threadsafe
- This allows a single HttpClientManager to be used from more than one
thread at the same time. We discussed having one... - 03:18 pm Revision 33bbdbec: Make HttpClientManager threadsafe
- This allows a single HttpClientManager to be used from more than one
thread at the same time. We discussed having one... - 02:59 pm ganeti-local Revision 7c46aafd: HTTP server: Do not decode empty entity body
- Reviewed-by: imsnah
- 02:59 pm Revision 7c46aafd: HTTP server: Do not decode empty entity body
- Reviewed-by: imsnah
- 01:09 pm Revision d50b3059: RAPI: Instance modify.
- Split parameters filter to the separate function and reuse it in instance creation.
- 01:09 pm ganeti-local Revision d50b3059: RAPI: Instance modify.
- Split parameters filter to the separate function and reuse it in instance creation.
11/18/2008
- 01:30 pm Revision a143be68: Skip another testWaitingXblocksY
- The waiting sharer blocks exclusive is another not-possible to test
right now.
Sorry for missing it the first time; ... - 01:30 pm ganeti-local Revision a143be68: Skip another testWaitingXblocksY
- The waiting sharer blocks exclusive is another not-possible to test
right now.
Sorry for missing it the first time; ... - 12:06 pm ganeti-local Revision 71c1af58: Allow querying of variable number of parameters
- This patch adds support for querying in gnt-instance list of:
- disk.count
- nic.count
- disk.size/$N
- nic.(... - 12:06 pm Revision 71c1af58: Allow querying of variable number of parameters
- This patch adds support for querying in gnt-instance list of:
- disk.count
- nic.count
- disk.size/$N
- nic.(... - 12:04 pm Revision 31bf511f: Convert cmdlib.py to _FieldSet
- This patch converts the current usage of _CheckOutputFields to the
FieldSet class, but it doesn't start to use its va... - 12:04 pm ganeti-local Revision 31bf511f: Convert cmdlib.py to _FieldSet
- This patch converts the current usage of _CheckOutputFields to the
FieldSet class, but it doesn't start to use its va... - 12:00 pm Revision 6de7c41d: Add a FieldSet class for variable parameter sets
- This patch adds a _FieldSet class that can be used for the new variable
parameter sets: e.g. the sda_size will change... - 12:00 pm ganeti-local Revision 6de7c41d: Add a FieldSet class for variable parameter sets
- This patch adds a _FieldSet class that can be used for the new variable
parameter sets: e.g. the sda_size will change... - 11:58 am Revision e6416152: Skip the waitingExclusiveBlockSharer test
- Until we have a way to properly test this, we'll skip the test.
Reviewed-by: imsnah - 11:58 am ganeti-local Revision e6416152: Skip the waitingExclusiveBlockSharer test
- Until we have a way to properly test this, we'll skip the test.
Reviewed-by: imsnah
Also available in: Atom