mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #227] Error when adding disk #152
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ssbaksa on GitHub (Mar 18, 2019).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/227
Hi Catborise,
In your latest when I try to add second disk to already installed macine I get this:

TypeError at /instances/2/Backup-test/
an integer is required
Request Method: POST
Request URL: http://172.17.252.162:80/instances/2/Backup-test/
Django Version: 1.11.17
Exception Type: TypeError
Exception Value:
an integer is required
Exception Location: /srv/webvirtcloud/venv/local/lib/python2.7/site-packages/libvirt.py in createXML, line 3215
Python Executable: /srv/webvirtcloud/venv/bin/python2
Python Version: 2.7.12
Python Path:
['/srv/webvirtcloud',
'/srv/webvirtcloud/venv/bin',
'/srv/webvirtcloud/venv/lib/python2.7',
'/srv/webvirtcloud/venv/lib/python2.7/plat-x86_64-linux-gnu',
'/srv/webvirtcloud/venv/lib/python2.7/lib-tk',
'/srv/webvirtcloud/venv/lib/python2.7/lib-old',
'/srv/webvirtcloud/venv/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/srv/webvirtcloud/venv/local/lib/python2.7/site-packages']
Server time: Mon, 18 Mar 2019 10:03:37 +0000
@catborise commented on GitHub (Mar 18, 2019):
hi, @ssbaksa it roots from metadata check.
along time ago it works with true false flags, not it changes.
i will fix it.
thanks