You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Description
Onegate working somehow strange with the latest Alpine image.
I've already reported that there is no ruby installed in official alpine images (see: https://github.com/OpenNebula/marketplace/issues/8)
The next problem is that after you install ruby and ruby-json packages, onegate is hangs if it is called during the boot or immediately after the boot.
The situation gets worse: if you use REPORT_READY=yes option, each boot will take more than 2 minutes:
To Reproduce
Take Alpine 3.8 image from marketplace
Install ruby and ruby-json
Add onegate token
Boot
Run:
localhost:~# time onegate vm show
VM 7235
NAME : Alpine 3.8-7235
STATE : RUNNING
IP : 89.221.217.64
real 2m 8.63s
user 0m 0.14s
sys 0m 0.05s
(after it is returned first result, the second calls is always working fine)
Expected behavior
Same like in other images, return the result immediately
Details
Affected Component: Onegate Client
Hypervisor: KVM
Version: 5.6.1
Progress Status
Branch created
Code committed to development branch
Testing - QA
Documentation
Release notes - resolved issues, compatibility, known issues
Code committed to upstream release/hotfix branches
Documentation committed to upstream release/hotfix branches
The text was updated successfully, but these errors were encountered:
This seems to be caused by missing entropy while staring ruby (it is waiting in getrandom()). We will include the Haveged in the future release of the Alpine images.
Besides that we will re-order the attempts sending the ready report -- curl/wget will be tried before calling onegate.
Description
Onegate working somehow strange with the latest Alpine image.
I've already reported that there is no ruby installed in official alpine images (see: https://github.com/OpenNebula/marketplace/issues/8)
The next problem is that after you install
ruby
andruby-json
packages, onegate is hangs if it is called during the boot or immediately after the boot.The situation gets worse: if you use
REPORT_READY=yes
option, each boot will take more than 2 minutes:To Reproduce
ruby
andruby-json
(after it is returned first result, the second calls is always working fine)
Expected behavior
Same like in other images, return the result immediately
Details
Progress Status
The text was updated successfully, but these errors were encountered: