Commit Graph

65 Commits

Author SHA1 Message Date
Kithmini Gunawardhana
f8151b73d4 Messageboard & sashimono agent version upgrade 2022-06-24 16:20:00 +05:30
Ravin Perera
8e0d18bad3 Private docker registry enhancements. (#142)
Got private docker registry working without secure mode. Feature disabled by default.
2022-05-20 17:04:20 +05:30
Kithmini Gunawardhana
1eb09d69c6 Permanent deletion of instance and lease records (#133) 2022-05-04 10:09:33 +05:30
Ravin Perera
0ec4313c85 UX improvements to installer and message board. (#131)
- Changed y/n pattern of setup questions.
- Registry address display during install.
- Improve evernode status output.
- Include config files in 'evernode log' output.
- Fixed issue with country code detection on dns addresses.
- Added space character validity check for dns address.
2022-04-29 08:34:43 +05:30
Chalith Desaman
f62d5d42dc Fixed instance creation failure when the max instance count is large (#130) 2022-04-28 16:21:23 +05:30
Kithmini Gunawardhana
d52da76499 Remove old logic of GUID regeneration (#124) 2022-04-25 19:02:11 +05:30
Kithmini Gunawardhana
bbc6edc238 Addition of lease info to the instance list (#120)
Co-authored-by: ravinsp <33562092+ravinsp@users.noreply.github.com>
2022-04-25 09:41:22 +05:30
Ravin Perera
3daa1126f6 Sashi cli and rootless dockerd fixes (#122)
* Fixed sashi cli create json construction issue
* Properly applied rootless slirp4netns port driver.
* Added dockerd max-concurrent-downloads.
* Changed some debug logs to info.
2022-04-23 13:14:05 +05:30
Chalith Desaman
3585cf438d Use the lease nft id as the instance name in sashimono (#108) 2022-04-04 07:40:31 +05:30
Savinda Senevirathne
55dc650889 Enable instance ports from firewall in evernode installation setup (#102) 2022-03-22 08:35:12 +05:30
Ravin Perera
e696207e46 Upgraded nodejs dependencies to 16.x (#99) 2022-03-08 21:13:04 +05:30
Ravin Perera
5bfd8d8c18 Used evernodedev docker account. (#98) 2022-03-07 19:10:16 +05:30
Ravin Perera
6d3cc3d905 Added upgradability to Evernode setup. (#95) 2022-02-22 15:24:10 +05:30
Chalith Desaman
868d8b7d53 Make contract user group id to sashimono user group id (0 for docker container) (#93) 2022-02-08 12:57:57 +05:30
Ravin Perera
1a47e82e13 Enabled and fixed compiler warnings. (#92) 2022-01-28 16:03:46 +05:30
Chalith Desaman
4625ce5cb7 sashi attach command implementation (#90) 2022-01-13 12:18:58 +05:30
Chalith Desaman
b771b0e3c3 Updates to include environment config feild in hp.cfg (#89) 2022-01-11 13:43:08 +05:30
Chalith Desaman
18251fa7b1 Check pending reboots and cgrules service status on sashimono startup (#88) 2022-01-06 18:18:36 +05:30
Ravin Perera
6e59ca5f79 Evernode setup installer. (#87) 2022-01-05 15:17:26 +05:30
Ravin Perera
2467084c4d Installer improvements and evernode lib update. (#84)
* Message board config creation improvement with file permission.
* Captured recharge error.
* Print version without text.
* Updated evernode lib version.
2021-12-24 06:32:31 +05:30
Chalith Desaman
8a448c864c Set max timeout for docker container creation (#77) 2021-11-19 15:04:28 +05:30
Chalith Desaman
582655ad3e Fix for cgrulesengd high cpu usage after sashimono uninstall (#76) 2021-11-12 13:38:01 +05:30
ravinsp
e8c2d75ad8 Improved moment-based instance expiration. 2021-11-05 21:04:55 +05:30
Chalith Desaman
f20abe7087 Set docker log size and file limits (#74) 2021-11-05 11:06:47 +05:30
Savinda Senevirathne
b83ce543c9 Handling redeem error message. (#69) 2021-10-15 12:45:45 +05:30
Ravin Perera
4102c119a4 Automation scripts for Evernode cluster deployment. (#67)
* Message board install automation with faucet host account generation.
* Deregister Evernode host on uninstall.
* Used Evernode client lib in message board.
* Removed file logging by default in Sashimono services.
* Evernode cluster spin-up script.
* Cleaned up hp.cfg template.
2021-10-10 22:21:16 +05:30
Ravin Perera
b43e233921 Added Bootstrap contract replacement failure rollback. (#62)
* Added rollback to bootstrap upgrader script.
* Made contract bundle install.sh optional.
* Increased default instance swap allocation.
2021-09-22 17:05:31 +05:30
Ravin Perera
93250ab664 Renamed docker images to use hp-latest image. (#61)
* Renamed docker images to use hp-latest image.
* Updated hp client lib.
2021-09-22 09:28:39 +05:30
Ravin Perera
1473d2b059 Improvements for large test cluster management. (#59)
* VM script improvements.
* Modified docker-pull to create new container
* Replaced vpnkit with slirp4netns for better containerized network performance.
* Added swap allocation config.
Co-authored-by: chalith <desaman.chalith@gmail.com>
2021-09-17 12:07:56 +05:30
Savinda Senevirathne
596ff4a3bc Merging create and initiate messages. (#54) 2021-08-23 15:09:35 +05:30
Chalith Desaman
7a34defd0e Added change roundtime ability for the initiate message (#49) 2021-08-04 09:31:04 +05:30
Savinda Senevirathne
7302270f30 List implementation for Sashi CLI. (#46) 2021-08-02 16:30:11 +05:30
Savinda Senevirathne
4ed4e45ef1 Contract directory permission fix. (#42) 2021-07-29 15:59:40 +05:30
Chalith Desaman
d457b65d10 Hotpocket version changes (#43) 2021-07-28 16:27:50 +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
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
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