Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Onegate hangs during the boot on Alpine Linux 3.8 #125

@kvaps

Description

@kvaps

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions