- Aug 19, 2011
-
-
Iustin Pop authored
Similar to commit c29e35fe, this works around epydoc breakage by aliasing the module. Makes 'apidoc' pass again on my machine. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
… not the global line number. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Remove unnecessary commas, add empty lines where necessary to make them consistent. I'm working on a script to check this, but it's not yet ready. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Agata Murawska authored
Signed-off-by:
Agata Murawska <agatamurawska@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This avoids many calls to chmod(2) and chown(2), and thereby ctime updates. Since I had to update the unittests anyway I untangled the code a bit, split it into more separate functions and added some more tests. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
The “_stat_fn” function is renamed to “_lstat_fn” to reflect its function. The try/except block just wraps calling lstat(2) and nothing else. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
There was no logging at all. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This was a regression from 2.4. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Aug 17, 2011
-
-
Michael Hanselmann authored
The files should be 0444, not 0400. This was a regression from 2.4. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
A message will be given instead of just dropping the user back to the prompt in case of a successful upgrade. […] documentation formats). Continue with upgrading configuration? y/[n]/?: y Configuration successfully upgraded for version 2.5.0~beta1. root@master:~# Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Aug 15, 2011
-
-
Andrea Spadaccini authored
If the user specified a network interface with no IPs, he would receive an unhelpful "list index out of range" error. Fixed that. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Andrea Spadaccini authored
I noticed a path in the code that would use spice_ip_version even if it was not initialized. This patch fixes it. Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Aug 12, 2011
-
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Implemented the following parameters: - spice_bind - spice_ip_version Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
With commit fcad7225 LU-generated jobs are used, but the exit code must still be backwards-compatible. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
- Check if BGL is actually owned - Show group name as feedback Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
The original design for query2 specifically excluded locking, but now it's turned out that it would be a good thing to have in watcher. This patch adds a new parameter to OpQuery and enables its use in LUQuery. A missing function is added to LUGroupQuery, a comment clarified in _NodeQuery and all locks declared as shared acquires in the same LU. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Some opcodes aren't documented yet. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Some of these will be used by the RAPI documentation. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Will be used by RAPI documentation. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This will be used to add some more details to type descriptions, e.g. on opcode parameters or result values. The implementation is very similar to “WithDesc”. I chose to use “[…]” after finding “/*…*/” hard to read and spot. At some we'll have to introduce proper formatting (e.g. using HTML). Example with a comment: List of ((Length 2) and (Item 0 is (NonEmptyString [name of changed parameter]), item 1 is Anything)) Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Instead of a rather complicated expression only “JobId” is output. Job ID lists (like generated by “SubmitManyJobs”) are limited to two-item lists. Unittests are added. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This patch removes the list of node groups (not used anymore since commit fcad7225) from OpClusterVerifyConfig's result and adds result verification to all OpClusterVerify* opcodes. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Andrea Spadaccini authored
Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
This patch moves the logic for verifying the various node groups in a cluster into the master daemon. Job dependencies are used to ensure the configuration, which requires the BGL, is verified first. With this change it will be possible to expose whole-cluster verification through the remote API without requiring additional client logic on top of standard features like LU-generated jobs and job dependencies. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Just some cleanup before the 2.5 release. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This helped me debug an issue with opcodes. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 11, 2011
-
-
Michael Hanselmann authored
This gives a hint as to what's queried. “QUERY(instance)” or “QUERY(node)” are way better than just “QUERY”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Andrea Spadaccini authored
Added the following functions to netutils: - IsValidInterface - GetInterfaceIpAddresses - _GetIpAddressesFromIpOutput Added the following static methods to netutils.IPAddress: - GetAddressFamilyFromVersion - GetVersionFromAddressFamily Added unit tests for the new methods in netutils.IPAddress, for the IP address search regex and for GetInterfaceIpAddresses Signed-off-by:
Andrea Spadaccini <spadaccio@google.com> Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
I blindly assumed epydoc would use normal reST, but turns out it uses its own “epytext” in our configuration. Since the latter doesn't support blockquotes, I just make the paragraph a literal block. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 10, 2011
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Benjamin Lipton <benlipton@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-