Nico Schottelius
3cf3439f1c
Move all files to _etc_based
2020-04-02 19:29:08 +02:00
Nico Schottelius
592b745cea
exit if an exception happened
2020-02-06 15:32:48 +01:00
618fecb73f
Initial implementation (no networking) of uncloud-oneshot
2020-01-28 16:30:43 +01:00
Nico Schottelius
8888f5d9f7
add logging
2020-01-19 12:55:06 +01:00
Nico Schottelius
1b36c2f96f
Write VM to etcd
2020-01-14 14:23:26 +01:00
Nico Schottelius
22531a7459
Disable cli / otp reading for the moment
...
Imho this should clearly not leak into scripts/uncloud and
additionally it is broken at the moment
2020-01-14 11:09:45 +01:00
Nico Schottelius
b96e56b453
Begin to integrate hack into the main script
2020-01-14 11:05:42 +01:00
Ahmed Bilal
c3b42aabc6
Added --conf-dir, --etcd-{host,port,ca_cert,cert_cert,cert_key} parameters to cli and settings is now accessbile through uncloud.shared.shared.settings
2020-01-13 05:57:41 +01:00
cf4930ee84
cli enabled again
2020-01-10 16:42:07 +05:00
00d876aea1
Do not break if client section/or OTP creds missing from conf file
2020-01-10 16:39:40 +05:00
Nico Schottelius
e91fd9e24a
disable cli until bug #25 is fixed
2020-01-10 12:00:02 +01:00
Nico Schottelius
469d03467d
Merge branch 'master' of code.ungleich.ch:uncloud/uncloud
2020-01-10 11:56:56 +01:00
Nico Schottelius
ec66a756a0
++confdir
2020-01-10 11:56:47 +01:00
b4f47adb4f
print message removed
2020-01-10 15:47:38 +05:00
31ec024be6
passing arguments dict to componenets instead of **kwargs
2020-01-10 15:45:48 +05:00
Nico Schottelius
82a69701ce
catch etcd in scripts/
2020-01-10 11:43:53 +01:00
Nico Schottelius
d9dd6b48dc
No try: needed for pop/importlib/getattr
2020-01-10 11:35:04 +01:00
Nico Schottelius
b7596e071a
begin phasing in arguments instead of **arguments
2020-01-10 11:30:23 +01:00
Nico Schottelius
feb334cf04
Exit code == 1 in case we died with an exception
2020-01-10 10:07:01 +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
3296e524cc
uncloud cli converted to argparse
2020-01-03 18:38:59 +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
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
70c8da544e
[refactor] rename scripts to uncloud
2019-12-30 20:06:15 +01:00