Commit Graph

  • b877ab13b3 add hack code Nico Schottelius 2020-01-15 10:02:37 +0100
  • 12e8ccd01c Cleanups for mac handling Nico Schottelius 2020-01-14 19:10:59 +0100
  • 8078ffae5a Add working --last-used-mac 0.0.6 Nico Schottelius 2020-01-14 19:02:15 +0100
  • 1b36c2f96f Write VM to etcd Nico Schottelius 2020-01-14 14:23:26 +0100
  • c0e6d6a0d8 Begin further integration of code into hack Nico Schottelius 2020-01-14 11:25:06 +0100
  • 083ba43918 Integrate hack + vm create into python code Nico Schottelius 2020-01-14 11:22:04 +0100
  • 22531a7459 Disable cli / otp reading for the moment Nico Schottelius 2020-01-14 11:09:45 +0100
  • b96e56b453 Begin to integrate hack into the main script Nico Schottelius 2020-01-14 11:05:42 +0100
  • 9f02b31b1b Add hacky etcd client Nico Schottelius 2020-01-13 12:54:02 +0100
  • 10c8dc85ba Begin hacky database handling Nico Schottelius 2020-01-13 12:14:30 +0100
  • 091131d350 dummy Nico Schottelius 2020-01-13 11:52:40 +0100
  • ab65349047 Merge branch 'conf-dir' into 'master' Ahmed Bilal 2020-01-13 05:57:42 +0100
  • 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 Ahmed Bilal 2020-01-13 05:57:41 +0100
  • e6d22a73c5 ++ cleanup Nico Schottelius 2020-01-12 14:44:53 +0100
  • 02526baaf9 add ifdown support Nico Schottelius 2020-01-12 14:43:06 +0100
  • 3188787c2a ++mac change Nico Schottelius 2020-01-12 14:38:01 +0100
  • 94dad7c9b6 Add script to generate mac addresses Nico Schottelius 2020-01-12 14:35:59 +0100
  • 53c6a14d60 mac: begin to downstrip Nico Schottelius 2020-01-12 14:03:04 +0100
  • 64ab011299 import mac.py from cinv Nico Schottelius 2020-01-12 13:41:54 +0100
  • b017df4879 ignore iso, update nft rules Nico Schottelius 2020-01-12 13:20:38 +0100
  • aaf29adcbb + mac prefix Nico Schottelius 2020-01-12 00:41:31 +0100
  • 6d51e2a8c4 [metadata] change default port to 1234 Nico Schottelius 2020-01-12 00:32:17 +0100
  • c6b7152464 update nftrules example Nico Schottelius 2020-01-11 21:21:30 +0100
  • 8544df8bad don't use tcg Nico Schottelius 2020-01-11 16:36:41 +0100
  • 708e3ebb97 cleanup ifup.sh Nico Schottelius 2020-01-11 16:20:29 +0100
  • 3b68a589d4 cleanup vm.sh Nico Schottelius 2020-01-11 16:17:35 +0100
  • 029ef36d62 net +debug Nico Schottelius 2020-01-11 15:54:19 +0100
  • 3cf4807f7c Merge branch 'master' of code.ungleich.ch:uncloud/uncloud flush ruleset Nico Schottelius 2020-01-11 02:43:39 +0100
  • c1cabb7220 add working nft Nico Schottelius 2020-01-11 02:42:04 +0100
  • 5d95f11b3d Merge branch 'master' of code.ungleich.ch:uncloud/uncloud Nico Schottelius 2020-01-11 00:24:25 +0100
  • 23d805f04f ++stuff Nico Schottelius 2020-01-11 00:24:17 +0100
  • 3825c7c210 Add vxlan into the bridge Nico Schottelius 2020-01-11 00:23:55 +0100
  • 7c9e3d747a Merge branch 'master' of code.ungleich.ch:uncloud/uncloud Nico Schottelius 2020-01-11 00:06:29 +0100
  • b9c9a5e0ec add working network Nico Schottelius 2020-01-10 23:55:21 +0100
  • ebcb1680d7 add hack scripts Nico Schottelius 2020-01-10 23:27:21 +0100
  • cf4930ee84 cli enabled again ahmadbilalkhalid 2020-01-10 16:42:07 +0500
  • 00d876aea1 Do not break if client section/or OTP creds missing from conf file ahmadbilalkhalid 2020-01-10 16:39:40 +0500
  • e91fd9e24a disable cli until bug #25 is fixed Nico Schottelius 2020-01-10 12:00:02 +0100
  • 469d03467d Merge branch 'master' of code.ungleich.ch:uncloud/uncloud Nico Schottelius 2020-01-10 11:56:56 +0100
  • ec66a756a0 ++confdir Nico Schottelius 2020-01-10 11:56:47 +0100
  • b4f47adb4f print message removed ahmadbilalkhalid 2020-01-10 15:47:38 +0500
  • 31ec024be6 passing arguments dict to componenets instead of **kwargs ahmadbilalkhalid 2020-01-10 15:45:48 +0500
  • 82a69701ce catch etcd in scripts/ Nico Schottelius 2020-01-10 11:43:53 +0100
  • d9dd6b48dc No try: needed for pop/importlib/getattr Nico Schottelius 2020-01-10 11:35:04 +0100
  • b7596e071a begin phasing in arguments instead of **arguments Nico Schottelius 2020-01-10 11:30:23 +0100
  • 71fd0ca7d9 Remove double try/except blocks (with wraps) Nico Schottelius 2020-01-10 11:00:00 +0100
  • 92f985c857 Handle etcd connection error Nico Schottelius 2020-01-10 10:10:37 +0100
  • feb334cf04 Exit code == 1 in case we died with an exception Nico Schottelius 2020-01-10 10:07:01 +0100
  • f1bb1ee3ca 2nd commit uncloud-api-refactoring ahmadbilalkhalid 2020-01-10 00:33:35 +0500
  • e5dd5e45c6 initial work ahmadbilalkhalid 2020-01-10 00:03:10 +0500
  • 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) ahmadbilalkhalid 2020-01-09 00:40:05 +0500
  • f8f790e7fc nested dict doesn't play well with configparser ahmadbilalkhalid 2020-01-07 22:18:13 +0500
  • 5a646aeac9 prefix is renamed to base_prefix, uncloud now respects base_prefix and put things under it ahmadbilalkhalid 2020-01-07 21:45:11 +0500
  • 6046015c3d Add base prefix option for uncloud so that we can run independent instance on uncloud ahmadbilalkhalid 2020-01-07 20:26:10 +0500
  • b4292615de Display more info about tracked files to user e.g creation_date, host on which it is stored, size etc ahmadbilalkhalid 2020-01-07 18:27:22 +0500
  • 48cc37c438 add hostname to file entry (uncloud filescanner) ahmadbilalkhalid 2020-01-07 17:57:44 +0500
  • 6086fec633 move settings under uncloud.common ahmadbilalkhalid 2020-01-06 12:25:59 +0500
  • 388127bd11 [hack] add scripts to start VM Nico Schottelius 2020-01-05 18:32:14 +0100
  • ef0f13534a bug fixed that add extra space in QEMU command when there is no network to be attached ahmadbilalkhalid 2020-01-05 21:59:24 +0500
  • ec40d6b1e0 don't suppress error when changing permissions in uncloud vmm ahmadbilalkhalid 2020-01-05 20:20:00 +0500
  • b7f3ba1a34 remove cache=none from QEMU args as it is not supported on tmpfs/rootfs ahmadbilalkhalid 2020-01-05 19:46:38 +0500
  • 6f51ddbb36 renamed argument, and changed destination and make it required (uncloud.cli.image.create_image_from_file) ahmadbilalkhalid 2020-01-05 18:31:48 +0500
  • 7fff280c79 uncloud filescanner os.path.getsize expects str given Path instead ahmadbilalkhalid 2020-01-05 18:00:05 +0500
  • 6847a0d323 base dir reverted back to str path ahmadbilalkhalid 2020-01-05 17:56:42 +0500
  • 180f6f4989 No longer using xattrs as they don't work on tmpfs/rootfs ahmadbilalkhalid 2020-01-05 17:21:26 +0500
  • 344a957a3f Removed duplicate add_help from argument parsers in cli/image and cli/network ahmadbilalkhalid 2020-01-03 18:42:20 +0500
  • 3296e524cc uncloud cli converted to argparse ahmadbilalkhalid 2020-01-03 18:38:59 +0500
  • 50fb135726 uncloud cli converted to argparse, code isn't beautiful yet. Would make it soom ahmadbilalkhalid 2020-01-03 15:02:39 +0500
  • cd2f0aaa0d Using click instead of argparse in uncloud script ahmadbilalkhalid 2020-01-01 14:59:47 +0500
  • 2afb37daca get() methods converted to post() ahmadbilalkhalid 2019-12-31 20:33:55 +0500
  • b95037f624 [metadata] allow passing in the port 0.0.5 Nico Schottelius 2019-12-31 15:35:49 +0100
  • eb19b10333 [scheduler] partial debug support Nico Schottelius 2019-12-31 14:22:44 +0100
  • 2566e86f1e [host] get ourselves from etcd Nico Schottelius 2019-12-31 14:13:08 +0100
  • e775570884 Make uncloud host running 0.0.4 Nico Schottelius 2019-12-31 14:06:51 +0100
  • 9662e02eb7 Allow to not have keys in etcd Nico Schottelius 2019-12-31 13:50:56 +0100
  • 71c3f9d978 begin adding port support, catch OSError from Flask Nico Schottelius 2019-12-31 13:13:19 +0100
  • 29dfacfadb Update .gitignore for uncloud Nico Schottelius 2019-12-31 12:15:50 +0100
  • bff12ed930 ++ exception handling Nico Schottelius 2019-12-31 12:15:05 +0100
  • 1fba79ca31 remove syslog handler (cruft), add debug flag Nico Schottelius 2019-12-31 11:56:28 +0100
  • 4c7678618d Also fix setup.py and the configuration file Nico Schottelius 2019-12-31 11:37:52 +0100
  • 6682f127f1 Remove colors, remove sophisticated logging Nico Schottelius 2019-12-31 11:35:51 +0100
  • 433a3b9817 refactor #2 Nico Schottelius 2019-12-31 11:30:02 +0100
  • 7b6c02b3ab find ucloud -name \*.py -exec sed -i "s/ucloud/uncloud/g" {} \; Nico Schottelius 2019-12-31 11:29:08 +0100
  • 70c8da544e [refactor] rename scripts to uncloud Nico Schottelius 2019-12-30 20:06:15 +0100
  • 6a40a7f12f sshtunnel, sphinx, sphinx-rtd-theme, werkzeug removed from dependencies ahmadbilalkhalid 2019-12-30 23:22:00 +0500
  • 27e780b359 Remove unneccassary sudo from ssh forwarding command ahmadbilalkhalid 2019-12-30 21:30:59 +0500
  • 4b7d6d5099 Bug fixed in migration code ahmadbilalkhalid 2019-12-30 21:14:08 +0500
  • d13a4bcc37 Remove pending vm handling mechanism from scheduler + fixed issue that update VM's hostname even on migration failure ahmadbilalkhalid 2019-12-30 20:05:12 +0500
  • d2d6c6bf5c Use UTC time for heartbeat mechanism ahmadbilalkhalid 2019-12-30 15:30:26 +0500
  • 9963e9c62d Slow down heartbeat update ahmadbilalkhalid 2019-12-30 15:18:25 +0500
  • 52867614df Remove unused code + Increase frequeuncy of host heartbeat update ahmadbilalkhalid 2019-12-30 14:58:05 +0500
  • 9bdf4d2180 Shutdown Source VM (PAUSED) on successfull migration + blackened all .py files ahmadbilalkhalid 2019-12-30 14:35:07 +0500
  • 29e938dc74 Destination Host of VM during migration now notify Source host of exact socket path ahmadbilalkhalid 2019-12-29 23:48:04 +0500
  • f980cdb464 Better error handling, Efforts to run non-root with occasional sudo ahmadbilalkhalid 2019-12-29 23:14:39 +0500
  • 808271f3e0 Return nice message when etcd section is missing ahmadbilalkhalid 2019-12-28 16:35:55 +0500
  • ba515f0b48 Refactoring, VMM added, uncloud-host mostly new, migration is better now ahmadbilalkhalid 2019-12-28 15:39:11 +0500
  • cd9d4cb78c Fix bug that cause failure of image resizing when creating vm ahmadbilalkhalid 2019-12-26 14:30:15 +0500
  • ec3cf49799 Create radvd configuration and start it <--> VM's which is being started has IPv6 network which is global ahmadbilalkhalid 2019-12-26 12:24:19 +0500
  • f79097cae9 Fix logging ahmadbilalkhalid 2019-12-24 15:27:21 +0500
  • 972bb5a920 - Better error reporting. - Flask now uses application's logger instead of its own. - ucloud file scanner refactored. ahmadbilalkhalid 2019-12-23 12:58:04 +0500