Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constellation create fails in local setup #2406

Open
JaewonHur opened this issue Oct 4, 2023 · 1 comment
Open

constellation create fails in local setup #2406

JaewonHur opened this issue Oct 4, 2023 · 1 comment

Comments

@JaewonHur
Copy link

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
@daniel-weisse
Copy link
Member

Hi @JaewonHur,
Is your host system a VM? Meaning, are you running a VM in a cloud environment e.g. Azure?
If so please check #1621.

If not, can you check your IP table rules as outlined in the troubleshooting section of our docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants