f764a4179b50ab94b1361f4b90b78384c07bdc0b
[monitor.git] / emailTxt.py
1 #
2 # Copyright (c) 2004  The Trustees of Princeton University (Trustees).
3 #
4 # Faiyaz Ahmed <faiyaza@cs.princeton.edu>
5 #
6 # $Id: emailTxt.py,v 1.10 2007/08/29 17:26:50 soltesz Exp $
7
8
9
10 # This file contains the texts of the automatically generated
11 # emails sent to techs and PIs
12 #
13
14 class mailtxt:
15
16         newdown_one=("""PlanetLab node(s) down: %(loginbase)s""", 
17 """
18 Hello,
19
20 As part of PlanetLab node monitoring, we noticed the following nodes were down at your site:
21
22 %(hostname_list)s 
23 We're writing because we need your help returning them to their regular operation.
24
25 To help, please confirm that a verison 3.0 or greater BootCD is installed in the machine.  Then, after checking that the node is properly networked, power cycle the machine.  Note that rebooting the machine may not fully resolve the problems we are seeing.  Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.  It may take several minutes before Comon registers your node.  Until that time, visiting the link below will return the message 'could not find requested table - probably empty'.
26
27         http://summer.cs.princeton.edu/status/tabulator.cgi?table=nodes/table_%(hostname)s&limit=50
28
29 If the machine has booted successfully, you may check it more quickly by logging in with your site_admin account, and running:
30
31     sudo /usr/sbin/vps ax
32
33 If you have a BootCD older than 3.0, you will need to create a new BootImage on CD or USB.  You can find instructions for this at the Technical Contact's Guide:
34
35     https://www.planet-lab.org/doc/guides/bootcdsetup
36
37 If after following these directions, and either logging in with your site_admin account or seeing the CoMon report of your machine, there is no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.   Including this message in your reply will help us coordinate our records with the actions you've taken.
38
39 Thank you for your help,
40   -- PlanetLab Central (support@planet-lab.org)
41 """)
42
43 #If no one responds, then after a week, we will disable your site's ability to create new slices.  Because this action will directly affect your site's registered PI, we will also CC the PI for help at that time.
44
45         newdown_two=("""PlanetLab node(s) down: %(loginbase)s""", 
46 """
47 Hello,
48
49 As part of PlanetLab node monitoring, we noticed the following nodes were down at your site:
50
51 %(hostname_list)s 
52 We're writing again because our previous correspondence, sent only to the registered Technical Contact, has gone unacknowledged for at least a week, and we need your help returning these machines to their regular operation.  We understand that machine maintenance can take time.  So, while we wait for the machines to return to their regular operation slice creation has been suspended at your site.  No new slices may be created, but the existing slices and services running within them will be unaffected.
53
54 To help, please confirm that a verison 3.0 or greater BootCD is installed in the machine.  Then, after checking that the node is properly networked, power cycle the machine.  Note that rebooting the machine may not fully resolve the problems we are seeing.  Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.  It may take several minutes before Comon registers your node.  Until that time, visiting the link below will return the message 'could not find requested table - probably empty'.
55
56         http://summer.cs.princeton.edu/status/tabulator.cgi?table=nodes/table_%(hostname)s&limit=50
57
58 If the machine has booted successfully, you may check it more quickly by logging in with your site_admin account, and running:
59
60     sudo /usr/sbin/vps ax
61
62 If you have a BootCD older than 3.0, you will need to create a new Boot CD and configuration file.  You can find instructions for this at the Technical Contact's Guide:
63
64     https://www.planet-lab.org/doc/guides/bootcdsetup
65
66 If after following these directions, and either logging in with your site_admin account or seeing the CoMon report of your machine, there is no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.   Including this message in your reply will help us coordinate our records with the actions you've taken.
67
68 After another week, we will disable all slices currently running on PlanetLab.  Because this action will directly affect all users of these slices, these users will also be notified at that time.
69
70 Thank you for your help,
71   -- PlanetLab Central (support@planet-lab.org)
72 """)
73
74         newdown_three=("""PlanetLab node(s) down: %(loginbase)s""", 
75 """
76 Hello,
77
78 As part of PlanetLab node monitoring, we noticed the following nodes were down at your site:
79
80 %(hostname_list)s 
81 We understand that machine maintenance can take time.  We're writing again because our previous correspondences, sent first to the registered Technical Contact then the the Site PI, have gone unacknowledged for at least two weeks, and we need your help returning these machines to their regular operation.  This is the third time attempting to contact someone in regard to these machines at your site.  So, while we wait for the machines to return to their regular operation all current slice activity will be suspended.  Current experiments will be stopped and will not be be able to start again until there is evidence that you have begun to help with the maintenance of these machines.
82
83 To help, please confirm that a verison 3.0 or greater BootCD is installed in the machine.  Then, after checking that the node is properly networked, power cycle the machine.  Note that rebooting the machine may not fully resolve the problems we are seeing.  Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.  It may take several minutes before Comon registers your node.  Until that time, visiting the link below will return the message 'could not find requested table - probably empty'.
84
85         http://summer.cs.princeton.edu/status/tabulator.cgi?table=nodes/table_%(hostname)s&limit=50
86
87 If the machine has booted successfully, you may check it more quickly by logging in with your site_admin account, and running:
88
89     sudo /usr/sbin/vps ax
90
91 If you have a BootCD older than 3.0, you will need to create a new Boot CD and configuration file.  You can find instructions for this at the Technical Contact's Guide:
92
93     https://www.planet-lab.org/doc/guides/bootcdsetup
94
95 If after following these directions, and either logging in with your site_admin account or seeing the CoMon report of your machine, there is no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.   Including this message in your reply will help us coordinate our records with the actions you've taken.
96
97 Thank you for your help,
98   -- PlanetLab Central (support@planet-lab.org)
99 """)
100
101         newbootcd_one=(""" Planetlab nodes need a new BootCD: %(loginbase)s""", # : %(hostname)s""", 
102 """As part of PlanetLab node monitoring, we noticed the following nodes have an out-dated BootCD: 
103
104 %(hostname_list)s  
105 This usually implies that you need to update the BootCD and node configuration file stored on the read-only media (either the all-in-one ISO CD, floppy disk, or write-protected USB stick).
106
107 To check the status of these and any other machines that you manage please visit:
108
109     http://comon.cs.princeton.edu/status
110
111 Instructions to perform the steps necessary for a BootCD upgrade are available in the Technical Contact's Guide.
112
113     https://www.planet-lab.org/doc/guides/bootcdsetup
114
115 If your node returns to normal operation after following these directions, then there's no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.  Including this message in your reply will help us coordinate our records with the actions you've taken.  
116
117 Thank you for your help,
118   -- PlanetLab Central (support@planet-lab.org)
119 """)
120 #After a week, we will disable your site's ability to create new slices.  Because this action will directly affect your site's registered PI, we will also CC the PI for help at that time.
121
122         newbootcd_two=(""" Planetlab nodes need a new BootCD: %(loginbase)s""", # : %(hostname)s""", 
123 """As part of PlanetLab node monitoring, we noticed the following nodes have an out-dated BootCD: 
124
125 %(hostname_list)s  
126 This usually implies that you need to update the BootCD and node configuration file stored on the read-only media (Either the all-in-one ISO CD, floppy disk, or write-protected USB stick).
127
128 We're writing again because our previous correspondence, sent only to the registered Technical Contact, has gone unacknowledged for at least a week, and we need your help returning these machines to their regular operation.  We understand that machine maintenance can take time.  So, while we wait for the machines to return to their regular operation, slice creation has been suspended at your site.  No new slices may be created, but the existing slices and services running within them will be unaffected.
129
130 To check the status of these and any other machines that you manage please visit:
131
132     http://comon.cs.princeton.edu/status
133
134 Instructions to perform the steps necessary for a BootCD upgrade are available in the Technical Contact's Guide.
135
136     https://www.planet-lab.org/doc/guides/bootcdsetup
137
138 If your node returns to normal operation after following these directions, then there's no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.  Including this message in your reply will help us coordinate our records with the actions you've taken.  
139
140 After another week, we will disable all slices currently running on PlanetLab.  Because this action will directly affect all users of these slices, these users will also be notified at that time.
141
142 Thank you for your help,
143   -- PlanetLab Central (support@planet-lab.org)
144 """)
145         newbootcd_three=(""" Planetlab nodes need a new BootCD: %(loginbase)s""", # : %(hostname)s""", 
146 """As part of PlanetLab node monitoring, we noticed the following nodes have an out-dated BootCD: 
147
148 %(hostname_list)s  
149 This usually implies that you need to update the BootCD and node configuration file stored on the read-only media (Either the all-in-one ISO CD, floppy disk, or write-protected USB stick).
150
151 We understand that machine maintenance can take time.  We're writing again because our previous correspondences, sent first to the registered Technical Contact then the the Site PI, have gone unacknowledged for at least two weeks, and we need your help returning these machines to their regular operation.  This is the third time attempting to contact someone in regard to these machines at your site.  So, while we wait for the machines to return to their regular operation all current slice activity will be suspended.  Current experiments will be stopped and will not be be able to start again until there is evidence that you have begun to help with the maintenance of these machines.
152
153 To check the status of these and any other machines that you manage please visit:
154
155     http://comon.cs.princeton.edu/status
156
157 Instructions to perform the steps necessary for a BootCD upgrade are available in the Technical Contact's Guide.
158
159     https://www.planet-lab.org/doc/guides/bootcdsetup
160
161 If your node returns to normal operation after following these directions, then there's no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.  Including this message in your reply will help us coordinate our records with the actions you've taken.  
162
163 Thank you for your help,
164   -- PlanetLab Central (support@planet-lab.org)
165 """)
166         pcuthankyou_one=("""Thank you for correcting your PlanetLab node PCU - %(loginbase)s""",
167         """
168 While monitoring your site, we noticed that the following PCU *improved* their states:
169
170 %(hostname_list)s  
171 Often, system administration is a thankless job, but not today. :-)
172
173 Thank you!
174   -- PlanetLab Central (support@planet-lab.org)
175         """)
176
177         thankyou=("""Thank you for helping maintain your PlanetLab nodes - %(loginbase)s""",
178         """
179 While monitoring your site, we noticed that the following nodes *improved*
180 their states:
181
182 %(hostname_list)s  
183 Often, system administration is a thankless job, but not today. :-)
184
185 Thank you!
186   -- PlanetLab Central (support@planet-lab.org)
187
188 Legend:
189 PROD-      This state is the production state where the node can contact PlanetLab, 
190            and install slices from users.
191 DEBUG-     This state designates a node that could not boot successfully.
192 OLDBOOTCD- This state corresponds to the situation where an oldbootcd prevented 
193            the normal operation of the node.
194 ERROR-     This is an error state, where there is absolutely no contact 
195            with PlanetLab.
196         """)
197
198         nmreset =("""NM Reset at %(loginbase)s""",
199         """
200 Monitor restarted NM on the following machines:
201
202 %(hostname_list)s  
203
204         """)
205         pcudown_one =("""Could not use PCU to reboot %(hostname)s""",
206
207 """As part of PlanetLab node monitoring and maintenance, we tried to use the PCU
208 registered below, but could not for the reasons at the link below:
209
210         https://monitor.planet-lab.org/cgi-bin/printbadpcus.php?id=%(pcu_id)s
211
212 We need your help resolving this issue in a few ways:  
213
214  1. First, we need your help rebooting %(hostname)s.  Because the above PCU does 
215     not appear to work, please manually reboot this machine.  If it turns out that 
216     there is a problem with the PCU configuration, we can help you
217     resolve that independently.
218
219  2. If there is nothing apparently wrong with the PCU, or the mapping between
220     the PCU and the host, then there is likely a problem with our bootstrap
221     software on your machine.  To help us, please make a note of any text on
222     the console and report it to mailto:support@planet-lab.org .  An example
223     might be that the console hangs waiting for a module to unload.  The last
224     reported name or any error messages on the screen would be very helpful.
225
226  3. Alternately, if it is possible, please correcct the above PCU problem, or
227     let us know what steps you are taking.  By enabling us to take administrative 
228     actions automatically from PlanetLab Central without your intervention, you 
229     can trade a small amount of time now for a time savings in the future. 
230
231 If the PCU is up and running, but behind a firewall, please make it accessible
232 from address block 128.112.139.0/24.  You can confirm that this is the address
233 space from which the PlanetLab Central servers run.
234
235 If the above PCU is no longer in service, please delete it by visiting:
236
237     https://www.planet-lab.org/db/sites/pcu.php?id=%(pcu_id)s
238
239 and selecting 'Delete PCU'. You may then register a new PCU for your nodes.
240
241 Thank you very much for your help,
242   -- PlanetLab Central (support@planet-lab.org)
243 """)
244         pcutonodemapping_one =("""PCU to Node mapping is incorrect for %(hostname)s""",
245         """
246     As part of our machine monitoring and maintenance, we tried to use the PCU
247 registered below, and though it appears to succeed, we do not subsequently
248 observe the associated nodes rebooting:
249
250     https://monitor.planet-lab.org/cgi-bin/printbadpcus.php?id=%(pcu_id)s
251
252 %(hostname_list)s
253
254 We need your help resolving this issue in two ways:  
255
256 * First, we need your help rebooting %(hostname)s.  Because the above PCU 
257   does not appear to actually control the above Nodes, we cannot use it to
258   reboot these machines. So, please manually reboot the machine and we can 
259   help you resolve any configuration errors with the PCU independently.
260
261 * Second, please check the configuration of the above PCU.  Check that the 
262   PCU is physically connected to the servers that it should be able to
263   control.  A common mistake is that the PCU is registered for a machine, 
264   but not actually connected physically to the machine. 
265
266 By enabling us to take administrative actions automatically from PlanetLab
267 Central without local intervention, you can trade a small amount of time now
268 for a time savings in the future. 
269     
270 If the above PCU is no longer in service, please delete it by visiting:
271
272     https://www.planet-lab.org/db/sites/pcu.php?id=%(pcu_id)s
273
274 and selecting 'Delete PCU'. You may then register a new PCU for your nodes.
275
276 Alternately, if the machines listed above are no longer in service, please
277 delete them by visiting your sites page at:
278
279     https://www.planet-lab.org/
280
281 Thank you very much for your help,
282   -- PlanetLab Central (support@planet-lab.org)
283 """)
284
285         newalphacd_one=(""" Planetlab nodes need a new BootCD: %(loginbase)s""", 
286 """As part of PlanetLab node monitoring, we noticed that your machines needs a new BootCD to fully support your hardware: 
287
288 %(hostname_list)s  
289
290 To make this process as simple as possible, we have created All-in-One boot images that include the node configuration file.  
291
292 The only step that you need to take is to choose which media you prefer, either CD ISO, or USB image for each host.
293
294 %(url_list)s
295
296 Instructions to burn or copy these All-in-One images to the appropriate media are available in the Technical Contact's Guide.
297
298     https://www.planet-lab.org/doc/guides/bootcdsetup
299
300 If your node returns to normal operation after following these directions, then there's no need to respond to this message.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue.  Including this message in your reply will help us coordinate our records with the actions you've taken.  
301
302 Thank you for your help,
303   -- PlanetLab Central (support@planet-lab.org)
304 """)
305
306         # TODO: need reminder versions for repeats...
307         newdown=[newdown_one, newdown_two, newdown_three]
308         newbootcd=[newbootcd_one, newbootcd_two, newbootcd_three]
309         newalphacd=[newalphacd_one, newalphacd_one, newalphacd_one]
310         newthankyou=[thankyou,thankyou,thankyou]
311         pcuthankyou=[pcuthankyou_one,pcuthankyou_one,pcuthankyou_one]
312         NMReset=[nmreset,nmreset,nmreset]
313         pcutonodemapping=[pcutonodemapping_one, pcutonodemapping_one, pcutonodemapping_one]
314         pcudown=[pcudown_one, pcudown_one, pcudown_one]
315
316         unknownsequence = ("""Unrecognized Error on PlanetLab host %(hostname)s""", 
317                                            """
318 While trying to automatically recover this machine:
319
320     http://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
321
322 We encountered an unknown situation.  Please re-code to handle, or manually intervene to repair this host.
323
324 Abbreviated BootManager Sequence:
325
326     %(sequence)s
327
328 BootManager.log output follows:
329 ---------------------------------------------------------
330 %(bmlog)s
331 """       )
332         donation_down_one=("""PlanetLab node donation setup: %(hostname)s""", 
333         """
334 Hello,
335
336 As part of PlanetLab node monitoring, we noticed the following node is registered in the PlanetLab database, but it is not completly setup and running.
337
338 %(hostname_list)s 
339 We are writing because we need your help completing the setup to ensure its full operation.
340
341 You should have received directions for the complete configuration when you contacted the donation program coordinator at PlanetLab.  For review, or if you did not receive them, you can find the latest version here:
342
343     https://svn.planet-lab.org/wiki/DC7800Configuration
344
345 It is essential that the AMT feature be configured to enable PlanetLab staff to remotely manage the machine.  The basic steps are:
346
347     Configure the DC7800 AMT feature  : https://www.planet-lab.org/AMT
348     Add a PCU to your site            : https://www.planet-lab.org/db/sites/pcu.php
349         Associate your node with the PCU  : Follow the 'My Site' link
350         Finally, download the Boot Image  : https://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
351         Burn Boot Image to media & Reboot your node
352
353 You can confirm that your machine's PCU is correctly configured by visiting the AMT
354 port using your browser, such as:
355
356     http://%(hostname)s:16992/
357
358 If you need any clarification about the steps mentioned here, please feel free
359 to contact us at PlanetLab Support (support@planet-lab.org).
360
361 Thank you for your help,
362   -- PlanetLab Central (support@planet-lab.org)
363 """)
364
365         donation_nopcu_one=("""PlanetLab node donation, PCU setup: %(hostname)s""", 
366 """
367 Hello,
368
369 As part of PlanetLab node monitoring, we noticed the following node was not completely setup at your site:
370
371 %(hostname_list)s 
372 We are writing because we need your help completing the setup to ensure its full operation.
373
374 The DC7800 comes with a built-in remote management feature.  The PCU functionality on your node is not configured.  The result of this is that we are unable to remotely administer this machine.
375
376 You should have received directions for the complete configuration when you contacted the donation program coordinator at PlanetLab.  For review, or if you did not receive them, you can find the latest version here:
377
378     https://svn.planet-lab.org/wiki/DC7800Configuration
379
380 It is essential that the PCU be configured.  The basic steps are:
381
382     Configure the DC7800 AMT feature  : https://www.planet-lab.org/AMT
383     Add a PCU to your site            : https://www.planet-lab.org/db/sites/pcu.php
384         Associate your node with the PCU  : Follow the 'My Site' link
385
386 You can confirm that your machine is correctly configured by visiting the AMT
387 port using your browser, such as:
388
389     http://%(hostname)s:16992/
390
391 If you need any clarification about the steps mentioned here, please feel free
392 to contact us at PlanetLab Support (support@planet-lab.org).
393
394 Thank you for your help,
395   -- PlanetLab Central (support@planet-lab.org)
396 """)
397
398         donation_nopcu = [ donation_nopcu_one, donation_nopcu_one, donation_nopcu_one ]
399         donation_down = [ donation_down_one, donation_down_one, donation_down_one ]
400
401
402         minimalhardware = ("""Hardware requirements not met on PlanetLab host %(hostname)s""", 
403                                            """
404 While trying to automatically recover this machine:
405
406     http://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
407
408 We encountered an failed hardware requirement.  Please look at the log below to determine the exact nature of the failure, either Disk, CPU, Network, or Mimial RAM was not satisfied.
409
410 If your machine does not meet the current hardware specifications for a PlanetLab node (http://www.planet-lab.org/hardware), please upgrade it to meet the current recommended configuration.  
411
412 If you believe this message is an error, please email support@planet-lab.org explaining the problem.  You may need to create an updated Boot Image that includes drivers for your hardware.
413
414 Thank you,
415  - PlanetLab Support
416
417 BootManager.log output follows:
418 ---------------------------------------------------------
419 %(bmlog)s
420 """       )
421
422         baddisk = ("""Bad Disk on PlanetLab node %(hostname)s""", 
423                            """As part of PlanetLab node monitoring, we noticed %(hostname)s has a number of disk or media related I/O errors, that prevent it from either booting or reliably running as a PlanetLab node.
424
425 Please verify the integrity of the disk, and order a replacement if needed.  If you need to schedule downtime for the node, please let us know at support@planet-lab.org. 
426
427 Thanks.
428
429   -- PlanetLab Central (support@planet-lab.org)
430
431 The output of `dmesg` follows:
432 -------------------------------------------------------------------------
433
434 %(log)s
435 """)
436
437         down=("""PlanetLab node %(hostname)s down.""", """As part of PlanetLab node monitoring, we noticed %(hostname)s has been down for %(days)s days.
438
439 Please check the node's connectivity and, if properly networked, power cycle the machine. Note that rebooting the machine may not fully resolve the problems we're seeing. Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.
440
441 http://summer.cs.princeton.edu/status/tabulator.cgi?table=table_nodeviewshort&select='address==%(hostbyteorder)s'
442
443 http://www.planet-lab.org/db/sites/index.php?id=%(site_id)d
444
445 There's no need to respond to this message if CoMon reports that your machine is accessible. However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can resolve the issue. 
446
447 Thanks.
448
449
450   -- PlanetLab Central (support@planet-lab.org)
451 """)
452
453         dbg=("""Planetlab node %(hostname)s requires reboot.""", """As part of PlanetLab node monitoring, we noticed %(hostname)s is in debug mode.  This usually implies the node was rebooted unexpectedly and could not come up cleanly.  
454
455 Please check the node's connectivity and, if properly networked, power cycle the machine. Note that rebooting the machine may not fully resolve the problems we're seeing. Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.
456
457 http://summer.cs.princeton.edu/status/tabulator.cgi?table=table_nodeviewshort&select='address==%(hostbyteorder)s'
458
459 There's no need to respond to this message if CoMon reports that your machine is accessible. However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can resolve the issue. 
460
461 Thank you for your help,
462   -- PlanetLab Central (support@planet-lab.org)
463 """)
464
465         plnode_cfg=(""" Please Verify Network Configuration for PlanetLab node %(hostname)s""", 
466 """Hello,
467
468 As part of PlanetLab node monitoring, we noticed that %(hostname)s has a network configuration error related to DNS or hostname lookups.  Often this can happen either due local configuraiton changes, or a misconfiguration of the node's DNS servers.  To resolve the issue we require your assistance.  All that is needed is to visit:
469
470         https://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
471
472 Find the primary node network entry and confirm that the settings are correct.  
473
474 If you use 'static' network configuration, verify that the DNS servers are correct.  If you are using 'dhcp' then you will need to confirm that the information returned for the node will allow it to perform lookups on it's own hostname.
475
476 If you change the network settings, then select, "Download -> Download plnode.txt file for %(hostname)s" menu.  This will generate a new configuration file for your node.  Copy this file to the appropriate read-only media, either floppy or USB stick, and reboot the machine.  If you are using an All-in-One boot image, then you will need to download the All-in-One image instead, burn it to the appropriate media (CD or USB) and reboot.
477
478 Please let us know if you need any assistance.
479
480 Thank you for your help,
481   -- PlanetLab Central (support@planet-lab.org)
482
483 BootManager.log output follows:
484 ---------------------------------------------------------
485 %(bmlog)s
486 """)
487
488         plnode_cfg=(""" Please Update Configuration file for PlanetLab node %(hostname)s""", 
489 """As part of PlanetLab node monitoring, we noticed %(hostname)s has an out-dated plnode.txt file with no NODE_ID or a mis-matched HOSTNAME.  This can happen either due to an initial configuration failure at your site, with information entered into our database, or after a software upgrade.  To resolve the issue we require your assistance.  All that is needed is to visit:
490
491         https://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
492
493 Then, select, "Download -> Download plnode.txt file for %(hostname)s" menu.  This will generate a new configuration file for your node.  Copy this file to the appropriate read-only media, either floppy or USB stick, and reboot the machine.
494
495 There is no need to respond to this message if you're able to update the configuration file without difficulty and your node returns to normal operation.  However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue. 
496
497 Thank you for your help,
498   -- PlanetLab Central (support@planet-lab.org)
499 """)
500
501         bootcd=(""" Planetlab node %(hostname)s needs a new BootCD""", 
502 """As part of PlanetLab node monitoring, we noticed %(hostname)s has an out-dated BootCD: "%(version)".  This usually implies that you need to update both the BootCD and regenerate the planet.cnf file stored on the read-only floppy (Or read-only USB stick that stores the content of BootCD and planet.cnf).
503
504 Instructions to perform the steps necessary for a BootCD upgrade are available in the Technical Contact Guide.
505     https://www.planet-lab.org/doc/guides/tech#NodeInstallation
506
507 There's no need to respond to this message if you're able to follow the directions without difficulty and your node returns to normal operation. However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can help resolve the issue. 
508
509 Thanks you for your help,
510   -- PlanetLab Central (support@planet-lab.org)
511 """)
512
513         ssh=("""Planetlab node %(hostname)s down.""", """As part of PlanetLab node monitoring, we noticed node %(hostname)s is not available for ssh.
514
515 Please check the node's connectivity and, if properly networked, power cycle the machine. Note that rebooting the machine may not fully resolve the problems we're seeing. Once the machine has come back up, please visit the Comon status page to verify that your node is accessible from the network.
516
517 http://summer.cs.princeton.edu/status/tabulator.cgi?table=table_nodeviewshort&select='address==%(hostbyteorder)s'
518
519 There's no need to respond to this message if CoMon reports that your machine is accessible. However, if there are any console messages relating to the node's failure, please report them to PlanetLab support (support@planet-lab.org) so we can resolve the issue. 
520
521 Thanks.
522
523
524   -- PlanetLab Central (support@planet-lab.org)
525 """)
526
527
528         baddns=("""Planetlab node down: broken DNS configuration for %(hostname)s""", 
529 """As part of PlanetLab node monitoring, we noticed the DNS servers used by the following machine(s) are not responding to queries.
530
531     %(hostname)s 
532
533 The conseuqnece of this is that the node cannot boot correctly, and is not a functioning part of the PlanetLab network.
534
535 To help us return this machine to running order, please verify that the registered DNS servers in the node network configuration are correct.  
536
537 %(network_config)s
538
539 You may update the node's network information at the link below:
540
541     https://www.planet-lab.org/db/nodes/node_networks.php?id=%(nodenetwork_id)s
542
543 If you have any questions, please feel free to contact us at PlanetLab Support (support@planet-lab.org).
544
545 Thank you for your help,
546   -- PlanetLab Central (support@planet-lab.org)
547 """)
548
549
550         filerw=("""Planetlab node %(hostname)s has a bad disk.""", """As part of PlanetLab node monitoring, we noticed %(hostname)s has a read-only filesystem.
551
552 Please verify the integrity of the disk and email the site if a replacement is needed. 
553
554 Thanks.
555
556   -- PlanetLab Central (support@planet-lab.org)
557 """)
558
559
560         clock_drift=("""Planetlab node %(hostname)s and NTP.""", """As part of PlanetLab node monitoring, we noticed %(hostname)s cannot reach our NTP server.
561
562 Please verify that the NTP port (tcp/123) is not blocked by your site. 
563
564 Thanks.
565
566   -- PlanetLab Central (support@planet-lab.org)
567 """)
568
569   
570
571         removedSliceCreation=("""PlanetLab slice creation/renewal suspension.""","""As part of PlanetLab node monitoring, we noticed the %(loginbase)s site has less than 2 nodes up.  We have attempted to contact the PI and Technical contacts %(times)s times and have not received a response.  
572
573 Slice creation and renewal are now suspended for the %(loginbase)s site.  Please be aware that failure to respond will result in the automatic suspension of all running slices on PlanetLab.
574
575
576   -- PlanetLab Central (support@planet-lab.org)
577 """)
578
579
580         suspendSlices=("""PlanetLab slices suspended.""","""As part of PlanetLab node monitoring, we noticed the %(loginbase)s site has less than 2 nodes up.  We have attempted to contact the PI and Technical contacts %(times)s times and have not received a response.  
581
582 All %(loginbase)s slices are now suspended.  
583
584
585   -- PlanetLab Central (support@planet-lab.org)
586 """)
587
588
589         pcu_broken=("""%(hostname)s failed to reinstall""","""Hello,
590
591    %(hostname)s was remotely rebooted via your power control unit but has not contacted PlanetLab since. It should contact upon every boot, hence we believe that either the node has some hardware problems, is not properly connected to the power control unit, or has network connectivity issues. Could you please reboot the node and watch the console for error messages? 
592
593
594 Thanks.
595
596 -- PlanetLab Central (support@planet-lab.org)
597 """)
598
599
600         no_pcu=("""Hello,
601
602 We have set %(hostname)s to reinstall, but because your site does not have a power control unit, we are unable to powercycle the node.  Please  
603
604 Thanks.
605
606 -- PlanetLab Central (support@planet-lab.org)
607 """)
608