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
Jarrod Johnson
c1bd46b22a
Merge pull request #27 from jufm/encodedstring
...
Handling encoded input strings
2015-09-24 11:22:53 -04:00
Juliana Motira
ff213916b6
Handling encoded input strings
2015-09-24 12:08:17 -03:00
Jarrod Johnson
5128a80c79
Merge pull request #22 from chenglch/log_rotation
...
Add log rotation support
2015-09-24 10:01:50 -04:00
chenglch
dc436fda74
Add log rotation support
...
Add TimedAndSizeRotatingFileHandler which mixes together
the RotatingFileHandler and TimedRotatingFileHandler from
python logging module to process the log data.
Add logrollover event to track the renamed information, so
that console session can read the log data from current log
file and last renamed file.
Global configuration is used by the log handler. The format
of the log section in '/etc/confluent/service.cfg' is like:
[log]
when = m
backup_count = 3
max_bytes = 8192
utc = False
2015-09-23 23:36:46 -04:00
Jarrod Johnson
ad20193309
Make confluent and confluentsrv.py identical
...
The two files should be identical. confluentsrv.py exists
only because PyInstaller struggles unless the target is a
'py' file and does not have some namespace conflict with a
module.
2015-09-23 11:58:48 -04:00
Jarrod Johnson
0bd9b08be2
Remove extraneous print statements
...
Some debug output was in place, remove it.
2015-09-23 11:54:35 -04:00
Jarrod Johnson
e9a31f52ae
Merge branch 'windowssupport' of github.com:jjohnson42/confluent into windowssupport
2015-09-23 11:49:13 -04:00
Jarrod Johnson
a3dcf88749
Fix log path for windows
...
Under windows, the log files were not being written
as expected.
2015-09-23 11:48:29 -04:00
Jarrod Johnson
765c15ed5b
Revert 'confluentd' change
...
After further investigation, the rename to confluentd was not
needed (after massaging pathex and using pip to install rather
than distutils).
2015-09-23 11:48:27 -04:00
Jarrod Johnson
34960bff22
Add PyInstaller spec file
...
This facilitates a 'onedir' portable format for confluent server.
The 'onefile' mode couldn't be made to work, but this should suffice.
2015-09-23 11:48:23 -04:00
Jarrod Johnson
29417d935c
Phase 2 of Windows compatibility
...
More work to try to enable confluent to be frozen by
pyinstaller
2015-09-23 11:48:20 -04:00
Jarrod Johnson
b48cd8b685
Implement basic functionality under windows
...
Windows support by removing pid file, daemonizing, locking,
and other features. Goal is to have a freezeable payload.
2015-09-23 11:48:17 -04:00
Jarrod Johnson
a1a61dfdbd
Merge pull request #25 from jjohnson42/master
...
Add shutdown to power state option
2015-09-21 16:38:37 -04:00
Juliana Motira
11d4628458
Add shutdown to power state option
2015-09-21 16:37:32 -04:00
Jarrod Johnson
4dcfaf7363
Merge pull request #24 from jufm/initscript
...
Make init script properly indicate error conditions.
2015-09-21 16:30:02 -04:00
Juliana Motira
655a0b4d17
Implement update network configuration
2015-09-17 10:03:20 -03:00
Allan Vidal
668f1c98b6
Make init script properly indicate error conditions.
2015-09-17 08:57:08 -03:00
Juliana Motira
b1b4ee4634
Implement domain name command
2015-09-14 08:35:57 -03:00
Jarrod Johnson
e207940e50
Merge pull request #19 from jufm/mci_fix
...
Fix MCI command
2015-09-09 15:15:03 -04:00
Juliana Motira
e02dc74eb7
Fix MCI command
2015-09-09 11:47:46 -03:00
Jarrod Johnson
8114c3dc6a
Merge pull request #18 from chenglch/bug/start_session
...
Fix 'start console session' command error
2015-09-09 10:37:05 -04:00
chenglch
fde68e1320
Fix 'start console session' command error
...
Command "confetty start /nodes/<node>/console/session" can
not work correctly. This patch aims to add condition judgement
for this command in confetty.
2015-09-08 22:58:44 -04:00
Jarrod Johnson
32184d463d
Merge pull request #16 from jufm/mci
...
Implement MCI command
2015-09-08 16:30:02 -04:00
Juliana Motira
e7ff4fdd93
Implement MCI command
2015-09-08 12:24:47 -03:00
Jarrod Johnson
044def59ba
Merge pull request #14 from jufm/reset
...
Implement reset bmc and NMI diag command
2015-08-27 10:18:05 -04:00
Lucio Seki
419c41e2cc
Add NMI diag command
2015-08-27 10:29:42 -03:00
Juliana Motira
c20f0dc2ae
Implement reset command
...
Added a reset bmc command in nodes/<node_name>/configuration/management_controller/reset
2015-08-27 10:29:24 -03:00
Jarrod Johnson
455feb867d
Merge pull request #13 from jufm/master
...
Changing LEDs structure
2015-08-24 13:53:12 -04:00
Juliana Motira
dc0c7270a4
Changing LEDs structure
2015-08-24 14:47:07 -03:00
Jarrod Johnson
ceee6173da
Merge pull request #11 from jufm/master
...
Add firmware and LED status information.
2015-08-24 09:04:05 -04:00
Allan Vidal
2fb63a34ba
Add LED status retrieval.
2015-08-24 09:13:32 -03:00