1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00
Commit graph

358 commits

Author SHA1 Message Date
catborise
b297e10115 instance.html: Add new column for Qos, and send qos data with different form to prevent validation problem 2019-11-22 09:36:51 +03:00
Ing. Jan Krcmar
f42a910d9b instance.is_template checkbox enabled for user.is_staff by @honz801 2019-11-20 16:48:31 +03:00
catborise
74eb8004d7 changing video card model functionality added to options. 2019-11-20 16:24:01 +03:00
catborise
60684cc7b1 Live resize VM Memory activate. Redirection fix for resizing operations. Some typo & indent fix 2019-11-20 11:41:50 +03:00
catborise
5282d3e556 add translate for some keywords 2019-11-20 08:40:20 +03:00
catborise
ddd3dd5f65 instance network revamped. Qos config for instance net is added 2019-11-20 08:37:59 +03:00
catborise
718388ffef add translate for some keywords 2019-11-19 14:20:05 +03:00
catborise
f3f4f0afe8 Fix typos. Code Inspection for pep8 conventions 2019-10-30 11:05:50 +03:00
catborise
c212a60bba Delete instance disk: detach and delete. Notification added if detach completed but not deleted 2019-10-28 11:20:39 +03:00
catborise
537cefe90a Fix host bus and storages variables to get list of them 2019-10-28 10:45:27 +03:00
catborise
1e2fbc8453 add redirection for instance_actions error 2019-09-11 11:51:20 +03:00
catborise
d22aed5ef7 Rearrange host resources variables and change variable names 2019-09-10 16:05:23 +03:00
catborise
fdbb6739c1 instances/view.py: Fix resize_disk and pep8 style corrections 2019-09-10 09:45:49 +03:00
catborise
e47f97facf instance: seperate resize operations as cpu, mem and disk 2019-08-27 17:18:33 +03:00
catborise
b18290794e Translate, indentation and typo fixes 2019-07-31 11:03:48 +03:00
catborise
f3b8b251b5 Instance actions rearranged to reflect disable vm actions on instances list 2019-07-31 09:59:44 +03:00
catborise
a3e7a5472f Live network interface add remove capability is added. No need to shutdown to add/remove network interfaces 2019-07-17 13:52:14 +03:00
Ilya Trefilov
edd4887a2d Fix bug with err instead of True in connection_manager.host_is_up, which
lead to freeze in panel if compute is down
2019-07-04 15:04:08 +03:00
catborise
61703b3faf Add live new/existing disk operation for instance 2019-06-21 11:29:41 +03:00
catborise
181bd9d392 Update chartjs for instance statistics and add memory usage info for instances 2019-05-21 09:12:28 +03:00
catborise
cb81505b05 Convert settings of VNC to Console 2019-04-29 16:10:49 +03:00
Ing. Jan Krcmar
52fbe95e30 staff users are allowed to change vnc settings of instances 2019-04-10 10:09:05 +03:00
catborise
3cffa6e505 Fix disk clone xml for proper disk properties 2019-04-04 16:04:34 +03:00
catborise
3ad520209f Rearrange tabs for non superusers 2019-04-04 16:03:22 +03:00
Ing. Jan Krcmar
a457c262e1 wvmStorage.create_volume, wvmCreate.create_volume image naming respects image/volume format (qcow,qcow2) 2019-04-04 14:23:54 +03:00
catborise
fffbc92151 Fix: for clone instance multiple disk name generating fixed 2019-03-19 14:39:34 +03:00
catborise
e63aaa926e Fix: True/False value for Add new disk with metadata option 2019-03-18 16:50:11 +03:00
catborise
2dc83f39a2 Check media before adding new/existing volume 2019-02-14 16:49:12 +03:00
catborise
03370ac705 Fix css class name for prevention of multiselect(->multipleselect) 2019-02-08 17:17:01 +03:00
catborise
f76ce4d485 Multiple UUID check on instance database. Fix error for multiple uuid console error 2019-02-07 11:09:56 +03:00
catborise
e28cc71710 Do not show Network devices header if there is not any. 2019-01-29 09:28:42 +03:00
catborise
a7e0e49007 Make visible add cdrom/media space/button even if instance is running. Check media and disk for cdrom target dev 2019-01-28 16:38:15 +03:00
catborise
3dc44662a0 Add trans tag some text. Add a text for empty cdrom and fix aligment. 2019-01-28 11:58:55 +03:00
catborise
d3cc19b4f8 Change network devices visual style to prevent erroneous delete 2019-01-25 13:57:32 +03:00
catborise
8d2b3e3024 Add explanation for boot menu changes. Minor cosmetic fixes 2019-01-24 08:41:45 +03:00
catborise
b757c62d4f Add forcibly power off option to suspended instance 2019-01-23 14:30:33 +03:00
catborise
276097a44e Fix instance current status update after action. Fix log related error.Some pep8 compatibility fix. 2019-01-17 10:38:53 +03:00
catborise
198c100524 Add title some buttons. Add trans. Remove redundant dom elements 2019-01-16 09:43:58 +03:00
catborise
96efde814a Add boot menu/order functionality. Minor improvements. Some bug fixes 2019-01-15 15:55:05 +03:00
catborise
6b06ed25ff Add disk cache info for instance 2019-01-09 15:31:42 +03:00
catborise
a63e9036fe Add trans label to headers 2018-12-18 10:18:01 +03:00
catborise
04d3568d1a add instance count to host collapse 2018-12-04 16:05:24 +03:00
catborise
a67acc5d24 Merge branch 'master' of https://github.com/catborise/webvirtcloud 2018-11-26 08:48:04 +03:00
Roman Kravchuk
64987b4ef4
Fix selector for hostname with "." 2018-11-25 12:41:49 +02:00
Roman Kravchuk
91598357dc
Fix collapse on hostname with "."
Fix "Error: Syntax error, unrecognized expression: [host=pc.local]"
2018-11-25 11:27:30 +02:00
catborise
7672cc06f1 Merge branch 'online_resize' 2018-11-23 15:23:01 +03:00
catborise
eb8aae957e Bundle: Add/Delete Cdrom function added. Add disk device type/bus choice for custom instance creation. Change some cosmetics on create instance. Change some functions signature for compatibility. Add getting disk device types function. Fixed some bugs 2018-11-23 15:18:32 +03:00
catborise
08451a06a4 remove font-weight on labels. Increase max volume size limit to 3-5. 2018-11-22 15:48:02 +03:00
catborise
44d73cc780 Add ability to resize only vm memory while it is running. 2018-11-20 17:07:19 +03:00
catborise
4eda0fb866 add chevron-toggle to collapse_all on grouped_index 2018-11-14 14:39:18 +03:00
catborise
45c3f9b176 index_grouped: remove unused data-sortable. index_nongrouped: add trans statement for actions 2018-11-14 14:04:37 +03:00
catborise
605d24d699 define allow_admin_or_not_template variable, template cannot use parenthesis @honza801 2018-11-08 14:56:31 +03:00
catborise
d3b43b2e6a add hide/show all instances funtionality 2018-11-07 14:29:36 +03:00
catborise
2ca2add444 fix typo. remove unused variable. add form-control to volume dropdown. 2018-10-26 17:30:52 +03:00
catborise
07984a2a9a attach volume dropdown menu rearranged to show selected pool 2018-10-25 09:57:41 +03:00
catborise
1196fb38c9 add log message to attaching disk 2018-10-25 09:55:57 +03:00
catborise
82c87f82bc add/modify alert messages while detaching and deleting volumes. 2018-10-24 17:15:10 +03:00
catborise
1b913fd4d6 instance poweron checks is_template attribute. templates should not be e started. by @honza801 2018-10-24 16:56:05 +03:00
catborise
b3b9596a12 secure instance snapshot, media, options. check userinstance.is_change and instance.is_template correctly. secure mount_iso, snapshots for templates, not userinstance.is_change by @honza801 2018-10-24 16:42:00 +03:00
catborise
b5f38afbca clone instance: create db record first, then run clone process. delete db record if exception while cloning 2018-10-24 16:19:30 +03:00
catborise
2b04a89100 make some details showing style popover 2018-10-24 14:09:29 +03:00
catborise
03ffa3a295 move add new disk to instance disk tab. add existing disk option to attach disk. Small typo fixes 2018-10-24 12:04:05 +03:00
catborise
ea5e9cfead Add 'Adding, deleting and detaching disk volumes' to instances 2018-10-19 16:14:33 +03:00
catborise
8f5cc5755a make table headers translatable 2018-10-19 16:11:22 +03:00
catborise
7d21c138b7 calling hypervisor, machine, emulator operation is linked to arch variable. 2018-10-02 15:15:41 +03:00
catborise
93a8625aca url fix for clone 2018-10-01 15:09:04 +03:00
catborise
358f9ae28a url fix for clone 2018-10-01 11:44:29 +03:00
catborise
b81b01e468 url fix for clone 2018-10-01 11:42:01 +03:00
catborise
25e6381fc9 add Compute instances tab. Minimal invasion. minimal change. keep structure 2018-09-28 13:33:21 +03:00
catborise
e44e01cad4 volume owner/group converted to choosable from settings.py, cloning and creating volume owner parameter added. 2018-09-27 09:45:10 +03:00
catborise
b916c9dcf9 instance network tab modified. Changing function modified. deleting function added. network info of nwfilters added. and some small fixes applied 2018-09-26 17:20:46 +03:00
catborise
4d14fdceea selection added to domain creation for nwfilters. Add nwfilter option while adding network card. NWfilters minor fixes 2018-09-24 14:41:13 +03:00
Anatoliy Guskov
5c2232f4e8
Merge pull request #185 from honza801/clone_instance_auto_migrate
allow automatic migrations of newly cloned instances to random host
2018-09-23 09:33:54 +03:00
catborise
0d90e4bb46 Make domain creation work with XML. Fix typo 2018-09-21 19:07:47 +03:00
Ing. Jan KRCMAR
0a7c9f3826 add settings.CLONE_INSTANCE_AUTO_MIGRATE
please add this setting to your current config, or it breaks your installation

allow automatic migrations of newly cloned instances to random host
2018-09-20 13:48:53 +02:00
catborise
1bf99b796f Merge remote-tracking branch 'remotes/retspen/master' 2018-09-17 11:54:48 +03:00
Ing. Jan KRCMAR
aba4ee8623 instance/clone disk names revisited 2018-09-11 15:11:13 +02:00
Ing. Jan KRCMAR
76f857d218 toggle host instances button in grouped view 2018-09-10 12:10:39 +03:00
catborise
7da5095220 Merge remote-tracking branch 'remotes/retspen/master' 2018-09-10 11:57:49 +03:00
Ing. Jan KRCMAR
105b8c180a view instance: check_user_quota is not performed for superuser 2018-09-06 14:26:29 +02:00
Ing. Jan KRCMAR
6486c20168 patch for cloning rbd images 2018-09-06 13:36:02 +02:00
catborise
0f7a110535 show vdi url on access tab. some typo and convention fix. gethostbyaddr exception mitigated. 2018-09-05 09:30:08 +03:00
catborise
cb5b0c1ecb add title to snapshot operations and fix redirect path 2018-09-04 15:28:51 +03:00
catborise
33513ca648 small cosmetic changes of snapshot to describe of operation 2018-09-04 15:01:11 +03:00
Anatoliy Guskov
7efec407c2
Merge pull request #177 from honza801/master
add network for instance
2018-08-30 21:55:31 +03:00
Anatoliy Guskov
bcd13c29fe
Merge pull request #176 from catborise/master
console fn-keys functionality correction
2018-08-28 17:14:55 +03:00
Ing. Jan KRCMAR
d5d56a2b50 instance/network: select actually configured net-source 2018-08-28 12:35:40 +02:00
Ing. Jan KRCMAR
b4da655644 instance/network: allow to select compute interface, previously only compute network 2018-08-28 12:18:35 +02:00
Ing. Jan KRCMAR
9c37dcc2dc #addInstanceNetwork modal box 2018-08-28 10:55:27 +02:00
catborise
76e6388ec5 novnc ES6 compatibility is not working. I reverse it. Spice/VNC sending ctrl+alt+fn functionality restored. 2018-08-27 15:30:50 +03:00
Ing. Jan KRCMAR
21ef6871cf instance: template displays "compute.name - compute.hostname" only if hostname and name differ 2018-08-21 10:29:04 +02:00
Ing. Jan KRCMAR
01ace81c32 Merge remote-tracking branch 'retspen/master' into merge
Conflicts:
	instances/templates/instance.html
	instances/urls.py
	instances/views.py
