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

Cannot create a disk image when using the manual template wizard GNS3 3.0.0 alpha 3 #3422

Closed
cristian-ciobanu opened this issue Jan 8, 2023 · 4 comments · Fixed by #3511 or GNS3/gns3-server#2292
Labels
Milestone

Comments

@cristian-ciobanu
Copy link

Describe the bug
Cannot create an empty Qcow2 disk image when using the manual template wizard

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

  • OS: ArchLinux
  • GNS3 version: 3.0.0 alpha 3
  • GNS3 server and GUI are running on same machine (bare metal)

To Reproduce
Steps to reproduce the behavior:

  1. Click on File ---> New template and select Manually create a new template then from Preferences window select Qemu VM from the right pane and then click on New button to start creating a new template.
  2. Follow the wizard steps and type a name for the virtual machine, allocate RAM, select console type then proceed to select a disk image.
  3. On the Disk image page choose New image and the click on Create button.
  4. Leave everything at default (disk image format, options and disk size) and click on Finish.
  5. The image is not created and an exception is generated in the GNS3 console.

Additional context
****** Exception detected, traceback information saved in /home/cioby/.config/GNS3/3.0/exceptions.log ******

PLEASE REPORT ON https://www.gns3.com

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gns3/modules/qemu/dialogs/qemu_image_wizard.py", line 176, in _createDisk
self._node.createDiskImage(disk_image_filename, options, self._getCreateDiskServerCallback)
AttributeError: 'str' object has no attribute 'createDiskImage'

@grossmj grossmj added this to the 3.0 milestone Jan 9, 2023
@cristian-ciobanu
Copy link
Author

Is this bug going to be fixed for the next alpha release ?

@grossmj
Copy link
Member

grossmj commented Sep 7, 2023

Is this bug going to be fixed for the next alpha release ?

Yes, this is one of the last remaining issues before we release the next alpha :)

@grossmj
Copy link
Member

grossmj commented Sep 24, 2023

I will have to add a new endpoint in https://apiv3.gns3.net/#/Images to create empty disk images

@grossmj
Copy link
Member

grossmj commented Sep 25, 2023

This should be solved now. Thanks 👍

@grossmj grossmj closed this as completed Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants