Commit graph

54 commits

Author SHA1 Message Date
9bdf4d2180 Shutdown Source VM (PAUSED) on successfull migration + blackened all .py files 2019-12-30 14:35:07 +05:00
29e938dc74 Destination Host of VM during migration now notify Source host of exact socket path 2019-12-29 23:48:04 +05:00
f980cdb464 Better error handling, Efforts to run non-root with occasional sudo 2019-12-29 23:14:39 +05:00
808271f3e0 Return nice message when etcd section is missing 2019-12-28 16:35:55 +05:00
ba515f0b48 Refactoring, VMM added, uncloud-host mostly new, migration is better now 2019-12-28 15:39:11 +05:00
cd9d4cb78c Fix bug that cause failure of image resizing when creating vm 2019-12-26 14:30:15 +05:00
ec3cf49799 Create radvd configuration and start it <--> VM's which is being started has IPv6 network which is global 2019-12-26 12:24:19 +05:00
f79097cae9 Fix logging 2019-12-24 15:27:21 +05:00
972bb5a920 - Better error reporting.
- Flask now uses application's logger instead of its own.
- ucloud file scanner refactored.
2019-12-23 12:58:04 +05:00
e4d2c98fb5 Better logging. Errors without stacktrace are now printed to stderr 2019-12-22 13:14:42 +05:00
04993e4106 Refactoring, Removal of most global vars, config default path is ~/ucloud/ 2019-12-22 12:26:48 +05:00
bc58a6ed9c Configuration/Setting module added 2019-12-21 14:36:55 +05:00
71279a968f Fix issues in naming and few other things 2019-12-14 20:23:31 +05:00
Nico Schottelius
8afd524c55 [config] inline etcd3
to get things moving faster - cleanup later
2019-12-08 14:55:26 +01:00
Nico Schottelius
e79f1b4de9 ++notes 2019-12-08 14:22:56 +01:00
Nico Schottelius
23c7604a3e Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 14:20:36 +01:00
Nico Schottelius
8e159c8be1 add hacking template 2019-12-08 14:20:26 +01:00
Nico Schottelius
9206d8ed1d Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 14:15:40 +01:00
Nico Schottelius
5b44034602 cleanup 2019-12-08 14:15:36 +01:00
dee0a29c91 Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 14:14:37 +01:00
8b90755015 removed unwanted file 2019-12-08 14:14:32 +01:00
bfbf08c7cd [conf] added unkown values 2019-12-08 14:11:44 +01:00
2a1e80dbc5 [imagescanner] main.py refactored from env_vars to config 2019-12-08 14:11:19 +01:00
c6fe2cb1c4 [host] virtualmachine.py refactored from env_vars to config 2019-12-08 14:06:15 +01:00
Nico Schottelius
b2de277244 [conf] add values for filescanner 2019-12-08 13:51:52 +01:00
Nico Schottelius
00563c7dc2 [filescanner] use configparser 2019-12-08 13:51:40 +01:00
871aa5347b : 2019-12-08 13:41:37 +01:00
Nico Schottelius
72af426b3a update config x2 2019-12-08 13:41:42 +01:00
608d1eb280 [host] main.py refactored from env_vars to config 2019-12-08 13:41:32 +01:00
Nico Schottelius
537a5b01f1 Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:36:49 +01:00
Nico Schottelius
431a6f6d9b [metadata] -> configparser 2019-12-08 13:32:06 +01:00
6c56a7a7c6 Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:32:01 +01:00
dd33b89941 [scheduler] helper.py refactored from env_vars to config 2019-12-08 13:31:56 +01:00
Nico Schottelius
cff6a4021f Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:29:35 +01:00
Nico Schottelius
76f63633ca [api] done -> configparser 2019-12-08 13:29:24 +01:00
Nico Schottelius
adddba518c Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:25:42 +01:00
787b236305 fixed brackets 2019-12-08 13:25:03 +01:00
c1b0c5301e Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:23:32 +01:00
7486fafbaa [scheduler] refactored from env_vars to config 2019-12-08 13:23:26 +01:00
Nico Schottelius
cdbfb96e71 [api] config updates and add default values 2019-12-08 13:09:52 +01:00
Nico Schottelius
a4bedb01f6 [api] begin to move to configparser 2019-12-08 13:00:42 +01:00
Nico Schottelius
6d0ce65f5c begin to switch to configparser
To not have unwanted environment influence
2019-12-08 12:59:18 +01:00
Nico Schottelius
9517e73233 Migrate sanity_check.py into the respective daemons 2019-12-07 14:25:21 +01:00
Nico Schottelius
2244b94fd8 Fix another UndefinedValueError: VM_DIR
decouple.UndefinedValueError: VM_DIR not found. Declare it as envvar or define a default value.
2019-12-07 14:10:16 +01:00
Nico Schottelius
6d715e8348 [config] setup default values to remove startup failures 2019-12-07 13:51:50 +01:00
Nico Schottelius
40176d2eaf Allow non existing configuration file
Fixes #1.
2019-12-07 13:45:01 +01:00
Nico Schottelius
a31dd38343 [docs] add "clean" target 2019-12-07 12:53:41 +01:00
Nico Schottelius
1f0dc30730 more doc cleanups 2019-12-07 12:46:39 +01:00
Nico Schottelius
a8c20e5a30 ++doc cleanup 2019-12-07 12:01:59 +01:00
Nico Schottelius
4a6f119a93 cleanup docs #1 2019-12-07 11:24:04 +01:00