2018-08-21 09:50:29 +02:00
catborise
edb59947af novnc is updated to 1.0.0 and add console views: lite,full option 2018-08-14 15:11:49 +03:00
catborise
aa32d826d9 django on_delete statement is must after than 2018-08-08 14:50:58 +03:00
catborise
c80e142522 correction of variable. both are working but latest change is right 2018-08-08 11:26:36 +03:00
Ing. Jan KRCMAR
c231feb575 instance/options/is_template form input value must be True 2018-08-02 12:42:06 +02:00
catborise
f300c1156f some text converted to trans, progres bar enhanced and band views of tables changed 2018-08-02 10:22:36 +03:00
catborise
aba92e30b5 x character converted to × 2018-08-01 17:18:51 +03:00
catborise
17c619606d
fix typo 2018-07-30 14:05:27 +03:00
catborise
aa236df40f add link to overview of compute from instances 2018-07-30 13:54:20 +03:00
catborise
6a57903fd6 make instances view for administrators choosable. grouped-nongrouped nongrouped first version of instances. with settings.conf it can be changed. 2018-07-30 13:33:09 +03:00
catborise
c355a4014f missing csrf_token added to form. 2018-07-27 14:50:39 +03:00
catborise
340d93463e Random mac address for cloned vm issue fixed by @honza801 2018-07-26 15:29:56 +03:00
Ing. Jan KRCMAR
b909b9d0f1 Merge remote-tracking branch 'retspen/master' into upgrade_django 2018-07-26 12:44:22 +02:00
Ing. Jan KRCMAR
13ffaae522 instance/clone: move random_mac logic into instances.views.random_mac_address url ^random_mac_address/
fix instance/clone: get random mac if dhcp not found
2018-07-26 11:35:37 +02:00
catborise
1700ddf8f1 undo extension adding changes 2018-07-25 11:28:05 +03:00
catborise
171f98b232 db migrations and storage list allocation info changes 2018-07-25 09:37:38 +03:00
catborise
2585e64cfd While cloning volume it breaks if volume name is longer than 20 char. It i more realistic longer than 20 char. 2018-07-25 09:33:06 +03:00
catborise
b178bad93e instance network page reconfigured. libxml2 artifacts cleaned. Some minor makeups 2018-07-24 13:52:47 +03:00
catborise
5adeead68d remove data-sort 2018-07-20 14:25:56 +03:00
catborise
e7ecf29359 volume filename extensions reorganized. 2018-07-20 13:42:13 +03:00
catborise
b7150a1fae volume filename extensions reorganized. 2018-07-20 13:41:39 +03:00
catborise
7862fa8fdf variable typo fix 2018-07-20 09:54:26 +03:00
catborise
65769eb894 intances reformat code. Fix typo error 2018-07-19 09:39:41 +03:00
catborise
db67157907 redundant default bus statement 2018-07-19 09:22:41 +03:00
catborise
654dcddf03 minor corrections 2018-07-18 15:46:11 +03:00
catborise
eb9160cadb minor correction 2018-07-18 15:26:15 +03:00
catborise
d44c65a3f4 unused/old bootstrap file deleted. instances.html make-up.. 2018-07-18 15:01:09 +03:00
catborise
30e2a66be7 Correction of requirements and add guestfs req. Minor cosmetic change instances 2018-07-18 11:22:23 +03:00
catborise
0778116a40 instances view changed. memory usage converted to progress-bar. some bandi007 changes applied 2018-07-18 10:08:02 +03:00
catborise
6a7f30d4a6 host details cpu bug fixed 2018-06-29 15:09:01 +03:00
catborise
20e8b876e4 instance template change to instances as group of hosts. bootstrap.min.css and js updated. some info added. 2018-06-28 16:55:36 +03:00
Ing. Jan KRCMAR
19489cb08e fix 4404d59: clone instance cannot set new vname 2018-06-22 10:55:24 +02:00
Ing. Jan KRCMAR
5e8adec424 fix 920739c: instances/views/instance must initialize console_listen_address 2018-06-21 15:13:12 +02:00
Ing. Jan KRCMAR
464e7bee39 add vdiconsole datasource endpoint. provides vdi url for remote-viewer.
add instance/access/vdi panel
2018-06-21 14:53:35 +02:00
Ing. Jan KRCMAR
27a7a7a365 Merge branch 'master' of github.com:honza801/webvirtcloud 2018-06-19 13:07:07 +02:00
Ing. Jan KRCMAR
4404d5941b add settings.CLONE_INSTANCE_AUTO_NAME. add mechanism that automatically selects new vname, mac, disk image names. 2018-06-19 13:06:57 +02:00
Anatoliy Guskov
920739c4c5
Merge branch 'master' into master 2018-06-15 19:13:41 +03:00
Ing. Jan KRCMAR
22d03da60f add views/instance/settings/vnc listen addresses
configures console listen addresses for instance

update webvirtcloud/settings.py QEMU_CONSOLE_LISTEN_ADDRESSES according to template, before use

instances/views.py remove include webvirtcloud.settings (duplicate)
2018-06-15 14:13:50 +02:00
HongWeipeng
078905df8a
fix:sorted btween 'dict' and 'dict' 2018-06-11 12:41:46 +08:00
Ing. Jan KRCMAR
6e5e10594c SHOW_PROFILE_EDIT_PASSWORD, SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS in settings.py are not inherited in templates. they are now forwarded directly into views. 2018-05-07 10:51:23 +02:00
Ing. Jan KRCMAR
c58374ea2e instance view order Computes by name 2018-04-27 14:12:56 +02:00
Ing. Jan KRCMAR
40049540ee instances.html displays memory MB only in header. table sorts now int value, instead of string 2018-04-11 13:35:01 +02:00
Ing. Jan KRCMAR
41095ffb6d sshkeys view can send keys in plain format 2018-04-05 16:26:17 +02:00
Ing. Jan KRCMAR
1ad2f03b52 add delete_instance function in instances.view 2018-03-16 08:18:22 +01:00
Ing. Jan KRCMAR
6cbad06f2c instances/view/instance do not refresh media_iso when no media present 2018-02-15 10:54:39 +01:00
Ing. Jan KRCMAR
15d7216368 page speed serving enhancements
handle xml doc enhancements
2018-02-14 15:22:57 +01:00
Ing. Jan KRCMAR
839b8d420d instance view: added logs section to graphs (renamed graphs -> stats) 2017-12-11 15:07:01 +01:00
Ing. Jan KRCMAR
6d153a6acf users with can_clone_instances ability are allowed to change_options of vm 2017-10-26 15:51:10 +02:00
Ing. Jan KRCMAR
ede9bb6b10 Instance.created added. means the creation (clone) of machine. dafaults auto_now_add=True 2017-10-26 10:09:58 +02:00
Ing. Jan KRCMAR
2ef672ffb5 user.is_staff can do resize of all machines 2017-10-05 07:58:01 +02:00
Ing. Jan KRCMAR
d4158a33ee instance owner view: add owner button, delete owner button 2017-09-15 12:40:37 +02:00
Ing. Jan KRCMAR
ad3b4d817b migration implicit option: live (if wm is running), offline (if vm is off) 2017-09-15 10:30:45 +02:00
Ing. Jan KRCMAR
53f5518706 added new feature: create and attach new volume to existing instance
move wvmCreate.get_cache_modes() to wvmConnect

add wvmConnect.get_busses(), wvmConnect.get_image_formats(), used in forms

add corresponding default values to settings (INSTANCE_VOLUME_DEFAULT_FORMAT INSTANCE_VOLUME_DEFAULT_BUS INSTANCE_VOLUME_DEFAULT_CACHE)
2017-07-19 15:34:03 +02:00
Ing. Jan KRCMAR
fdf383a647 added SHOW_ACCESS_ROOT_PASSWORD, SHOW_ACCESS_SSH_KEYS, SHOW_PROFILE_EDIT_PASSWORD -- hides specific forms 2017-06-27 09:22:09 +02:00
Ing. Jan KRCMAR
fd87cfd86e fix disk_size NoneType while determining vm disks size 2017-06-26 14:45:12 +02:00
Ing. Jan KRCMAR
437be0df99 instance clone validate mac address 2017-06-15 11:57:31 +02:00
Ing. Jan KRCMAR
c5f86358be fix STATIC_URL in templates. static urls should be generated by "static" template tag 2017-06-06 14:49:11 +02:00
Ing. Jan KRCMAR
d715e996b0 templates/instance.html view redesign. smaller instance details, instance title added 2017-06-06 12:51:32 +02:00
Ing. Jan KRCMAR
4d08f956fb add /instance/sshkeys/ endpoint for retrieving instance owners ssh keys 2017-05-11 10:46:39 +02:00