From 6d821072f645e107e02e661ee937745642dc3588 Mon Sep 17 00:00:00 2001 From: Steven Valdez Date: Mon, 24 Jun 2013 11:19:10 -0400 Subject: [PATCH] Added outage notice to website --- code/static/outage_email.txt | 24 ++++++++++++++++++++++++ code/static/style.css | 7 +++++++ code/templates/skeleton.mako | 6 ++++++ debian/changelog | 6 ++++++ 4 files changed, 43 insertions(+) create mode 100644 code/static/outage_email.txt diff --git a/code/static/outage_email.txt b/code/static/outage_email.txt new file mode 100644 index 0000000..c13c6d7 --- /dev/null +++ b/code/static/outage_email.txt @@ -0,0 +1,24 @@ +Subject: Scheduled XVM Outage on weekend of July 20th + +Dear XVM User, + +There is a planned maintenance and upgrade of the XVM production hosts +on the weekend of July 20th. The maintenance has been scheduled +2013-07-20 12:00:00 EDT to 2013-07-22 06:00:00 EDT. + +As part of the upgrade, we will be migrating from Xen 3.x to Xen +4.x. As a result, all virtual machines on XVM will be shut down for a +short period of time over the weekend to prevent data loss during the +VM migration. Once the VMs have been migrated to the updated hosts, we +will restart any VMs that were previously running. Further information +on the exact outage schedule will be sent out closer to the weekend of +July 20th. + +It is recommended that you shutdown your machine before the +maintenance window to ensure that the processes running on your +machine terminate correctly. If you are no longer using your machine, +we ask that you delete it before the maintenance in order to free up +space for other users of our service. + +Sincerely, +XVM Maintainers diff --git a/code/static/style.css b/code/static/style.css index 9bea2e9..7ead197 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -54,6 +54,13 @@ td.error { border: 1px solid red; } +.notice { + color: #FF0000; + padding: 0.25em; + border: 1px solid red; + font-size: 16pt; +} + /* Navigation bar. */ .navigation { padding: 0em 1em; diff --git a/code/templates/skeleton.mako b/code/templates/skeleton.mako index aee4769..e2214ba 100644 --- a/code/templates/skeleton.mako +++ b/code/templates/skeleton.mako @@ -64,6 +64,12 @@ You are currently authenticated as an administrator.
  • Help
  • +% if True: +

    There will be a scheduled XVM outage on the weekend of July +20th. See the outage email for further +information.

    +% endif + % endif % if not simple: diff --git a/debian/changelog b/debian/changelog index e41decc..d0c6fc9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-web (0.1.32) unstable; urgency=low + + * Added outage notice to website + + -- Steven Valdez Mon, 24 Jun 2013 11:19:36 -0400 + invirt-web (0.1.31) unstable; urgency=low * Fixed validation of administrator field to use authz. -- 1.7.9.5