Commit Graph

8 Commits

Author SHA1 Message Date
ahmadbilalkhalid 66b7cf525f alternative radvd restart command added 2019-11-27 23:48:38 +05:00
ahmadbilalkhalid f3f2f6127a Effort is made to ensure a VM always have a status and Unused VM statuses are removed 2019-11-27 12:12:29 +05:00
ahmadbilalkhalid cc0ca68498 * Refactoring
* Fix issue that causes a new image store to be created at every start of ucloud-api.
* VM Migration API call now takes hostname instead of host key.
* StorageHandler Classes are introduced. They transparently handles things related to importing of image, make vm out of image, resize vm image, delete vm image etc.
* Loggers added to __init__.py of every ucloud component's subpackage.
* Non-Trivial Timeout Events are no longer logged.
* Fix issue that prevents removal of stopped VMs (i.e VMs that are successfully migrated).
* Improved unit handling added. e.g MB, Mb, mB, mb are all Mega Bytes.
* VM migration is now possible on IPv6 host.
* Destination VM (receiving side of migration of a vm) now correctly expects incoming data on free ephemeral port.
* Traceback is no longer output to screen, instead it goes to log file.
* All sanity checks are put into a single file. These checks are run by ucloud.py before running any of ucloud component.
2019-11-25 11:52:36 +05:00
ahmadbilalkhalid 6fa77bce4d Remove ucloud_common and put its files under ucloud.common subpackage.
Remove individual config.py used by every component and put them into single config.py ucloud/config.py
Use /etc/ucloud/ucloud.conf for Environment Variables
Refactoring and a lot of it
Make ucloud repo a package and different components of ucloud a subpackage for avoiding code duplication.
Improved logging.
2019-11-18 22:39:57 +05:00
ahmadbilalkhalid fefbe2e1c7 More Networking Implementation 2019-11-15 21:11:45 +05:00
ahmadbilalkhalid 5d613df33d Image Creation Message Corrected + ucloud-host read Physical Device for VXLAN from .env 2019-11-12 15:26:10 +05:00
ahmadbilalkhalid da5a600ccb single node,w/o ceph networking implemented 2019-11-11 23:42:57 +05:00
ahmadbilalkhalid da77ac65eb ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00