Cloud troubleshooting guide: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This page contains basic troubleshooting steps for issues that come up frequently when using cloud. The steps include solutions you can try yourself, plus important information gathering steps and advice for when its time to submit a ticket. Not all issues can be solved on the user side, some things require system administrator level access to resolve; if you work through the guide and it advises you to submit a ticket, it is likely an issue not easily solved on the user side.
<languages />
<translate>
<!--T:1-->
This page describes how to troubleshoot some issues that come up frequently when using our cloud service to operate a virtual machine (VM, also known as an "instance"). This includes solutions you can try yourself, and advice about submitting a support ticket, including what information to include in the ticket. Not all issues can be solved by you, the user; some things require a system administrator.  If you work through this guide and it advises you to submit a ticket, it is likely an issue which you cannot easily solve yourself.


==Issue: I can't login to Cloud==
==Issue: I can't log in to the cloud== <!--T:2-->
 
<!--T:6-->
<ol>
<ol>
<li>You need to specifically apply for a cloud project in order to login to cloud. If you have not formally applied for and been granted a cloud project you will not be able to login (you will get the error message “Invalid Credentials”). You can apply for a cloud project here: [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform CC cloud project and RAS request form]</li>
<li>You need to specifically [[Cloud#Getting_a_Cloud_project|apply for a cloud project]] in order to log in to our cloud service. If you have not applied for and been granted a cloud project you will not be able to log in, you will get the error message “Invalid Credentials”. You can apply for a cloud project here: [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform CC cloud project and RAS request form]</li>
<li>If you have applied for a cloud project it can take a few days for your request to be approved, at which point you will receive a confirmation email with important information for accessing your project. If you have not received this confirmation email, and more than 3 business days have passed since you submitted your request, it is recommended that you submit a ticket to cloud@computecanada.ca with your name, institution and the email address you used to submit the request.</li>
<li>Once you have applied for a cloud project it can take a few days for your request to be approved.  When it is approved you will receive an email with important information for accessing your project. If you have not received this confirmation email, but more than 3 business days have passed since you submitted your request, submit a ticket to cloud@tech.alliancecan.ca with your name, institution and the email address you used to submit the request.</li>
<li>Make sure you are logging into the correct cloud. Your confirmation email for your cloud project will tell you which cloud is hosting your project. Login links for the different clouds can be found on the [[Cloud/en|Cloud Wiki page]] in the section “Using the Cloud”.</li>
<li>Make sure you are logging into the correct cloud. Your confirmation email will tell you which cloud is hosting your project. Login links for the different clouds can be found on the [[Cloud/en|Cloud Wiki page]] in the section “Using the Cloud”.</li>
<li>If you have a confirmed cloud project and are unable to login, check the [[System status/en|System status page]] to see if there is an incident affecting service on your cloud.
<li>If you have a confirmed cloud project and are unable to log in, check the [[System status/en|System status page]] to see if there is an incident affecting service on your cloud.
<li>Ensure you are using the correct username. You need to use your Compute Canada username, (same as you would use to login to HPC cluster), do not use your associated email address . You can test logging in with [https://ccdb.computecanada.ca/security/login this link] to see whether it is an issue with your username and/or password.</li>
<li>Make sure you are using the correct username. You need to use your username, the same as you would use to log in to an HPC cluster.  Do ''not'' use your email address. Test logging in at [https://ccdb.computecanada.ca/security/login this link] to see whether it is an issue with your username or password.</li>
<li>If you are having issues with an incorrect or forgotten password, the instructions for getting your password reset are at [https://ccdb.computecanada.ca/security/forgot this link]  
<li>If your password is rejected, reset it by visiting [https://ccdb.computecanada.ca/security/forgot this link].
<li>If you have followed these steps and still can’t login to your cloud project it's time to submit a ticket. Email cloud@computecanada.ca with any info collected during troubleshooting, username, project name and cloud name.  
<li>If you have followed these steps and still can’t log in to your cloud project, it's time to submit a ticket. Email cloud@tech.alliancecan.ca with your username, project name, and which cloud you are trying to access.  Please also describe the steps you've taken so far.</li></ol>
<li>More information for contacting support and ticket submission best practices etc. can be found on the [[Technical support/en|Compute Canada Technical Support page]].</li></ol>
 
<!--T:7-->
More about contacting support and submitting tickets can be found at [[Technical support/en|Technical Support]].
 
==Issue: My virtual machine won't launch== <!--T:5-->
 
<!--T:12-->
<ol><li>First check to see if launching a VM would exceed some resource limit (also known as a "quota").  Your cloud project has a limit on the number of VMs, CPUs, and GBs of RAM you can have in use at any given time. If you try to launch a VM that would cause you to exceed any of these limits, the launch will fail.  To check your limits, log in to your project cloud dashboard (see [[Cloud]] for a list of login links) and on the left-side navigation menu click "Compute", then "Overview".  It will show you how much of your allotted resources are currently in use. If you need more resources for your project, request them using [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform this form]. More details about resource limits and how to obtain large resource allocations (>10TB) can be found at [[Cloud RAS Allocations]].</li>
<li>If you get the message <code>Error: Failed to perform requested operation on instance "...", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.]</code> then check the following:
<ol style="list-style-type:lower-roman"><li>You may have chosen an inappropriate Availability Zone when trying to launch the instance. The first section you fill in when launching an instance is the "Details" section which includes Instance Name, Description, and Availability Zone. The default setting is "Any Availability Zone" which allows OpenStack to choose a zone for you. If you manually select the zone yourself instead of using the default option you may see this "not enough hosts" error.  Fix this by setting the Availability Zone back to "Any Availability Zone".</li>
<li>If you still get this "not enough hosts" error, or there is some reason why you need a particular availability zone, send an email to cloud@tech.alliancecan.ca and provide the cloud name, project name, the steps you have taken thus far, and the reason why you need a particular availability zone if that is the case.</li></ol>
<li> If you have followed these steps and still can’t get your instance to boot, submit a ticket to cloud@tech.alliancecan.ca with your username, project name, cloud name, and any information you collected during troubleshooting.</li></ol>


==Issue: I can't reach my virtual machine==
<!--T:13-->
More about contacting support and submitting tickets can be found at [[Technical support/en|Technical Support]].
 
==Issue: I can't reach my virtual machine== <!--T:3-->
 
<!--T:8-->
<ol>
<ol>
  <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>
  <li>If you cannot connect to your virtual machine, or cannot connect to some service your virtual machine is running, check the [[System status/en|System Status page]]. If there is an incident on your hosting cloud, wait until the incident is resolved then try to connect again.</li>
  <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>
  <li>If there is no incident reported on the System Status page for the cloud hosting your project, try to log in to the OpenStack dashboard for your cloud project. For example, if your project is hosted at Arbutus use this link to log in: https://arbutus.cloud.computecanada.ca. Login links for other clouds can be found on the [[Cloud/en|cloud wiki page]]. </li>
  <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 upper section on this page for next steps.
<li>If you cannot reach the login page for your cloud, verify that you have internet connectivity:  Try to reach https://www.google.com with a browser, for example. If you have internet connectivity but cannot reach the login page for your cloud, submit a ticket to the cloud queue by emailing cloud@tech.alliancecan.ca. Include your name, username, hosting cloud, and project name, and the steps you have taken thus far. For more on submitting tickets see [[Technical support/en|Technical Support ]].</li>
  <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>
  <li>If you are able to reach the login page for your cloud but cannot log in, please see the “Can’t login to Cloud” guide in the previous section on this page.
  <li>If you are able to log in to your cloud dashboard, there are a few things you can do to see if your VM is running:</li>
   <ol style="list-style-type:lower-roman">
   <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>Navigate to the Instances screen on the 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”) try to restart it using the "Actions" menu on the right-hand side.  Select "Start Instance" or "Resume Instance" depending on what options are available to you.</li>
     <ol style="list-style-type:disc">
     <ol style="list-style-type:disc">
       <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>  
       <li>Look through the action logs to try to 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 applied to your VM. If there is an action you don’t recognize, contact support (email: cloud@tech.alliancecan.ca) for help to figure out what it was. Include your name, username, hosting cloud, project name, and the User ID from the action log for the action you want to investigate.</li>  
       <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.</li>
       <li>The "log" tab from the same screen will show you the console log for your VM.  Look at that for error messages as well.</li>
     </ol>  
     </ol>  
     <li>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.</li>
     <li>If you can't restart your VM, submit a ticket to the cloud queue by emailing cloud@tech.alliancecan.ca. Include your name, username, hosting cloud, project name, VM ID, the issue you are seeing, and the steps you have taken to trouble-shoot it so far.  You can find the VM ID by clicking on your instance, then looking at the Overview tab. For more on submitting tickets see [[Technical support/en|Technical Support]].</li>
     </ol>
     </ol>
   <li>Can you reach your VM with Secure Shell (SSH) protocol?  
   <li>Can you reach your VM using SSH (Secure Shell protocol)?  
   <ol style="list-style-type:lower-roman">
   <ol style="list-style-type:lower-roman">
   <li>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”.</li>
   <li>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 try to connect using SSH. You can find instructions for doing this in the [[Cloud Quick Start/en|Cloud Quick Start Guide]], near the bottom of the page at "Connecting to your VM with SSH".</li>
   <li>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):
   <li>If you get a login prompt, verify you are using the correct key pair and username. To check which key pair you should be using, click on "Compute" on the left-side menu of the OpenStack page, then "Instances", then look for the column “Key Pair”. The correct username depends on the operating system of your VM:
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
|-
|-
Line 42: Line 64:
| Fedora || fedora
| Fedora || fedora
|}
|}
(If you explicitly changed your username with a custom CloudInit script, then the above table does not apply.  The correct username will be what you changed it to.)
</li>
</li>
<li>If you are not getting a login prompt, you can double check your security settings:
<li>If you do not get a login prompt, check your security settings:
<ol style="list-style-type:disc">
<ol style="list-style-type:disc">
<li>Verify your own ip address has not changed. You can check your own ip address at this link [http://https:/ipv4.icanhazip.com/ https:/ipv4.icanhazip.com/]. Your ip address must be unblocked in the security settings in order to reach your VM, so if it has changed you will need to add a new rule to your security group.</li>
<li>Verify that your own IP address has not changed. Check your IP address by opening this link in a browser: [https://ipv4.icanhazip.com/ https://ipv4.icanhazip.com/]. Your IP address must be allowed in the security settings in order for you to reach your VM.  If it has changed, add a new rule to your Security Group as described in the next item.</li>
<li>Check that your ip address is unblocked for SSH connections to your VM. You can do this by clicking on “Network” in the left-hand side navigation panel, then “Security groups”. Click “Manage Rules for the security group for your VM (unless you have setup a separate group for your VM, this will be the “default group”. You can check this by going to the instance overview page). There should be a TCP rule there to allow ingress ssh at your-ip-address/32. If this rule is not there click add rule, select SSH from the list, then enter your-ip-adress/32 in the CIDR field box at the bottom and click “Add”.</li></ol></ol>
<li>Check that your IP address is unblocked for SSH connections to your VM. Click on “Network” in the left-hand side navigation panel, then "Security groups". Find the security group for your VM and click "Manage Rules".  This will be the "default" group unless you have set up a separate group for your VM. There should be a rule there with Direction "Ingress", IP Protocol "TCP", and Port Range "22 (SSH)", with Remote IP Prefix your-ip-address/32. If this rule is not there, click add rule, select SSH from the list, then enter your-ip-address/32 in the CIDR field box at the bottom and click "Add".</li></ol></ol>
<li>If you have completed all these steps and still cannot connect to your instance, it’s time to submit a ticket. Send an email to cloud@computecanada.ca and provide the cloud name, project name, instance UUID (you can find this by clicking on Instances -in the compute menu on the left hand side- then clicking on the specific instance name you are having trouble with, then look at the ID field in the overview tab for that instance. The UUID will be a long alpha-numeric sequence) , and all information collected from the above steps.</li>
<li>If you have completed all these steps and still cannot connect to your instance, submit a ticket to cloud@tech.alliancecan.ca and provide the cloud name, project name, instance UUID, and all information collected from the above steps.  To find the instance UUID, click on "Instances" in the left-hand side navigation panel, then on the specific instance name you are having trouble with, then the Overview tab for that instance, and look for the "ID" field. The UUID will be a long string of letters, numbers, and hyphens.</li></ol>
<li>More information for contacting support and ticket submission best practices etc. can be found on the [[Technical support/en|Compute Canada Technical Support page.]]</li></ol>


==Issue: I can't delete my volume==
<!--T:9-->
More about contacting support and submitting tickets can be found at [[Technical support/en|Technical Support]].
 
==Issue: I can't delete a volume== <!--T:4-->
 
<!--T:10-->
<ol>
<ol>
<li>Check to see if the volume you are trying to delete is attached to a running virtual machine (VM, also known as instance): Volumes that are attached to running VM’s cannot be deleted. You can check this by logging into the cloud dashboard for your project (see the [[Cloud/en|cloud wiki page]] for a list of the cloud login links), opening the volumes menu on the left side navigation menu, then selecting volumes. You will be presented with a list of all your volumes. If the “attached to” column is empty then your volume is not attached. If there is a VM listed there, it is attached to that VM and will need to be detached before it can be deleted. For instructions on how to detach a volume see the “Detaching a Volume” section of the [[OpenStack/en|OpenStack Wiki page]].</li>
<li>You cannot delete a volume that is attached to a running VM. To check if is this is the case, log in to the cloud dashboard for your project. (See [[Cloud]] for a list of login links.) Click on "Volumes" on the left-side menu, then click on the "Volumes" sub-heading there. You will be presented with a list of all your volumes. If the "Attached To" column is empty then your volume is not attached to any VM. If there is a VM listed there, the volume will need to be detached before it can be deleted. See the [[Working_with_volumes#Detaching_a_volume|"Detaching a Volume" section of the Working with volumes page]].</li>
<li>Once you have the volume detached check the status of your volume: open the Volumes menu on the left hand side and select "Volumes" from the menu. Now look at the "Status" column for your volume. If it is still listed as "In-use" then you need to submit a ticket: Email cloud@computecanada.ca with any info collected during troubleshooting, username, project name cloud name and volume UUID. If it is listed as "available" proceed to the next step.</li>
<li>Once you have the volume detached, check its status.  As above, click on "Volumes" on the left-side menu, then click on the "Volumes" sub-heading there. Look at the "Status" column for your volume. If it is listed as "Available" proceed to the next step.  If it is still listed as "In-use" then submit a ticket to cloud@tech.alliancecan.ca with your username, the project name, the cloud name, the UUID of the volume, and any other information you collected during troubleshooting. </li>
<li>Now check to see if there is a snapshot of the volume: If there are snapshots of the volume you are trying to delete, you must delete the snapshots first, then you can delete the source volume. To check if your volume has snapshots, open the “Volumes” menu on the left side panel, and then select “Snapshots”. You will see a list of all your snapshots. Look at the volume name column, to see if there are any snapshots of the volume you wish to delete. To delete a snapshot click the drop-down arrow in the “Actions” column in the row for the snapshot you wish to delete and select “Delete Volume Snapshot”.</li>
<li>You must delete any snapshots of the volume before you can delete the source volume. To check if your volume has snapshots, click on "Volumes" on the left-side panel, and then click on "Snapshots". You will see a list of all your snapshots. Look at the Volume Name column, to see if there are any snapshots of the volume you wish to delete. To delete a snapshot click the drop-down menu in the "Actions" column in the row for the snapshot and select "Delete Volume Snapshot".</li>
<li>If you have followed these steps and still can’t delete your volume it's time to submit a ticket. Email cloud@computecanada.ca with any info collected during troubleshooting, username, project name cloud name and volume UUID.  
<li>If you have followed these steps and still can’t delete your volume, submit a ticket to cloud@tech.alliancecan.ca with your username, the project name, the cloud name, the UUID of the volume, and any other information you collected during troubleshooting.</li></ol>
<li>More information for contacting support and ticket submission best practices etc. can be found on the [[Technical support/en|Compute Canada Technical Support page]].</li></ol>
 
<!--T:11-->
More about contacting support and submitting tickets can be found at [[Technical support/en|Technical Support]].
 
 


==Issue: My virtual machine won't launch==
</translate>
<ol><li>First check to see if your virtual machine (VM, also known as "instance") is over quota: Your cloud project has a limit on the number of VM’s, CPUS and GB of RAM you can have in use at any given time. If you try to launch a VM that would cause you to exceed your project quota (whether it’s due to number of VM’s, CPUS or RAM), then your VM launch will fail. You can check your project quota by logging into your project cloud dashboard (see the [[Cloud/en|cloud wiki page]] for a list of cloud login links) and using the left side navigation menu, and selecting compute, then overview. It will show you how much of your allotted resources are currently in use. If you need more resources for your project you can request them using [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform this request form]. Details for resource request limits and how to obtain large resource allocations (>10TB) can be found at the [[Cloud RAS Allocations/en|Cloud RAS Allocations wiki page]].</li>
[[Category:Cloud]]
<li>If you are getting the following error: "Error: Failed to perform requested operation on instance "instance_name", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.]" then check the following:
<ol style="list-style-type:lower-roman"><li>You may be choosing an inappropriate availability zone when you are launching your instance. The first section you need to fill in when launching your instance is the “Details” section which includes your instance name (name for your virtual machine), the description, and the Availability Zone. The default setting is “Any Availability Zone” which allows the software to choose a Zone based on your requirements and the system availability. If you manually select the zone yourself instead of using the default option you may see this “not enough hosts” error. You can fix this by setting your availability zone back to “Any Availability Zone”.</li>
<li>If you are still getting this “not enough hosts error” or you have extenuating reasons why you need a particular availability zone, send an email to cloud@computecanada.ca and provide the cloud name, project name, all the steps you have taken to troubleshoot thus far, and the extenuating reasons why you need a particular availability zone if that is the case.</li></ol>
<li> If you have followed these steps and still can’t get your instance to boot it's time to submit a ticket. Email cloud@computecanada.ca with any info collected during troubleshooting, username, project name cloud name.</li>
<li>More information for contacting support and ticket submission best practices etc. can be found on the [[Technical support/en|Compute Canada Technical Support page]].</li></ol>

Latest revision as of 20:48, 27 February 2023

Other languages:

This page describes how to troubleshoot some issues that come up frequently when using our cloud service to operate a virtual machine (VM, also known as an "instance"). This includes solutions you can try yourself, and advice about submitting a support ticket, including what information to include in the ticket. Not all issues can be solved by you, the user; some things require a system administrator. If you work through this guide and it advises you to submit a ticket, it is likely an issue which you cannot easily solve yourself.

Issue: I can't log in to the cloud

  1. You need to specifically apply for a cloud project in order to log in to our cloud service. If you have not applied for and been granted a cloud project you will not be able to log in, you will get the error message “Invalid Credentials”. You can apply for a cloud project here: CC cloud project and RAS request form
  2. Once you have applied for a cloud project it can take a few days for your request to be approved. When it is approved you will receive an email with important information for accessing your project. If you have not received this confirmation email, but more than 3 business days have passed since you submitted your request, submit a ticket to cloud@tech.alliancecan.ca with your name, institution and the email address you used to submit the request.
  3. Make sure you are logging into the correct cloud. Your confirmation email will tell you which cloud is hosting your project. Login links for the different clouds can be found on the Cloud Wiki page in the section “Using the Cloud”.
  4. If you have a confirmed cloud project and are unable to log in, check the System status page to see if there is an incident affecting service on your cloud.
  5. Make sure you are using the correct username. You need to use your username, the same as you would use to log in to an HPC cluster. Do not use your email address. Test logging in at this link to see whether it is an issue with your username or password.
  6. If your password is rejected, reset it by visiting this link.
  7. If you have followed these steps and still can’t log in to your cloud project, it's time to submit a ticket. Email cloud@tech.alliancecan.ca with your username, project name, and which cloud you are trying to access. Please also describe the steps you've taken so far.

More about contacting support and submitting tickets can be found at Technical Support.

Issue: My virtual machine won't launch

  1. First check to see if launching a VM would exceed some resource limit (also known as a "quota"). Your cloud project has a limit on the number of VMs, CPUs, and GBs of RAM you can have in use at any given time. If you try to launch a VM that would cause you to exceed any of these limits, the launch will fail. To check your limits, log in to your project cloud dashboard (see Cloud for a list of login links) and on the left-side navigation menu click "Compute", then "Overview". It will show you how much of your allotted resources are currently in use. If you need more resources for your project, request them using this form. More details about resource limits and how to obtain large resource allocations (>10TB) can be found at Cloud RAS Allocations.
  2. If you get the message Error: Failed to perform requested operation on instance "...", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.] then check the following:
    1. You may have chosen an inappropriate Availability Zone when trying to launch the instance. The first section you fill in when launching an instance is the "Details" section which includes Instance Name, Description, and Availability Zone. The default setting is "Any Availability Zone" which allows OpenStack to choose a zone for you. If you manually select the zone yourself instead of using the default option you may see this "not enough hosts" error. Fix this by setting the Availability Zone back to "Any Availability Zone".
    2. If you still get this "not enough hosts" error, or there is some reason why you need a particular availability zone, send an email to cloud@tech.alliancecan.ca and provide the cloud name, project name, the steps you have taken thus far, and the reason why you need a particular availability zone if that is the case.
  3. If you have followed these steps and still can’t get your instance to boot, submit a ticket to cloud@tech.alliancecan.ca with your username, project name, cloud name, and any information you collected during troubleshooting.

More about contacting support and submitting tickets can be found at Technical Support.

Issue: I can't reach my virtual machine

  1. If you cannot connect to your virtual machine, or cannot connect to some service your virtual machine is running, check the System Status page. If there is an incident on your hosting cloud, wait until the incident is resolved then try to connect again.
  2. If there is no incident reported on the System Status page for the cloud hosting your project, try to log in to the OpenStack dashboard for your cloud project. For example, if your project is hosted at Arbutus use this link to log in: https://arbutus.cloud.computecanada.ca. Login links for other clouds can be found on the cloud wiki page.
  3. If you cannot reach the login page for your cloud, verify that you have internet connectivity: Try to reach https://www.google.com with a browser, for example. If you have internet connectivity but cannot reach the login page for your cloud, submit a ticket to the cloud queue by emailing cloud@tech.alliancecan.ca. Include your name, username, hosting cloud, and project name, and the steps you have taken thus far. For more on submitting tickets see Technical Support .
  4. If you are able to reach the login page for your cloud but cannot log in, please see the “Can’t login to Cloud” guide in the previous section on this page.
  5. If you are able to log in to your cloud dashboard, there are a few things you can do to see if your VM is running:
    1. Navigate to the Instances screen on the 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”) try to restart it using the "Actions" menu on the right-hand side. Select "Start Instance" or "Resume Instance" depending on what options are available to you.
      1. Look through the action logs to try to 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 applied to your VM. If there is an action you don’t recognize, contact support (email: cloud@tech.alliancecan.ca) for help to figure out what it was. Include your name, username, hosting cloud, project name, and the User ID from the action log for the action you want to investigate.
      2. The "log" tab from the same screen will show you the console log for your VM. Look at that for error messages as well.
    2. If you can't restart your VM, submit a ticket to the cloud queue by emailing cloud@tech.alliancecan.ca. Include your name, username, hosting cloud, project name, VM ID, the issue you are seeing, and the steps you have taken to trouble-shoot it so far. You can find the VM ID by clicking on your instance, then looking at the Overview tab. For more on submitting tickets see Technical Support.
  6. Can you reach your VM using SSH (Secure Shell protocol)?
    1. 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 try to connect using SSH. You can find instructions for doing this in the Cloud Quick Start Guide, near the bottom of the page at "Connecting to your VM with SSH".
    2. If you get a login prompt, verify you are using the correct key pair and username. To check which key pair you should be using, click on "Compute" on the left-side menu of the OpenStack page, then "Instances", then look for the column “Key Pair”. The correct username depends on the operating system of your VM:
      Operating System Username
      Debian debian
      Ubuntu ubuntu
      CentOS centos
      Fedora fedora

      (If you explicitly changed your username with a custom CloudInit script, then the above table does not apply. The correct username will be what you changed it to.)

    3. If you do not get a login prompt, check your security settings:
      1. Verify that your own IP address has not changed. Check your IP address by opening this link in a browser: https://ipv4.icanhazip.com/. Your IP address must be allowed in the security settings in order for you to reach your VM. If it has changed, add a new rule to your Security Group as described in the next item.
      2. Check that your IP address is unblocked for SSH connections to your VM. Click on “Network” in the left-hand side navigation panel, then "Security groups". Find the security group for your VM and click "Manage Rules". This will be the "default" group unless you have set up a separate group for your VM. There should be a rule there with Direction "Ingress", IP Protocol "TCP", and Port Range "22 (SSH)", with Remote IP Prefix your-ip-address/32. If this rule is not there, click add rule, select SSH from the list, then enter your-ip-address/32 in the CIDR field box at the bottom and click "Add".
  7. If you have completed all these steps and still cannot connect to your instance, submit a ticket to cloud@tech.alliancecan.ca and provide the cloud name, project name, instance UUID, and all information collected from the above steps. To find the instance UUID, click on "Instances" in the left-hand side navigation panel, then on the specific instance name you are having trouble with, then the Overview tab for that instance, and look for the "ID" field. The UUID will be a long string of letters, numbers, and hyphens.

More about contacting support and submitting tickets can be found at Technical Support.

Issue: I can't delete a volume

  1. You cannot delete a volume that is attached to a running VM. To check if is this is the case, log in to the cloud dashboard for your project. (See Cloud for a list of login links.) Click on "Volumes" on the left-side menu, then click on the "Volumes" sub-heading there. You will be presented with a list of all your volumes. If the "Attached To" column is empty then your volume is not attached to any VM. If there is a VM listed there, the volume will need to be detached before it can be deleted. See the "Detaching a Volume" section of the Working with volumes page.
  2. Once you have the volume detached, check its status. As above, click on "Volumes" on the left-side menu, then click on the "Volumes" sub-heading there. Look at the "Status" column for your volume. If it is listed as "Available" proceed to the next step. If it is still listed as "In-use" then submit a ticket to cloud@tech.alliancecan.ca with your username, the project name, the cloud name, the UUID of the volume, and any other information you collected during troubleshooting.
  3. You must delete any snapshots of the volume before you can delete the source volume. To check if your volume has snapshots, click on "Volumes" on the left-side panel, and then click on "Snapshots". You will see a list of all your snapshots. Look at the Volume Name column, to see if there are any snapshots of the volume you wish to delete. To delete a snapshot click the drop-down menu in the "Actions" column in the row for the snapshot and select "Delete Volume Snapshot".
  4. If you have followed these steps and still can’t delete your volume, submit a ticket to cloud@tech.alliancecan.ca with your username, the project name, the cloud name, the UUID of the volume, and any other information you collected during troubleshooting.

More about contacting support and submitting tickets can be found at Technical Support.