test
[monitor.git] / todo
1
2 TODO:
3  * install openssh-server, passwd, perl-libwww-perl (for rt), rt-3.4.1,  MySQL-python
4         * had to mount -t devpts devpts /dev/pts to get ssh to work inside the
5           chroot. also, disable the pam modules in /etc/pam.d/sshd
6
7  * blue
8  * auto configuration for php configuration.  
9         maybe run translation of monitor.conf before loading monitorconfig.php?
10
11  * A setup script of some kind would be nice that walked through : 
12     - writing monitorconfig.py
13         - creation of monitorconfig.php
14         - run syncplcdb.py
15         - testapi.py
16         - findbad.py on sample site.
17         - nodebad.py
18         - findbadpcus.py
19         - nodequery.py
20         - nodegroups.py
21         - loads webpage for those retreived values to confirm setup succeeded.
22
23  * reimplement the config.py / .config mechanism.  I'd like for many commands
24    to share very similar argument or argument sets, as well as have some
25    common config options.  I'm not sure the best way to do this.
26     
27          - features of config.py
28                 * parse arguments and return an object with attributes equal to the
29                   parser values.
30                 * maintain values consistently across modules at run time.
31                 * have default values that are not specified at each run time.
32                 * easy to import and use
33
34          - config module is available via 'import config' or as returned by
35                   parsermodule.parse_args()
36      - python supports load-once modules, so subsequent imports refer to the
37           same module object.
38            
39  * have package pull in threadpool from easy_install
40
41  * place PKL files in a real database
42
43  * clean up plc.py; there's a lot of redundent code.
44
45  * figure out python paths for user commands.
46    - directories for pickle files.
47    - add user in rpm install
48    - user permissions for data files for day-to-day operations.
49
50  * fix BayTechCtrlCUnibe expect script.
51
52  * separate modules into different, logical categories, and create a python
53    module as part of the install:
54                 command line, 
55                 configuration, 
56                 policy, 
57                 data model, 
58                 data access,
59                 object interfaces.
60
61 Lower priority:
62  * Add a more structured, 'automate' library of scripts and means of making
63    batch calls, etc.
64
65  * add a third package for user tools that will interact with the Monitor
66    service.  Mostly, I'm guessing this would be queries for the live status of
67    nodes and a more reliable 'reboot' and 'reinstall' mechanism than currently
68    availble with PLC.
69
70 Done:
71  * Find a better location to place and pull the PKL files currently in the pdb
72    directory.  Ultimately, these should be stored in a real DB.  Until then,
73    they should sit in a location that is accessible from the www scripts,
74    backend scripts, and user utilities.
75  * nodebad loads plc_hn2lb unconditionally
76  * nodeinfo loads act_all unconditionally
77  * change findbad.py default db name
78  * remove deps on www.printbadnodes
79  * reboot.py loads findbadpcus unconditionally.
80  * nodequery loads findbad unconditionally
81  * unified_model loads findbad unconditionally
82
83  * threadpool package.
84  * build cmdamt with g++ prior to packaging
85
86  * www/*.py need appropriate access to database.py,  config.py, monitorconfig.py, etc.
87         - need to convert monitor.conf into monitorconf.sh and monitorconf.php
88
89  * pull out global configuration information from various files, like rt_db,
90    mailer.py,  auth.py, and any others.  Create a single configuration file
91    from which all others pull.
92
93    - convert plc and other files to use the new monitorconfig.py rather than
94      auth, or plc.*
95    - need to alter all import 'auth' statements.