Jarrod Johnson
f906cebca3
Merge remote-tracking branch 'upstream/master'
2015-10-19 15:23:19 -04:00
Jarrod Johnson
e153e8acd0
Correct indentation in nodeeventlog
...
Mistakes were present in the whitespace for nodeeventlog, apply correct indentation.
2015-10-19 14:27:11 -04:00
Jarrod Johnson
dec0543ce3
Fix nodelist formatting of error
...
Error needed a newline after message to be clear.
2015-10-19 14:23:02 -04:00
Jarrod Johnson
204f6de7e9
Fix missing 'nodeeventlog' command in packaging
...
When packaging, nodeeventlog was missed. Fix the setup.py.tmpl
to include the missing script.
2015-10-19 14:14:54 -04:00
Jarrod Johnson
76906c191b
Replace '/' in '-' in ipmi names
...
'/' confuses our '/' delimited namespace. Use '-'
instead. '_or_' was considered, but other meanings
could be applied other than '/'.
2015-10-19 14:13:02 -04:00
Jarrod Johnson
61a0a66486
Fix nodelist handling of bad noderange
...
When attributes were specified with an incorrect noderange
it was failing to report the noderange error. If that were
specifically addressed, it would then proceed to erroneously
complain about valid attribute names.
2015-10-19 14:09:37 -04:00
Jarrod Johnson
597bc9413f
Merge pull request #43 from jjohnson42/master
...
Change to versioning derivation from git data
2015-10-19 14:07:21 -04:00
Jarrod Johnson
e53a9f83f4
Change to versioning derivation from git data
...
Rather than manually curate the VERSION, use git tags
and auto-create intermediate builds with unique identifiers.
Identify both number of commits to indicate order and the git
short rev to see which rev matches.
2015-10-19 14:06:59 -04:00
Jarrod Johnson
31a191cb10
Merge pull request #42 from jjohnson42/fixpidfile
...
Fix pid file behavior on exit
2015-10-15 09:44:35 -04:00
Jarrod Johnson
8d566c1795
Merge pull request #40 from jufm/timeout
...
Add support for event ack timeout setting.
2015-10-15 09:44:13 -04:00
Jarrod Johnson
2c2884f80f
Fix pid file behavior on exit
...
Previous change failed to correct the sense of the 'doexit'
function.
2015-10-15 09:39:44 -04:00
Allan Vidal
fe4797857d
Add support for event ack timeout setting.
2015-10-15 09:41:13 -03:00
Jarrod Johnson
e90204cc4d
Merge pull request #41 from jjohnson42/fixpidfile
...
Fix pid file creation
2015-10-14 15:52:46 -04:00
Jarrod Johnson
d4828b2115
Fix pid file creation
...
The windows support to 'gracefully' deal with no fcntl
incorrectly broke fcntl usage under linux in main. Fix
the check to be accurate.
2015-10-14 15:30:43 -04:00
Jarrod Johnson
7b26d2edfb
Merge pull request #39 from jjohnson42/fixnodelistnoarg
...
Fix bad or missing noderange behavior in nodelist
2015-10-14 11:10:34 -04:00
Jarrod Johnson
0bb0368d07
Fix bad or missing noderange behavior in nodelist
...
nodelist command would show 'help' with no arguments, but
natural expectation is to list all nodes. Adjust to match
that expectation. If a noderange was somehow problematic,
the output was not appropriate, this too is addressed.
2015-10-14 11:07:31 -04:00
Jarrod Johnson
1467e1f172
Merge pull request #38 from jufm/rundir
...
Fix unix socket dir creation
2015-10-14 11:05:21 -04:00
Juliana Motira
06f22e7acb
Fix unix socket dir creation
2015-10-14 09:53:14 -03:00
Jarrod Johnson
8779f1c27f
Merge pull request #37 from jufm/stringfix
...
Fix encoded string problem in InputNTPServer
2015-10-13 14:56:55 -04:00
Juliana Motira
2245e53ff1
Fix encoded string problem in InputNTPServer
2015-10-13 15:51:37 -03:00
Jarrod Johnson
99d1edcdef
Merge pull request #36 from jjohnson42/versionbump
...
Bump version to 1.2
2015-10-13 14:16:44 -04:00
Jarrod Johnson
fbca02e262
Bump version to 1.2
2015-10-13 14:16:02 -04:00
Jarrod Johnson
d533321d55
Merge pull request #35 from jjohnson42/addcommands
...
Add nodeconsole and nodelist commands
2015-10-13 14:14:59 -04:00
Jarrod Johnson
0b7b713f3f
Add nodeconsole and nodelist commands
...
nodeconsole provides a wrapper for confetty offering logical
tab completion for console specifically as well as help
text to explain critical info about using nodeconsole.
nodelist provides functionality analagous to nodels in
xCAT 2.x codebase
2015-10-13 14:12:43 -04:00
Victor Hu
865545b8d1
Merge pull request #34 from jjohnson42/confluentpath
...
Have confluent client do default path
2015-10-12 21:37:45 -04:00
Jarrod Johnson
258e257939
Have confluent client do default path
...
When installing package, put a profile.d change
such that confluent is in the default path.
2015-10-12 17:00:40 -04:00
Jarrod Johnson
127fc59195
Merge pull request #33 from jjohnson42/master
...
Fix valid noderange character
2015-10-09 15:01:36 -04:00
Jarrod Johnson
8c4d33db92
Merge remote-tracking branch 'upstream/master'
2015-10-09 15:00:35 -04:00
Jarrod Johnson
b1240e327f
Fix validity of underscore in noderange
...
A group name may use underscore in name per xCAT syntax. Fix
grammar to accept _
2015-10-09 14:53:42 -04:00
Jarrod Johnson
477418a56e
Merge pull request #17 from jufm/ikvm
...
Implement remote KVM command
2015-10-07 13:19:26 -04:00
Juliana Motira
9b52e276cc
Implement remote KVM command
2015-10-07 14:16:54 -03:00
Jarrod Johnson
fa545eeaee
Merge pull request #20 from jufm/ntpconfig
...
Implement NTP config command
2015-10-07 13:12:27 -04:00
Juliana Motira
5590b4138e
Implement NTP config command
2015-10-07 13:58:38 -03:00
Jarrod Johnson
098c78558b
Merge pull request #32 from jjohnson42/fixdeletenotification
...
Correct behavior when a node is deleted
2015-10-05 09:51:39 -04:00
Jarrod Johnson
57a3c6d287
Correct behavior when a node is deleted
...
When attribute notification is requested, node deletion was not
sent to the watchers. Address the limitation by notifying on all
attributes for a deleted node.
2015-10-05 09:48:27 -04:00
Jarrod Johnson
3790984555
Merge pull request #31 from jjohnson42/autoinitconf
...
Have the config.conf autoinit if needed
2015-09-30 14:22:13 -04:00
Jarrod Johnson
b88a135602
Have the config.conf autoinit if needed
...
If something makes a call out of sequence, attempt
to auto-init.
2015-09-30 14:21:01 -04:00
Jarrod Johnson
2115fb3f78
Merge pull request #30 from jjohnson42/replayoldlog
...
Fix erroneous data injection to log replay
2015-09-30 13:51:01 -04:00
Jarrod Johnson
1f8bc635a8
Fix erroneous data injection to log replay
...
When a rollover event was detected, the offset
of the rollover event itself was being read
from the rolled file erroneously. Skip to
next loop iteration so that the metadata about
the rollover event is properly ignored in building
the text data buffer.
2015-09-30 13:48:04 -04:00
Jarrod Johnson
f78a4d6074
Merge pull request #26 from jjohnson42/windowssupport
...
Support Windows management server
2015-09-30 10:19:54 -04:00
Jarrod Johnson
d9ed98d58e
Merge pull request #28 from jjohnson42/jsonrollevent
...
Change rollover event to be JSON
2015-09-30 10:19:34 -04:00
Jarrod Johnson
db3320e2ec
Merge pull request #29 from jjohnson42/moveleds
...
Move 'leds' to be a hardware sensor category
2015-09-28 14:44:24 -04:00
Jarrod Johnson
a02f96710b
Merge branch 'pr/23'
2015-09-28 13:41:26 -04:00
Jarrod Johnson
03de545e09
Merge branch 'master' into pr/23
2015-09-28 13:40:34 -04:00
Jarrod Johnson
fcd0e523a0
Merge pull request #21 from jufm/add_dn
...
Implement domain name command
2015-09-28 13:17:11 -04:00
Jarrod Johnson
0ae2b7acc6
Move 'leds' to be a hardware sensor category
...
Rather than 'led' being distinct from 'hardware',
have 'leds' be a category of 'hardware' like 'fans'
or other things similarly hardware related.
2015-09-28 11:20:44 -04:00
Jarrod Johnson
c50be7c3f2
Change rollover event to be JSON
...
The log format for other pieces of data is JSON.
Change the rollover event to be consistent. Also
do not record the previous name of the log file,
as that isn't used, and the current filename is
likely to change when it too gets rolled over
so there's no practical use of knowing the
no longer valid name for the transaction.
2015-09-28 10:40:48 -04:00
Jarrod Johnson
45f62b5c05
Fix some issues around lock rework
...
Some scenarios were not accomodated correctly
as well as some references not set either.
2015-09-28 10:19:35 -04:00
Jarrod Johnson
a0e6e0b5c6
Merge branch 'windowssupport' of git://github.com/jjohnson42/confluent into jjohnson42-windowssupport
...
Additionally, rework locking back to not require any extra files
2015-09-28 09:56:03 -04:00
Jarrod Johnson
9975d57d5e
Implement Locking in Windows log code
...
Under windows, we can't use flock. However we can
get locking using msvcrt using different, but related
semantics. Imitate whole file locking by just locking
first byte. We have to make sure we seek() to the same
place when locking and unlocking, as Windows requires
the offset to be same for both operations.
2015-09-25 16:59:42 -04:00