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

Unable to Import IOU 17.15.1 Images (L2 and L3) #2449

Closed
gitsakar opened this issue Nov 24, 2024 · 13 comments · Fixed by #2448
Closed

Unable to Import IOU 17.15.1 Images (L2 and L3) #2449

gitsakar opened this issue Nov 24, 2024 · 13 comments · Fixed by #2448
Labels

Comments

@gitsakar
Copy link

gitsakar commented Nov 24, 2024

Unable to import Cisco IOU L3 version 17.15.1 and Cisco IOU L2 version 17.15.1
The error reads as file was not found. However, the image upload was successful and is listed in the /opt/gns3/images/IOU.

I have tried complete uninstallation and reinstallation of both GNS3 and GNS3 VM

  • OS: Windows 10 22H2 (OS Build 19045.5131)
  • GNS3 version 2.2.51
  • GNS3 VM 2.2.51 on VMware Workstation Pro 17.6.1 build-24319023

image

image

@gitsakar gitsakar added the Bug label Nov 24, 2024
@gitsakar
Copy link
Author

gitsakar commented Nov 24, 2024

I was somehow able to add from "Edit -> Preferences -> IOU Devices -> New". But added nodes are only visible from desktop client and not from web ui (GNS3 VM's web ui not local server). Then, I also tried to upload from web ui but it keeps on spinning.
Also the dialog box expects file to be .bin or .image. However, the latest IOU image uses the extension .iol

Issue still persists from "File -> New Template". It still reports as File Missing

@grossmj
Copy link
Member

grossmj commented Nov 25, 2024

Please can you launch a browser and open this page while GNS3 is running?

http://localhost:3080/v2/computes/local/iou/images

Thanks.

@gitsakar
Copy link
Author

I get this response

{
"message": "GET /iou/images not found",
"status": 404
}

image

@grossmj
Copy link
Member

grossmj commented Nov 25, 2024

What about http://localhost:3080/v2/computes?

@gitsakar
Copy link
Author

[
{
"capabilities": {
"node_types": [
"cloud",
"ethernet_hub",
"ethernet_switch",
"nat",
"vpcs",
"virtualbox",
"dynamips",
"frame_relay_switch",
"atm_switch",
"qemu",
"vmware",
"traceng"
],
"platform": "win32",
"version": "2.2.51"
},
"compute_id": "local",
"connected": true,
"cpu_usage_percent": 47.3,
"host": "localhost",
"last_error": null,
"memory_usage_percent": 75.8,
"name": "Latitude-E7270",
"port": 3080,
"protocol": "http",
"user": "admin"
},
{
"capabilities": {
"node_types": [
"cloud",
"ethernet_hub",
"ethernet_switch",
"nat",
"vpcs",
"virtualbox",
"dynamips",
"frame_relay_switch",
"atm_switch",
"qemu",
"vmware",
"traceng",
"docker",
"iou"
],
"platform": "linux",
"version": "2.2.51"
},
"compute_id": "vm",
"connected": true,
"cpu_usage_percent": 0.7,
"host": "192.168.158.128",
"last_error": null,
"memory_usage_percent": 13.2,
"name": "GNS3 VM (GNS3 VM)",
"port": 80,
"protocol": "http",
"user": null
}
]

image

@grossmj
Copy link
Member

grossmj commented Nov 25, 2024

Please can you try http://192.168.158.128/v2/computes/local/iou/images

Thanks

@gitsakar
Copy link
Author

It is empty.

image

@gitsakar
Copy link
Author

gitsakar commented Nov 25, 2024

I copied the IOU files to "C:\Users\username\GNS3\images\IOU" folder and now I am able to install from "File -> New Template". It reuploaded the files to /opt/gns/images/IOU. However, it is says found locally. I tried with older image 17.12.1, uploaded it from my D:/ and it reports as Found on GNS3 VM (GNS3 VM). I believe GNS3 is not able to detect that the image is already uploaded to GNS3 VM

All the API response remains the same.

image

@grossmj
Copy link
Member

grossmj commented Nov 26, 2024

Hum I cannot reproduce the problem.

Have you selected the GNS3 VM when installing the IOU appliance?

Image

Found locally means the IOU image was found on your local OS (Windows)

Image

Then if you select an IOU image and click next, the image will be uploaded. Have you seen this screen?

Image

You should be able to add IOU nodes and make sure they run inside the VM (in your case there is no other choice since IOU cannot run on Windows).

Image

Image

@gitsakar
Copy link
Author

I think you are not able to reproduce this issue as you are trying with IOU version 17.12.1. This version gets imported fine for me as well. The issue is with the version 17.15.1, it is freely downloadable from Cisco CML 2.8 free tier reference platform image. (https://software.cisco.com/download/home/286193282/type/286326381/release/2.8.0%20Free%20Tier). The GNS3 appliance registry needs to be updated from online for the definitions of 17.15.1 to appear.

My setup does use GNS3 VM. In fact, the IOU I imported using a workaround "Edit -> Preferences -> IOU Devices -> New" runs fine.
image

It's just that the import using "File -> New Template" fails. It does upload the image to GNS3 VM successfully but it still reports as missing files.

image

image

@gitsakar
Copy link
Author

It seems the issue is a little bit widespread. Another user is facing similar issue but with Cisco 7200 version 153-3.XB12 https://www.gns3.com/community/featured/ios-images-not-being-recognized-in-gns-vm-v2-2-51

I tried to probe him but for some reason my gns3 account is reporting as email address not verified. I was able to post earlier, I only renamed my profile name yesterday and now I am not able to post, neither is there an option to verify my account. I have reported my GNS3 community account issue to [email protected]

@grossmj grossmj transferred this issue from GNS3/gns3-gui Nov 27, 2024
@grossmj grossmj linked a pull request Nov 27, 2024 that will close this issue
@grossmj
Copy link
Member

grossmj commented Nov 27, 2024

It seems the issue is a little bit widespread. Another user is facing similar issue but with Cisco 7200 version 153-3.XB12 https://www.gns3.com/community/featured/ios-images-not-being-recognized-in-gns-vm-v2-2-51

Indeed, I think I found what was wrong and fixed that in #2448

@grossmj
Copy link
Member

grossmj commented Nov 28, 2024

This should be fixed in the next version: v2.2.52

Thanks 👍

@grossmj grossmj closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants