Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GNS3 3.0.1] Cannot create a node template if the image is already on the controller #3684

Open
nwhisper2014 opened this issue Dec 28, 2024 · 6 comments
Labels

Comments

@nwhisper2014
Copy link

nwhisper2014 commented Dec 28, 2024

Describe the bug
When trying to create a node template, the error message “The template cannot be created: Image ‘<some_image>’ could not be found in the controller database” appears if the image is already on the controller in the corresponding directory.

The images are loaded correctly and have correct access rights:

-rwx------ 1 gns3 gns3  57319424 Oct 24 09:48 vios-adventerprisek9-m.spa.159-3.m8.qcow2
-rw-r--r-- 1 gns3 gns3        32 Dec 28 11:19 vios-adventerprisek9-m.spa.159-3.m8.qcow2.md5sum

-rwx------ 1 gns3 gns3 240355720 Jun 19  2024 x86_64_crb_linux_l2-adventerprisek9-ms
-rw-r--r-- 1 gns3 gns3        32 Dec 28 11:28 x86_64_crb_linux_l2-adventerprisek9-ms.md5sum

GNS3 version and operating system (please complete the following information):

  • OS: Arch Linux (the gns3-gui client is connected to the controller via HTTPS encrypted connection)
  • GNS3 version: 3.0.1
  • Remote GNS3 VM on VirtualBox, KVM

To Reproduce
Steps to reproduce the behavior:
1 - upload the node image to the controller
2 - open the New template dialog
3 - select the template corresponding to the loaded image
4 - go through all the steps of the template creation wizard and press Finish button

Screenshots or videos
image-not-found-on-controller1_0
image-not-found-on-controller1_1
image-not-found-on-controller2_0
image-not-found-on-controller2_1

@grossmj
Copy link
Member

grossmj commented Dec 28, 2024

Please can you post a screenshot of the image manager as well? (In the GUI: File -> Image management)

Image

Thanks.

@nwhisper2014
Copy link
Author

nwhisper2014 commented Dec 28, 2024

Please can you post a screenshot of the image manager as well? (In the GUI: File -> Image management)

image-manager

These images are not present in Image Manager, but the template wizard sees them and displays them as present on the controller. Hmm...

@ajitprof
Copy link

I ran into the same issue after I upgraded to 3.0.1. To resolve this you would need to upload the image to image management directory. Then when you import the template, the device should load it this time.

@nwhisper2014
Copy link
Author

I ran into the same issue after I upgraded to 3.0.1. To resolve this you would need to upload the image to image management directory. Then when you import the template, the device should load it this time.

I think the add templates dialog should not report the presence of the image on the controller if the old option of uploading the image to gns3vm via ssh is no longer a working option, as this is misleading and seems like a bug.

@nwhisper2014
Copy link
Author

nwhisper2014 commented Dec 28, 2024

Please can you post a screenshot of the image manager as well? (In the GUI: File -> Image management)

I forgot to add: the images that are not in the list are uploaded via ssh from the old gns3 server. It was as convenient and fast as possible to transfer via ssh.

If in the New template dialog box I click Import and upload the image this way, no error appears and the template is successfully created.

@ajitprof
Copy link

I ran into the same issue after I upgraded to 3.0.1. To resolve this you would need to upload the image to image management directory. Then when you import the template, the device should load it this time.

I think the add templates dialog should not report the presence of the image on the controller if the old option of uploading the image to gns3vm via ssh is no longer a working option, as this is misleading and seems like a bug.

I agree. I would prefer the old way or an easier way to import the images when the template was launched. This helped me get back up and running because I was unable to import any devices before on 3.0.0. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants