Commit Graph

33993 Commits

Author SHA1 Message Date
Daan Hoogland cb357c80ce license exclude for pyenv 2021-03-10 14:53:41 +01:00
Daan Hoogland e5197fcba7 certificates as bytes arrays 2021-03-10 14:53:41 +01:00
Daan Hoogland f4c9be5bbd pylint/travis trouble 2021-03-10 14:53:41 +01:00
Daan Hoogland e589b68077 version output in svm tests 2021-03-10 14:53:41 +01:00
Daan Hoogland 39f00290a0 Revert "travis systemvm tests"
This reverts commit e335c69315.
2021-03-10 14:53:41 +01:00
Daan Hoogland 3de1ff3e0a separate python for systemvm (tests) 2021-03-10 14:53:41 +01:00
Daan Hoogland 2ec3a84600 travis container does not inherit pylint either 2021-03-10 14:53:41 +01:00
Daan Hoogland 483a07cce5 travis container does not inherit before_install stuff?? 2021-03-10 14:53:41 +01:00
dahn 06329f8bf2 travis prefered python version 2021-03-10 14:53:41 +01:00
Daan Hoogland 1db2b314ab travis systemvm tests 2021-03-10 14:53:41 +01:00
Daan Hoogland d1400b531c remove nose-json 2021-03-10 14:53:41 +01:00
Daan Hoogland 9afa00e4ab run py checkers as modules 2021-03-10 14:53:41 +01:00
Daan Hoogland 1cf4f82b09 backquote error calling pyenv 2021-03-10 14:53:41 +01:00
Daan Hoogland 093135473e fix tags on test 2021-03-10 14:53:41 +01:00
Daan Hoogland 182991c0ba channel result decode 2021-03-10 14:53:41 +01:00
Daan Hoogland 7e817a5344 no decode on str in python3 2021-03-10 14:53:41 +01:00
Daan Hoogland cfabfd5b7e string checks in the nose plugin 2021-03-10 14:53:41 +01:00
Daan Hoogland dcd4e3612f pycodestyle2 and -lint2 in travis 2021-03-10 14:53:41 +01:00
Daan Hoogland c2e38633b9 marvin deps on nose 2021-03-10 14:53:41 +01:00
Daan Hoogland cd7bdba184 python3 in marvin rpm 2021-03-10 14:53:41 +01:00
Daan Hoogland 3d5abd0c85 pyenv the right/requested version 2021-03-10 14:53:41 +01:00
Daan Hoogland b5a1438b18 pyton 3.9.1 2021-03-10 14:53:41 +01:00
Daan Hoogland 92c08a7459 pyenv/travis alignment 2021-03-10 14:53:41 +01:00
Daan Hoogland bf10f09221 travis scripts 2021-03-10 14:53:41 +01:00
Daan Hoogland 1be94e080b None check 2021-03-10 14:53:40 +01:00
Daan Hoogland 255bac138a add urllib3 to requirements in egg 2021-03-10 14:53:40 +01:00
Daan Hoogland a524b48410 call codegenerator with python3 2021-03-10 14:53:40 +01:00
Daan Hoogland 3439bb082b python3 output on code generator 2021-03-10 14:53:40 +01:00
Daan Hoogland f7729e66af urllib3 2021-03-10 14:53:40 +01:00
Daan Hoogland 4b9c97a302 version3 2021-03-10 14:53:40 +01:00
Daan Hoogland 13be55bda3 travis on python 3 2021-03-10 14:53:40 +01:00
Daan Hoogland d21a7e9a46 env run of python3 2021-03-10 14:53:40 +01:00
Daan Hoogland 36f9a97b3e remove redundant member value 2021-03-10 14:53:40 +01:00
Daan Hoogland b210eacb03 expect explicit exception 2021-03-10 14:53:40 +01:00
Daan Hoogland 657c43135f explicit import of unittest 2021-03-10 14:53:40 +01:00
Daan Hoogland f0e99fff8a init and sign 2021-03-10 14:53:40 +01:00
Daan Hoogland 6819c237c0 2to3tests 2021-03-10 14:53:40 +01:00
Daan Hoogland 066702eabf 2to3marvin 2021-03-10 14:53:40 +01:00
Rohit Yadav 843dfaf942 Merge remote-tracking branch 'origin/4.15' 2021-03-10 10:58:33 +05:30
j-porsche 5d36724638
UI: German translation corrections (#4759) 2021-03-09 14:55:28 +01:00
Hoang Nguyen 54853aa7c5
UI: Fix upload SSL certificate failed in the project view (#4761) 2021-03-09 14:52:33 +01:00
Daniel Augusto Veronezi Salvador 59fba4916b
Fix npe when migrating vm with volume (#4698)
Co-authored-by: Daniel Augusto Veronezi Salvador <daniel@scclouds.com.br>
2021-03-08 17:56:56 +01:00
Rohit Yadav a1be9b02a6 Merge remote-tracking branch 'origin/4.15' 2021-03-06 16:02:09 +05:30
Rohit Yadav 3a82392941 Merge remote-tracking branch 'origin/4.14' into 4.15 2021-03-06 15:59:50 +05:30
Rohit Yadav 41c2e944a6 ui: Remove make redundant option for isolated networks
Fixes #4052

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-06 15:59:02 +05:30
Hoang Nguyen 03bfe9a2a3
ui: FIX error in "Port forward" and "Load Balancing" (#4746)
* fix error show in fetching port forwarding tab

* clear all list vm when tier empty
2021-03-06 15:10:07 +05:30
Rohit Yadav f511babc16
api: remove account from listProjects API response (#4743)
The `account` is no longer set in the listProjects API response that is
still mentioned in the API docs. API consumers should now use the
`owner` key from the listProjects API response which returns a list of
owners (accounts and users).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-06 15:09:06 +05:30
Wei Zhou df4103f0d1
novnc: Add source IP check (#4736)
* novnc: Add client IP check for novnc console in cloudstack 4.16

* novnc ip check : Fix restart CPVM or mgt server does not update novnc param

* novnc ip check: move to method
2021-03-06 15:08:34 +05:30
sureshanaparti 81dfcbb5f5
server: Use ACPI event to reboot VM on KVM, and Use 'forced' reboot option to stop and start the VM(s) (#4681)
* Updated libvirt's native reboot operation for VM on KVM using ACPI event, and Added 'forced' reboot option to stop and start the VM (using rebootVirtualMachine API)

* Added 'forced' reboot option for System VM and Router

- New parameter 'forced' in rebootSystemVm API, to stop and then start System VM
- New parameter 'forced' in rebootRouter API, to force stop and then start Router

* Added force reboot tests for User VM, System VM and Router
2021-03-06 14:58:56 +05:30
Wei Zhou 58a3f90a51
server: fix failed to remove template/iso if upload from local fails (#4626)
* server: fix failed to remove template/iso if upload from local fails

When upload template/iso/volume from local fails, the install_path will not be a full path of file so removing it will fail.

```
mysql> select install_path from template_store_ref;
+--------------------------------------------------------------------+
| install_path                                                       |
+--------------------------------------------------------------------+
| template/tmpl/1/3/805f4763-248e-40ec-b79a-b868cc480d0a.qcow2       |
| template/tmpl/1/4/c7e32c9e-5e72-3726-85cf-aa5ccd84118d.qcow2       |
| template/tmpl/2/201/bc4f4f08-138a-31b8-af1a-d4450eff7982.qcow2     |
| template/tmpl/2/202                                                |
| template/tmpl/2/203/203-2-d47f8cde-a2a8-31e7-a826-2628ad98a6c8.iso |
| template/tmpl/2/204                                                |
| template/tmpl/5/205                                                |
| template/tmpl/2/206                                                |
| template/tmpl/2/207                                                |
| template/tmpl/2/208                                                |
| template/tmpl/2/209                                                |
| template/tmpl/2/210                                                |
+--------------------------------------------------------------------+
12 rows in set (0.00 sec)

mysql> select install_path from volume_store_ref;
+---------------------------------------------------------+
| install_path                                            |
+---------------------------------------------------------+
| volumes/2/22                                            |
| volumes/2/19/f93face9-6521-4184-b89a-cb07f86bbae8.qcow2 |
| volumes/2/23                                            |
| volumes/2/24                                            |
+---------------------------------------------------------+
4 rows in set (0.00 sec)
```

* server: disallow removing template/iso in NotUpload and UploadInProgress state
2021-03-06 14:53:40 +05:30