+""")
+ pcutonodemapping_one =("""PCU to Node mapping is incorrect for %(hostname)s""",
+ """
+ As part of our machine monitoring and maintenance, we tried to use the PCU
+registered below, and though it appears to succeed, we do not subsequently
+observe the associated nodes rebooting:
+
+ https://monitor.planet-lab.org/cgi-bin/printbadpcus.php?id=%(pcu_id)s
+
+%(hostname_list)s
+
+We need your help resolving this issue in two ways:
+
+* First, we need your help rebooting %(hostname)s. Because the above PCU
+ does not appear to actually control the above Nodes, we cannot use it to
+ reboot these machines. So, please manually reboot the machine and we can
+ help you resolve any configuration errors with the PCU independently.
+
+* Second, please check the configuration of the above PCU. Check that the
+ PCU is physically connected to the servers that it should be able to
+ control. A common mistake is that the PCU is registered for a machine,
+ but not actually connected physically to the machine.
+
+By enabling us to take administrative actions automatically from PlanetLab
+Central without local intervention, you can trade a small amount of time now
+for a time savings in the future.
+
+If the above PCU is no longer in service, please delete it by visiting:
+
+ https://www.planet-lab.org/db/sites/pcu.php?id=%(pcu_id)s
+
+and selecting 'Delete PCU'. You may then register a new PCU for your nodes.
+
+Alternately, if the machines listed above are no longer in service, please
+delete them by visiting your sites page at:
+
+ https://www.planet-lab.org/
+
+Thank you very much for your help,
+ -- PlanetLab Central (support@planet-lab.org)
+""")
+
+ newalphacd_one=(""" Planetlab nodes need a new BootCD: %(loginbase)s""",
+"""As part of PlanetLab node monitoring, we noticed that your machines needs a new BootCD to fully support your hardware:
+
+%(hostname_list)s
+
+To make this process as simple as possible, we have created All-in-One boot images that include the node configuration file.
+
+The only step that you need to take is to choose which media you prefer, either CD ISO, or USB image for each host.
+
+%(url_list)s
+
+Instructions to burn or copy these All-in-One images to the appropriate media are available in the Technical Contact's Guide.
+
+ https://www.planet-lab.org/doc/guides/bootcdsetup
+
+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.
+
+Thank you for your help,
+ -- PlanetLab Central (support@planet-lab.org)
+""")
+
+ # TODO: need reminder versions for repeats...
+ newdown=[newdown_one, newdown_two, newdown_three]
+ newbootcd=[newbootcd_one, newbootcd_two, newbootcd_three]
+ newalphacd=[newalphacd_one, newalphacd_one, newalphacd_one]
+ newthankyou=[thankyou,thankyou,thankyou]
+ pcuthankyou=[pcuthankyou_one,pcuthankyou_one,pcuthankyou_one]
+ NMReset=[nmreset,nmreset,nmreset]
+ pcutonodemapping=[pcutonodemapping_one, pcutonodemapping_one, pcutonodemapping_one]
+ pcudown=[pcudown_one, pcudown_one, pcudown_one]
+
+ unknownsequence = ("""Unrecognized Error on PlanetLab host %(hostname)s""",
+ """
+While trying to automatically recover this machine:
+
+ http://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
+
+We encountered an unknown situation. Please re-code to handle, or manually intervene to repair this host.
+
+Abbreviated BootManager Sequence:
+
+ %(sequence)s
+
+BootManager.log output follows:
+---------------------------------------------------------
+%(bmlog)s
+""" )
+ donation_down_one=("""PlanetLab node donation setup: %(hostname)s""",
+ """
+Hello,
+
+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.
+
+%(hostname_list)s
+We are writing because we need your help completing the setup to ensure its full operation.
+
+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:
+
+ https://svn.planet-lab.org/wiki/DC7800Configuration
+
+It is essential that the AMT feature be configured to enable PlanetLab staff to remotely manage the machine. The basic steps are:
+
+ Configure the DC7800 AMT feature : https://www.planet-lab.org/AMT
+ Add a PCU to your site : https://www.planet-lab.org/db/sites/pcu.php
+ Associate your node with the PCU : Follow the 'My Site' link
+ Finally, download the Boot Image : https://www.planet-lab.org/db/nodes/index.php?nodepattern=%(hostname)s
+ Burn Boot Image to media & Reboot your node
+
+You can confirm that your machine's PCU is correctly configured by visiting the AMT
+port using your browser, such as:
+
+ http://%(hostname)s:16992/
+
+If you need any clarification about the steps mentioned here, please feel free
+to contact us at PlanetLab Support (support@planet-lab.org).
+
+Thank you for your help,
+ -- PlanetLab Central (support@planet-lab.org)
+""")
+
+ donation_nopcu_one=("""PlanetLab node donation, PCU setup: %(hostname)s""",