Skip to content

Commit 8aa46ba

Browse files
Merge pull request #369 from alan-turing-institute/DSSG-SUMMER2019
DSSG deployment and troubleshooting changes
2 parents 1f64ea5 + 659aa74 commit 8aa46ba

112 files changed

Lines changed: 4467 additions & 4319 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,23 +175,25 @@ The following people have access to the project:
175175
| Name | GitHub ID | Email |
176176
| ------------------ | --- | --- |
177177
| Diego Arenas | [@darenasc](https://github.com/darenasc)| <darenasc@gmail.com> |
178-
| Jonathan Atkins | [@jon-atkins](https://github.com/jon-atkins)| <jatkins@turing.ac.uk> |
179-
| Ayman Boustati | [@aboustati](https://github.com/aboustati)| <aboustati@turing.ac.uk> |
180-
| Ian Carter | [@getcarter21](https://github.com/getcarter21)| <icarter@turing.ac.uk> |
181-
| Rob Clarke | [@RobC-CTL](https://github.com/RobC-CTL)| <rob.clarke@coriniumtech.com> |
182-
| Giovanni Colavizza | [@Giovanni1085](https://github.com/Giovanni1085)| <gcolavizza@turing.ac.uk> |
183-
| Christine Foster | [@ChristineFoster](https://github.com/ChristineFoster)| <cfoster@turing.ac.uk> |
184-
| Evelina Gabasova | [@evelinag](https://github.com/evelinag)| <egabasova@turing.ac.uk> |
185-
| James Geddes | [@triangle-man](https://github.com/triangle-man)| <jgeddes@turing.ac.uk> |
186-
| Andreas Grammenos | [@andylamp](https://github.com/andylamp) | <axor@turing.ac.uk> |
187-
| Nicolas Guernion | | <nguernion@turing.ac.uk> |
188-
| James Heatherington | [@jamespjh](https://github.com/jamespjh) | <jhetherington@turing.ac.uk> |
178+
| Jonathan Atkins | [@jon-atkins](https://github.com/jon-atkins)| <jatkins@turing.ac.uk> |
179+
| Ayman Boustati | [@aboustati](https://github.com/aboustati)| <aboustati@turing.ac.uk> |
180+
| Ian Carter | [@getcarter21](https://github.com/getcarter21)| <icarter@turing.ac.uk> |
181+
| Rob Clarke | [@RobC-CTL](https://github.com/RobC-CTL)| <rob.clarke@coriniumtech.com> |
182+
| Giovanni Colavizza | [@Giovanni1085](https://github.com/Giovanni1085)| <gcolavizza@turing.ac.uk> |
183+
| Christine Foster | [@ChristineFoster](https://github.com/ChristineFoster)| <cfoster@turing.ac.uk> |
184+
| Evelina Gabasova | [@evelinag](https://github.com/evelinag)| <egabasova@turing.ac.uk> |
185+
| James Geddes | [@triangle-man](https://github.com/triangle-man)| <jgeddes@turing.ac.uk> |
186+
| Andreas Grammenos | [@andylamp](https://github.com/andylamp) | <axor@turing.ac.uk> |
187+
| Nicolas Guernion | | <nguernion@turing.ac.uk> |
188+
| James Hetherington | [@jamespjh](https://github.com/jamespjh) | <jhetherington@turing.ac.uk> |
189189
| Franz Kiraly | [@fkiraly](https://github.com/fkiraly)| <fkiraly@turing.ac.uk> |
190190
| Catherine Lawrence | [@cathiest](https://github.com/cathiest) | <clawrence@turing.ac.uk> |
191191
| Martin O'Reilly | [@martintoreilly](https://github.com/martintoreilly)| <moreilly@turing.ac.uk> |
192192
| Kenji Takeda | [@ktakeda1](https://github.com/ktakeda1)| <ktakeda@turing.ac.uk> |
193193
| Sebastian Vollmer | [@vollmersj](https://github.com/vollmersj)| <svollmer@turing.ac.uk> |
194194
| Kirstie Whitaker | [@KirstieJane](https://github.com/KirstieJane)| <kwhitaker@turing.ac.uk> |
195+
| James Robinson | [@jemrobinson](https://github.com/jemrobinson) | <jrobinson@turing.ac.uk> |
196+
195197

196198
### Making a change with a pull request
197199

@@ -268,4 +270,4 @@ You're awesome. :wave::smiley:
268270
[safehaven-labels]: https://github.com/alan-turing-institute/data-safe-haven/labels
269271
[safehaven-repo]: https://github.com/alan-turing-institute/data-safe-haven
270272
[safehaven-wiki]: https://github.com/alan-turing-institute/data-safe-haven/wiki
271-
[scrum-dailyscrum]: https://en.wikipedia.org/wiki/Scrum_(software_development)#Daily_Scrum
273+
[scrum-dailyscrum]: https://en.wikipedia.org/wiki/Scrum_(software_development)#Daily_Scrum

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
# data-safe-haven
1+
# Data Safe Haven
2+
This repository contains the code necessary to deploy an instance of the Alan Turing Institute's Data Safe Haven.
3+
4+
## Prerequisites
5+
- `Powershell`
6+
- needed to deploy infrastructure
7+
- `bash`
8+
- needed to deploy infrastructure
9+
- `Microsoft Azure` account
10+
- target for infrastructure deployment

docs/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Safe Haven User Guide
2+
3+
- [Markdown version](safe_haven_user_guide.md) (always up to date)
4+
- [PDF version](safe_haven_user_guide.pdf) (requires manual regeneration)
5+
6+
## Creating an updated PDF version
7+
- Install [Pandoc](https://pandoc.org/installing.html)
8+
- Install [XeLaTex](http://xetex.sourceforge.net/), generally by installing a full LaTeX environment such as [Tex Live](http://www.tug.org/texlive/) (Windows / Linux) or [MacTex](http://www.tug.org/mactex/) (MacOS).
9+
- Create PDF using `pandoc safe_haven_user_guide.md --pdf-engine=xelatex -o safe_haven_user_guide.pdf -V geometry:margin=1.2in`
File renamed without changes.
File renamed without changes.
480 KB
Loading
Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* [Section 4.10: Outputs from the week](#section-410-outputs-from-the-week)
2424
* [Appendix A: Migrating to a new data science VM post package update](#appendix-a-migrating-to-a-new-data-science-vm-post-package-update)
2525
* [Appendix B: Gitlab tutorial notes](#appendix-b-Gitlab-tutorial-notes)
26+
* [Appendix C: Troubleshooting](#appendix-c-troubleshooting)
2627

2728
## Section 1: Support for bugs and reports
2829

@@ -673,7 +674,7 @@ In Git, when you copy a project you say you “clone” it. To work on a git pro
673674

674675
When you are on your Dashboard, click on the project that you’d like to clone. To work in the project, you can copy a link to the Git repository through a SSH or a HTTPS protocol. SSH is easier to use after it’s been set up, [you can find the details here](https://docs.gitlab.com/ee/gitlab-basics/create-your-ssh-keys.html). While you are at the Project tab, select HTTPS or SSH from the dropdown menu and copy the link using the Copy URL to clipboard button (you’ll have to paste it on your shell in the next step).
675676

676-
![](project_clone_url.png)
677+
![](images/project_clone_url.png)
677678

678679
Go to your computer’s shell and type the following command with your SSH or HTTPS URL:
679680
```
@@ -805,12 +806,34 @@ Merge requests are useful to integrate separate changes that you’ve made to a
805806
3. Click on New merge request on the right side of the screen.
806807
4. From there on, you have the option to select the source branch and the target branch you’d like to compare to. The default target project is the upstream repository, but you can choose to compare across any of its forks.
807808

808-
![](merge1.png)
809+
![](images/merge1.png)
809810

810811
5. When ready, click on the Compare branches and continue button.
811812
6. At a minimum, add a title and a description to your merge request. Optionally, select a user to review your merge request and to accept or close it. You may also select a milestone and labels.
812813

813-
![](merge2.png)
814+
![](images/merge2.png)
814815

815816
7. When ready, click on the Submit merge request button.
816817
Your merge request will be ready to be approved and merged.
818+
819+
## Appendix C: Troubleshooting
820+
821+
### Unexpected certificate error
822+
823+
#### Symptom
824+
- You can successfully log into the RDS webclient at `https://rds.dsgroupX.co.uk/RDWeb/weblient`
825+
- When you try and launch an app, you receive an error saying "Your session ended because an unexpected server authentication certificate was received from the remote PC."
826+
- When you click on the padlock icon in the address bar and view the SSL certificate, the "SHA-1 Fingerprint" in the certificate matches the "SHA-1 Thumbprint" in the error message.
827+
828+
![](images/unexpected_certificate_error.png)
829+
830+
### Cause
831+
The SSL certificate protecting your connection to the RDS webclient expires every three months and is renewed every two months.
832+
The new SSL certificate is seamlessly picked up by your browser when connecting to `https://rds.dsgroupX.co.uk/RDWeb/weblient`.
833+
However, the webclient downloads a separate copy of the certificate for its own use to validate connections to the apps it serves.
834+
This downloaded certificate is cached by your browser, which means that the old certificate will continue to be used by the web app when the browser is allowed to load things from its cache.
835+
836+
### Solution
837+
Get your browser to do a [hard reload](https://www.getfilecloud.com/blog/2015/03/tech-tip-how-to-do-hard-refresh-in-browsers/) of the page at `https://rds.dsgroupX.co.uk/RDWeb/weblient` (instructions vary by browser and operating system).
838+
This hard reload will reload items in the cache and so retrieve a copy of the new certificate.
839+

docs/safe_haven_user_guide.pdf

376 KB
Binary file not shown.

0 commit comments

Comments
 (0)