You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No resources are available to create the requested Kasm #1
I set up Kasm on my Debian machine today and everything seems to work okay so far, except that when I click on the "Create" button below a Kasm image, I receive the error message "No resources are available to create the requested Kasm. Please try again later or contact an Administrator."
When this error is received it usually means one of a few things.
None of the available Agents have the Image Requested
None of the available Agents have enough free resources (i.e Ram, CPU)
The server cannot contact the Agents
Verify the Agent is Checking In
Log into the UI as an Admin.
Select the Agents menu item.
Verify the Agent is listed and the last reported time is recent. (It should be less than 10 seconds)
Verifying the Images are downloaded
When you first install there is a small window of time where the Agent's may not have the Kasm Image containers downloaded from the docker repository. When an agent is first installed and check's into the server it gets a list of Images to download. Only then does the download occur. The images a between 1 and 4 GB in size, so this time will vary depending on network speed.
Assuming you did the simple single server install, run the following command to ensure the Images have been downloaded.
#!bash
sudo docker images
You should see something like this, indicating that the images such as kasmweb/desktop have been downloaded
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx alpine 0be75340bd9b 3 days ago 16.1MB
postgres 9.5-alpine 1f69189a4d7f 9 days ago 36.9MB
kasmweb/agent 1.3.0 128298d9079f 2 weeks ago 125MB
kasmweb/manager 1.3.0 4686da58bd00 2 weeks ago 139MB
kasmweb/api 1.3.0 c25cec87b4bf 2 weeks ago 183MB
kasmweb/firefox-mobile 1.3.0 0cb1200539fa 3 weeks ago 1.53GB
kasmweb/desktop-deluxe 1.3.0 bb4c3ebc31d5 3 weeks ago 3.19GB
kasmweb/firefox 1.3.0 2ff3afefea30 3 weeks ago 1.45GB
kasmweb/desktop 1.3.0 785d05fe4c38 3 weeks ago 1.7GB
This available Images on an Agent can also be inspected via the UI by selecting Agents -> View (Eye Icon) , then inspecting the Docker Images field
Verifying there are enough system resources
From the view above you can determine how much memory and cpu cores the agent is reporting. By default the images are set to use 1 CPU core and 768mb of ram. So if you have a machine with 1CPU and 1GB of ram you should be ok to provision at least 1 Kasm.
** Check for detailed error messages **
If the above items havent helped lets see if there is another problem. From the debian machine, run the following commands from the terminal to tail the logs while you attempt to create the Kasm. Please respond with any error messages and I will help you troubleshoot.
The last item you mentioned is going to be a problem...
To run the stack on a non-standard port requires config changes in multiple places. I tried deploying a similar scenario, but It looks like there are a few places where the custom ports are not plumbed all the way through and 443 is assumed. It will require code changes to fix.
For now, you will need to disable your other server on 443. If this is a no-go , shoot me a message at @ kasmweb.com . If you are interested , I may be able to get you a dev build next week to test out.
@j_travis It is indeed a no-go because my entire Docker software stack is running behind the reverse proxy/web server Caddy. I just sent you an e-mail about the dev build.
New in 1.4.0 , users are able to pass a -L flag to the installer to change the default port of the nginx proxy container (kasm_proxy)
e.g install.sh -L 8443
Activity
Ian-Kasmweb commentedon Apr 19, 2019
Original comment by Justin Travis (Bitbucket: [Justin Travis](https://bitbucket.org/Justin Travis), ).
Hi Aaron,
When this error is received it usually means one of a few things.
Verify the Agent is Checking In
Log into the UI as an Admin.
Select the Agents menu item.
Verify the Agent is listed and the last reported time is recent. (It should be less than 10 seconds)
Verifying the Images are downloaded
When you first install there is a small window of time where the Agent's may not have the Kasm Image containers downloaded from the docker repository. When an agent is first installed and check's into the server it gets a list of Images to download. Only then does the download occur. The images a between 1 and 4 GB in size, so this time will vary depending on network speed.
Assuming you did the simple single server install, run the following command to ensure the Images have been downloaded.
You should see something like this, indicating that the images such as kasmweb/desktop have been downloaded
This available Images on an Agent can also be inspected via the UI by selecting Agents -> View (Eye Icon) , then inspecting the Docker Images field
Verifying there are enough system resources
From the view above you can determine how much memory and cpu cores the agent is reporting. By default the images are set to use 1 CPU core and 768mb of ram. So if you have a machine with 1CPU and 1GB of ram you should be ok to provision at least 1 Kasm.
** Check for detailed error messages **
If the above items havent helped lets see if there is another problem. From the debian machine, run the following commands from the terminal to tail the logs while you attempt to create the Kasm. Please respond with any error messages and I will help you troubleshoot.
Ian-Kasmweb commentedon Apr 20, 2019
Original comment by Justin Travis (Bitbucket: [Justin Travis](https://bitbucket.org/Justin Travis), ).
Thanks for the info.
The last item you mentioned is going to be a problem...
To run the stack on a non-standard port requires config changes in multiple places. I tried deploying a similar scenario, but It looks like there are a few places where the custom ports are not plumbed all the way through and 443 is assumed. It will require code changes to fix.
For now, you will need to disable your other server on 443. If this is a no-go , shoot me a message at @ kasmweb.com . If you are interested , I may be able to get you a dev build next week to test out.
Ian-Kasmweb commentedon Apr 20, 2019
Original comment by Aaron (Bitbucket: graywhale, GitHub: graywhale).
@j_travis It is indeed a no-go because my entire Docker software stack is running behind the reverse proxy/web server Caddy. I just sent you an e-mail about the dev build.
Ian-Kasmweb commentedon May 23, 2019
Original comment by Justin Travis (Bitbucket: [Justin Travis](https://bitbucket.org/Justin Travis), ).
New in 1.4.0 , users are able to pass a -L flag to the installer to change the default port of the nginx proxy container (kasm_proxy)
e.g install.sh -L 8443