Commit Graph

24 Commits

Author SHA1 Message Date
ahmadbilalkhalid 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
ahmadbilalkhalid 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
ahmadbilalkhalid f980cdb464 Better error handling, Efforts to run non-root with occasional sudo 2019-12-29 23:14:39 +05:00
ahmadbilalkhalid f79097cae9 Fix logging 2019-12-24 15:27:21 +05:00
ahmadbilalkhalid 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
ahmadbilalkhalid eea6c1568e colored error output 2019-12-22 13:47:16 +05:00
ahmadbilalkhalid e4d2c98fb5 Better logging. Errors without stacktrace are now printed to stderr 2019-12-22 13:14:42 +05:00
ahmadbilalkhalid 04993e4106 Refactoring, Removal of most global vars, config default path is ~/ucloud/ 2019-12-22 12:26:48 +05:00
ahmadbilalkhalid bc58a6ed9c Configuration/Setting module added 2019-12-21 14:36:55 +05:00
ahmadbilalkhalid 71279a968f Fix issues in naming and few other things 2019-12-14 20:23:31 +05:00
Nico Schottelius 5b44034602 cleanup 2019-12-08 14:15:36 +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 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 57eaddb03f fix checkout support 2019-12-07 13:09:12 +01:00
Nico Schottelius ba9ac4c754 add shell wrapper for running ucloud from checkout 2019-12-07 12:58:51 +01:00