Commit Graph

46 Commits

Author SHA1 Message Date
Savinda Senevirathne
4ed4e45ef1 Contract directory permission fix. (#42) 2021-07-29 15:59:40 +05:30
Chalith Desaman
8ba64058f8 Status check for bootstrap contract (#44) 2021-07-29 14:11:53 +05:30
Chalith Desaman
d457b65d10 Hotpocket version changes (#43) 2021-07-28 16:27:50 +05:30
asela kotagama - aseladk
d86fbbcb66 Intergrate cli11 library for sashi-cli command line parsing (#41) 2021-07-28 16:25:12 +05:30
Chalith Desaman
bc4dcc8bfa Bash script to manage test vm clusters (#40) 2021-07-26 17:14:52 +05:30
Savinda Senevirathne
4820f9660e Support additional hp config. (#39) 2021-07-26 12:14:41 +05:30
Chalith Desaman
adbb1c8839 Sashimono CLI implementation (#38) 2021-07-22 09:51:28 +05:30
Savinda Senevirathne
66b0c86beb Unix socket interface. (#37) 2021-07-21 16:35:17 +05:30
Ravin Perera
6f7cab2e3b Added docker registry scripts for future work. (#36)
- Added docker private registry for future support.
- Added automatic detection of host address.
- Refactored cli args parsing.
2021-07-20 12:57:29 +05:30
Chalith Desaman
7cb4ddc069 Adding a low previledged user for the hotpocket contract (#35) 2021-07-19 15:32:10 +05:30
Savinda Senevirathne
e9e8f6fda0 Message board Rest API interface. (#34) 2021-07-19 14:51:04 +05:30
Savinda Senevirathne
90fcd28a92 Resetting disk quota limitations before deleting the user. (#33) 2021-07-16 14:59:43 +05:30
Chalith Desaman
9bbb7baa3c Added cgcreate service to create cgroups at the system boot (#32) 2021-07-16 10:29:20 +05:30
Ravin Perera
5a54967320 Ability to specify docker image in create msg. (#31)
* Added docker image list in config.
* Specify docker image in create msg.
2021-07-15 12:56:02 +05:30
ravinsp
bfdd781524 Reduced docker create command len. 2021-07-15 12:52:34 +05:30
Ravin Perera
8cb0c44703 Introduced Sashimono hp docker images. (#30) 2021-07-14 16:51:00 +05:30
Savinda Senevirathne
521423c20d Apply latest hp.cfg values during hpfs service starts. (#29) 2021-07-14 12:55:52 +05:30
Savinda Senevirathne
4617a97a52 Running hpfs as systemd services. (#28) 2021-07-13 15:44:49 +05:30
Ravin Perera
737c3c0af0 Revamped Sashimono installation process. (#27)
- During development, binaries and data exist in build dir.
- In production, binaries in '/usr/bin/sashimono-agent' and data in '/etc/sashimono'.
- Added prerequisites script for easy machine preparation.
- Added cloud installation scripts.
- Added non-interactive installation scripts for fully automated setup of test vms.
- sagent must now be run as root (in development as well as in production)
2021-07-12 15:00:11 +05:30
Savinda Senevirathne
41889b17c7 Adding a systemd service for Sashimono in sashimono-install script. (#26) 2021-07-09 16:53:27 +05:30
Ravin Perera
82ba515cbd Added kill switch. (#25) 2021-07-09 12:19:59 +05:30
Ravin Perera
e7f64861f9 Reorganized build dependencies. (#24) 2021-07-09 11:52:22 +05:30
Chalith Desaman
b51633563b Applying cpu, memory and disk quotas. (#22)
CPU and memory quotas using cgroups.
Disk quotas using userquota.
Limiting max allowed hp instances.
2021-07-08 17:18:01 +05:30
Savinda Senevirathne
5545e032f4 Agent data folder (#23) 2021-07-08 10:19:22 +05:30
Savinda Senevirathne
e8509d1188 Name uniqueness check before creating a contract instance. (#21) 2021-06-29 16:58:26 +05:30
Chalith Desaman
43cb7e8ca1 Two step instance creation and refactoring (#20) 2021-06-29 16:09:04 +05:30
Chalith Desaman
c8df2e75ac Added contract id to the instance create message (#19) 2021-06-28 10:41:08 +05:30
Savinda Senevirathne
7dd0ea97b5 Instance users and dockerd. (#18) 2021-06-25 14:16:22 +05:30
Ravin Perera
2392e6f1f2 Added user purge for Sashimono uninstall script. (#17) 2021-06-21 13:15:51 +05:30
Chalith Desaman
ef74c6c92c Added support to external hpfs per instance (#16) 2021-06-21 11:09:02 +05:30
Savinda Senevirathne
d1b86ee173 Bootstrap contract and Sashimono client. (#15) 2021-06-18 11:33:34 +05:30
Ravin Perera
2b5da61000 Docer bin path update. (#14) 2021-06-17 14:19:08 +05:30
Ravin Perera
f2e70be7f6 Per user dockerd installation scripts. (#13) 2021-06-17 13:47:06 +05:30
Savinda Senevirathne
fb25a4025b HP config default settings. (#12) 2021-06-17 12:05:27 +05:30
Savinda Senevirathne
8e103fa80b Adding restart policy unless-stopped to hp containers (#11) 2021-06-17 10:48:44 +05:30
Savinda Senevirathne
433a4a1e0a Hp monitor loop to monitor container status and re spawn if crashed. (#8) 2021-06-16 14:05:43 +05:30
Chalith Desaman
d36992ede9 Configuration values for sashimono resources (#10) 2021-06-16 13:52:46 +05:30
Ravin Perera
2488d975fe Added container communication isolation. (#9)
Used icc=false for docker daemon.
2021-06-16 12:01:14 +05:30
Ravin Perera
99ac10db13 Installation scripts to isolate sashimono and docker. 2021-06-14 11:05:19 +05:30
Savinda Senevirathne
44528cab1f Assigning vacant ports from destroyed instances before assigning a new port (#6) 2021-06-10 10:53:35 +05:30
Savinda Senevirathne
913d219d94 Running hp docker from Sashimono Agent (#5)
* Updated ReadMe
2021-06-08 12:38:15 +05:30
Chalith Desaman
2dfd7cf6bc Introduce message threads and message handling (#4) 2021-06-04 12:06:22 +05:30
Savinda Senevirathne
23df070313 Message board simulator. (#2) 2021-06-03 12:21:21 +05:30
Chalith Desaman
c0e743a6f4 Integrated websocket communication with hpws (#3) 2021-06-03 11:05:22 +05:30
Savinda Senevirathne
220d65bd0b Initial project structure. (#1) 2021-06-02 10:15:07 +05:30
Ravin Perera
5da5d4e303 Added README.md 2021-06-01 02:29:42 +00:00