Skip to content

microvm keep restarting #265

@ajaysourcedigital

Description

@ajaysourcedigital

Bug Report

Description

After the installation, the microVM keep restarting. When I run the GHA workflow, I can see an additional microVM starting but it dies immediately without and proper error.

Expected Behavior

The microvm should finish the workflow.

Current Behavior

The microVM starts and dies immediately and the github runner shows offline in Github.

Possible Solution

Steps to Reproduce (for bugs)

  1. Below if the config I am using:
bind_address: 0.0.0.0:8080

metrics:
  enabled: true
  address: 127.0.0.1:8081

github:
  app_id: 1234567
  app_private_key: |
    -----BEGIN RSA PRIVATE KEY-----
    -----END RSA PRIVATE KEY-----


pools:
- name: default
  max_runners: 5
  min_runners: 1
  runner:
    name: default
    image: ghcr.io/hostinger/fireactions-images/ubuntu22.04:v0.7.0
    image_pull_policy: IfNotPresent
    group_id: 1
    organization: orgname-io
    labels:
    - self-hosted
    - fireactions
  firecracker:
    binary_path: firecracker
    kernel_image_path: /var/lib/fireactions/kernels/5.10/vmlinux
    kernel_args: "console=ttyS0 noapic reboot=k panic=1 pci=off nomodules rw"
    machine_config:
      mem_size_mib: 2048
      vcpu_count: 1
    metadata:
      example1: value1
      example2: value2

log_level: debug
  1. Installation command I used: ./install.sh --github-app-id 1234567 --github-app-key-file /home/ubuntu/key.pem --github-organization orgname-io --containerd-snapshotter-device /dev/sdb
  2. microvm logs:
-rw-r--r-- 1 root root 26745 Aug 16 04:11 default-1b1ec7bfae3591d9765c1047.log
root@c2-small-x86-syd-1:/var/lib/fireactions/pools/default# cat default-1b1ec7bfae3591d9765c1047.log
2025-08-16T04:11:31.839270831 [anonymous-instance:main:WARN:src/vmm/src/devices/legacy/serial.rs:257] Failed to register serial input fd: event_manager: failed to manage epoll file descriptor: Operation not permitted (os error 1)
[    0.000000] Linux version 5.10.0 (root@e098a8519c45) (gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP Wed Mar 13 18:48:10 UTC 2024
[    0.000000] Command line: noapic reboot=k panic=1 pci=off nomodules rw ip=192.168.128.149::192.168.128.1:255.255.255.0:::off:127.0.0.53:: console=ttyS0 root=/dev/vda rw virtio_mmio.device=4K@0xd0000000:5 virtio_mmio.device=4K@0xd0001000:6
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
    ...
    ...
[  OK  ] Unmounted /run/credentials/systemd-sysusers.service.
[  OK  ] Stopped target Preparation for Local File Systems.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target System Shutdown.
[  OK  ] Reached target Late Shutdown Services.
[  OK  ] Finished System Reboot.
[  OK  ] Reached target System Reboot.
[    5.752084] reboot: Restarting system
root@c2-small-x86-syd-1:/var/lib/fireactions/pools/default# ls |wc -l
162
  1. I tried everything on at least 10 different bare metal machines. Its always like this that the microVM keep restarting.

Your Environment

  • Fireactions version: 0.2.5 (Built on 2024-10-23T05:53:42Z from Git SHA 3729c98)
  • OS: Ubuntu 22.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions