-
Notifications
You must be signed in to change notification settings - Fork 91
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
Debug appliance virt install failure #664
Debug appliance virt install failure #664
Conversation
Signed-off-by: Yedidyah Bar David <didi@redhat.com>
- --graphics none: Will prevent creating a vnc console. I think that's ok, at this stage. This should not affect the eventual engine VM conf. So, use the serial console as the main one. - --autoconsole text: Causes virt-install to automatically connect to the VM's console and show it. This should make the console output be included in the ansible log. - --boot hd,bootmenu.enable=on,bios.useserial=on: Allow getting the boot menu, useful for debugging/investigation. Also adds a few seconds to the boot process. Signed-off-by: Yedidyah Bar David <didi@redhat.com>
424d94d
to
c158a2c
Compare
/ost he-basic-suite-master el9stream |
I think it's a good idea to have more debugging always, LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
OST failed because of the lvm issue, but the patch worked - console log collected and seems ok. |
@didib @mnecas @mwperina When deploying hosted_engine_setup via an Ansible playbook onto a remote host from local, the "Create Local VM" task that invokes When hosted engine setup is run on the host itself using Are remote deployments from local working for you? Is that something that should not be done at all? Is there a way to have the serial console disconnect without manual intervention and let the rest of the Ansible proceed? |
Using |
Adding to the remote host the variable The rest of the playbook runs ok to the end |
Perhaps
I don't recall ever trying this, personally. I think others did, sporadically, over time, but IIUC it was never considered a supported feature/RFE, and was never part of CI. I vaguely recall that others in Red Hat did this routinely when RHV was in full support, but have no details. So it should probably not be very hard (or very broken).
If for some reason this is important for you, by all means go ahead and try, and push patches if needed. Otherwise, I wouldn't bother and just run it on the host.
(No idea, but see below)
Either (or both? not sure) of these sound like a good fix, if you can find the place to add them. I suggest to create a new issue, to properly document this, and a PR, if you come up with a fix. Thanks! |
Thanks for the response
Will raise a new issue and PR |
No description provided.