Skip to content

constellation create fails in local setup #2406

@JaewonHur

Description

@JaewonHur

Issue description

I am following first steps (local) on AMD EPYC 7313 with SNP enabled kernel, but constellation create fails.

I followed the steps for qemu.

To reproduce

Steps to reproduce the behavior:

  1. Follow the instructions

Environment

  • constellation version: v2.11
  • constellation-conf.yaml: created from constellation config generate qemu
  • VM type used to run Constellation: qemu

Expected behavior

As shown in the tutorial page.

Additional info / screenshot

Terminal prints

Error: couldn't retrieve IP address of domain id: 6be4bc53-c51c-4313-8c5e-2b68e19207a2. Please check following:
1) is the domain running proplerly?
2) has the network interface an IP address?
3) Networking issues on your libvirt setup?
 4) is DHCP enabled on this Domain's network?
5) if you use bridge network, the domain should have the pkg qemu-agent installed
IMPORTANT: This error is not a terraform libvirt-provider error, but an error caused by your KVM/libvirt infrastructure configuration/setup
 timeout while waiting for state to become 'all-addresses-obtained' (last state: 'waiting-addresses', timeout: 5m0s)

  with module.node_group["worker_default"].libvirt_domain.instance_group[0],
  on modules/instance_group/main.tf line 13, in resource "libvirt_domain" "instance_group":
  13: resource "libvirt_domain" "instance_group" {

File in docker container constell-libvirt:/var/log/libvirt/libvirtd.log shows

2023-10-04 11:28:08.189+0000: 41: info : libvirt version: 8.10.0, package: 2.fc38 (Fedora Project, 2023-01-03-08:31:39, )
2023-10-04 11:28:08.189+0000: 41: info : hostname: jax
2023-10-04 11:28:08.189+0000: 41: error : virGDBusGetSystemBus:99 : internal error: Unable to get system bus connection: Could not connect: No such file or directory
2023-10-04 11:28:08.189+0000: 41: warning : networkStateInitialize:658 : DBus not available, disabling firewalld support in bridge_network_driver: internal error: Unable to get system bus connection: Could not connect: No such file or directory
2023-10-04 11:28:08.384+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb3'
2023-10-04 11:28:08.384+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb4'
2023-10-04 11:28:08.387+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb5'
2023-10-04 11:28:08.388+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-1'
2023-10-04 11:28:08.388+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-1.3'
2023-10-04 11:28:08.388+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-1.4'
2023-10-04 11:28:08.389+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-2'
2023-10-04 11:28:08.389+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-2.1'
2023-10-04 11:28:08.390+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on '5-2.2'
2023-10-04 11:28:08.391+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb6'
2023-10-04 11:28:08.397+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb1'
2023-10-04 11:28:08.397+0000: 49: error : udevGetUintProperty:214 : internal error: Missing udev property 'ID_VENDOR_ID' on 'usb2'
2023-10-04 11:28:28.224+0000: 26: error : virCgroupDetectControllers:451 : At least one cgroup controller is required: No such device or address
2023-10-04 11:28:28.390+0000: 27: error : virCgroupDetectControllers:451 : At least one cgroup controller is required: No such device or address
2023-10-04 11:28:28.526+0000: 29: error : virCgroupDetectControllers:451 : At least one cgroup controller is required: No such device or address
2023-10-04 11:28:28.529+0000: 30: error : virCgroupDetectControllers:451 : At least one cgroup controller is required: No such device or address
2023-10-04 11:33:31.032+0000: 25: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-10-04 11:33:31.519+0000: 25: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error

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