Commit graph

86 commits

Author SHA1 Message Date
PCoder
7f6d4c1c53 Refactor get_all_vmids -> get_all_active_vmids
We now get this info from opennebula
2019-05-11 02:23:51 +02:00
PCoder
3602bb0eb7 Add save_key_in_vm_template and get_all_vmids methods 2019-05-11 01:46:28 +02:00
PCoder
5146daa680 Use SSH_PUBLIC_KEY within CONTEXT 2019-05-11 00:31:25 +02:00
PCoder
85136d80cc Pass the opennebula user id as the object id 2019-05-10 23:57:52 +02:00
PCoder
c92b8c6fac one. is appended by oca 2019-05-10 23:51:05 +02:00
PCoder
1d70563ea2 Save user's key in opennebula 2019-05-10 09:19:42 +02:00
bebf1f94d7 Correct spelling mistake 2019-05-09 00:06:57 +02:00
PCoder
d5dc5df1f2 Add doc 2019-05-09 00:06:22 +02:00
PCoder
927d4a029c Do not search for VM details like 'ID={vm_id}'
Query takes a long time and not ideal
2019-05-08 22:43:26 +02:00
PCoder
5f8cc2199b Change vm_pool infoextended to retrieve VMs in any state except DONE 2019-04-11 01:39:06 +02:00
PCoder
3f75fac158 Make use of the infoextended method where needed 2019-04-11 01:05:34 +02:00
PCoder
a93c900109 Pass 512 MB to memory parameter 2018-10-01 08:54:22 +02:00
PCoder
8e7789462e Merge branch 'master' into bugfix/log_vm_terminate_errors 2018-09-07 22:43:29 +02:00
PCoder
6546814d62 Change VM terminate action from terminate to terminate hard 2018-08-04 09:52:42 +02:00
PCoder
59b020c0d4 Replace all occurrences of logger.info with logger.error 2018-07-25 21:41:05 +02:00
PCoder
ae0d4c0841 Refactor code 2018-07-01 11:17:45 +02:00
PCoder
c13af95017 Refactor code: get_primary_ip -> get_ipv6 and remove unwanted code 2018-07-01 11:07:39 +02:00
PCoder
52e53d479e Rename a variable: ipv6s -> ipv6_list 2018-07-01 07:57:15 +02:00
PCoder
68a65b7bc7 Detect private IP correctly 2018-06-30 00:30:51 +02:00
PCoder
4a5c5f7942 Refactor getting primary ip of a vm 2018-06-27 01:06:27 +02:00
PCoder
1ec7cb8761 Fix silly copy/paste bug 2018-06-27 00:44:17 +02:00
PCoder
6c2eabbe6a Use the public ipv4 if it exists; otherwise use the ipv6 to do a
cdist cdist ssh configure
2018-06-27 00:01:55 +02:00
Arvind Tiwari
a4ca17e2ed vm template prefix 2018-05-24 03:57:01 +05:30
M.Ravi
137b45c12c Enable logging custom modules 2017-11-29 06:45:09 +01:00
PCoder
3ceaf0192f Fix flake8 warnings 2017-09-28 04:57:40 +05:30
PCoder
e33e9cd1ae Merge branch 'master' into tiwariav-task/3756/landing_billing_page 2017-09-26 12:20:56 +05:30
M.Ravi
a73bcaef05 Store hash 2017-09-25 09:35:18 +02:00
PCoder
9491bb81a2 Added missing import after merge 2017-09-24 02:03:48 +05:30
M.Ravi
ca73e1bb33 Fixed a logger message 2017-09-22 13:45:15 +02:00
M.Ravi
5c3cf7682f Fixed some flake8 warnings 2017-09-14 15:27:25 +02:00
M.Ravi
f0d0f2abcc Updated logger message 2017-09-13 12:24:08 +02:00
PCoder
1bc78ceb5d Added save_ssh_key_error_handler 2017-09-01 02:33:31 +05:30
PCoder
a72287be5c Changed a string format 2017-09-01 01:32:31 +05:30
M.Ravi
ab31ad37d3 Not passing index to cdist configure 2017-08-31 18:57:05 +02:00
M.Ravi
9a56b66282 Added function get_all_hosts 2017-08-31 18:33:07 +02:00
M.Ravi
89ba4b6d04 Added CdistUtils class to manage indices 2017-08-31 15:05:45 +02:00
PCoder
fae96ec5ac Added email and password as attributes of the class OpenNebulaManager 2017-08-31 12:54:08 +05:30
M.Ravi
666cf187ea Refactored and added comments 2017-08-30 09:43:54 +02:00
M.Ravi
d25bca0860 Added save_public_key and reformatted code 2017-08-29 18:02:56 +02:00
M.Ravi
bc2ad28969 Fixed bug where we need to fetch VMs whose names strictly begin with 'public-' 2017-07-26 19:41:05 +02:00
siarheipuhach
a9c9f74aed Fixed PEP8 violations 2017-06-29 19:23:25 +03:00
Siarhei Puhach
fcc109b8f5 Merge branch 'master' into feature/flake8 2017-06-29 18:56:50 +03:00
Siarhei Puhach
edcfd3e9f4 Added Flake8 lib and fixed PEP8 violations 2017-06-29 17:34:40 +03:00
M.Ravi
da0d8bf937 Added one.vm.rename xml-rpc call to rename a created vm 2017-06-22 00:17:53 +05:30
M.Ravi
385df4e069 Added vm_name parameter to create_vm 2017-06-21 13:13:10 +05:30
M.Ravi
5b4e9b733d Tentative fix for error 500 on order details page 2017-06-15 07:30:47 +05:30
Levi
993039c020 fixing 500 error 2017-06-11 12:59:57 -05:00
Levi
817f800fbd fixed #3350 2017-06-11 11:44:14 -05:00
Modulos
25bfb41081 Typo public_key -> ssh_key 2017-06-05 15:51:56 +02:00
modulos
715d092b96 Add ssh key to new vm
Create_vm now stes to public key correctly
2017-06-02 00:53:22 +02:00