Cloud troubleshooting guide: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


==Issue: I can't reach my virtual machine==
==Issue: I can't reach my virtual machine==
# If you are having any issues connecting to you virtual machine (VM, also known as "instance") or hosted service, the first step is to check the [[System status/en|Compute Canada System Status page]]. If there is an incident on your hosting cloud you may need to wait till the incident is resolved before connecting to your hosted service/VM.
<ol>
# If there is no incident for the cloud hosting your project on the System Status page, you need to confirm that you can reach the dashboard for your cloud project. (ex. Use this link to login to Arbutus:https://arbutus.cloud.computecanada.ca.) Login links for other clouds can be found on the [[Cloud/en|cloud wiki page]]. If you cannot reach the login page to your cloud dashboard and you have verified your internet connectivity (ex. you can reach google) then it is recommended that you submit a ticket. To submit a ticket to the cloud queue, email: cloud@computecanada.ca. Include your name, username, hosting cloud and project name, and the steps you have taken to trouble-shoot thus far. For more information on submitting support tickets see the [[Technical support/en|Technical Support page]] on the Compute Canada wiki.
<li>If you are having any issues connecting to you virtual machine (VM, also known as "instance") or hosted service, the first step is to check the [[System status/en|Compute Canada System Status page]]. If there is an incident on your hosting cloud you may need to wait till the incident is resolved before connecting to your hosted service/VM.</li>
# If you are able to reach the login page for your cloud but are having trouble actually logging in, please see the “Can’t login to Cloud” guide in the lower section on this page for next steps.
<li>If there is no incident for the cloud hosting your project on the System Status page, you need to confirm that you can reach the dashboard for your cloud project. (ex. Use this link to login to Arbutus:https://arbutus.cloud.computecanada.ca.) Login links for other clouds can be found on the [[Cloud/en|cloud wiki page]]. If you cannot reach the login page to your cloud dashboard and you have verified your internet connectivity (ex. you can reach google) then it is recommended that you submit a ticket. To submit a ticket to the cloud queue, email: cloud@computecanada.ca. Include your name, username, hosting cloud and project name, and the steps you have taken to trouble-shoot thus far. For more information on submitting support tickets see the [[Technical support/en|Technical Support page]] on the Compute Canada wiki.</li>
# If you are able to login to your cloud dashboard, there are a few things there that you can check to see if your VM is actually running:
<li>If you are able to reach the login page for your cloud but are having trouble actually logging in, please see the “Can’t login to Cloud” guide in the lower section on this page for next steps.
## Navigate to the Instances screen on your left side menu. Look at the Power State for your VM. It should be “Running”. If it is not in the “Running” state (for example “Shut Down”, you can try and restart it using the actions menu on the far right hand side, select either “Start Instance” or “Resume Instance” depending on what options are available to you.
<li>If you are able to login to your cloud dashboard, there are a few things there that you can check to see if your VM is actually running:</li>
##* You can look through the action logs to try and figure out why it was taken out of the running state. From the instances screen, click on your Instance name (VM name) and then click on the “Action Log” tab. This will show all the actions that have been used on your VM. If there is an action you don’t recognize you can contact support (email: cloud@computecanada.ca) to try and figure out who it was, just be sure to include  your name, username, hosting cloud, project name and the user ID from the action log for the action you want to investigate.  
  <ol style="list-style-type:lower-roman">
    <li>Navigate to the Instances screen on your left side menu. Look at the Power State for your VM. It should be “Running”. If it is not in the “Running” state (for example “Shut Down”, you can try and restart it using the actions menu on the far right hand side, select either “Start Instance” or “Resume Instance” depending on what options are available to you.</li>
    <li>You can look through the action logs to try and figure out why it was taken out of the running state. From the instances screen, click on your Instance name (VM name) and then click on the “Action Log” tab. This will show all the actions that have been used on your VM. If there is an action you don’t recognize you can contact support (email: cloud@computecanada.ca) to try and figure out who it was, just be sure to include  your name, username, hosting cloud, project name and the user ID from the action log for the action you want to investigate.</li>
##* The “log” tab from the same screen will show you the console log for your VM, so you can look through that log for error messages as well.  
##* The “log” tab from the same screen will show you the console log for your VM, so you can look through that log for error messages as well.  
## If you are unable to restart your VM then it's recommended that you submit a ticket.  To submit a ticket to the cloud queue, email: cloud@computecanada.ca. Include your name, username, hosting cloud, project name and VM ID (You can find this by clicking on your instance, then looking at the overview tab), the steps you have taken to trouble-shoot and the issue you are seeing. For more information on submitting support tickets see the [[Technical support/en|Technical Support page]] on the Compute Canada wiki.
## If you are unable to restart your VM then it's recommended that you submit a ticket.  To submit a ticket to the cloud queue, email: cloud@computecanada.ca. Include your name, username, hosting cloud, project name and VM ID (You can find this by clicking on your instance, then looking at the overview tab), the steps you have taken to trouble-shoot and the issue you are seeing. For more information on submitting support tickets see the [[Technical support/en|Technical Support page]] on the Compute Canada wiki.
Line 13: Line 15:
## If you can’t reach your application or web service hosted on your VM, but you have followed steps 1-4 and your VM is running, then you need to try to connect using SSH. You can find instructions for doing this in the [[Cloud Quick Start/en|Cloud Quick Start Guide]], scroll down to the section near the bottom of the page to “Connecting to your VM with SSH”.
## If you can’t reach your application or web service hosted on your VM, but you have followed steps 1-4 and your VM is running, then you need to try to connect using SSH. You can find instructions for doing this in the [[Cloud Quick Start/en|Cloud Quick Start Guide]], scroll down to the section near the bottom of the page to “Connecting to your VM with SSH”.
## If you are getting a login prompt verify you are using the correct key pair and username. You can check you are using the correct key pair by clicking on “instances” under “compute” on the open sack page, look under the column “Key Pair”, and make sure you are using that key pair to login. The username will be dependant on the operating system of your VM (Note: If you explicitly change your username with a custom CloudInit script then it will be what you have changed it to):
## If you are getting a login prompt verify you are using the correct key pair and username. You can check you are using the correct key pair by clicking on “instances” under “compute” on the open sack page, look under the column “Key Pair”, and make sure you are using that key pair to login. The username will be dependant on the operating system of your VM (Note: If you explicitly change your username with a custom CloudInit script then it will be what you have changed it to):
##:{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
##:|-
|-
##:! Operating System !! Username
! Operating System !! Username
##:|-
|-
##:| Debian || debian
| Debian || debian
##:|-
|-
##:| Ubuntu || ubuntu
| Ubuntu || ubuntu
##:|-
|-
##:| CentOS || centos
| CentOS || centos
##:|-
|-
##:| Fedora || fedora
| Fedora || fedora
##:|}
|}
## If you are not getting a login prompt, you can double check your security settings
## If you are not getting a login prompt, you can double check your security settings
cc_staff
169

edits

Navigation menu