00d876aea1
Do not break if client section/or OTP creds missing from conf file
2020-01-10 16:39:40 +05:00
31ec024be6
passing arguments dict to componenets instead of **kwargs
2020-01-10 15:45:48 +05:00
Nico Schottelius
b7596e071a
begin phasing in arguments instead of **arguments
2020-01-10 11:30:23 +01:00
Nico Schottelius
71fd0ca7d9
Remove double try/except blocks (with wraps)
2020-01-10 11:00:00 +01:00
Nico Schottelius
92f985c857
Handle etcd connection error
2020-01-10 10:10:37 +01:00
48efcdf08c
1. mp.set_start_method('spawn') commented out from scripts/uncloud
...
2. uncloud.shared moved under uncloud.common
3. Refactoring in etcd_wrapper e.g timeout mechanism removed and few other things
4. uncloud-{scheduler,host} now better handle etcd events in their block state (waiting for requests to come)
2020-01-09 00:40:05 +05:00
f8f790e7fc
nested dict doesn't play well with configparser
2020-01-07 22:18:13 +05:00
5a646aeac9
prefix is renamed to base_prefix, uncloud now respects base_prefix and put things under it
2020-01-07 21:45:11 +05:00
6046015c3d
Add base prefix option for uncloud so that we can run independent instance on uncloud
2020-01-07 20:26:10 +05:00
b4292615de
Display more info about tracked files to user e.g creation_date, host on which it is stored, size etc
2020-01-07 18:27:22 +05:00
48cc37c438
add hostname to file entry (uncloud filescanner)
2020-01-07 17:57:44 +05:00
6086fec633
move settings under uncloud.common
2020-01-06 12:25:59 +05:00
ef0f13534a
bug fixed that add extra space in QEMU command when there is no network to be attached
2020-01-05 21:59:24 +05:00
ec40d6b1e0
don't suppress error when changing permissions in uncloud vmm
2020-01-05 20:20:00 +05:00
b7f3ba1a34
remove cache=none from QEMU args as it is not supported on tmpfs/rootfs
2020-01-05 19:46:38 +05:00
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
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
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