Commit graph

69 commits

Author SHA1 Message Date
Nico Schottelius
42bb7bc609 Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-12-08 13:46:57 +01:00
Nico Schottelius
0d38a66a34 add a wrapper to re install ucloud and then run it 2019-12-08 13:46:24 +01:00
Nico Schottelius
72af426b3a update config x2 2019-12-08 13:41:42 +01:00
871aa5347b : 2019-12-08 13:41:37 +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
c37bf19f92 ++conf 2019-12-08 13:36:45 +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
e459434b91 add sample ucloud.conf 2019-12-08 12:58:26 +01:00
Nico Schottelius
cfb09c29de simplify main script 2019-12-08 12:28:25 +01:00
Nico Schottelius
9517e73233 Migrate sanity_check.py into the respective daemons 2019-12-07 14:25:21 +01:00
Nico Schottelius
f9dbdc730a Remove logging configuration
Leave it to the OS/env to set this up.

Fixes #6
2019-12-07 14:15:48 +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
9ae75f20e8 Generate version from git
Fixes #3
2019-12-07 14:01:44 +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
34d9dc1f73 [install] use scripts/ 2019-12-07 13:23:48 +01:00
Nico Schottelius
57eaddb03f fix checkout support 2019-12-07 13:09:12 +01:00
Nico Schottelius
6596e482ca ignore version.py (generated dynamically) 2019-12-07 13:08:55 +01:00
Nico Schottelius
ba9ac4c754 add shell wrapper for running ucloud from checkout 2019-12-07 12:58:51 +01:00
Nico Schottelius
424c0d27b2 update readme 2019-12-07 12:54:52 +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
Nico Schottelius
95361c1759 Ignore local etcd config directory 2019-12-07 10:50:52 +01:00
Nico Schottelius
9f03f58d62 ++net notes
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-12-07 00:49:57 +01:00
ad87982cf0 ucloud now logs to /etc/ucloud/log.txt, delete network interfaces on stopping of VMs 2019-12-05 18:30:41 +05:00
abc2c6fe51 LICENSE added + fixed some imports 2019-12-03 16:49:10 +05:00
1e7300b56e Efforts to make ucloud a python package 2019-12-03 15:40:41 +05:00
bbe09667a6 fixed tap id for each NIC, add more logging when VM is declared killed 2019-11-28 13:04:53 +05:00
66b7cf525f alternative radvd restart command added 2019-11-27 23:48:38 +05:00
46c14306ec otp verification endpoint corrected 2019-11-27 22:20:33 +05:00
db7fcdd66f add rc-scripts and confs. Make log message clear when host is not found 2019-11-27 19:19:57 +05:00
Nico Schottelius
789e37df6b Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-11-27 11:54:13 +01:00
Nico Schottelius
5be0e26669 ++ hacking in ucloud 2019-11-27 11:54:06 +01:00
fd042eb85d default.etcd removed from .gitignore as it is alpine only issue that forces us to use start-stop-daemon to start etcd cluster which uses the cur dir for storing data 2019-11-27 15:38:26 +05:00
b9faddd3a2 Merge branch 'master' of code.ungleich.ch:ucloud/ucloud 2019-11-27 15:36:05 +05:00
597dedb1ff better etcd inits 2019-11-27 15:35:51 +05:00