Commit graph

236 commits

Author SHA1 Message Date
6f51ddbb36 renamed argument, and changed destination and make it required (uncloud.cli.image.create_image_from_file) 2020-01-05 18:31:48 +05:00
7fff280c79 uncloud filescanner os.path.getsize expects str given Path instead 2020-01-05 18:00:05 +05:00
6847a0d323 base dir reverted back to str path 2020-01-05 17:56:42 +05:00
180f6f4989 No longer using xattrs as they don't work on tmpfs/rootfs 2020-01-05 17:21:26 +05:00
344a957a3f Removed duplicate add_help from argument parsers in cli/image and cli/network 2020-01-03 18:42:20 +05:00
3296e524cc uncloud cli converted to argparse 2020-01-03 18:38:59 +05:00
50fb135726 uncloud cli converted to argparse, code isn't beautiful yet. Would make it soom 2020-01-03 15:02:39 +05:00
cd2f0aaa0d Using click instead of argparse in uncloud script 2020-01-01 14:59:47 +05:00
2afb37daca get() methods converted to post() 2019-12-31 20:33:55 +05:00
Nico Schottelius
b95037f624 [metadata] allow passing in the port 2019-12-31 15:35:49 +01:00
Nico Schottelius
eb19b10333 [scheduler] partial debug support 2019-12-31 14:22:44 +01:00
Nico Schottelius
2566e86f1e [host] get ourselves from etcd 2019-12-31 14:13:08 +01:00
Nico Schottelius
e775570884 Make uncloud host running 2019-12-31 14:06:51 +01:00
Nico Schottelius
9662e02eb7 Allow to not have keys in etcd 2019-12-31 13:50:56 +01:00
Nico Schottelius
71c3f9d978 begin adding port support, catch OSError from Flask 2019-12-31 13:13:19 +01:00
Nico Schottelius
29dfacfadb Update .gitignore for uncloud 2019-12-31 12:15:50 +01:00
Nico Schottelius
bff12ed930 ++ exception handling 2019-12-31 12:15:05 +01:00
Nico Schottelius
1fba79ca31 remove syslog handler (cruft), add debug flag 2019-12-31 11:56:28 +01:00
Nico Schottelius
4c7678618d Also fix setup.py and the configuration file 2019-12-31 11:37:52 +01:00
Nico Schottelius
6682f127f1 Remove colors, remove sophisticated logging
Go back to simple
2019-12-31 11:35:51 +01:00
Nico Schottelius
433a3b9817 refactor #2
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-12-31 11:30:02 +01:00
Nico Schottelius
7b6c02b3ab find ucloud -name \*.py -exec sed -i "s/ucloud/uncloud/g" {} \; 2019-12-31 11:29:08 +01:00
Nico Schottelius
70c8da544e [refactor] rename scripts to uncloud 2019-12-30 20:06:15 +01:00
6a40a7f12f sshtunnel, sphinx, sphinx-rtd-theme, werkzeug removed from dependencies 2019-12-30 23:22:00 +05:00
27e780b359 Remove unneccassary sudo from ssh forwarding command 2019-12-30 21:30:59 +05:00
4b7d6d5099 Bug fixed in migration code 2019-12-30 21:14:08 +05:00
d13a4bcc37 Remove pending vm handling mechanism from scheduler + fixed issue that update VM's hostname even on migration failure 2019-12-30 20:05:12 +05:00
d2d6c6bf5c Use UTC time for heartbeat mechanism 2019-12-30 15:30:26 +05:00
9963e9c62d Slow down heartbeat update 2019-12-30 15:18:25 +05:00
52867614df Remove unused code + Increase frequeuncy of host heartbeat update 2019-12-30 14:58:05 +05:00
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
eea6c1568e colored error output 2019-12-22 13:47:16 +05:00
e4d2c98fb5 Better logging. Errors without stacktrace are now printed to stderr 2019-12-22 13:14:42 +05:00
88b4d34e1a workaround of setuptools bug that fails to install Flask without version 2019-12-22 12:33:59 +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
Ahmed Bilal
f919719b1e Update ucloud.conf 2019-12-08 15:03:49 +01: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