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

problem with bringup #82

Open
ramrattle opened this issue Aug 20, 2024 · 1 comment
Open

problem with bringup #82

ramrattle opened this issue Aug 20, 2024 · 1 comment
Assignees

Comments

@ramrattle
Copy link

Hi, Im using ubuntu 22.04 with hypervisor support enabled in bios, with both virtualbox and libvirt the bring up is failing, can anyone pls give any clue pls

provider ===> virtual box


==> vkeylime-fedora1: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'gurumeditation' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run vagrant up while the
VirtualBox GUI is open.

Provider ====> libvirt


==> okeylime-fedora1: -- RNG device model: random
==> okeylime-fedora2: An error occurred. The error will be shown after all tasks complete.
==> okeylime-fedora1: An error occurred. The error will be shown after all tasks complete.
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.

An error occurred while executing the action on the 'keylime-fedora1'
machine. Please handle this error then try again:

Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not get preferred machine for /usr/bin/qemu-system-x86_64 type=kvm

An error occurred while executing the action on the 'keylime-fedora2'
machine. Please handle this error then try again:

Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not get preferred machine for /usr/bin/qemu-system-x86_64 type=kvm

@ramrattle
Copy link
Author

ramrattle commented Aug 22, 2024

The VM was up after machine reboot, no clue why it did not work initially but now

Im not able to read from TPM using tpm2 tools, I have also performed "export TPM2TOOLS_TCTI="mssim:port=2321"

Can any one help with this please?

[root@keylime-fedora1 vagrant]# tpm2_pcrread
WARNING:tcti:src/util/io.c:262:socket_connect() Failed to connect to host 127.0.0.1, port 2321: errno 111: Connection refused
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:169:tcti_from_file() Could not initialize TCTI file: mssim
ERROR:tcti:src/tss2-tcti/tctildr.c:430:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI
ERROR: Could not load tcti, got: "mssim:port=2321"

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