| Summary: | Can't connect with "hosted-engine --console" during installation | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | gregor <gregor_forum> |
| Component: | General | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED NOTABUG | QA Contact: | meital avital <mavital> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.2.2 | CC: | bugs, ciprian.manea |
| Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-03 19:01:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
gregor
2016-10-03 09:32:23 UTC
Workaround to reset the root password: 1. Get the Engine name: "virsh list". Admin/Password_from_the_setup 2. Note the disk id from "virsh dumpxml HostedEngine" 2.1 eg: <target path='/rhev/data-center/mnt/192.168.0.1:_home_ovirt/1963437f-4592-4bd4-80d5-c3c5f336bc3f/images/7a2f6a4d-c18e-4095-a95a-9791134d8cb1/546621eb-4e3c-45e2-bc43-da3621fa50d2.lease'/> 3. Navigate to the disk "cd /home/ovirt/1963437f-4592-4bd4-80d5-c3c5f336bc3f/images/7a2f6a4d-c18e-4095-a95a-9791134d8cb1" 4. Get the partition starting point: "fdisk -l 546621eb-4e3c-45e2-bc43-da3621fa50d2" 4.1 Start 2048*512=1048576 5. Mount the disk "mount -o loop,offset=1048576 546621eb-4e3c-45e2-bc43-da3621fa50d2 /mnt/tmp" 6. chroot /mnt/tmp 7. passwd Now it's possible to login to the VM via VNC UPDATE: After clearing the machine and restart the installation now with cloud-init it works like expected. Can be closed Hi, Actually this bug is still present in RHVH 4.1, it is not possible to connect to the console while # hosted-engine --deploy is running. And if the deploy fails, it's not possible to connect to the console either. Thanks, ---- # hosted-engine --console The engine VM is running on this host Connected to domain HostedEngine Escape character is ^] error: internal error: character device console0 is not using a PTY Plus in the deploy's output the ovirt link containing Serial_Console_Setup is broken. |